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 # aros_tool_prefix ${target_cpu}-aros-
8671 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8672 # Where the 'kernel' binaries are located
8673 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8674 # Where the 'target' binaries are located
8675 # (not the symlink farm - that is aros_target_*!)
8678 # if crosstools then
8679 # if kernel_tools_prefix = "no-kernel-prefix-"
8680 # aros_kernel_* = crosstools cc paths
8681 # aros_kernel_cc = elf cc wrapper around crosstools cc
8683 # VALIDATE(${kernel_tools_prefix}*)
8684 # aros_kernel_* = ${kernel_tools_prefix}*
8685 # if ${kernel_tools_prefix}cc is an AROS gcc
8686 # aros_kernel_cc = ${kernel_tools_prefix}cc
8688 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8692 # orig_target_* = aros built crosstools
8693 # orig_target_cc = elf cc wrapper around crosstools cc
8695 # VALIDATE(${kernel_tools_prefix}*)
8697 # orig_target_* = aros_kernel_*
8698 # if aros_kernel_cc is an AROS gcc
8699 # orig_target_cc = aros_kernel_cc
8701 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8705 target_tool_prefix
="${target_cpu}-aros-"
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8708 $as_echo_n "checking which kernel tools... " >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8710 $as_echo "$kernel_tool_prefix" >&6; };
8712 if test "$kernel_tool_prefix" = "none" ; then
8713 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8714 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8717 # Kernel tools required - find them
8718 # Note that 'normally', aros_kernel_* overrides will
8719 # empty, unless specified in the per-arch sections above.
8720 if test "x$aros_kernel_cpp" = "x"; then
8721 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8724 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8725 if test "$cross_compiling" = "yes" ; then
8726 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8727 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8729 $as_echo_n "checking for $ac_word... " >&6; }
8730 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8731 $as_echo_n "(cached) " >&6
8733 case $aros_kernel_cpp in
8735 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8742 test -z "$as_dir" && as_dir
=.
8743 for ac_exec_ext
in '' $ac_executable_extensions; do
8744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8745 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8756 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8757 if test -n "$aros_kernel_cpp"; then
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8759 $as_echo "$aros_kernel_cpp" >&6; }
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8762 $as_echo "no" >&6; }
8767 if test "$GCC" = "yes"; then
8768 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8769 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8770 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8772 $as_echo_n "checking for $ac_word... " >&6; }
8773 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8774 $as_echo_n "(cached) " >&6
8776 case $aros_kernel_cpp in
8778 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8782 for as_dir
in `dirname $aros_gcc_cpp`
8785 test -z "$as_dir" && as_dir
=.
8786 for ac_exec_ext
in '' $ac_executable_extensions; do
8787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8788 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8799 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8800 if test -n "$aros_kernel_cpp"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8802 $as_echo "$aros_kernel_cpp" >&6; }
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8805 $as_echo "no" >&6; }
8810 if test "$aros_kernel_cpp" = ""; then
8811 # Extract the first word of "cpp", so it can be a program name with args.
8812 set dummy cpp
; ac_word
=$2
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8814 $as_echo_n "checking for $ac_word... " >&6; }
8815 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8816 $as_echo_n "(cached) " >&6
8818 case $aros_kernel_cpp in
8820 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8827 test -z "$as_dir" && as_dir
=.
8828 for ac_exec_ext
in '' $ac_executable_extensions; do
8829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8830 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8841 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8842 if test -n "$aros_kernel_cpp"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8844 $as_echo "$aros_kernel_cpp" >&6; }
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847 $as_echo "no" >&6; }
8854 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8855 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8857 $as_echo_n "checking for $ac_word... " >&6; }
8858 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8859 $as_echo_n "(cached) " >&6
8861 case $aros_kernel_cpp in
8863 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8870 test -z "$as_dir" && as_dir
=.
8871 for ac_exec_ext
in '' $ac_executable_extensions; do
8872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8873 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8884 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8885 if test -n "$aros_kernel_cpp"; then
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8887 $as_echo "$aros_kernel_cpp" >&6; }
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8890 $as_echo "no" >&6; }
8896 if test "$aros_kernel_cpp" = ""; then
8897 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8899 if test "x$aros_kernel_cc" = "x"; then
8900 aros_kernel_cc
=${kernel_tool_prefix}gcc
8903 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8904 if test "$cross_compiling" = "yes" ; then
8905 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8906 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8908 $as_echo_n "checking for $ac_word... " >&6; }
8909 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8910 $as_echo_n "(cached) " >&6
8912 case $aros_kernel_cc in
8914 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8921 test -z "$as_dir" && as_dir
=.
8922 for ac_exec_ext
in '' $ac_executable_extensions; do
8923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8924 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8935 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8936 if test -n "$aros_kernel_cc"; then
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8938 $as_echo "$aros_kernel_cc" >&6; }
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8941 $as_echo "no" >&6; }
8946 if test "$GCC" = "yes"; then
8947 aros_gcc_cc
=`$CC -print-prog-name=cc`
8948 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8949 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8951 $as_echo_n "checking for $ac_word... " >&6; }
8952 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8953 $as_echo_n "(cached) " >&6
8955 case $aros_kernel_cc in
8957 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8961 for as_dir
in `dirname $aros_gcc_cc`
8964 test -z "$as_dir" && as_dir
=.
8965 for ac_exec_ext
in '' $ac_executable_extensions; do
8966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8967 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8978 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8979 if test -n "$aros_kernel_cc"; then
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8981 $as_echo "$aros_kernel_cc" >&6; }
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8984 $as_echo "no" >&6; }
8989 if test "$aros_kernel_cc" = ""; then
8990 # Extract the first word of "cc", so it can be a program name with args.
8991 set dummy cc
; ac_word
=$2
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8993 $as_echo_n "checking for $ac_word... " >&6; }
8994 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8995 $as_echo_n "(cached) " >&6
8997 case $aros_kernel_cc in
8999 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9006 test -z "$as_dir" && as_dir
=.
9007 for ac_exec_ext
in '' $ac_executable_extensions; do
9008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9009 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9020 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9021 if test -n "$aros_kernel_cc"; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9023 $as_echo "$aros_kernel_cc" >&6; }
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9033 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9034 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9036 $as_echo_n "checking for $ac_word... " >&6; }
9037 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9038 $as_echo_n "(cached) " >&6
9040 case $aros_kernel_cc in
9042 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9049 test -z "$as_dir" && as_dir
=.
9050 for ac_exec_ext
in '' $ac_executable_extensions; do
9051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9052 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9063 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9064 if test -n "$aros_kernel_cc"; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9066 $as_echo "$aros_kernel_cc" >&6; }
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9069 $as_echo "no" >&6; }
9075 if test "$aros_kernel_cc" = ""; then
9076 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9078 if test "x$aros_kernel_cxx" = "x"; then
9079 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9082 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9083 if test "$cross_compiling" = "yes" ; then
9084 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9085 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9087 $as_echo_n "checking for $ac_word... " >&6; }
9088 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9089 $as_echo_n "(cached) " >&6
9091 case $aros_kernel_cxx in
9093 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9100 test -z "$as_dir" && as_dir
=.
9101 for ac_exec_ext
in '' $ac_executable_extensions; do
9102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9103 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9114 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9115 if test -n "$aros_kernel_cxx"; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9117 $as_echo "$aros_kernel_cxx" >&6; }
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9120 $as_echo "no" >&6; }
9125 if test "$GCC" = "yes"; then
9126 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9127 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9128 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9130 $as_echo_n "checking for $ac_word... " >&6; }
9131 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9132 $as_echo_n "(cached) " >&6
9134 case $aros_kernel_cxx in
9136 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9140 for as_dir
in `dirname $aros_gcc_cxx`
9143 test -z "$as_dir" && as_dir
=.
9144 for ac_exec_ext
in '' $ac_executable_extensions; do
9145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9146 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9157 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9158 if test -n "$aros_kernel_cxx"; then
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9160 $as_echo "$aros_kernel_cxx" >&6; }
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9163 $as_echo "no" >&6; }
9168 if test "$aros_kernel_cxx" = ""; then
9169 # Extract the first word of "cxx", so it can be a program name with args.
9170 set dummy cxx
; ac_word
=$2
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9172 $as_echo_n "checking for $ac_word... " >&6; }
9173 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9174 $as_echo_n "(cached) " >&6
9176 case $aros_kernel_cxx in
9178 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9185 test -z "$as_dir" && as_dir
=.
9186 for ac_exec_ext
in '' $ac_executable_extensions; do
9187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9188 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9199 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9200 if test -n "$aros_kernel_cxx"; then
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9202 $as_echo "$aros_kernel_cxx" >&6; }
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9205 $as_echo "no" >&6; }
9212 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9213 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9215 $as_echo_n "checking for $ac_word... " >&6; }
9216 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9217 $as_echo_n "(cached) " >&6
9219 case $aros_kernel_cxx in
9221 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9228 test -z "$as_dir" && as_dir
=.
9229 for ac_exec_ext
in '' $ac_executable_extensions; do
9230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9231 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9242 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9243 if test -n "$aros_kernel_cxx"; then
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9245 $as_echo "$aros_kernel_cxx" >&6; }
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9248 $as_echo "no" >&6; }
9254 # If it's set, make sure it's really there
9255 if test "x$aros_kernel_cxx" != "x" ; then
9256 if test "$aros_kernel_cxx" = ""; then
9257 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9261 if test "$aros_kernel_ld" = ""; then
9262 if test "$cross_compiling" = "yes" ; then
9263 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9264 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9266 $as_echo_n "checking for $ac_word... " >&6; }
9267 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9268 $as_echo_n "(cached) " >&6
9270 case $aros_kernel_ld in
9272 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9279 test -z "$as_dir" && as_dir
=.
9280 for ac_exec_ext
in '' $ac_executable_extensions; do
9281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9282 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9293 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9294 if test -n "$aros_kernel_ld"; then
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9296 $as_echo "$aros_kernel_ld" >&6; }
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9299 $as_echo "no" >&6; }
9304 if test "$GCC" = "yes"; then
9305 aros_gcc_ld
=`$CC -print-prog-name=ld`
9306 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9307 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9309 $as_echo_n "checking for $ac_word... " >&6; }
9310 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9311 $as_echo_n "(cached) " >&6
9313 case $aros_kernel_ld in
9315 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9319 for as_dir
in `dirname $aros_gcc_ld`
9322 test -z "$as_dir" && as_dir
=.
9323 for ac_exec_ext
in '' $ac_executable_extensions; do
9324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9325 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9336 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9337 if test -n "$aros_kernel_ld"; then
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9339 $as_echo "$aros_kernel_ld" >&6; }
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9342 $as_echo "no" >&6; }
9347 if test "$aros_kernel_ld" = ""; then
9348 # Extract the first word of "ld", so it can be a program name with args.
9349 set dummy ld
; ac_word
=$2
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9351 $as_echo_n "checking for $ac_word... " >&6; }
9352 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9353 $as_echo_n "(cached) " >&6
9355 case $aros_kernel_ld in
9357 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9364 test -z "$as_dir" && as_dir
=.
9365 for ac_exec_ext
in '' $ac_executable_extensions; do
9366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9367 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9378 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9379 if test -n "$aros_kernel_ld"; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9381 $as_echo "$aros_kernel_ld" >&6; }
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9384 $as_echo "no" >&6; }
9391 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9392 set dummy
$aros_kernel_ld; ac_word
=$2
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9394 $as_echo_n "checking for $ac_word... " >&6; }
9395 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9396 $as_echo_n "(cached) " >&6
9398 case $aros_kernel_ld in
9400 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9407 test -z "$as_dir" && as_dir
=.
9408 for ac_exec_ext
in '' $ac_executable_extensions; do
9409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9410 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9421 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9422 if test -n "$aros_kernel_ld"; then
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9424 $as_echo "$aros_kernel_ld" >&6; }
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9427 $as_echo "no" >&6; }
9433 if test "$aros_kernel_ld" = ""; then
9434 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9437 if test "$aros_kernel_as" = ""; then
9438 if test "$cross_compiling" = "yes" ; then
9439 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9440 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9442 $as_echo_n "checking for $ac_word... " >&6; }
9443 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9444 $as_echo_n "(cached) " >&6
9446 case $aros_kernel_as in
9448 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9455 test -z "$as_dir" && as_dir
=.
9456 for ac_exec_ext
in '' $ac_executable_extensions; do
9457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9458 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9469 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9470 if test -n "$aros_kernel_as"; then
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9472 $as_echo "$aros_kernel_as" >&6; }
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9475 $as_echo "no" >&6; }
9480 if test "$GCC" = "yes"; then
9481 aros_gcc_as
=`$CC -print-prog-name=as`
9482 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9483 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9485 $as_echo_n "checking for $ac_word... " >&6; }
9486 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9487 $as_echo_n "(cached) " >&6
9489 case $aros_kernel_as in
9491 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9495 for as_dir
in `dirname $aros_gcc_as`
9498 test -z "$as_dir" && as_dir
=.
9499 for ac_exec_ext
in '' $ac_executable_extensions; do
9500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9501 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9512 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9513 if test -n "$aros_kernel_as"; then
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9515 $as_echo "$aros_kernel_as" >&6; }
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9518 $as_echo "no" >&6; }
9523 if test "$aros_kernel_as" = ""; then
9524 # Extract the first word of "as", so it can be a program name with args.
9525 set dummy as
; ac_word
=$2
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9527 $as_echo_n "checking for $ac_word... " >&6; }
9528 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9529 $as_echo_n "(cached) " >&6
9531 case $aros_kernel_as in
9533 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9540 test -z "$as_dir" && as_dir
=.
9541 for ac_exec_ext
in '' $ac_executable_extensions; do
9542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9543 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9554 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9555 if test -n "$aros_kernel_as"; then
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9557 $as_echo "$aros_kernel_as" >&6; }
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9560 $as_echo "no" >&6; }
9567 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9568 set dummy
$aros_kernel_as; ac_word
=$2
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9570 $as_echo_n "checking for $ac_word... " >&6; }
9571 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9572 $as_echo_n "(cached) " >&6
9574 case $aros_kernel_as in
9576 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9583 test -z "$as_dir" && as_dir
=.
9584 for ac_exec_ext
in '' $ac_executable_extensions; do
9585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9586 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9597 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9598 if test -n "$aros_kernel_as"; then
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9600 $as_echo "$aros_kernel_as" >&6; }
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9603 $as_echo "no" >&6; }
9609 if test "$aros_kernel_as" = ""; then
9610 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9613 if test "$aros_kernel_ar" = ""; then
9614 if test "$cross_compiling" = "yes" ; then
9615 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9616 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9618 $as_echo_n "checking for $ac_word... " >&6; }
9619 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9620 $as_echo_n "(cached) " >&6
9622 case $aros_kernel_ar in
9624 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9631 test -z "$as_dir" && as_dir
=.
9632 for ac_exec_ext
in '' $ac_executable_extensions; do
9633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9634 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9645 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9646 if test -n "$aros_kernel_ar"; then
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9648 $as_echo "$aros_kernel_ar" >&6; }
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9651 $as_echo "no" >&6; }
9656 if test "$GCC" = "yes"; then
9657 aros_gcc_ar
=`$CC -print-prog-name=ar`
9658 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9659 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9661 $as_echo_n "checking for $ac_word... " >&6; }
9662 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9663 $as_echo_n "(cached) " >&6
9665 case $aros_kernel_ar in
9667 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9671 for as_dir
in `dirname $aros_gcc_ar`
9674 test -z "$as_dir" && as_dir
=.
9675 for ac_exec_ext
in '' $ac_executable_extensions; do
9676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9677 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9688 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9689 if test -n "$aros_kernel_ar"; then
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9691 $as_echo "$aros_kernel_ar" >&6; }
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9694 $as_echo "no" >&6; }
9699 if test "$aros_kernel_ar" = ""; then
9700 # Extract the first word of "ar", so it can be a program name with args.
9701 set dummy
ar; ac_word
=$2
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9703 $as_echo_n "checking for $ac_word... " >&6; }
9704 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9705 $as_echo_n "(cached) " >&6
9707 case $aros_kernel_ar in
9709 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9716 test -z "$as_dir" && as_dir
=.
9717 for ac_exec_ext
in '' $ac_executable_extensions; do
9718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9719 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9730 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9731 if test -n "$aros_kernel_ar"; then
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9733 $as_echo "$aros_kernel_ar" >&6; }
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9736 $as_echo "no" >&6; }
9743 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9744 set dummy
$aros_kernel_ar; ac_word
=$2
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9746 $as_echo_n "checking for $ac_word... " >&6; }
9747 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9748 $as_echo_n "(cached) " >&6
9750 case $aros_kernel_ar in
9752 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9759 test -z "$as_dir" && as_dir
=.
9760 for ac_exec_ext
in '' $ac_executable_extensions; do
9761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9762 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9773 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9774 if test -n "$aros_kernel_ar"; then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9776 $as_echo "$aros_kernel_ar" >&6; }
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9779 $as_echo "no" >&6; }
9785 if test "$aros_kernel_ar" = ""; then
9786 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9789 if test "$aros_kernel_ranlib" = ""; then
9790 if test "$cross_compiling" = "yes" ; then
9791 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9792 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9794 $as_echo_n "checking for $ac_word... " >&6; }
9795 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9796 $as_echo_n "(cached) " >&6
9798 case $aros_kernel_ranlib in
9800 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9807 test -z "$as_dir" && as_dir
=.
9808 for ac_exec_ext
in '' $ac_executable_extensions; do
9809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9810 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9821 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9822 if test -n "$aros_kernel_ranlib"; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9824 $as_echo "$aros_kernel_ranlib" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9827 $as_echo "no" >&6; }
9832 if test "$GCC" = "yes"; then
9833 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9834 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9835 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9837 $as_echo_n "checking for $ac_word... " >&6; }
9838 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9839 $as_echo_n "(cached) " >&6
9841 case $aros_kernel_ranlib in
9843 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9847 for as_dir
in `dirname $aros_gcc_ranlib`
9850 test -z "$as_dir" && as_dir
=.
9851 for ac_exec_ext
in '' $ac_executable_extensions; do
9852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9853 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9864 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9865 if test -n "$aros_kernel_ranlib"; then
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9867 $as_echo "$aros_kernel_ranlib" >&6; }
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9870 $as_echo "no" >&6; }
9875 if test "$aros_kernel_ranlib" = ""; then
9876 # Extract the first word of "ranlib", so it can be a program name with args.
9877 set dummy ranlib
; ac_word
=$2
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9879 $as_echo_n "checking for $ac_word... " >&6; }
9880 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9881 $as_echo_n "(cached) " >&6
9883 case $aros_kernel_ranlib in
9885 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9892 test -z "$as_dir" && as_dir
=.
9893 for ac_exec_ext
in '' $ac_executable_extensions; do
9894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9895 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9906 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9907 if test -n "$aros_kernel_ranlib"; then
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9909 $as_echo "$aros_kernel_ranlib" >&6; }
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9912 $as_echo "no" >&6; }
9919 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9920 set dummy
$aros_kernel_ranlib; ac_word
=$2
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9922 $as_echo_n "checking for $ac_word... " >&6; }
9923 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9924 $as_echo_n "(cached) " >&6
9926 case $aros_kernel_ranlib in
9928 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9935 test -z "$as_dir" && as_dir
=.
9936 for ac_exec_ext
in '' $ac_executable_extensions; do
9937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9938 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9949 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9950 if test -n "$aros_kernel_ranlib"; then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9952 $as_echo "$aros_kernel_ranlib" >&6; }
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9955 $as_echo "no" >&6; }
9961 if test "$aros_kernel_ranlib" = ""; then
9962 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9965 if test "$aros_kernel_nm" = ""; then
9966 if test "$cross_compiling" = "yes" ; then
9967 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9968 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9970 $as_echo_n "checking for $ac_word... " >&6; }
9971 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9972 $as_echo_n "(cached) " >&6
9974 case $aros_kernel_nm in
9976 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9983 test -z "$as_dir" && as_dir
=.
9984 for ac_exec_ext
in '' $ac_executable_extensions; do
9985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9986 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9997 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9998 if test -n "$aros_kernel_nm"; then
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10000 $as_echo "$aros_kernel_nm" >&6; }
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10003 $as_echo "no" >&6; }
10008 if test "$GCC" = "yes"; then
10009 aros_gcc_nm
=`$CC -print-prog-name=nm`
10010 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10011 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10013 $as_echo_n "checking for $ac_word... " >&6; }
10014 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10015 $as_echo_n "(cached) " >&6
10017 case $aros_kernel_nm in
10019 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10023 for as_dir
in `dirname $aros_gcc_nm`
10026 test -z "$as_dir" && as_dir
=.
10027 for ac_exec_ext
in '' $ac_executable_extensions; do
10028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10029 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10040 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10041 if test -n "$aros_kernel_nm"; then
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10043 $as_echo "$aros_kernel_nm" >&6; }
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10046 $as_echo "no" >&6; }
10051 if test "$aros_kernel_nm" = ""; then
10052 # Extract the first word of "nm", so it can be a program name with args.
10053 set dummy nm
; ac_word
=$2
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10055 $as_echo_n "checking for $ac_word... " >&6; }
10056 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10057 $as_echo_n "(cached) " >&6
10059 case $aros_kernel_nm in
10061 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10065 for as_dir
in $PATH
10068 test -z "$as_dir" && as_dir
=.
10069 for ac_exec_ext
in '' $ac_executable_extensions; do
10070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10071 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10082 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10083 if test -n "$aros_kernel_nm"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10085 $as_echo "$aros_kernel_nm" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10088 $as_echo "no" >&6; }
10095 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10096 set dummy
$aros_kernel_nm; ac_word
=$2
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10098 $as_echo_n "checking for $ac_word... " >&6; }
10099 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10100 $as_echo_n "(cached) " >&6
10102 case $aros_kernel_nm in
10104 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10108 for as_dir
in $PATH
10111 test -z "$as_dir" && as_dir
=.
10112 for ac_exec_ext
in '' $ac_executable_extensions; do
10113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10114 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10125 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10126 if test -n "$aros_kernel_nm"; then
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10128 $as_echo "$aros_kernel_nm" >&6; }
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10131 $as_echo "no" >&6; }
10137 if test "$aros_kernel_nm" = ""; then
10138 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10141 if test "$aros_kernel_strip" = ""; then
10142 if test "$cross_compiling" = "yes" ; then
10143 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10144 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10146 $as_echo_n "checking for $ac_word... " >&6; }
10147 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10148 $as_echo_n "(cached) " >&6
10150 case $aros_kernel_strip in
10152 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10156 for as_dir
in $PATH
10159 test -z "$as_dir" && as_dir
=.
10160 for ac_exec_ext
in '' $ac_executable_extensions; do
10161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10162 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10173 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10174 if test -n "$aros_kernel_strip"; then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10176 $as_echo "$aros_kernel_strip" >&6; }
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10179 $as_echo "no" >&6; }
10184 if test "$GCC" = "yes"; then
10185 aros_gcc_strip
=`$CC -print-prog-name=strip`
10186 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10187 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10189 $as_echo_n "checking for $ac_word... " >&6; }
10190 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10191 $as_echo_n "(cached) " >&6
10193 case $aros_kernel_strip in
10195 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10199 for as_dir
in `dirname $aros_gcc_strip`
10202 test -z "$as_dir" && as_dir
=.
10203 for ac_exec_ext
in '' $ac_executable_extensions; do
10204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10205 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10216 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10217 if test -n "$aros_kernel_strip"; then
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10219 $as_echo "$aros_kernel_strip" >&6; }
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10222 $as_echo "no" >&6; }
10227 if test "$aros_kernel_strip" = ""; then
10228 # Extract the first word of "strip", so it can be a program name with args.
10229 set dummy strip
; ac_word
=$2
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10231 $as_echo_n "checking for $ac_word... " >&6; }
10232 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10233 $as_echo_n "(cached) " >&6
10235 case $aros_kernel_strip in
10237 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10241 for as_dir
in $PATH
10244 test -z "$as_dir" && as_dir
=.
10245 for ac_exec_ext
in '' $ac_executable_extensions; do
10246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10247 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10258 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10259 if test -n "$aros_kernel_strip"; then
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10261 $as_echo "$aros_kernel_strip" >&6; }
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10264 $as_echo "no" >&6; }
10271 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10272 set dummy
$aros_kernel_strip; ac_word
=$2
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10274 $as_echo_n "checking for $ac_word... " >&6; }
10275 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10276 $as_echo_n "(cached) " >&6
10278 case $aros_kernel_strip in
10280 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10284 for as_dir
in $PATH
10287 test -z "$as_dir" && as_dir
=.
10288 for ac_exec_ext
in '' $ac_executable_extensions; do
10289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10290 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10301 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10302 if test -n "$aros_kernel_strip"; then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10304 $as_echo "$aros_kernel_strip" >&6; }
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10307 $as_echo "no" >&6; }
10313 if test "$aros_kernel_strip" = ""; then
10314 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10317 # Objcopy and objdump are not required for the kernel
10318 # toolchain on many architectures.
10319 # So we'll look for them, but not make them strictly required.
10321 if test "$aros_kernel_objcopy" = ""; then
10322 if test "$cross_compiling" = "yes" ; then
10323 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10324 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10326 $as_echo_n "checking for $ac_word... " >&6; }
10327 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10328 $as_echo_n "(cached) " >&6
10330 case $aros_kernel_objcopy in
10332 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10336 for as_dir
in $PATH
10339 test -z "$as_dir" && as_dir
=.
10340 for ac_exec_ext
in '' $ac_executable_extensions; do
10341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10342 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10353 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10354 if test -n "$aros_kernel_objcopy"; then
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10356 $as_echo "$aros_kernel_objcopy" >&6; }
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10359 $as_echo "no" >&6; }
10364 if test "$GCC" = "yes"; then
10365 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10366 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10367 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10369 $as_echo_n "checking for $ac_word... " >&6; }
10370 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10371 $as_echo_n "(cached) " >&6
10373 case $aros_kernel_objcopy in
10375 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10379 for as_dir
in `dirname $aros_gcc_objcopy`
10382 test -z "$as_dir" && as_dir
=.
10383 for ac_exec_ext
in '' $ac_executable_extensions; do
10384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10385 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10396 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10397 if test -n "$aros_kernel_objcopy"; then
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10399 $as_echo "$aros_kernel_objcopy" >&6; }
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10402 $as_echo "no" >&6; }
10407 if test "$aros_kernel_objcopy" = ""; then
10408 # Extract the first word of "objcopy", so it can be a program name with args.
10409 set dummy objcopy
; ac_word
=$2
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10411 $as_echo_n "checking for $ac_word... " >&6; }
10412 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10413 $as_echo_n "(cached) " >&6
10415 case $aros_kernel_objcopy in
10417 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10421 for as_dir
in $PATH
10424 test -z "$as_dir" && as_dir
=.
10425 for ac_exec_ext
in '' $ac_executable_extensions; do
10426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10427 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10438 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10439 if test -n "$aros_kernel_objcopy"; then
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10441 $as_echo "$aros_kernel_objcopy" >&6; }
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10444 $as_echo "no" >&6; }
10451 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10452 set dummy
$aros_kernel_objcopy; ac_word
=$2
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10454 $as_echo_n "checking for $ac_word... " >&6; }
10455 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10456 $as_echo_n "(cached) " >&6
10458 case $aros_kernel_objcopy in
10460 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10464 for as_dir
in $PATH
10467 test -z "$as_dir" && as_dir
=.
10468 for ac_exec_ext
in '' $ac_executable_extensions; do
10469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10470 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10481 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10482 if test -n "$aros_kernel_objcopy"; then
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10484 $as_echo "$aros_kernel_objcopy" >&6; }
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10487 $as_echo "no" >&6; }
10494 if test "$aros_kernel_objdump" = ""; then
10495 if test "$cross_compiling" = "yes" ; then
10496 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10497 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10499 $as_echo_n "checking for $ac_word... " >&6; }
10500 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10501 $as_echo_n "(cached) " >&6
10503 case $aros_kernel_objdump in
10505 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10509 for as_dir
in $PATH
10512 test -z "$as_dir" && as_dir
=.
10513 for ac_exec_ext
in '' $ac_executable_extensions; do
10514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10515 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10526 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10527 if test -n "$aros_kernel_objdump"; then
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10529 $as_echo "$aros_kernel_objdump" >&6; }
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10532 $as_echo "no" >&6; }
10537 if test "$GCC" = "yes"; then
10538 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10539 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10540 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10542 $as_echo_n "checking for $ac_word... " >&6; }
10543 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10544 $as_echo_n "(cached) " >&6
10546 case $aros_kernel_objdump in
10548 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10552 for as_dir
in `dirname $aros_gcc_objdump`
10555 test -z "$as_dir" && as_dir
=.
10556 for ac_exec_ext
in '' $ac_executable_extensions; do
10557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10558 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10569 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10570 if test -n "$aros_kernel_objdump"; then
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10572 $as_echo "$aros_kernel_objdump" >&6; }
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10575 $as_echo "no" >&6; }
10580 if test "$aros_kernel_objdump" = ""; then
10581 # Extract the first word of "objdump", so it can be a program name with args.
10582 set dummy objdump
; ac_word
=$2
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10584 $as_echo_n "checking for $ac_word... " >&6; }
10585 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10586 $as_echo_n "(cached) " >&6
10588 case $aros_kernel_objdump in
10590 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10594 for as_dir
in $PATH
10597 test -z "$as_dir" && as_dir
=.
10598 for ac_exec_ext
in '' $ac_executable_extensions; do
10599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10600 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10611 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10612 if test -n "$aros_kernel_objdump"; then
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10614 $as_echo "$aros_kernel_objdump" >&6; }
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10617 $as_echo "no" >&6; }
10624 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10625 set dummy
$aros_kernel_objdump; ac_word
=$2
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10627 $as_echo_n "checking for $ac_word... " >&6; }
10628 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10629 $as_echo_n "(cached) " >&6
10631 case $aros_kernel_objdump in
10633 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10637 for as_dir
in $PATH
10640 test -z "$as_dir" && as_dir
=.
10641 for ac_exec_ext
in '' $ac_executable_extensions; do
10642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10643 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10654 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10655 if test -n "$aros_kernel_objdump"; then
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10657 $as_echo "$aros_kernel_objdump" >&6; }
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10660 $as_echo "no" >&6; }
10666 if test "x${crosstools}" != "xyes" ; then
10667 if test "$aros_kernel_objcopy" = ""; then
10668 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10670 if test "$aros_kernel_objdump" = ""; then
10671 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10677 $as_echo_n "checking which target tools to use... " >&6; }
10678 if test "$crosstools" = "yes"; then
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10680 $as_echo "$target_tool_prefix" >&6; }
10681 # We are are building AROS crosstools
10682 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10683 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10684 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10685 orig_target_cpp
="${tmp_tool_prefix}cpp"
10686 orig_target_ld
="${tmp_tool_prefix}ld"
10687 orig_target_as
="${tmp_tool_prefix}as"
10688 orig_target_ar
="${tmp_tool_prefix}ar"
10689 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10690 orig_target_nm
="${tmp_tool_prefix}nm"
10691 orig_target_strip
="${tmp_tool_prefix}strip"
10692 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10693 orig_target_objdump
="${tmp_tool_prefix}objdump"
10695 # Determine whether AROS or ELF tools should be used
10696 if test "$aros_tool_prefix" = "none"; then
10697 aros_tool_prefix
="${elf_tool_prefix}"
10698 crosstools_cxx_target
=tools-crosstools
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10702 $as_echo "$aros_tool_prefix" >&6; }
10703 # We are *not* building AROS crosstools - use the AROS or ELF tools
10705 if test "${aros_tool_prefix}cpp" = ""; then
10706 if test "$cross_compiling" = "yes" ; then
10707 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10708 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10710 $as_echo_n "checking for $ac_word... " >&6; }
10711 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10712 $as_echo_n "(cached) " >&6
10714 case $orig_target_cpp in
10716 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10720 for as_dir
in $PATH
10723 test -z "$as_dir" && as_dir
=.
10724 for ac_exec_ext
in '' $ac_executable_extensions; do
10725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10726 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10737 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10738 if test -n "$orig_target_cpp"; then
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10740 $as_echo "$orig_target_cpp" >&6; }
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10743 $as_echo "no" >&6; }
10748 if test "$GCC" = "yes"; then
10749 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10750 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10751 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10753 $as_echo_n "checking for $ac_word... " >&6; }
10754 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10755 $as_echo_n "(cached) " >&6
10757 case $orig_target_cpp in
10759 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10763 for as_dir
in `dirname $aros_gcc_cpp`
10766 test -z "$as_dir" && as_dir
=.
10767 for ac_exec_ext
in '' $ac_executable_extensions; do
10768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10769 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10780 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10781 if test -n "$orig_target_cpp"; then
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10783 $as_echo "$orig_target_cpp" >&6; }
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10786 $as_echo "no" >&6; }
10791 if test "$orig_target_cpp" = ""; then
10792 # Extract the first word of "cpp", so it can be a program name with args.
10793 set dummy cpp
; ac_word
=$2
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10795 $as_echo_n "checking for $ac_word... " >&6; }
10796 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10797 $as_echo_n "(cached) " >&6
10799 case $orig_target_cpp in
10801 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10805 for as_dir
in $PATH
10808 test -z "$as_dir" && as_dir
=.
10809 for ac_exec_ext
in '' $ac_executable_extensions; do
10810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10811 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10822 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10823 if test -n "$orig_target_cpp"; then
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10825 $as_echo "$orig_target_cpp" >&6; }
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10828 $as_echo "no" >&6; }
10835 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10836 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10838 $as_echo_n "checking for $ac_word... " >&6; }
10839 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10840 $as_echo_n "(cached) " >&6
10842 case $orig_target_cpp in
10844 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10848 for as_dir
in $PATH
10851 test -z "$as_dir" && as_dir
=.
10852 for ac_exec_ext
in '' $ac_executable_extensions; do
10853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10854 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10865 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10866 if test -n "$orig_target_cpp"; then
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10868 $as_echo "$orig_target_cpp" >&6; }
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10871 $as_echo "no" >&6; }
10877 if test "$orig_target_cpp" = ""; then
10878 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10881 if test "${aros_tool_prefix}gcc" = ""; then
10882 if test "$cross_compiling" = "yes" ; then
10883 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10884 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10886 $as_echo_n "checking for $ac_word... " >&6; }
10887 if ${ac_cv_path_orig_target_cc+:} false
; then :
10888 $as_echo_n "(cached) " >&6
10890 case $orig_target_cc in
10892 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10896 for as_dir
in $PATH
10899 test -z "$as_dir" && as_dir
=.
10900 for ac_exec_ext
in '' $ac_executable_extensions; do
10901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10902 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10913 orig_target_cc
=$ac_cv_path_orig_target_cc
10914 if test -n "$orig_target_cc"; then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10916 $as_echo "$orig_target_cc" >&6; }
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10919 $as_echo "no" >&6; }
10924 if test "$GCC" = "yes"; then
10925 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10926 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10927 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10929 $as_echo_n "checking for $ac_word... " >&6; }
10930 if ${ac_cv_path_orig_target_cc+:} false
; then :
10931 $as_echo_n "(cached) " >&6
10933 case $orig_target_cc in
10935 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10939 for as_dir
in `dirname $aros_gcc_gcc`
10942 test -z "$as_dir" && as_dir
=.
10943 for ac_exec_ext
in '' $ac_executable_extensions; do
10944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10945 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10956 orig_target_cc
=$ac_cv_path_orig_target_cc
10957 if test -n "$orig_target_cc"; then
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10959 $as_echo "$orig_target_cc" >&6; }
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10962 $as_echo "no" >&6; }
10967 if test "$orig_target_cc" = ""; then
10968 # Extract the first word of "gcc", so it can be a program name with args.
10969 set dummy gcc
; ac_word
=$2
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10971 $as_echo_n "checking for $ac_word... " >&6; }
10972 if ${ac_cv_path_orig_target_cc+:} false
; then :
10973 $as_echo_n "(cached) " >&6
10975 case $orig_target_cc in
10977 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10981 for as_dir
in $PATH
10984 test -z "$as_dir" && as_dir
=.
10985 for ac_exec_ext
in '' $ac_executable_extensions; do
10986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10987 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10998 orig_target_cc
=$ac_cv_path_orig_target_cc
10999 if test -n "$orig_target_cc"; then
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11001 $as_echo "$orig_target_cc" >&6; }
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11004 $as_echo "no" >&6; }
11011 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
11012 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11014 $as_echo_n "checking for $ac_word... " >&6; }
11015 if ${ac_cv_path_orig_target_cc+:} false
; then :
11016 $as_echo_n "(cached) " >&6
11018 case $orig_target_cc in
11020 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11024 for as_dir
in $PATH
11027 test -z "$as_dir" && as_dir
=.
11028 for ac_exec_ext
in '' $ac_executable_extensions; do
11029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11030 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11041 orig_target_cc
=$ac_cv_path_orig_target_cc
11042 if test -n "$orig_target_cc"; then
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11044 $as_echo "$orig_target_cc" >&6; }
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11047 $as_echo "no" >&6; }
11053 if test "$orig_target_cc" = ""; then
11054 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11056 if test "x${crosstools_cxx_target}" = "x" ; then
11058 if test "${aros_tool_prefix}g++" = ""; then
11059 if test "$cross_compiling" = "yes" ; then
11060 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11061 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11063 $as_echo_n "checking for $ac_word... " >&6; }
11064 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11065 $as_echo_n "(cached) " >&6
11067 case $orig_target_cxx in
11069 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11073 for as_dir
in $PATH
11076 test -z "$as_dir" && as_dir
=.
11077 for ac_exec_ext
in '' $ac_executable_extensions; do
11078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11079 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11090 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11091 if test -n "$orig_target_cxx"; then
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11093 $as_echo "$orig_target_cxx" >&6; }
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11096 $as_echo "no" >&6; }
11101 if test "$GCC" = "yes"; then
11102 aros_gcc_g
++=`$CC -print-prog-name=g++`
11103 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11104 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11106 $as_echo_n "checking for $ac_word... " >&6; }
11107 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11108 $as_echo_n "(cached) " >&6
11110 case $orig_target_cxx in
11112 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11116 for as_dir
in `dirname $aros_gcc_g++`
11119 test -z "$as_dir" && as_dir
=.
11120 for ac_exec_ext
in '' $ac_executable_extensions; do
11121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11122 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11133 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11134 if test -n "$orig_target_cxx"; then
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11136 $as_echo "$orig_target_cxx" >&6; }
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11139 $as_echo "no" >&6; }
11144 if test "$orig_target_cxx" = ""; then
11145 # Extract the first word of "g++", so it can be a program name with args.
11146 set dummy g
++; ac_word
=$2
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11148 $as_echo_n "checking for $ac_word... " >&6; }
11149 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11150 $as_echo_n "(cached) " >&6
11152 case $orig_target_cxx in
11154 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11158 for as_dir
in $PATH
11161 test -z "$as_dir" && as_dir
=.
11162 for ac_exec_ext
in '' $ac_executable_extensions; do
11163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11164 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11175 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11176 if test -n "$orig_target_cxx"; then
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11178 $as_echo "$orig_target_cxx" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11181 $as_echo "no" >&6; }
11188 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11189 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11191 $as_echo_n "checking for $ac_word... " >&6; }
11192 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11193 $as_echo_n "(cached) " >&6
11195 case $orig_target_cxx in
11197 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11201 for as_dir
in $PATH
11204 test -z "$as_dir" && as_dir
=.
11205 for ac_exec_ext
in '' $ac_executable_extensions; do
11206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11207 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11218 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11219 if test -n "$orig_target_cxx"; then
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11221 $as_echo "$orig_target_cxx" >&6; }
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11224 $as_echo "no" >&6; }
11230 if test "$orig_target_cxx" = ""; then
11231 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11235 if test "${aros_tool_prefix}ld" = ""; then
11236 if test "$cross_compiling" = "yes" ; then
11237 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11238 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11240 $as_echo_n "checking for $ac_word... " >&6; }
11241 if ${ac_cv_path_orig_target_ld+:} false
; then :
11242 $as_echo_n "(cached) " >&6
11244 case $orig_target_ld in
11246 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11250 for as_dir
in $PATH
11253 test -z "$as_dir" && as_dir
=.
11254 for ac_exec_ext
in '' $ac_executable_extensions; do
11255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11256 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11267 orig_target_ld
=$ac_cv_path_orig_target_ld
11268 if test -n "$orig_target_ld"; then
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11270 $as_echo "$orig_target_ld" >&6; }
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11273 $as_echo "no" >&6; }
11278 if test "$GCC" = "yes"; then
11279 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11280 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11281 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11283 $as_echo_n "checking for $ac_word... " >&6; }
11284 if ${ac_cv_path_orig_target_ld+:} false
; then :
11285 $as_echo_n "(cached) " >&6
11287 case $orig_target_ld in
11289 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11293 for as_dir
in `dirname $aros_gcc_gcc`
11296 test -z "$as_dir" && as_dir
=.
11297 for ac_exec_ext
in '' $ac_executable_extensions; do
11298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11299 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11310 orig_target_ld
=$ac_cv_path_orig_target_ld
11311 if test -n "$orig_target_ld"; then
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11313 $as_echo "$orig_target_ld" >&6; }
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11316 $as_echo "no" >&6; }
11321 if test "$orig_target_ld" = ""; then
11322 # Extract the first word of "gcc", so it can be a program name with args.
11323 set dummy gcc
; ac_word
=$2
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11325 $as_echo_n "checking for $ac_word... " >&6; }
11326 if ${ac_cv_path_orig_target_ld+:} false
; then :
11327 $as_echo_n "(cached) " >&6
11329 case $orig_target_ld in
11331 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11335 for as_dir
in $PATH
11338 test -z "$as_dir" && as_dir
=.
11339 for ac_exec_ext
in '' $ac_executable_extensions; do
11340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11341 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11352 orig_target_ld
=$ac_cv_path_orig_target_ld
11353 if test -n "$orig_target_ld"; then
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11355 $as_echo "$orig_target_ld" >&6; }
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11358 $as_echo "no" >&6; }
11365 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11366 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11368 $as_echo_n "checking for $ac_word... " >&6; }
11369 if ${ac_cv_path_orig_target_ld+:} false
; then :
11370 $as_echo_n "(cached) " >&6
11372 case $orig_target_ld in
11374 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11378 for as_dir
in $PATH
11381 test -z "$as_dir" && as_dir
=.
11382 for ac_exec_ext
in '' $ac_executable_extensions; do
11383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11384 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11395 orig_target_ld
=$ac_cv_path_orig_target_ld
11396 if test -n "$orig_target_ld"; then
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11398 $as_echo "$orig_target_ld" >&6; }
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11401 $as_echo "no" >&6; }
11407 if test "$orig_target_ld" = ""; then
11408 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11411 if test "${aros_tool_prefix}as" = ""; then
11412 if test "$cross_compiling" = "yes" ; then
11413 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11414 set dummy
${target_tool_prefix}as
; ac_word
=$2
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11416 $as_echo_n "checking for $ac_word... " >&6; }
11417 if ${ac_cv_path_orig_target_as+:} false
; then :
11418 $as_echo_n "(cached) " >&6
11420 case $orig_target_as in
11422 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11426 for as_dir
in $PATH
11429 test -z "$as_dir" && as_dir
=.
11430 for ac_exec_ext
in '' $ac_executable_extensions; do
11431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11432 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11443 orig_target_as
=$ac_cv_path_orig_target_as
11444 if test -n "$orig_target_as"; then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11446 $as_echo "$orig_target_as" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11449 $as_echo "no" >&6; }
11454 if test "$GCC" = "yes"; then
11455 aros_gcc_as
=`$CC -print-prog-name=as`
11456 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11457 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11459 $as_echo_n "checking for $ac_word... " >&6; }
11460 if ${ac_cv_path_orig_target_as+:} false
; then :
11461 $as_echo_n "(cached) " >&6
11463 case $orig_target_as in
11465 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11469 for as_dir
in `dirname $aros_gcc_as`
11472 test -z "$as_dir" && as_dir
=.
11473 for ac_exec_ext
in '' $ac_executable_extensions; do
11474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11475 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11486 orig_target_as
=$ac_cv_path_orig_target_as
11487 if test -n "$orig_target_as"; then
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11489 $as_echo "$orig_target_as" >&6; }
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11492 $as_echo "no" >&6; }
11497 if test "$orig_target_as" = ""; then
11498 # Extract the first word of "as", so it can be a program name with args.
11499 set dummy as
; ac_word
=$2
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11501 $as_echo_n "checking for $ac_word... " >&6; }
11502 if ${ac_cv_path_orig_target_as+:} false
; then :
11503 $as_echo_n "(cached) " >&6
11505 case $orig_target_as in
11507 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11511 for as_dir
in $PATH
11514 test -z "$as_dir" && as_dir
=.
11515 for ac_exec_ext
in '' $ac_executable_extensions; do
11516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11517 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11528 orig_target_as
=$ac_cv_path_orig_target_as
11529 if test -n "$orig_target_as"; then
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11531 $as_echo "$orig_target_as" >&6; }
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11534 $as_echo "no" >&6; }
11541 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11542 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11544 $as_echo_n "checking for $ac_word... " >&6; }
11545 if ${ac_cv_path_orig_target_as+:} false
; then :
11546 $as_echo_n "(cached) " >&6
11548 case $orig_target_as in
11550 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11554 for as_dir
in $PATH
11557 test -z "$as_dir" && as_dir
=.
11558 for ac_exec_ext
in '' $ac_executable_extensions; do
11559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11560 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11571 orig_target_as
=$ac_cv_path_orig_target_as
11572 if test -n "$orig_target_as"; then
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11574 $as_echo "$orig_target_as" >&6; }
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11577 $as_echo "no" >&6; }
11583 if test "$orig_target_as" = ""; then
11584 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11587 if test "${aros_tool_prefix}ar" = ""; then
11588 if test "$cross_compiling" = "yes" ; then
11589 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11590 set dummy
${target_tool_prefix}ar; ac_word
=$2
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11592 $as_echo_n "checking for $ac_word... " >&6; }
11593 if ${ac_cv_path_orig_target_ar+:} false
; then :
11594 $as_echo_n "(cached) " >&6
11596 case $orig_target_ar in
11598 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11602 for as_dir
in $PATH
11605 test -z "$as_dir" && as_dir
=.
11606 for ac_exec_ext
in '' $ac_executable_extensions; do
11607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11608 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11619 orig_target_ar
=$ac_cv_path_orig_target_ar
11620 if test -n "$orig_target_ar"; then
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11622 $as_echo "$orig_target_ar" >&6; }
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11625 $as_echo "no" >&6; }
11630 if test "$GCC" = "yes"; then
11631 aros_gcc_ar
=`$CC -print-prog-name=ar`
11632 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11633 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11635 $as_echo_n "checking for $ac_word... " >&6; }
11636 if ${ac_cv_path_orig_target_ar+:} false
; then :
11637 $as_echo_n "(cached) " >&6
11639 case $orig_target_ar in
11641 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11645 for as_dir
in `dirname $aros_gcc_ar`
11648 test -z "$as_dir" && as_dir
=.
11649 for ac_exec_ext
in '' $ac_executable_extensions; do
11650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11651 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11662 orig_target_ar
=$ac_cv_path_orig_target_ar
11663 if test -n "$orig_target_ar"; then
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11665 $as_echo "$orig_target_ar" >&6; }
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11668 $as_echo "no" >&6; }
11673 if test "$orig_target_ar" = ""; then
11674 # Extract the first word of "ar", so it can be a program name with args.
11675 set dummy
ar; ac_word
=$2
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11677 $as_echo_n "checking for $ac_word... " >&6; }
11678 if ${ac_cv_path_orig_target_ar+:} false
; then :
11679 $as_echo_n "(cached) " >&6
11681 case $orig_target_ar in
11683 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11687 for as_dir
in $PATH
11690 test -z "$as_dir" && as_dir
=.
11691 for ac_exec_ext
in '' $ac_executable_extensions; do
11692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11693 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11704 orig_target_ar
=$ac_cv_path_orig_target_ar
11705 if test -n "$orig_target_ar"; then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11707 $as_echo "$orig_target_ar" >&6; }
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11710 $as_echo "no" >&6; }
11717 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11718 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11720 $as_echo_n "checking for $ac_word... " >&6; }
11721 if ${ac_cv_path_orig_target_ar+:} false
; then :
11722 $as_echo_n "(cached) " >&6
11724 case $orig_target_ar in
11726 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11730 for as_dir
in $PATH
11733 test -z "$as_dir" && as_dir
=.
11734 for ac_exec_ext
in '' $ac_executable_extensions; do
11735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11736 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11747 orig_target_ar
=$ac_cv_path_orig_target_ar
11748 if test -n "$orig_target_ar"; then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11750 $as_echo "$orig_target_ar" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11759 if test "$orig_target_ar" = ""; then
11760 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11763 if test "${aros_tool_prefix}ranlib" = ""; then
11764 if test "$cross_compiling" = "yes" ; then
11765 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11766 set dummy
${target_tool_prefix}ar; ac_word
=$2
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11768 $as_echo_n "checking for $ac_word... " >&6; }
11769 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11770 $as_echo_n "(cached) " >&6
11772 case $orig_target_ranlib in
11774 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11778 for as_dir
in $PATH
11781 test -z "$as_dir" && as_dir
=.
11782 for ac_exec_ext
in '' $ac_executable_extensions; do
11783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11784 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11795 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11796 if test -n "$orig_target_ranlib"; then
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11798 $as_echo "$orig_target_ranlib" >&6; }
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11801 $as_echo "no" >&6; }
11806 if test "$GCC" = "yes"; then
11807 aros_gcc_ar
=`$CC -print-prog-name=ar`
11808 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11809 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11811 $as_echo_n "checking for $ac_word... " >&6; }
11812 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11813 $as_echo_n "(cached) " >&6
11815 case $orig_target_ranlib in
11817 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11821 for as_dir
in `dirname $aros_gcc_ar`
11824 test -z "$as_dir" && as_dir
=.
11825 for ac_exec_ext
in '' $ac_executable_extensions; do
11826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11827 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11838 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11839 if test -n "$orig_target_ranlib"; then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11841 $as_echo "$orig_target_ranlib" >&6; }
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11844 $as_echo "no" >&6; }
11849 if test "$orig_target_ranlib" = ""; then
11850 # Extract the first word of "ar", so it can be a program name with args.
11851 set dummy
ar; ac_word
=$2
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11853 $as_echo_n "checking for $ac_word... " >&6; }
11854 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11855 $as_echo_n "(cached) " >&6
11857 case $orig_target_ranlib in
11859 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11863 for as_dir
in $PATH
11866 test -z "$as_dir" && as_dir
=.
11867 for ac_exec_ext
in '' $ac_executable_extensions; do
11868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11869 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11880 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11881 if test -n "$orig_target_ranlib"; then
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11883 $as_echo "$orig_target_ranlib" >&6; }
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11886 $as_echo "no" >&6; }
11893 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11894 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11896 $as_echo_n "checking for $ac_word... " >&6; }
11897 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11898 $as_echo_n "(cached) " >&6
11900 case $orig_target_ranlib in
11902 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11906 for as_dir
in $PATH
11909 test -z "$as_dir" && as_dir
=.
11910 for ac_exec_ext
in '' $ac_executable_extensions; do
11911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11912 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11923 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11924 if test -n "$orig_target_ranlib"; then
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11926 $as_echo "$orig_target_ranlib" >&6; }
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11929 $as_echo "no" >&6; }
11935 if test "$orig_target_ranlib" = ""; then
11936 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11939 if test "${aros_tool_prefix}nm" = ""; then
11940 if test "$cross_compiling" = "yes" ; then
11941 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11942 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11944 $as_echo_n "checking for $ac_word... " >&6; }
11945 if ${ac_cv_path_orig_target_nm+:} false
; then :
11946 $as_echo_n "(cached) " >&6
11948 case $orig_target_nm in
11950 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11954 for as_dir
in $PATH
11957 test -z "$as_dir" && as_dir
=.
11958 for ac_exec_ext
in '' $ac_executable_extensions; do
11959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11960 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11971 orig_target_nm
=$ac_cv_path_orig_target_nm
11972 if test -n "$orig_target_nm"; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11974 $as_echo "$orig_target_nm" >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11977 $as_echo "no" >&6; }
11982 if test "$GCC" = "yes"; then
11983 aros_gcc_nm
=`$CC -print-prog-name=nm`
11984 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11985 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11987 $as_echo_n "checking for $ac_word... " >&6; }
11988 if ${ac_cv_path_orig_target_nm+:} false
; then :
11989 $as_echo_n "(cached) " >&6
11991 case $orig_target_nm in
11993 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11997 for as_dir
in `dirname $aros_gcc_nm`
12000 test -z "$as_dir" && as_dir
=.
12001 for ac_exec_ext
in '' $ac_executable_extensions; do
12002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12003 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12014 orig_target_nm
=$ac_cv_path_orig_target_nm
12015 if test -n "$orig_target_nm"; then
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12017 $as_echo "$orig_target_nm" >&6; }
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12020 $as_echo "no" >&6; }
12025 if test "$orig_target_nm" = ""; then
12026 # Extract the first word of "nm", so it can be a program name with args.
12027 set dummy nm
; ac_word
=$2
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12029 $as_echo_n "checking for $ac_word... " >&6; }
12030 if ${ac_cv_path_orig_target_nm+:} false
; then :
12031 $as_echo_n "(cached) " >&6
12033 case $orig_target_nm in
12035 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12039 for as_dir
in $PATH
12042 test -z "$as_dir" && as_dir
=.
12043 for ac_exec_ext
in '' $ac_executable_extensions; do
12044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12045 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12056 orig_target_nm
=$ac_cv_path_orig_target_nm
12057 if test -n "$orig_target_nm"; then
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12059 $as_echo "$orig_target_nm" >&6; }
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12062 $as_echo "no" >&6; }
12069 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12070 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12072 $as_echo_n "checking for $ac_word... " >&6; }
12073 if ${ac_cv_path_orig_target_nm+:} false
; then :
12074 $as_echo_n "(cached) " >&6
12076 case $orig_target_nm in
12078 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12082 for as_dir
in $PATH
12085 test -z "$as_dir" && as_dir
=.
12086 for ac_exec_ext
in '' $ac_executable_extensions; do
12087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12088 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12099 orig_target_nm
=$ac_cv_path_orig_target_nm
12100 if test -n "$orig_target_nm"; then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12102 $as_echo "$orig_target_nm" >&6; }
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12105 $as_echo "no" >&6; }
12111 if test "$orig_target_nm" = ""; then
12112 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12115 if test "${aros_tool_prefix}strip" = ""; then
12116 if test "$cross_compiling" = "yes" ; then
12117 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12118 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12120 $as_echo_n "checking for $ac_word... " >&6; }
12121 if ${ac_cv_path_orig_target_strip+:} false
; then :
12122 $as_echo_n "(cached) " >&6
12124 case $orig_target_strip in
12126 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12130 for as_dir
in $PATH
12133 test -z "$as_dir" && as_dir
=.
12134 for ac_exec_ext
in '' $ac_executable_extensions; do
12135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12136 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12147 orig_target_strip
=$ac_cv_path_orig_target_strip
12148 if test -n "$orig_target_strip"; then
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12150 $as_echo "$orig_target_strip" >&6; }
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12153 $as_echo "no" >&6; }
12158 if test "$GCC" = "yes"; then
12159 aros_gcc_strip
=`$CC -print-prog-name=strip`
12160 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12161 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12163 $as_echo_n "checking for $ac_word... " >&6; }
12164 if ${ac_cv_path_orig_target_strip+:} false
; then :
12165 $as_echo_n "(cached) " >&6
12167 case $orig_target_strip in
12169 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12173 for as_dir
in `dirname $aros_gcc_strip`
12176 test -z "$as_dir" && as_dir
=.
12177 for ac_exec_ext
in '' $ac_executable_extensions; do
12178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12179 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12190 orig_target_strip
=$ac_cv_path_orig_target_strip
12191 if test -n "$orig_target_strip"; then
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12193 $as_echo "$orig_target_strip" >&6; }
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12196 $as_echo "no" >&6; }
12201 if test "$orig_target_strip" = ""; then
12202 # Extract the first word of "strip", so it can be a program name with args.
12203 set dummy strip
; ac_word
=$2
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12205 $as_echo_n "checking for $ac_word... " >&6; }
12206 if ${ac_cv_path_orig_target_strip+:} false
; then :
12207 $as_echo_n "(cached) " >&6
12209 case $orig_target_strip in
12211 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12215 for as_dir
in $PATH
12218 test -z "$as_dir" && as_dir
=.
12219 for ac_exec_ext
in '' $ac_executable_extensions; do
12220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12221 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12232 orig_target_strip
=$ac_cv_path_orig_target_strip
12233 if test -n "$orig_target_strip"; then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12235 $as_echo "$orig_target_strip" >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12238 $as_echo "no" >&6; }
12245 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12246 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12248 $as_echo_n "checking for $ac_word... " >&6; }
12249 if ${ac_cv_path_orig_target_strip+:} false
; then :
12250 $as_echo_n "(cached) " >&6
12252 case $orig_target_strip in
12254 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12258 for as_dir
in $PATH
12261 test -z "$as_dir" && as_dir
=.
12262 for ac_exec_ext
in '' $ac_executable_extensions; do
12263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12264 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12275 orig_target_strip
=$ac_cv_path_orig_target_strip
12276 if test -n "$orig_target_strip"; then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12278 $as_echo "$orig_target_strip" >&6; }
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12281 $as_echo "no" >&6; }
12287 if test "$orig_target_strip" = ""; then
12288 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12291 if test "${aros_tool_prefix}objcopy" = ""; then
12292 if test "$cross_compiling" = "yes" ; then
12293 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12294 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12296 $as_echo_n "checking for $ac_word... " >&6; }
12297 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12298 $as_echo_n "(cached) " >&6
12300 case $orig_target_objcopy in
12302 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12306 for as_dir
in $PATH
12309 test -z "$as_dir" && as_dir
=.
12310 for ac_exec_ext
in '' $ac_executable_extensions; do
12311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12312 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12323 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12324 if test -n "$orig_target_objcopy"; then
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12326 $as_echo "$orig_target_objcopy" >&6; }
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12329 $as_echo "no" >&6; }
12334 if test "$GCC" = "yes"; then
12335 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12336 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12337 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12339 $as_echo_n "checking for $ac_word... " >&6; }
12340 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12341 $as_echo_n "(cached) " >&6
12343 case $orig_target_objcopy in
12345 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12349 for as_dir
in `dirname $aros_gcc_objcopy`
12352 test -z "$as_dir" && as_dir
=.
12353 for ac_exec_ext
in '' $ac_executable_extensions; do
12354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12355 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12366 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12367 if test -n "$orig_target_objcopy"; then
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12369 $as_echo "$orig_target_objcopy" >&6; }
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12372 $as_echo "no" >&6; }
12377 if test "$orig_target_objcopy" = ""; then
12378 # Extract the first word of "objcopy", so it can be a program name with args.
12379 set dummy objcopy
; ac_word
=$2
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12381 $as_echo_n "checking for $ac_word... " >&6; }
12382 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12383 $as_echo_n "(cached) " >&6
12385 case $orig_target_objcopy in
12387 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12391 for as_dir
in $PATH
12394 test -z "$as_dir" && as_dir
=.
12395 for ac_exec_ext
in '' $ac_executable_extensions; do
12396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12397 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12408 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12409 if test -n "$orig_target_objcopy"; then
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12411 $as_echo "$orig_target_objcopy" >&6; }
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12414 $as_echo "no" >&6; }
12421 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12422 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12424 $as_echo_n "checking for $ac_word... " >&6; }
12425 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12426 $as_echo_n "(cached) " >&6
12428 case $orig_target_objcopy in
12430 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12434 for as_dir
in $PATH
12437 test -z "$as_dir" && as_dir
=.
12438 for ac_exec_ext
in '' $ac_executable_extensions; do
12439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12440 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12451 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12452 if test -n "$orig_target_objcopy"; then
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12454 $as_echo "$orig_target_objcopy" >&6; }
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12457 $as_echo "no" >&6; }
12463 if test "$orig_target_objcopy" = ""; then
12464 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12467 if test "${aros_tool_prefix}objdump" = ""; then
12468 if test "$cross_compiling" = "yes" ; then
12469 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12470 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12472 $as_echo_n "checking for $ac_word... " >&6; }
12473 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12474 $as_echo_n "(cached) " >&6
12476 case $orig_target_objdump in
12478 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12482 for as_dir
in $PATH
12485 test -z "$as_dir" && as_dir
=.
12486 for ac_exec_ext
in '' $ac_executable_extensions; do
12487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12488 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12499 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12500 if test -n "$orig_target_objdump"; then
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12502 $as_echo "$orig_target_objdump" >&6; }
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505 $as_echo "no" >&6; }
12510 if test "$GCC" = "yes"; then
12511 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12512 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12513 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12515 $as_echo_n "checking for $ac_word... " >&6; }
12516 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12517 $as_echo_n "(cached) " >&6
12519 case $orig_target_objdump in
12521 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12525 for as_dir
in `dirname $aros_gcc_objdump`
12528 test -z "$as_dir" && as_dir
=.
12529 for ac_exec_ext
in '' $ac_executable_extensions; do
12530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12531 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12542 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12543 if test -n "$orig_target_objdump"; then
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12545 $as_echo "$orig_target_objdump" >&6; }
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12548 $as_echo "no" >&6; }
12553 if test "$orig_target_objdump" = ""; then
12554 # Extract the first word of "objdump", so it can be a program name with args.
12555 set dummy objdump
; ac_word
=$2
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12557 $as_echo_n "checking for $ac_word... " >&6; }
12558 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12559 $as_echo_n "(cached) " >&6
12561 case $orig_target_objdump in
12563 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12567 for as_dir
in $PATH
12570 test -z "$as_dir" && as_dir
=.
12571 for ac_exec_ext
in '' $ac_executable_extensions; do
12572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12573 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12584 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12585 if test -n "$orig_target_objdump"; then
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12587 $as_echo "$orig_target_objdump" >&6; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12590 $as_echo "no" >&6; }
12597 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12598 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12600 $as_echo_n "checking for $ac_word... " >&6; }
12601 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12602 $as_echo_n "(cached) " >&6
12604 case $orig_target_objdump in
12606 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12610 for as_dir
in $PATH
12613 test -z "$as_dir" && as_dir
=.
12614 for ac_exec_ext
in '' $ac_executable_extensions; do
12615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12616 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12627 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12628 if test -n "$orig_target_objdump"; then
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12630 $as_echo "$orig_target_objdump" >&6; }
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12633 $as_echo "no" >&6; }
12639 if test "$orig_target_objdump" = ""; then
12640 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12644 if test "$kernel_tool_prefix" = "none" ; then
12645 # No kernel tools specified
12646 # Assume target tools == kernel tools with ELF wrapper
12647 aros_kernel_cc
=$orig_target_cc
12648 aros_kernel_cxx
=$orig_target_cxx
12649 aros_kernel_cpp
=$orig_target_cpp
12650 aros_kernel_ld
=$orig_target_ld
12651 aros_kernel_as
=$orig_target_as
12652 aros_kernel_ar
=$orig_target_ar
12653 aros_kernel_ranlib
=$orig_target_ranlib
12654 aros_kernel_nm
=$orig_target_nm
12655 aros_kernel_strip
=$orig_target_strip
12656 aros_kernel_objcopy
=$orig_target_objcopy
12657 aros_kernel_objdump
=$orig_target_objdump
12658 use_kernel_cc_wrapper
=yes
12661 # At this point, all aros_kernel_* and aros_target_*
12662 # tools should be set up correctly
12664 CC
="$aros_kernel_cc $kernel_tool_flags"
12665 CPP
="$aros_kernel_cpp"
12667 #-----------------------------------------------------------------------------
12669 # Disable pointer-signedness warnings if the compiler recognises the option
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12672 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12673 save_cflags
="$CFLAGS"
12674 if test "$crosstools" != "yes" ; then
12675 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12687 if ac_fn_c_try_compile
"$LINENO"; then :
12688 use_no_sign_warning
="yes"
12690 use_no_sign_warning
="no"
12692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12694 # we do know it is supported for the smallest version of gcc we are going to build
12695 # we assume it's also supported by later versions
12696 use_no_sign_warning
=yes
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12699 $as_echo "$use_no_sign_warning" >&6; }
12700 if test "x-$use_no_sign_warning" = "x-yes" ; then
12701 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12703 CFLAGS
="$save_cflags"
12705 #-----------------------------------------------------------------------------
12707 # Find all the tools we need to compile. This could be cross-compiling
12708 # though! If that is the case we use the GNU form of the target and
12709 # simply add this to the front of the binary name. This is rather simple,
12710 # but it should work under most circumstances.
12712 # The default tools are to use the same as the host, but only if the
12713 # host and target CPU are the same. With GCC this is normally enough.
12717 aros_shared_ld
="$aros_host_ld"
12719 aros_target_mkdep
="$aros_host_mkdep"
12721 # The default tools executables to be linked to.
12722 if test "$rescomp" != ""; then
12723 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12724 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12726 $as_echo_n "checking for $ac_word... " >&6; }
12727 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12728 $as_echo_n "(cached) " >&6
12730 case $aros_kernel_rescomp in
12732 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12736 for as_dir
in $PATH
12739 test -z "$as_dir" && as_dir
=.
12740 for ac_exec_ext
in '' $ac_executable_extensions; do
12741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12742 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12753 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12754 if test -n "$aros_kernel_rescomp"; then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12756 $as_echo "$aros_kernel_rescomp" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12763 if test "$aros_kernel_rescomp" = ""; then
12764 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12768 # Set up the sources for the symlink farm
12769 if test "$crosstools" = "yes"; then
12770 crosstools_target
=tools-crosstools
12773 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12774 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12777 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12778 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12779 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12780 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12781 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12782 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12783 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12785 # aros_cc_pre is a variable that is added to the front of the compiler name
12786 # in the generated aros-gcc shell script. We need this to enable the cache
12787 # to work across cleaned builds. Also, support DISTCC using the correct
12788 # environment variable.
12791 if test "x${DISTCC}" != "x" ; then
12792 if test "x${CCACHE}" != "x" ; then
12793 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12795 aros_cc_pre
="${DISTCC} "
12798 if test "x${CCACHE}" != "x" ; then
12799 aros_cc_pre
="${CCACHE} "
12803 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12805 aros_target_nostdinc_cflags
=-nostdinc
12807 aros_target_nostartup_ldflags
=-nostartfiles
12809 aros_target_nix_ldflags
=-nix
12811 aros_target_detach_ldflags
=-detach
12813 aros_target_nostdlib_ldflags
=-nostdlib
12817 if test "$crosstools" != "yes"; then
12818 if test "$GCC" = "yes"; then
12819 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12822 # We do not know which gcc version we are going to build and what we need to know
12823 # here is different for different versions so this will be set later during the
12824 # build of crosstools.
12825 aros_target_cc_path
=@aros_target_cc_path@
12827 aros_target_cpp
="${prefix}cpp"
12828 aros_target_cc
="${prefix}gcc"
12829 aros_target_cxx
="${prefix}g++"
12830 aros_target_as
="${prefix}as"
12831 aros_target_ld
="${prefix}ld"
12832 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12833 aros_target_objcopy
="${prefix}objcopy"
12834 aros_target_objdump
="${prefix}objdump"
12835 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12836 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12837 aros_target_strip
="${prefix}strip"
12838 aros_plain_nm
="${prefix}nm"
12839 aros_plain_ar
="${prefix}ar"
12841 # Check whether --enable-includes was given.
12842 if test "${enable_includes+set}" = set; then :
12843 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12845 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12849 if test "$aros_kernel_includes" = ""; then
12850 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12851 aros_kernel_includes
="-isystem $aros_target_incl"
12855 if test "$aros_kernel_includes" != "" ; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12857 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12858 if test "$aros_kernel_cc_includes" = "" ; then
12859 # Try to guess where the directory is.
12860 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12861 if test -d $aros_kernel_cc_includes; then
12862 # Check if there is also an include-fixed directory and add it
12863 # to kernel compiler's include path as it may contain some of
12864 # the headers we need.
12865 if test -d "$aros_kernel_cc_includes"-fixed; then
12866 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12868 # Check for specific includes directory. Neede for Ubuntu 11.10
12869 if test -d "/usr/include/i386-linux-gnu"; then
12870 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12873 # The directory doesn't exist, we need to do some more work.
12874 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12876 # These are the headers we're looking for.
12877 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12878 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12882 for h
in $headers; do
12883 # Which other headers are needed by each of the above?
12884 deps
=$
(echo "#include <$h>" | \
12885 $aros_kernel_cc -E -M - 2>/dev
/null | \
12886 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12888 # Copy all the needed headers to a directory beneath gendir.
12891 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12892 sed -n "s,^.*/include\(/.*\),\1,p")
12893 ! test -d $dir && mkdir
-p $dir
12894 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12900 $as_echo "$aros_kernel_cc_includes" >&6; }
12901 # Adding -nostdinc to kernel includes as they are always used together.
12902 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12905 if test "$crosstools" != "yes"; then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12907 $as_echo_n "checking for the target compiler's include path... " >&6; }
12908 if test "$aros_target_cc_includes" = "" ; then
12909 #try to guess where the directory is
12910 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12911 if ! test -d $aros_target_cc_includes; then
12912 #the directory doesn't exist, we need to do some more work
12913 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12915 #these are the headers we're looking for
12916 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12917 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12921 for h
in $headers; do
12922 #which other headers each of the above headers needs?
12923 deps
=$
(echo "#include <$h>" | \
12924 $orig_target_cc -E -M - 2>/dev
/null | \
12925 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12927 #copy all the needed headers to a directory beneath gendir
12930 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12931 sed -n "s,^.*/include\(/.*\),\1,p")
12932 ! test -d $dir && mkdir
-p $dir
12933 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12939 $as_echo "$aros_target_cc_includes" >&6; }
12941 # We do not know which gcc version we are going to build and what we need to know
12942 # here is different for different versions so this will be set later during the
12943 # build of crosstools.
12944 aros_target_cc_includes
=@aros_target_cc_includes@
12948 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12949 # On GCC >= 4.0 -iquote should be used
12953 save_cflags
="$CFLAGS"
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12956 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12957 if test "x-$crosstools" != "x-yes"; then
12958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12969 if ac_fn_c_try_compile
"$LINENO"; then :
12974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12976 # we do know it is supported for the smallest version of gcc we are going to build
12977 # we assume it's also supported by later versions
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12981 $as_echo "$has_iquote" >&6; }
12982 if test "x-$has_iquote" = "x-yes" ; then
12983 host_cflags_iquote
=-iquote
12984 host_cflags_iquote_end
=
12986 host_cflags_iquote
=-I
12987 host_cflags_iquote_end
=-I-
12989 kernel_cflags_iquote
=$host_cflags_iquote
12990 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12991 if test "x-$cross_compiling" = "x-yes"; then
12992 CC
="$aros_kernel_cc"
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12994 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12995 if test "x-$crosstools" != "x-yes"; then
12996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
13007 if ac_fn_c_try_compile
"$LINENO"; then :
13008 use_no_stack_protector
="yes"
13010 use_no_stack_protector
="no"
13012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13014 # we do know it is supported for the smallest version of gcc we are going to build
13015 # we assume it's also supported by later versions
13016 use_no_stack_protector
=yes
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13019 $as_echo "$use_no_stack_protector" >&6; }
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13021 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13022 if test "x-$crosstools" != "x-yes"; then
13023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13034 if ac_fn_c_try_compile
"$LINENO"; then :
13039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13041 # we do know it is supported for the smallest version of gcc we are going to build
13042 # we assume it's also supported by later versions
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13046 $as_echo "$has_iquote" >&6; }
13047 if test "x-$has_iquote" = "x-yes" ; then
13048 kernel_cflags_iquote
=-iquote
13049 kernel_cflags_iquote_end
=
13051 kernel_cflags_iquote
=-I
13052 kernel_cflags_iquote_end
=-I-
13055 aros_cflags_iquote
=$kernel_cflags_iquote
13056 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13057 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13058 CC
="$orig_target_cc"
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13060 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13061 if test "x-$crosstools" != "x-yes"; then
13062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13073 if ac_fn_c_try_compile
"$LINENO"; then :
13078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13080 # we do know it is supported for the smallest version of gcc we are going to build
13081 # we assume it's also supported by later versions
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13085 $as_echo "$has_iquote" >&6; }
13086 if test "x-$has_iquote" = "x-yes" ; then
13087 aros_cflags_iquote
=-iquote
13088 aros_cflags_iquote_end
=
13090 aros_cflags_iquote
=-I
13091 aros_cflags_iquote_end
=-I-
13094 if test "x-$use_no_stack_protector" = "x-yes" ; then
13095 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13099 #-----------------------------------------------------------------------------
13101 # Check if the target compiler supports some options used for delinting:
13102 # -Wunused-but-set-variable
13105 # -Wstrict-overflow
13106 # -Wformat-security
13108 if test "x-$crosstools" != "x-yes"; then
13109 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13110 CC
="$orig_target_cc"
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13113 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13114 CFLAGS
=-Wunused-but-set-variable
13115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13126 if ac_fn_c_try_compile
"$LINENO"; then :
13127 aros_unused_but_set_variable
="yes"
13129 aros_unused_but_set_variable
="no"
13131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13133 $as_echo "$aros_unused_but_set_variable" >&6; }
13134 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13135 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13139 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13140 CFLAGS
=-Warray-bounds
13141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13142 /* end confdefs.h. */
13152 if ac_fn_c_try_compile
"$LINENO"; then :
13153 aros_array_bounds
="yes"
13155 aros_array_bounds
="no"
13157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13159 $as_echo "$aros_array_bounds" >&6; }
13160 if test "x-$aros_array_bounds" = "x-yes" ; then
13161 aros_cflags_array_bounds
=-Wno-array-bounds
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13165 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13166 CFLAGS
=-Wenum-compare
13167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13178 if ac_fn_c_try_compile
"$LINENO"; then :
13179 aros_enum_compare
="yes"
13181 aros_enum_compare
="no"
13183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13185 $as_echo "$aros_enum_compare" >&6; }
13186 if test "x-$aros_enum_compare" = "x-yes" ; then
13187 aros_cflags_enum_compare
=-Wno-enum-compare
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13191 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13192 CFLAGS
=-Wstrict-overflow
13193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13204 if ac_fn_c_try_compile
"$LINENO"; then :
13205 aros_strict_overflow
="yes"
13207 aros_strict_overflow
="no"
13209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13211 $as_echo "$aros_strict_overflow" >&6; }
13212 if test "x-$aros_strict_overflow" = "x-yes" ; then
13213 aros_cflags_strict_overflow
=-Wno-strict-overflow
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13217 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13218 CFLAGS
=-Wformat-security
13219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13220 /* end confdefs.h. */
13230 if ac_fn_c_try_compile
"$LINENO"; then :
13231 aros_format_security
="yes"
13233 aros_format_security
="no"
13235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13237 $as_echo "$aros_format_security" >&6; }
13238 if test "x-$aros_format_security" = "x-yes" ; then
13239 aros_cflags_format_security
=-Wno-format-security
13242 # We do not know which gcc version we are going to build and what we need to know
13243 # here is different for different versions so this will be set later during the
13244 # build of crosstools.
13245 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13246 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13247 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13248 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13249 aros_cflags_format_security
=@aros_cflags_format_security@
13252 #-----------------------------------------------------------------------------
13254 # Check if we can explicitly choose older version of symbol hashing
13256 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13257 CC
="$aros_kernel_cc"
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13259 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13271 if ac_fn_c_try_link
"$LINENO"; then :
13272 use_hash_style
="yes"
13274 use_hash_style
="no"
13276 rm -f core conftest.err conftest.
$ac_objext \
13277 conftest
$ac_exeext conftest.
$ac_ext
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13279 $as_echo "$use_hash_style" >&6; }
13280 if test "x-$use_hash_style" = "x-yes" ; then
13281 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13284 CFLAGS
="$save_cflags"
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13295 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13297 # Check whether --with-resolution was given.
13298 if test "${with_resolution+set}" = set; then :
13299 withval
=$with_resolution; resolution
=$withval
13304 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13305 if test "$resolution" = "yes" ; then
13308 if test "$resolution" = "no" ; then
13311 if test "$resolution" != "none" ; then
13312 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13313 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13314 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13317 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13318 aros_cv_default_wbwidth
=$aros_default_wbwidth
13319 aros_cv_default_wbheight
=$aros_default_wbheight
13320 aros_cv_default_wbdepth
=$aros_default_wbdepth
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13323 $as_echo_n "checking if serial debug is enabled... " >&6; }
13325 # Check whether --with-serial-debug was given.
13326 if test "${with_serial_debug+set}" = set; then :
13327 withval
=$with_serial_debug; serial_debug
=$withval
13332 if test "$aros_serial_debug" = 0 ; then
13333 serial_debug_forced
=""
13334 if test "$serial_debug" = "yes" ; then
13337 if test "$serial_debug" = "no" ; then
13338 serial_debug
="none"
13341 serial_debug_forced
="(forced)"
13342 serial_debug
=$aros_serial_debug
13344 if test "$serial_debug" != "none" ; then
13345 aros_serial_debug
=$serial_debug
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13347 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13350 $as_echo "no" >&6; }
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13354 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13355 # Check whether --enable-palm_debug_hack was given.
13356 if test "${enable_palm_debug_hack+set}" = set; then :
13357 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13359 palm_debug_hack
="no"
13362 if test "$palm_debug_hack" = "yes" ; then
13363 aros_palm_debug_hack
="1"
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13366 $as_echo "$palm_debug_hack" >&6; }
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13369 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13370 # Check whether --enable-nesting_supervisor was given.
13371 if test "${enable_nesting_supervisor+set}" = set; then :
13372 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13374 nesting_supervisor
="no"
13377 if test "$nesting_supervisor" = "yes" ; then
13378 aros_nesting_supervisor
="1"
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13381 $as_echo "$nesting_supervisor" >&6; }
13383 if test "$aros_enable_mmu" = "" ; then
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13385 $as_echo_n "checking if MMU support is enabled... " >&6; }
13386 # Check whether --enable-mmu was given.
13387 if test "${enable_mmu+set}" = set; then :
13388 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13390 aros_enable_mmu
="yes"
13393 if test "$aros_enable_mmu" = "" ; then
13394 aros_enable_mmu
="yes"
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13397 $as_echo "$aros_enable_mmu" >&6; }
13399 if test "$aros_enable_mmu" = "no" ; then
13400 aros_enable_mmu
="0"
13402 aros_enable_mmu
="1"
13406 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13408 if test "x-$need_dlopen" != "x-no" ; then
13411 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13412 if test "x$ac_cv_func_dlopen" = xyes
; then :
13418 if test "x-$have_dl" = "x-no" ; then
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13420 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13421 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13422 $as_echo_n "(cached) " >&6
13424 ac_check_lib_save_LIBS
=$LIBS
13426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13429 /* Override any GCC internal prototype to avoid an error.
13430 Use char because int might match the return type of a GCC
13431 builtin and then its argument prototype would still apply. */
13444 if ac_fn_c_try_link
"$LINENO"; then :
13445 ac_cv_lib_dl_dlopen
=yes
13447 ac_cv_lib_dl_dlopen
=no
13449 rm -f core conftest.err conftest.
$ac_objext \
13450 conftest
$ac_exeext conftest.
$ac_ext
13451 LIBS
=$ac_check_lib_save_LIBS
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13454 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13455 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13457 aros_host_ldflags
="$aros_host_ldflags -ldl"
13463 if test "x-$have_dl" = "x-no" ; then
13464 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13470 # Check whether --enable-x11_hidd was given.
13471 if test "${enable_x11_hidd+set}" = set; then :
13472 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13474 x11_hidd
="$need_x11"
13477 case "x-$x11_hidd" in
13478 x-yes|x-no|x-auto
) ;;
13479 *) x11_hidd
="$need_x11" ;;
13484 if test "x-$x11_hidd" != "x-no" ; then
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13487 $as_echo_n "checking for X... " >&6; }
13490 # Check whether --with-x was given.
13491 if test "${with_x+set}" = set; then :
13495 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13496 if test "x$with_x" = xno
; then
13497 # The user explicitly disabled X.
13500 case $x_includes,$x_libraries in #(
13501 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13502 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13503 $as_echo_n "(cached) " >&6
13505 # One or both of the vars are not set, and there is no cached value.
13506 ac_x_includes
=no ac_x_libraries
=no
13507 rm -f -r conftest.dir
13508 if mkdir conftest.dir
; then
13510 cat >Imakefile
<<'_ACEOF'
13512 @echo incroot='${INCROOT}'
13514 @echo usrlibdir='${USRLIBDIR}'
13516 @echo libdir='${LIBDIR}'
13518 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13519 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13520 for ac_var
in incroot usrlibdir libdir
; do
13521 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13523 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13524 for ac_extension
in a so sl dylib la dll
; do
13525 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13526 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13527 ac_im_usrlibdir
=$ac_im_libdir; break
13530 # Screen out bogus values from the imake configuration. They are
13531 # bogus both because they are the default anyway, and because
13532 # using them would break gcc on systems where it needs fixed includes.
13533 case $ac_im_incroot in
13534 /usr
/include
) ac_x_includes
= ;;
13535 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13537 case $ac_im_usrlibdir in
13538 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13539 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13543 rm -f -r conftest.dir
13546 # Standard set of common directories for X headers.
13547 # Check X11 before X11Rn because it is often a symlink to the current release.
13561 /usr/local/X11/include
13562 /usr/local/X11R7/include
13563 /usr/local/X11R6/include
13564 /usr/local/X11R5/include
13565 /usr/local/X11R4/include
13567 /usr/local/include/X11
13568 /usr/local/include/X11R7
13569 /usr/local/include/X11R6
13570 /usr/local/include/X11R5
13571 /usr/local/include/X11R4
13575 /usr/XFree86/include/X11
13579 /usr/unsupported/include
13580 /usr/athena/include
13581 /usr/local/x11r5/include
13582 /usr/lpp/Xamples/include
13584 /usr/openwin/include
13585 /usr/openwin/share/include'
13587 if test "$ac_x_includes" = no
; then
13588 # Guess where to find include files, by looking for Xlib.h.
13589 # First, try using that file with no special directory specified.
13590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13592 #include <X11/Xlib.h>
13594 if ac_fn_c_try_cpp
"$LINENO"; then :
13595 # We can compile using X headers with no special include directory.
13598 for ac_dir
in $ac_x_header_dirs; do
13599 if test -r "$ac_dir/X11/Xlib.h"; then
13600 ac_x_includes
=$ac_dir
13605 rm -f conftest.err conftest.i conftest.
$ac_ext
13606 fi # $ac_x_includes = no
13608 if test "$ac_x_libraries" = no
; then
13609 # Check for the libraries.
13610 # See if we find them without any special options.
13611 # Don't add to $LIBS permanently.
13614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13616 #include <X11/Xlib.h>
13625 if ac_fn_c_try_link
"$LINENO"; then :
13627 # We can link X programs with no special library path.
13631 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13633 # Don't even attempt the hair of trying to link an X program!
13634 for ac_extension
in a so sl dylib la dll
; do
13635 if test -r "$ac_dir/libX11.$ac_extension"; then
13636 ac_x_libraries
=$ac_dir
13642 rm -f core conftest.err conftest.
$ac_objext \
13643 conftest
$ac_exeext conftest.
$ac_ext
13644 fi # $ac_x_libraries = no
13646 case $ac_x_includes,$ac_x_libraries in #(
13647 no
,* |
*,no |
*\'*)
13648 # Didn't find X, or a directory has "'" in its name.
13649 ac_cv_have_x
="have_x=no";; #(
13651 # Record where we found X for the cache.
13652 ac_cv_have_x
="have_x=yes\
13653 ac_x_includes='$ac_x_includes'\
13654 ac_x_libraries='$ac_x_libraries'"
13660 eval "$ac_cv_have_x"
13663 if test "$have_x" != yes; then
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13665 $as_echo "$have_x" >&6; }
13668 # If each of the values was on the command line, it overrides each guess.
13669 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13670 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13671 # Update the cache value to reflect the command line values.
13672 ac_cv_have_x
="have_x=yes\
13673 ac_x_includes='$x_includes'\
13674 ac_x_libraries='$x_libraries'"
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13676 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13681 for path
in $x_libraries
13683 x_cflags
="$x_cflags -L$path"
13686 for path
in $x_includes
13688 x_cflags
="$x_cflags -I$path"
13691 if test "x-$no_x" = "x-yes" ; then
13693 if test "x-$x11_hidd" != "x-auto" ; then
13694 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13698 x11_hidd_target
=kernel-x11gfx-kobj
13701 # Check whether --enable-x11_shm was given.
13702 if test "${enable_x11_shm+set}" = set; then :
13703 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13705 x11_hidd_shm
="auto"
13708 case "x-$x11_hidd_shm" in
13709 x-yes|x-no|x-auto
) ;;
13710 *) x11_hidd_shm
="auto" ;;
13715 if test "x-$x11_hidd_shm" != "x-no" ; then
13717 for ac_header
in sys
/ipc.h
13719 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13720 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13721 cat >>confdefs.h
<<_ACEOF
13722 #define HAVE_SYS_IPC_H 1
13729 for ac_header
in sys
/shm.h
13731 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13732 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13733 cat >>confdefs.h
<<_ACEOF
13734 #define HAVE_SYS_SHM_H 1
13742 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13744 save_cflags
="$CFLAGS"
13745 CFLAGS
="$CFLAGS $x_cflags"
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13747 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13748 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13749 $as_echo_n "(cached) " >&6
13751 ac_check_lib_save_LIBS
=$LIBS
13752 LIBS
="-lXext $LIBS"
13753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13756 /* Override any GCC internal prototype to avoid an error.
13757 Use char because int might match the return type of a GCC
13758 builtin and then its argument prototype would still apply. */
13762 char XShmQueryExtension ();
13766 return XShmQueryExtension ();
13771 if ac_fn_c_try_link
"$LINENO"; then :
13772 ac_cv_lib_Xext_XShmQueryExtension
=yes
13774 ac_cv_lib_Xext_XShmQueryExtension
=no
13776 rm -f core conftest.err conftest.
$ac_objext \
13777 conftest
$ac_exeext conftest.
$ac_ext
13778 LIBS
=$ac_check_lib_save_LIBS
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13781 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13782 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13786 CFLAGS
="$save_cflags"
13790 if test "x-$have_xshm" = "x-yes" ; then
13791 DO_XSHM_SUPPORT
="1"
13792 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13793 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13795 DO_XSHM_SUPPORT
="0"
13799 # Check whether --enable-x11_vidmode was given.
13800 if test "${enable_x11_vidmode+set}" = set; then :
13801 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13803 x11_hidd_vidmode
="auto"
13806 case "x-$x11_hidd_vidmode" in
13807 x-yes|x-no|x-auto
) ;;
13808 *) x11_hidd_vidmode
="auto" ;;
13813 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13815 save_cflags
="$CFLAGS"
13816 CFLAGS
="$CFLAGS $x_cflags"
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13818 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13819 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13820 $as_echo_n "(cached) " >&6
13822 ac_check_lib_save_LIBS
=$LIBS
13823 LIBS
="-lXxf86vm $LIBS"
13824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13827 /* Override any GCC internal prototype to avoid an error.
13828 Use char because int might match the return type of a GCC
13829 builtin and then its argument prototype would still apply. */
13833 char XF86VidModeQueryExtension ();
13837 return XF86VidModeQueryExtension ();
13842 if ac_fn_c_try_link
"$LINENO"; then :
13843 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13845 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13847 rm -f core conftest.err conftest.
$ac_objext \
13848 conftest
$ac_exeext conftest.
$ac_ext
13849 LIBS
=$ac_check_lib_save_LIBS
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13852 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13853 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13857 CFLAGS
="$save_cflags"
13860 if test "x-$have_vidmode" = "x-yes" ; then
13861 DO_VIDMODE_SUPPORT
="1"
13862 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13863 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13865 DO_VIDMODE_SUPPORT
="0"
13869 aros_host_x11_includes
=$x_includes
13870 aros_host_x11_libdirs
=$x_libraries
13874 # Check whether --enable-sdl_hidd was given.
13875 if test "${enable_sdl_hidd+set}" = set; then :
13876 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13881 case "x-$sdl_hidd" in
13882 x-yes|x-no|x-auto
) ;;
13883 *) sdl_hidd
="auto" ;;
13886 if test "x-$sdl_hidd" != "x-no" ; then
13889 # Check whether --with-sdl-prefix was given.
13890 if test "${with_sdl_prefix+set}" = set; then :
13891 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13897 # Check whether --with-sdl-exec-prefix was given.
13898 if test "${with_sdl_exec_prefix+set}" = set; then :
13899 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13904 # Check whether --enable-sdltest was given.
13905 if test "${enable_sdltest+set}" = set; then :
13906 enableval
=$enable_sdltest;
13912 if test x
$sdl_exec_prefix != x
; then
13913 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13914 if test x
${SDL_CONFIG+set} != xset
; then
13915 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13918 if test x
$sdl_prefix != x
; then
13919 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13920 if test x
${SDL_CONFIG+set} != xset
; then
13921 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13925 as_save_PATH
="$PATH"
13926 if test "x$prefix" != xNONE
; then
13927 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13929 # Extract the first word of "sdl-config", so it can be a program name with args.
13930 set dummy sdl-config
; ac_word
=$2
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13932 $as_echo_n "checking for $ac_word... " >&6; }
13933 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13934 $as_echo_n "(cached) " >&6
13936 case $SDL_CONFIG in
13938 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13942 for as_dir
in $PATH
13945 test -z "$as_dir" && as_dir
=.
13946 for ac_exec_ext
in '' $ac_executable_extensions; do
13947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13948 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13956 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13960 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13961 if test -n "$SDL_CONFIG"; then
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13963 $as_echo "$SDL_CONFIG" >&6; }
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13966 $as_echo "no" >&6; }
13970 PATH
="$as_save_PATH"
13971 min_sdl_version
=1.2.10
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13973 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13975 if test "$SDL_CONFIG" = "no" ; then
13978 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
13979 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
13981 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
13982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13983 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
13984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13985 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13987 if test "x$enable_sdltest" = "xyes" ; then
13988 ac_save_CFLAGS
="$CFLAGS"
13989 ac_save_CXXFLAGS
="$CXXFLAGS"
13990 ac_save_LIBS
="$LIBS"
13991 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13992 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13993 LIBS
="$LIBS $SDL_LIBS"
13995 if test "$cross_compiling" = yes; then :
13996 echo $ac_n "cross compiling; assumed OK... $ac_c"
13998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14002 #include <stdlib.h>
14003 #include <string.h>
14007 my_strdup (char *str)
14013 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14014 strcpy (new_str, str);
14022 int main (int argc, char *argv[])
14024 int major, minor, micro;
14027 /* This hangs on some systems (?)
14028 system ("touch conf.sdltest");
14030 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14032 /* HP/UX 9 (%@#!) writes to sscanf strings */
14033 tmp_version = my_strdup("$min_sdl_version");
14034 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14035 printf("%s, bad version string\n", "$min_sdl_version");
14039 if (($sdl_major_version > major) ||
14040 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14041 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14047 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14048 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14049 printf("*** best to upgrade to the required version.\n");
14050 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14051 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14052 printf("*** config.cache before re-running configure\n");
14059 if ac_fn_c_try_run
"$LINENO"; then :
14064 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14065 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14068 CFLAGS
="$ac_save_CFLAGS"
14069 CXXFLAGS
="$ac_save_CXXFLAGS"
14070 LIBS
="$ac_save_LIBS"
14073 if test "x$no_sdl" = x
; then
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14075 $as_echo "yes" >&6; }
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14079 $as_echo "no" >&6; }
14080 if test "$SDL_CONFIG" = "no" ; then
14081 echo "*** The sdl-config script installed by SDL could not be found"
14082 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14083 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14084 echo "*** full path to sdl-config."
14086 if test -f conf.sdltest
; then
14089 echo "*** Could not run SDL test program, checking why..."
14090 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14091 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14092 LIBS
="$LIBS $SDL_LIBS"
14093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14099 int main(int argc, char *argv[])
14102 #define main K_and_R_C_main
14112 if ac_fn_c_try_link
"$LINENO"; then :
14113 echo "*** The test program compiled, but did not run. This usually means"
14114 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14115 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14116 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14117 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14118 echo "*** is required on your system"
14120 echo "*** If you have an old version installed, it is best to remove it, although"
14121 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14123 echo "*** The test program failed to compile or link. See the file config.log for the"
14124 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14125 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14126 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14128 rm -f core conftest.err conftest.
$ac_objext \
14129 conftest
$ac_exeext conftest.
$ac_ext
14130 CFLAGS
="$ac_save_CFLAGS"
14131 CXXFLAGS
="$ac_save_CXXFLAGS"
14132 LIBS
="$ac_save_LIBS"
14144 if test "x-$have_sdl" != "x-yes" ; then
14146 if test "x-$sdl_hidd" != "x-auto" ; then
14147 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14151 sdl_hidd_target
=kernel-hidd-sdl
14152 aros_host_sdl_cflags
=SDL_CFLAGS
14153 aros_host_sdl_libs
=SDL_LIBS
14157 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14158 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14163 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14164 oss_library_target
=workbench-libs-oss-unix
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14170 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14171 # Check whether --enable-dbus was given.
14172 if test "${enable_dbus+set}" = set; then :
14173 enableval
=$enable_dbus; dbus
="yes"
14178 if test "$dbus" = "yes" ; then
14180 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14181 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14182 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14183 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14188 $as_echo "$dbus" >&6; }
14190 if test "$use_kernel_cc_wrapper" = "yes" ; then
14191 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14194 if test "${crosstools}" != "yes" ; then
14195 aros_target_toolchain
=no
14197 aros_target_toolchain
=yes
14213 # Compatability with other Amiga-like operation systems
14308 # Delinting target compiler flags
14332 # Native version related
14335 # Palm native version related
14338 # Unix/Hosted version related
14344 # Apple iOS related
14349 # ARM default GCC target related
14374 # Collect-aros stuff: "-ius" to ignore undefined symbols
14377 # C compiler related
14380 case "$aros_flavour" in
14381 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14382 aros_flavour
="emulation" ;;
14383 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14384 aros_flavour
="emulation" ;;
14385 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14386 aros_flavour
="standalone";;
14387 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14388 aros_flavour
="standalone";;
14389 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14390 aros_flavour
="native" ;;
14391 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14392 aros_flavour
="native" ;;
14393 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14394 aros_flavour
="linklib" ;;
14395 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14396 aros_flavour
="palmnative" ;;
14397 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14398 aros_flavour
="mac68knative" ;;
14399 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14400 aros_flavour
="ppcnative" ;;
14403 if test ! -d ${aros_inc_dir} ; then
14404 ${MKDIR} ${aros_inc_dir}
14406 if test ! -d ${aros_geninc_dir} ; then
14407 ${MKDIR} ${aros_geninc_dir}
14409 if test ! -d ${aros_hostcfg_dir} ; then
14410 ${MKDIR} ${aros_hostcfg_dir}
14412 if test ! -d ${aros_targetcfg_dir} ; then
14413 ${MKDIR} ${aros_targetcfg_dir}
14415 if test ! -d ${aros_tools_dir} ; then
14416 ${MKDIR} ${aros_tools_dir}
14418 if test ! -d ${aros_scripts_dir} ; then
14419 ${MKDIR} ${aros_scripts_dir}
14422 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14425 ac_config_commands
="$ac_config_commands compiler_executable"
14427 ac_config_commands
="$ac_config_commands genmf_executable"
14430 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"
14433 cat >confcache
<<\_ACEOF
14434 # This file is a shell script that caches the results of configure
14435 # tests run on this system so they can be shared between configure
14436 # scripts and configure runs, see configure's option --config-cache.
14437 # It is not useful on other systems. If it contains results you don't
14438 # want to keep, you may remove or edit it.
14440 # config.status only pays attention to the cache file if you give it
14441 # the --recheck option to rerun configure.
14443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14445 # following values.
14449 # The following way of writing the cache mishandles newlines in values,
14450 # but we know of no workaround that is simple, portable, and efficient.
14451 # So, we kill variables containing newlines.
14452 # Ultrix sh set writes to stderr and can't be redirected directly,
14453 # and sets the high bit in the cache file unless we assign to the vars.
14455 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14456 eval ac_val
=\$
$ac_var
14460 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14461 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14464 _ | IFS | as_nl
) ;; #(
14465 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14466 *) { eval $ac_var=; unset $ac_var;} ;;
14472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14473 *${as_nl}ac_space
=\
*)
14474 # `set' does not quote correctly, so add quotes: double-quote
14475 # substitution turns \\\\ into \\, and sed turns \\ into \.
14478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14481 # `set' quotes correctly as required by POSIX, so do not add quotes.
14482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14495 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14496 if test -w "$cache_file"; then
14497 if test "x$cache_file" != "x/dev/null"; then
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14499 $as_echo "$as_me: updating cache $cache_file" >&6;}
14500 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14501 cat confcache
>"$cache_file"
14503 case $cache_file in #(
14505 mv -f confcache
"$cache_file"$$
&&
14506 mv -f "$cache_file"$$
"$cache_file" ;; #(
14508 mv -f confcache
"$cache_file" ;;
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14514 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14519 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14520 # Let make expand exec_prefix.
14521 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14523 DEFS
=-DHAVE_CONFIG_H
14528 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14529 # 1. Remove the extension, and $U if already installed.
14530 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14531 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14532 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14533 # will be set to the directory where LIBOBJS objects are built.
14534 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14535 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14537 LIBOBJS
=$ac_libobjs
14539 LTLIBOBJS
=$ac_ltlibobjs
14543 : "${CONFIG_STATUS=./config.status}"
14545 ac_clean_files_save
=$ac_clean_files
14546 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14548 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14550 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14552 # Generated by $as_me.
14553 # Run this file to recreate the current configuration.
14554 # Compiler output produced by configure, useful for debugging
14555 # configure, is in config.log if it exists.
14558 ac_cs_recheck=false
14561 SHELL=\${CONFIG_SHELL-$SHELL}
14564 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14565 ## -------------------- ##
14566 ## M4sh Initialization. ##
14567 ## -------------------- ##
14569 # Be more Bourne compatible
14570 DUALCASE
=1; export DUALCASE
# for MKS sh
14571 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14574 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14575 # is contrary to our usage. Disable this feature.
14576 alias -g '${1+"$@"}'='"$@"'
14577 setopt NO_GLOB_SUBST
14579 case `(set -o) 2>/dev/null` in #(
14591 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14592 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14593 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14594 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14595 # Prefer a ksh shell builtin over an external printf program on Solaris,
14596 # but without wasting forks for bash or zsh.
14597 if test -z "$BASH_VERSION$ZSH_VERSION" \
14598 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14599 as_echo='print
-r --'
14600 as_echo_n='print
-rn --'
14601 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14602 as_echo='printf %s
\n'
14603 as_echo_n='printf %s
'
14605 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14606 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14607 as_echo_n='/usr
/ucb
/echo -n'
14609 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14610 as_echo_n_body='eval
14614 expr "X$arg" : "X\\(.*\\)$as_nl";
14615 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14617 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14619 export as_echo_n_body
14620 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14622 export as_echo_body
14623 as_echo='sh
-c $as_echo_body as_echo
'
14626 # The user is always right.
14627 if test "${PATH_SEPARATOR+set}" != set; then
14629 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14630 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14637 # We need space, tab and new line, in precisely that order. Quoting is
14638 # there to prevent editors from complaining about space-tab.
14639 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14640 # splitting by setting IFS to empty value.)
14643 # Find who we are. Look in the path if we contain no directory separator.
14646 *[\\/]* ) as_myself=$0 ;;
14647 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14648 for as_dir in $PATH
14651 test -z "$as_dir" && as_dir=.
14652 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14658 # We did not find ourselves, most probably we were run as `sh COMMAND'
14659 # in which case we are not to be found in the path.
14660 if test "x$as_myself" = x
; then
14663 if test ! -f "$as_myself"; then
14664 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14668 # Unset variables that we do not need and which cause bugs (e.g. in
14669 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14670 # suppresses any "Segmentation fault" message there. '((' could
14671 # trigger a bug in pdksh 5.2.14.
14672 for as_var
in BASH_ENV ENV MAIL MAILPATH
14673 do eval test x\
${$as_var+set} = xset \
14674 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14687 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14690 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14691 # ----------------------------------------
14692 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14693 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14694 # script with STATUS, using 1 if that was 0.
14697 as_status
=$1; test $as_status -eq 0 && as_status
=1
14699 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14700 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14702 $as_echo "$as_me: error: $2" >&2
14703 as_fn_exit
$as_status
14707 # as_fn_set_status STATUS
14708 # -----------------------
14709 # Set $? to STATUS, without forking.
14710 as_fn_set_status
()
14713 } # as_fn_set_status
14715 # as_fn_exit STATUS
14716 # -----------------
14717 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14721 as_fn_set_status
$1
14727 # Portably unset VAR.
14730 { eval $1=; unset $1;}
14732 as_unset
=as_fn_unset
14733 # as_fn_append VAR VALUE
14734 # ----------------------
14735 # Append the text in VALUE to the end of the definition contained in VAR. Take
14736 # advantage of any shell optimizations that allow amortized linear growth over
14737 # repeated appends, instead of the typical quadratic growth present in naive
14739 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14740 eval 'as_fn_append ()
14751 # as_fn_arith ARG...
14752 # ------------------
14753 # Perform arithmetic evaluation on the ARGs, and store the result in the
14754 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14755 # must be portable across $(()) and expr.
14756 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14757 eval 'as_fn_arith ()
14764 as_val
=`expr "$@" || test $? -eq 1`
14769 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14770 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14776 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14777 as_basename
=basename
14782 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14788 as_me
=`$as_basename -- "$0" ||
14789 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14790 X"$0" : 'X\(//\)$' \| \
14791 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14793 sed '/^.*\/\([^/][^/]*\)\/*$/{
14807 # Avoid depending upon Character Ranges.
14808 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14809 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14810 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14811 as_cr_digits
='0123456789'
14812 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14814 ECHO_C
= ECHO_N
= ECHO_T
=
14815 case `echo -n x` in #(((((
14817 case `echo 'xy\c'` in
14818 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14820 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14827 rm -f conf$$ conf$$.exe conf$$.
file
14828 if test -d conf$$.dir
; then
14829 rm -f conf$$.dir
/conf$$.
file
14832 mkdir conf$$.dir
2>/dev
/null
14834 if (echo >conf$$.
file) 2>/dev
/null
; then
14835 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14837 # ... but there are two gotchas:
14838 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14839 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14840 # In both cases, we have to default to `cp -p'.
14841 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14843 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14851 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14852 rmdir conf$$.dir
2>/dev
/null
14857 # Create "$as_dir" as a directory, including parents if necessary.
14862 -*) as_dir
=.
/$as_dir;;
14864 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14868 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14869 *) as_qdir
=$as_dir;;
14871 as_dirs
="'$as_qdir' $as_dirs"
14872 as_dir
=`$as_dirname -- "$as_dir" ||
14873 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14874 X"$as_dir" : 'X\(//\)[^/]' \| \
14875 X"$as_dir" : 'X\(//\)$' \| \
14876 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14877 $as_echo X"$as_dir" |
14878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14882 /^X\(\/\/\)[^/].*/{
14895 test -d "$as_dir" && break
14897 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14898 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14902 if mkdir
-p .
2>/dev
/null
; then
14903 as_mkdir_p
='mkdir -p "$as_dir"'
14905 test -d .
/-p && rmdir .
/-p
14909 if test -x / >/dev
/null
2>&1; then
14910 as_test_x
='test -x'
14912 if ls -dL / >/dev
/null
2>&1; then
14919 if test -d "$1"; then
14925 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14926 ???[sx]*):;;*)false;;esac;fi
14930 as_executable_p
=$as_test_x
14932 # Sed expression to map a string onto a valid CPP name.
14933 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14935 # Sed expression to map a string onto a valid variable name.
14936 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14940 ## ----------------------------------- ##
14941 ## Main body of $CONFIG_STATUS script. ##
14942 ## ----------------------------------- ##
14944 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14947 # Save the log message, to keep $0 and so on meaningful, and to
14948 # report actual input values of CONFIG_FILES etc. instead of their
14949 # values after options handling.
14951 This file was extended by $as_me, which was
14952 generated by GNU Autoconf 2.68. Invocation command line was
14954 CONFIG_FILES = $CONFIG_FILES
14955 CONFIG_HEADERS = $CONFIG_HEADERS
14956 CONFIG_LINKS = $CONFIG_LINKS
14957 CONFIG_COMMANDS = $CONFIG_COMMANDS
14960 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14965 case $ac_config_files in *"
14966 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14969 case $ac_config_headers in *"
14970 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14975 # Files that config.status was made for.
14976 config_files="$ac_config_files"
14977 config_headers="$ac_config_headers"
14978 config_commands="$ac_config_commands"
14982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14984 \`$as_me' instantiates files and other configuration actions
14985 from templates according to the current configuration. Unless the files
14986 and actions are specified as TAGs, all are instantiated by default.
14988 Usage: $0 [OPTION]... [TAG]...
14990 -h, --help print this help, then exit
14991 -V, --version print version number and configuration settings, then exit
14992 --config print configuration, then exit
14993 -q, --quiet, --silent
14994 do not print progress messages
14995 -d, --debug don't remove temporary files
14996 --recheck update $as_me by reconfiguring in the same conditions
14997 --file=FILE[:TEMPLATE]
14998 instantiate the configuration file FILE
14999 --header=FILE[:TEMPLATE]
15000 instantiate the configuration header FILE
15002 Configuration files:
15005 Configuration headers:
15008 Configuration commands:
15011 Report bugs to the package provider."
15014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15015 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15018 configured by $0, generated by GNU Autoconf 2.68,
15019 with options \\"\$ac_cs_config\\"
15021 Copyright (C) 2010 Free Software Foundation, Inc.
15022 This config.status script is free software; the Free Software Foundation
15023 gives unlimited permission to copy, distribute and modify it."
15027 test -n "\$AWK" || AWK=awk
15030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15031 # The default lists apply if the user does not specify any file.
15037 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15038 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15042 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15054 # Handling of the options.
15055 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15057 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15058 $as_echo "$ac_cs_version"; exit ;;
15059 --config |
--confi |
--conf |
--con |
--co |
--c )
15060 $as_echo "$ac_cs_config"; exit ;;
15061 --debug |
--debu |
--deb |
--de |
--d |
-d )
15063 --file |
--fil |
--fi |
--f )
15066 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15067 '') as_fn_error $?
"missing file argument" ;;
15069 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15070 ac_need_defaults
=false
;;
15071 --header |
--heade |
--head |
--hea )
15074 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15076 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15077 ac_need_defaults
=false
;;
15079 # Conflict between --help and --header
15080 as_fn_error $?
"ambiguous option: \`$1'
15081 Try \`$0 --help' for more information.";;
15082 --help |
--hel |
-h )
15083 $as_echo "$ac_cs_usage"; exit ;;
15084 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15085 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15088 # This is an error.
15089 -*) as_fn_error $?
"unrecognized option: \`$1'
15090 Try \`$0 --help' for more information." ;;
15092 *) as_fn_append ac_config_targets
" $1"
15093 ac_need_defaults
=false
;;
15099 ac_configure_extra_args
=
15101 if $ac_cs_silent; then
15103 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15108 if \$ac_cs_recheck; then
15109 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15111 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15112 CONFIG_SHELL='$SHELL'
15113 export CONFIG_SHELL
15118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15122 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15123 ## Running $as_me. ##
15129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15134 aros_host_exe_suffix=${aros_host_exe_suffix}
15135 aros_tools_dir=${aros_tools_dir}
15136 aros_target_cpu=${aros_target_cpu}
15137 aros_target_arch=${aros_target_arch}
15138 aros_target_suffix=${aros_target_suffix}
15139 orig_target_nm=${orig_target_nm}
15140 orig_target_as=${orig_target_as}
15141 orig_target_ar=${orig_target_ar}
15142 orig_target_ranlib=${orig_target_ranlib}
15143 orig_target_objdump=${orig_target_objdump}
15144 orig_target_objcopy=${orig_target_objcopy}
15145 orig_target_strip=${orig_target_strip}
15146 aros_kernel_ld=${aros_kernel_ld}
15149 aros_tools_dir=${aros_tools_dir}
15154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15156 # Handling of arguments.
15157 for ac_config_target
in $ac_config_targets
15159 case $ac_config_target in
15160 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15161 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15162 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15163 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15164 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15165 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15166 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15167 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15168 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15169 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15170 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15171 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15172 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15173 "${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" ;;
15174 "${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" ;;
15175 "${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" ;;
15176 "${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" ;;
15177 "${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" ;;
15178 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15179 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15180 "${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" ;;
15182 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15187 # If the user did not use the arguments to specify the items to instantiate,
15188 # then the envvar interface is used. Set only those that are not.
15189 # We use the long form for the default assignment because of an extremely
15190 # bizarre bug on SunOS 4.1.3.
15191 if $ac_need_defaults; then
15192 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15193 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15194 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15197 # Have a temporary directory for convenience. Make it in the build tree
15198 # simply because there is no reason against having it here, and in addition,
15199 # creating and moving files from /tmp can sometimes cause problems.
15200 # Hook for its removal unless debugging.
15201 # Note that there is a small window in which the directory will not be cleaned:
15202 # after its creation but before its name has been assigned to `$tmp'.
15206 trap 'exit_status=$?
15207 : "${ac_tmp:=$tmp}"
15208 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15210 trap 'as_fn_exit 1' 1 2 13 15
15212 # Create a (secure) tmp directory for tmp files.
15215 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15219 tmp
=.
/conf$$
-$RANDOM
15220 (umask 077 && mkdir
"$tmp")
15221 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15224 # Set up the scripts for CONFIG_FILES section.
15225 # No need to generate them if there are no CONFIG_FILES.
15226 # This happens for instance with `./config.status config.h'.
15227 if test -n "$CONFIG_FILES"; then
15230 ac_cr
=`echo X | tr X '\015'`
15231 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15232 # But we know of no other shell where ac_cr would be empty at this
15233 # point, so we can use a bashism as a fallback.
15234 if test "x$ac_cr" = x
; then
15235 eval ac_cr
=\$
\'\\r
\'
15237 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15238 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15241 ac_cs_awk_cr
=$ac_cr
15244 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15249 echo "cat >conf$$subs.awk <<_ACEOF" &&
15250 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15252 } >conf$$subs.sh ||
15253 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15254 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15256 for ac_last_try in false false false false false :; do
15257 . ./conf$$subs.sh ||
15258 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15260 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15261 if test $ac_delim_n = $ac_delim_num; then
15263 elif $ac_last_try; then
15264 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15266 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15269 rm -f conf$$subs.sh
15271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15272 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15276 s/^/S["/; s
/!.
*/"]=/
15286 s/\(.\{148\}\)..*/\1/
15288 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15293 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15300 s/\(.\{148\}\)..*/\1/
15302 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15306 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15311 ' <conf$$subs.awk | sed '
15316 ' >>$CONFIG_STATUS || ac_write_fail=1
15317 rm -f conf$$subs.awk
15318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15320 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15321 for (key in S) S_is_set[key] = 1
15327 nfields = split(line, field, "@
")
15329 len = length(field[1])
15330 for (i = 2; i < nfields; i++) {
15332 keylen = length(key)
15333 if (S_is_set[key]) {
15335 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15336 len += length(value) + length(field[++i])
15347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15348 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15349 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15352 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15353 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15356 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15357 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15358 # trailing colons and then remove the whole line if VPATH becomes empty
15359 # (actually we leave an empty line to preserve line numbers).
15360 if test "x
$srcdir" = x.; then
15361 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15380 fi # test -n "$CONFIG_FILES"
15382 # Set up the scripts for CONFIG_HEADERS section.
15383 # No need to generate them if there are no CONFIG_HEADERS.
15384 # This happens for instance with `./config.status Makefile'.
15385 if test -n "$CONFIG_HEADERS"; then
15386 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15390 # Transform confdefs.h into an awk script `defines.awk', embedded as
15391 # here-document in config.status, that substitutes the proper values into
15392 # config.h.in to produce config.h.
15394 # Create a delimiter string that does not exist in confdefs.h, to ease
15395 # handling of long lines.
15397 for ac_last_try in false false :; do
15398 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15399 if test -z "$ac_tt"; then
15401 elif $ac_last_try; then
15402 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15404 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15408 # For the awk script, D is an array of macro values keyed by name,
15409 # likewise P contains macro parameters if any. Preserve backslash
15410 # newline sequences.
15412 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15414 s/.\{148\}/&'"$ac_delim"'/g
15417 s/^[ ]*#[ ]*define[ ][ ]*/ /
15424 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15426 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15430 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15431 D["\
1"]=" \
3\\\\\\n
"\\/p
15433 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15438 s/.\{148\}/&'"$ac_delim"'/g
15443 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15446 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15448 ' <confdefs.h | sed '
15449 s/'"$ac_delim"'/"\\\
15450 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15453 for (key in D) D_is_set[key] = 1
15456 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15458 split(line, arg, " ")
15459 if (arg[1] == "#") {
15463 defundef
= substr
(arg
[1], 2)
15466 split(mac1
, mac2
, "(") #)
15468 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15469 if (D_is_set
[macro
]) {
15470 # Preserve the white space surrounding the "#".
15471 print prefix
"define", macro P
[macro
] D
[macro
]
15474 # Replace #undef with comments. This is necessary, for example,
15475 # in the case of _POSIX_SOURCE, which is predefined and required
15476 # on some systems where configure will not decide to define it.
15477 if (defundef
== "undef") {
15478 print
"/*", prefix defundef
, macro
, "*/"
15486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15487 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15488 fi # test -n "$CONFIG_HEADERS"
15491 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15496 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15498 case $ac_mode$ac_tag in
15500 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15501 :[FH
]-) ac_tag
=-:-;;
15502 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15519 -) ac_f
="$ac_tmp/stdin";;
15520 *) # Look for the file first in the build tree, then in the source tree
15521 # (if the path is not absolute). The absolute path cannot be DOS-style,
15522 # because $ac_f cannot contain `:'.
15526 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15528 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15530 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15531 as_fn_append ac_file_inputs
" '$ac_f'"
15534 # Let's still pretend it is `configure' which instantiates (i.e., don't
15535 # use $as_me), people would be surprised to read:
15536 # /* config.h. Generated by config.status. */
15537 configure_input
='Generated from '`
15538 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15540 if test x
"$ac_file" != x-
; then
15541 configure_input
="$ac_file. $configure_input"
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15543 $as_echo "$as_me: creating $ac_file" >&6;}
15545 # Neutralize special characters interpreted by sed in replacement strings.
15546 case $configure_input in #(
15547 *\
&* |
*\|
* |
*\\* )
15548 ac_sed_conf_input
=`$as_echo "$configure_input" |
15549 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15550 *) ac_sed_conf_input
=$configure_input;;
15554 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15555 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15560 ac_dir
=`$as_dirname -- "$ac_file" ||
15561 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15562 X"$ac_file" : 'X\(//\)[^/]' \| \
15563 X"$ac_file" : 'X\(//\)$' \| \
15564 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15565 $as_echo X"$ac_file" |
15566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15570 /^X\(\/\/\)[^/].*/{
15583 as_dir
="$ac_dir"; as_fn_mkdir_p
15587 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15589 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15590 # A ".." for each directory in $ac_dir_suffix.
15591 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15592 case $ac_top_builddir_sub in
15593 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15594 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15597 ac_abs_top_builddir
=$ac_pwd
15598 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15599 # for backward compatibility:
15600 ac_top_builddir
=$ac_top_build_prefix
15603 .
) # We are building in place.
15605 ac_top_srcdir
=$ac_top_builddir_sub
15606 ac_abs_top_srcdir
=$ac_pwd ;;
15607 [\\/]* | ?
:[\\/]* ) # Absolute name.
15608 ac_srcdir
=$srcdir$ac_dir_suffix;
15609 ac_top_srcdir
=$srcdir
15610 ac_abs_top_srcdir
=$srcdir ;;
15611 *) # Relative name.
15612 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15613 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15614 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15616 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15628 # If the template does not know about datarootdir, expand it.
15629 # FIXME: This hack should be removed a few years after 2.60.
15630 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15641 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15642 *datarootdir
*) ac_datarootdir_seen
=yes;;
15643 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15645 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15648 ac_datarootdir_hack='
15649 s&@datadir@&$datadir&g
15650 s&@docdir@&$docdir&g
15651 s&@infodir@&$infodir&g
15652 s&@localedir@&$localedir&g
15653 s&@mandir@&$mandir&g
15654 s&\\\${datarootdir}&$datarootdir&g' ;;
15658 # Neutralize VPATH when `$srcdir' = `.'.
15659 # Shell code in configure.ac might set extrasub.
15660 # FIXME: do we really want to maintain this feature?
15661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15662 ac_sed_extra="$ac_vpsub
15665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15667 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15668 s|@configure_input@|
$ac_sed_conf_input|
;t t
15669 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15670 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15671 s
&@srcdir@
&$ac_srcdir&;t t
15672 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15673 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15674 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15675 s
&@builddir@
&$ac_builddir&;t t
15676 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15677 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15678 $ac_datarootdir_hack
15680 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15681 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15683 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15684 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15685 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15686 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15688 which seems to be undefined. Please make sure it is defined" >&5
15689 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15690 which seems to be undefined. Please make sure it is defined" >&2;}
15692 rm -f "$ac_tmp/stdin"
15694 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15695 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15697 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15703 if test x"$ac_file" != x-; then
15705 $as_echo "/* $configure_input */" \
15706 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15707 } >"$ac_tmp/config.h" \
15708 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15709 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15711 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15714 mv "$ac_tmp/config.h" "$ac_file" \
15715 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15718 $as_echo "/* $configure_input */" \
15719 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15720 || as_fn_error $? "could not create -" "$LINENO" 5
15724 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15725 $as_echo "$as_me: executing $ac_file commands" >&6;}
15730 case $ac_file$ac_mode in
15731 "compiler_executable":C)
15732 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15734 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15735 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15739 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15741 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15742 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15743 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15744 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15745 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15746 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15747 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15749 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15751 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15759 ac_clean_files=$ac_clean_files_save
15761 test $ac_write_fail = 0 ||
15762 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15765 # configure is writing to config.log, and then calls config.status.
15766 # config.status does its own redirection, appending to config.log.
15767 # Unfortunately, on DOS this fails, as config.log is still kept open
15768 # by configure, so config.status won't be able to
write to it
; its
15769 # output is simply discarded. So we exec the FD to /dev/null,
15770 # effectively closing config.log, so it can be properly (re)opened and
15771 # appended to by config.status. When coming back to configure, we
15772 # need to make the FD available again.
15773 if test "$no_create" != yes; then
15775 ac_config_status_args
=
15776 test "$silent" = yes &&
15777 ac_config_status_args
="$ac_config_status_args --quiet"
15779 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15781 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15782 # would make configure fail if this is the last instruction.
15783 $ac_cs_success || as_fn_exit
1
15785 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15787 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15792 #XXX compatability...
15793 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15795 if test -n "$aros_shared_cflags" ; then
15796 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15797 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg