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 CC C compiler
command
1624 CFLAGS 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 CXX C
++ compiler
command
1631 CXXFLAGS 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_c_try_compile LINENO
1717 # --------------------------
1718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_c_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_c_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_c_try_compile
1754 # ac_fn_cxx_try_compile LINENO
1755 # ----------------------------
1756 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_cxx_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_cxx_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_cxx_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.
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2786 if test -n "$ac_tool_prefix"; then
2787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2788 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2790 $as_echo_n "checking for $ac_word... " >&6; }
2791 if ${ac_cv_prog_CC+:} false; then :
2792 $as_echo_n "(cached) " >&6
2794 if test -n "$CC"; then
2795 ac_cv_prog_CC="$CC" # Let the user override the test.
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir=.
2802 for ac_exec_ext in '' $ac_executable_extensions; do
2803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2804 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 if test -n "$CC"; then
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2817 $as_echo "$CC" >&6; }
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2820 $as_echo "no" >&6; }
2825 if test -z "$ac_cv_prog_CC"; then
2827 # Extract the first word of "gcc", so it can be a program name with args.
2828 set dummy gcc; ac_word=$2
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830 $as_echo_n "checking for $ac_word... " >&6; }
2831 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2832 $as_echo_n "(cached) " >&6
2834 if test -n "$ac_ct_CC"; then
2835 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir=.
2842 for ac_exec_ext in '' $ac_executable_extensions; do
2843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844 ac_cv_prog_ac_ct_CC="gcc"
2845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2855 if test -n "$ac_ct_CC"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2857 $as_echo "$ac_ct_CC" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2863 if test "x$ac_ct_CC" = x; then
2866 case $cross_compiling:$ac_tool_warned in
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2870 ac_tool_warned=yes ;;
2878 if test -z "$CC"; then
2879 if test -n "$ac_tool_prefix"; then
2880 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2881 set dummy ${ac_tool_prefix}cc; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_CC+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$CC"; then
2888 ac_cv_prog_CC="$CC" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897 ac_cv_prog_CC="${ac_tool_prefix}cc"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 if test -n "$CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2910 $as_echo "$CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2919 if test -z "$CC"; then
2920 # Extract the first word of "cc", so it can be a program name with args.
2921 set dummy cc; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_CC+:} false; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC="$CC" # Let the user override the test.
2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir=.
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2939 ac_prog_rejected=yes
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 if test $ac_prog_rejected = yes; then
2951 # We found a bogon in the path, so make sure we never use it.
2952 set dummy $ac_cv_prog_CC
2954 if test $# != 0; then
2955 # We chose a different compiler from the bogus one.
2956 # However, it has the same basename, so the bogon will be chosen
2957 # first if we set CC to just the basename; use the full file name.
2959 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2965 if test -n "$CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 $as_echo "$CC" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2975 if test -z "$CC"; then
2976 if test -n "$ac_tool_prefix"; then
2977 for ac_prog in cl.exe
2979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_CC+:} false; then :
2984 $as_echo_n "(cached) " >&6
2986 if test -n "$CC"; then
2987 ac_cv_prog_CC="$CC" # Let the user override the test.
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2996 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 if test -n "$CC"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3009 $as_echo "$CC" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3016 test -n "$CC" && break
3019 if test -z "$CC"; then
3021 for ac_prog in cl.exe
3023 # Extract the first word of "$ac_prog", so it can be a program name with args.
3024 set dummy $ac_prog; ac_word=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$ac_ct_CC"; then
3031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3040 ac_cv_prog_ac_ct_CC="$ac_prog"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3051 if test -n "$ac_ct_CC"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3053 $as_echo "$ac_ct_CC" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3060 test -n "$ac_ct_CC" && break
3063 if test "x$ac_ct_CC" = x; then
3066 case $cross_compiling:$ac_tool_warned in
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3070 ac_tool_warned=yes ;;
3079 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3082 See \
`config.log' for more details" "$LINENO" 5; }
3084 # Provide some information about the compiler.
3085 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3088 for ac_option in --version -v -V -qversion; do
3089 { { ac_try="$ac_compiler $ac_option >&5"
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_compiler $ac_option >&5") 2>conftest.err
3098 if test -s conftest.err
; then
3100 ... rest of stderr output deleted ...
3101 10q' conftest.err
>conftest.er1
3102 cat conftest.er1
>&5
3104 rm -f conftest.er1 conftest.err
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }
3109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3120 ac_clean_files_save
=$ac_clean_files
3121 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3122 # Try to create an executable without -o first, disregard a.out.
3123 # It will help us diagnose broken compilers, and finding out an intuition
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3126 $as_echo_n "checking whether the C compiler works... " >&6; }
3127 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3129 # The possible output files:
3130 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3133 for ac_file
in $ac_files
3136 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3137 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3142 if { { ac_try
="$ac_link_default"
3144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_link_default") 2>&5
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }; then :
3153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3154 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3156 # so that the user can short-circuit this test for compilers unknown to
3158 for ac_file in $ac_files ''
3160 test -f "$ac_file" || continue
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3165 # We found the default executable, but exeext='' is most
3169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3171 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3173 # We set ac_cv_exeext here because the later test for it is not
3174 # safe: cross compilers may not add the suffix if given an `-o'
3175 # argument, so we may need to know it at that point already.
3176 # Even if this section looks crufty: it has the advantage of
3183 test "$ac_cv_exeext" = no && ac_cv_exeext=
3188 if test -z "$ac_file"; then :
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 $as_echo "$as_me: failed program was:" >&5
3192 sed 's
/^
/|
/' conftest.$ac_ext >&5
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3196 as_fn_error 77 "C compiler cannot create executables
3197 See \`config.log
' for more details" "$LINENO" 5; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200 $as_echo "yes" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3203 $as_echo_n "checking for C compiler default output file name... " >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3205 $as_echo "$ac_file" >&6; }
3206 ac_exeext=$ac_cv_exeext
3208 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3209 ac_clean_files=$ac_clean_files_save
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3211 $as_echo_n "checking for suffix of executables... " >&6; }
3212 if { { ac_try="$ac_link"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_link") 2>&5
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }; then :
3223 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3224 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3225 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3227 for ac_file
in conftest.exe conftest conftest.
*; do
3228 test -f "$ac_file" ||
continue
3230 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3231 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3240 See \`config.log' for more details" "$LINENO" 5; }
3242 rm -f conftest conftest
$ac_cv_exeext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3244 $as_echo "$ac_cv_exeext" >&6; }
3246 rm -f conftest.
$ac_ext
3247 EXEEXT
=$ac_cv_exeext
3249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3255 FILE *f = fopen ("conftest.out", "w");
3256 return ferror (f) || fclose (f) != 0;
3262 ac_clean_files
="$ac_clean_files conftest.out"
3263 # Check that the compiler produces executables we can run. If not, either
3264 # the compiler is broken, or we cross compile.
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3266 $as_echo_n "checking whether we are cross compiling... " >&6; }
3267 if test "$cross_compiling" != yes; then
3268 { { ac_try
="$ac_link"
3270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_link") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }
3279 if { ac_try='./conftest$ac_cv_exeext'
3280 { { case "(($ac_try" in
3281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3282 *) ac_try_echo
=$ac_try;;
3284 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285 $as_echo "$ac_try_echo"; } >&5
3286 (eval "$ac_try") 2>&5
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }; }; then
3292 if test "$cross_compiling" = maybe
; then
3295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $?
"cannot run C compiled programs.
3298 If you meant to cross compile, use \`--host'.
3299 See \`config.log' for more details" "$LINENO" 5; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3304 $as_echo "$cross_compiling" >&6; }
3306 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3307 ac_clean_files
=$ac_clean_files_save
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3309 $as_echo_n "checking for suffix of object files... " >&6; }
3310 if ${ac_cv_objext+:} false
; then :
3311 $as_echo_n "(cached) " >&6
3313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3324 rm -f conftest.o conftest.obj
3325 if { { ac_try
="$ac_compile"
3327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_compile") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; then :
3336 for ac_file in conftest.o conftest.obj conftest.*; do
3337 test -f "$ac_file" || continue;
3339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3340 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3345 $as_echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3351 See \
`config.log' for more details" "$LINENO" 5; }
3353 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3356 $as_echo "$ac_cv_objext" >&6; }
3357 OBJEXT=$ac_cv_objext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3360 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3361 if ${ac_cv_c_compiler_gnu+:} false; then :
3362 $as_echo_n "(cached) " >&6
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3378 if ac_fn_c_try_compile "$LINENO"; then :
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3388 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3389 if test $ac_compiler_gnu = yes; then
3394 ac_test_CFLAGS=${CFLAGS+set}
3395 ac_save_CFLAGS=$CFLAGS
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3397 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3398 if ${ac_cv_prog_cc_g+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 ac_save_c_werror_flag=$ac_c_werror_flag
3402 ac_c_werror_flag=yes
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3416 if ac_fn_c_try_compile "$LINENO"; then :
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3431 if ac_fn_c_try_compile "$LINENO"; then :
3434 ac_c_werror_flag=$ac_save_c_werror_flag
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3447 if ac_fn_c_try_compile "$LINENO"; then :
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 ac_c_werror_flag=$ac_save_c_werror_flag
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3458 $as_echo "$ac_cv_prog_cc_g" >&6; }
3459 if test "$ac_test_CFLAGS" = set; then
3460 CFLAGS=$ac_save_CFLAGS
3461 elif test $ac_cv_prog_cc_g = yes; then
3462 if test "$GCC" = yes; then
3468 if test "$GCC" = yes; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3475 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3476 if ${ac_cv_prog_cc_c89+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 ac_cv_prog_cc_c89=no
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3485 #include <sys/types.h>
3486 #include <sys/stat.h>
3487 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3488 struct buf { int x; };
3489 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3490 static char *e (p, i)
3496 static char *f (char * (*g) (char **, int), char **p, ...)
3501 s = g (p, va_arg (v,int));
3506 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3507 function prototypes and stuff, but not '\xHH' hex character constants.
3508 These don't provoke an error unfortunately, instead are silently treated
3509 as 'x'. The following induces an error, until -std is added to get
3510 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3511 array size at least. It's necessary to write '\x00'==0 to get something
3512 that's true only with -std. */
3513 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3515 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3516 inside strings and character constants. */
3518 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3520 int test (int i, double x);
3521 struct s1 {int (*f) (int a);};
3522 struct s2 {int (*f) (double a);};
3523 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3529 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3534 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3535 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3537 CC="$ac_save_CC $ac_arg"
3538 if ac_fn_c_try_compile "$LINENO"; then :
3539 ac_cv_prog_cc_c89=$ac_arg
3541 rm -f core conftest.err conftest.$ac_objext
3542 test "x$ac_cv_prog_cc_c89" != "xno" && break
3544 rm -f conftest.$ac_ext
3549 case "x$ac_cv_prog_cc_c89" in
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3552 $as_echo "none needed" >&6; } ;;
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3555 $as_echo "unsupported" >&6; } ;;
3557 CC="$CC $ac_cv_prog_cc_c89"
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3559 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3561 if test "x$ac_cv_prog_cc_c89" != xno; then :
3566 ac_cpp='$CPP $CPPFLAGS'
3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3571 case $ac_cv_prog_cc_stdc in #(
3573 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3576 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3577 if ${ac_cv_prog_cc_c99+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 ac_cv_prog_cc_c99=no
3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3585 #include <stdbool.h>
3590 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3591 #define debug(...) fprintf (stderr, __VA_ARGS__)
3592 #define showlist(...) puts (#__VA_ARGS__)
3593 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3595 test_varargs_macros (void)
3600 debug ("X = %d\n", x);
3601 showlist (The first, second, and third items.);
3602 report (x>y, "x is %d but y is %d", x, y);
3605 // Check long long types.
3606 #define BIG64 18446744073709551615ull
3607 #define BIG32 4294967295ul
3608 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3610 your preprocessor is broken;
3614 your preprocessor is broken;
3616 static long long int bignum = -9223372036854775807LL;
3617 static unsigned long long int ubignum = BIG64;
3619 struct incomplete_array
3627 const wchar_t *name;
3631 typedef const char *ccp;
3634 test_restrict (ccp restrict text)
3636 // See if C++-style comments work.
3637 // Iterate through items via the restricted pointer.
3638 // Also check for declarations in for loops.
3639 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3644 // Check varargs and va_copy.
3646 test_varargs (const char *format, ...)
3649 va_start (args, format);
3651 va_copy (args_copy, args);
3662 str = va_arg (args_copy, const char *);
3665 number = va_arg (args_copy, int);
3668 fnumber = va_arg (args_copy, double);
3683 _Bool success = false;
3686 if (test_restrict ("String literal") == 0)
3688 char *restrict newvar = "Another string";
3691 test_varargs ("s, d' f .", "string", 65, 34.234);
3692 test_varargs_macros ();
3694 // Check flexible array members.
3695 struct incomplete_array *ia =
3696 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3698 for (int i = 0; i < ia->datasize; ++i)
3699 ia->data[i] = i * 1.234;
3701 // Check named initializers.
3702 struct named_init ni = {
3704 .name = L"Test wide string",
3705 .average = 543.34343,
3710 int dynamic_array[ni.number];
3711 dynamic_array[ni.number - 1] = 543;
3713 // work around unused variable warnings
3714 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3715 || dynamic_array[ni.number - 1] != 543);
3721 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3723 CC="$ac_save_CC $ac_arg"
3724 if ac_fn_c_try_compile "$LINENO"; then :
3725 ac_cv_prog_cc_c99=$ac_arg
3727 rm -f core conftest.err conftest.$ac_objext
3728 test "x$ac_cv_prog_cc_c99" != "xno" && break
3730 rm -f conftest.$ac_ext
3735 case "x$ac_cv_prog_cc_c99" in
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3738 $as_echo "none needed" >&6; } ;;
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3741 $as_echo "unsupported" >&6; } ;;
3743 CC="$CC $ac_cv_prog_cc_c99"
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3745 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3747 if test "x$ac_cv_prog_cc_c99" != xno; then :
3748 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3751 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3752 if ${ac_cv_prog_cc_c89+:} false; then :
3753 $as_echo_n "(cached) " >&6
3755 ac_cv_prog_cc_c89=no
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3761 #include <sys/types.h>
3762 #include <sys/stat.h>
3763 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3764 struct buf { int x; };
3765 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3766 static char *e (p, i)
3772 static char *f (char * (*g) (char **, int), char **p, ...)
3777 s = g (p, va_arg (v,int));
3782 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3783 function prototypes and stuff, but not '\xHH' hex character constants.
3784 These don't provoke an error unfortunately, instead are silently treated
3785 as 'x'. The following induces an error, until -std is added to get
3786 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3787 array size at least. It's necessary to write '\x00'==0 to get something
3788 that's true only with -std. */
3789 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3791 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3792 inside strings and character constants. */
3794 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3796 int test (int i, double x);
3797 struct s1 {int (*f) (int a);};
3798 struct s2 {int (*f) (double a);};
3799 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3805 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3810 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3811 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3813 CC="$ac_save_CC $ac_arg"
3814 if ac_fn_c_try_compile "$LINENO"; then :
3815 ac_cv_prog_cc_c89=$ac_arg
3817 rm -f core conftest.err conftest.$ac_objext
3818 test "x$ac_cv_prog_cc_c89" != "xno" && break
3820 rm -f conftest.$ac_ext
3825 case "x$ac_cv_prog_cc_c89" in
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3828 $as_echo "none needed" >&6; } ;;
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3831 $as_echo "unsupported" >&6; } ;;
3833 CC="$CC $ac_cv_prog_cc_c89"
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3835 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3837 if test "x$ac_cv_prog_cc_c89" != xno; then :
3838 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3840 ac_cv_prog_cc_stdc=no
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3847 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3848 if ${ac_cv_prog_cc_stdc+:} false; then :
3849 $as_echo_n "(cached) " >&6
3852 case $ac_cv_prog_cc_stdc in #(
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3855 $as_echo "unsupported" >&6; } ;; #(
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3858 $as_echo "none needed" >&6; } ;; #(
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3861 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3865 ac_cpp='$CXXCPP $CPPFLAGS'
3866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3869 if test -z "$CXX"; then
3870 if test -n "$CCC"; then
3873 if test -n "$ac_tool_prefix"; then
3874 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3876 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if ${ac_cv_prog_CXX+:} false; then :
3881 $as_echo_n "(cached) " >&6
3883 if test -n "$CXX"; then
3884 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 test -z "$as_dir" && as_dir=.
3891 for ac_exec_ext in '' $ac_executable_extensions; do
3892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3893 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 if test -n "$CXX"; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3906 $as_echo "$CXX" >&6; }
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3909 $as_echo "no" >&6; }
3913 test -n "$CXX" && break
3916 if test -z "$CXX"; then
3918 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3920 # Extract the first word of "$ac_prog", so it can be a program name with args.
3921 set dummy $ac_prog; ac_word=$2
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3925 $as_echo_n "(cached) " >&6
3927 if test -n "$ac_ct_CXX"; then
3928 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir=.
3935 for ac_exec_ext in '' $ac_executable_extensions; do
3936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3937 ac_cv_prog_ac_ct_CXX="$ac_prog"
3938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3948 if test -n "$ac_ct_CXX"; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3950 $as_echo "$ac_ct_CXX" >&6; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 $as_echo "no" >&6; }
3957 test -n "$ac_ct_CXX" && break
3960 if test "x$ac_ct_CXX" = x; then
3963 case $cross_compiling:$ac_tool_warned in
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3967 ac_tool_warned=yes ;;
3975 # Provide some information about the compiler.
3976 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3979 for ac_option in --version -v -V -qversion; do
3980 { { ac_try="$ac_compiler $ac_option >&5"
3982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3983 *) ac_try_echo
=$ac_try;;
3985 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3986 $as_echo "$ac_try_echo"; } >&5
3987 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3989 if test -s conftest.err
; then
3991 ... rest of stderr output deleted ...
3992 10q' conftest.err
>conftest.er1
3993 cat conftest.er1
>&5
3995 rm -f conftest.er1 conftest.err
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4001 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4002 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4003 $as_echo_n "(cached) " >&6
4005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4019 if ac_fn_cxx_try_compile
"$LINENO"; then :
4024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4025 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4029 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4030 if test $ac_compiler_gnu = yes; then
4035 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4036 ac_save_CXXFLAGS
=$CXXFLAGS
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4038 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4039 if ${ac_cv_prog_cxx_g+:} false
; then :
4040 $as_echo_n "(cached) " >&6
4042 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4043 ac_cxx_werror_flag
=yes
4046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4057 if ac_fn_cxx_try_compile
"$LINENO"; then :
4058 ac_cv_prog_cxx_g
=yes
4061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4072 if ac_fn_cxx_try_compile
"$LINENO"; then :
4075 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4088 if ac_fn_cxx_try_compile
"$LINENO"; then :
4089 ac_cv_prog_cxx_g
=yes
4091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4096 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4099 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4100 if test "$ac_test_CXXFLAGS" = set; then
4101 CXXFLAGS
=$ac_save_CXXFLAGS
4102 elif test $ac_cv_prog_cxx_g = yes; then
4103 if test "$GXX" = yes; then
4109 if test "$GXX" = yes; then
4116 ac_cpp
='$CPP $CPPFLAGS'
4117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4122 ac_cpp
='$CPP $CPPFLAGS'
4123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4127 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4128 # On Suns, sometimes $CPP names a directory.
4129 if test -n "$CPP" && test -d "$CPP"; then
4132 if test -z "$CPP"; then
4133 if ${ac_cv_prog_CPP+:} false
; then :
4134 $as_echo_n "(cached) " >&6
4136 # Double quotes because CPP needs to be expanded
4137 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4140 for ac_c_preproc_warn_flag
in '' yes
4142 # Use a header file that comes with gcc, so configuring glibc
4143 # with a fresh cross-compiler works.
4144 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4145 # <limits.h> exists even on freestanding compilers.
4146 # On the NeXT, cc -E runs the code through the compiler's parser,
4147 # not just through cpp. "Syntax error" is here to catch this case.
4148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4151 # include <limits.h>
4153 # include <assert.h>
4157 if ac_fn_c_try_cpp
"$LINENO"; then :
4160 # Broken: fails on valid input.
4163 rm -f conftest.err conftest.i conftest.
$ac_ext
4165 # OK, works on sane cases. Now check whether nonexistent headers
4166 # can be detected and how.
4167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4169 #include <ac_nonexistent.h>
4171 if ac_fn_c_try_cpp
"$LINENO"; then :
4172 # Broken: success on invalid input.
4175 # Passes both tests.
4179 rm -f conftest.err conftest.i conftest.
$ac_ext
4182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4183 rm -f conftest.i conftest.err conftest.
$ac_ext
4184 if $ac_preproc_ok; then :
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4197 $as_echo "$CPP" >&6; }
4199 for ac_c_preproc_warn_flag
in '' yes
4201 # Use a header file that comes with gcc, so configuring glibc
4202 # with a fresh cross-compiler works.
4203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4204 # <limits.h> exists even on freestanding compilers.
4205 # On the NeXT, cc -E runs the code through the compiler's parser,
4206 # not just through cpp. "Syntax error" is here to catch this case.
4207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4210 # include <limits.h>
4212 # include <assert.h>
4216 if ac_fn_c_try_cpp
"$LINENO"; then :
4219 # Broken: fails on valid input.
4222 rm -f conftest.err conftest.i conftest.
$ac_ext
4224 # OK, works on sane cases. Now check whether nonexistent headers
4225 # can be detected and how.
4226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4228 #include <ac_nonexistent.h>
4230 if ac_fn_c_try_cpp
"$LINENO"; then :
4231 # Broken: success on invalid input.
4234 # Passes both tests.
4238 rm -f conftest.err conftest.i conftest.
$ac_ext
4241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4242 rm -f conftest.i conftest.err conftest.
$ac_ext
4243 if $ac_preproc_ok; then :
4246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4248 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4249 See \`config.log' for more details" "$LINENO" 5; }
4253 ac_cpp
='$CPP $CPPFLAGS'
4254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4259 # Check for a compatible awk
4260 for ac_prog
in gawk nawk
4262 # Extract the first word of "$ac_prog", so it can be a program name with args.
4263 set dummy
$ac_prog; ac_word
=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if ${ac_cv_prog_AWK+:} false
; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$AWK"; then
4270 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_exec_ext
in '' $ac_executable_extensions; do
4278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4279 ac_cv_prog_AWK
="$ac_prog"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 if test -n "$AWK"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4292 $as_echo "$AWK" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4299 test -n "$AWK" && break
4302 if test "$AWK" = ""; then
4303 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4305 # Extract the first word of "mmake", so it can be a program name with args.
4306 set dummy mmake
; ac_word
=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_MMAKE+:} false
; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$MMAKE"; then
4313 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir
=.
4320 for ac_exec_ext
in '' $ac_executable_extensions; do
4321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4322 ac_cv_prog_MMAKE
="mmake "
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 MMAKE
=$ac_cv_prog_MMAKE
4333 if test -n "$MMAKE"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4335 $as_echo "$MMAKE" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4343 # Perform some default variable assignments. Note all of these will be
4344 # Regenerated from the script, so there is no need to cache them.
4346 aros_host_cpp
="$CPP"
4348 aros_host_cxx
="$CXX"
4349 if test "$GCC" = "yes"; then
4350 aros_gcc_ld
=`$CC -print-prog-name=ld`
4351 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4352 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_path_aros_host_ld+:} false
; then :
4356 $as_echo_n "(cached) " >&6
4358 case $aros_host_ld in
4360 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4364 for as_dir
in `dirname $aros_gcc_ld`
4367 test -z "$as_dir" && as_dir
=.
4368 for ac_exec_ext
in '' $ac_executable_extensions; do
4369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4370 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 aros_host_ld
=$ac_cv_path_aros_host_ld
4382 if test -n "$aros_host_ld"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4384 $as_echo "$aros_host_ld" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4392 if test "$aros_host_ld" = ""; then
4393 # Extract the first word of "ld", so it can be a program name with args.
4394 set dummy ld
; ac_word
=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if ${ac_cv_path_aros_host_ld+:} false
; then :
4398 $as_echo_n "(cached) " >&6
4400 case $aros_host_ld in
4402 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir
=.
4410 for ac_exec_ext
in '' $ac_executable_extensions; do
4411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4412 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 aros_host_ld
=$ac_cv_path_aros_host_ld
4424 if test -n "$aros_host_ld"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4426 $as_echo "$aros_host_ld" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4434 if test "$aros_host_ld" = ""; then
4435 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4437 aros_host_make
="make"
4438 aros_host_cflags
=$CFLAGS
4439 aros_host_cxxflags
=$CXXFLAGS
4440 aros_host_ldflags
=$LDFLAGS
4441 aros_host_debug
="-g -O0"
4442 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4443 aros_host_mkargs
="--no-print-directory"
4444 aros_host_exe_suffix
="$EXEEXT"
4445 aros_host_lib_suffix
=""
4447 # Ignore all compliance, AROS ROMs = 0
4448 # KickStart v1.0 = 30
4449 # KickStart v1.3 = 34
4450 # KickStart v2.0 = 37
4451 # KickStart v3.0 = 39
4452 # KickStart v3.1 = 40
4454 aros_amigaos_compliance
=0
4456 for ac_prog
in aclocal aclocal19 aclocal-1.9
4458 # Extract the first word of "$ac_prog", so it can be a program name with args.
4459 set dummy
$ac_prog; ac_word
=$2
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4461 $as_echo_n "checking for $ac_word... " >&6; }
4462 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4463 $as_echo_n "(cached) " >&6
4465 if test -n "$aros_host_aclocal"; then
4466 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4472 test -z "$as_dir" && as_dir
=.
4473 for ac_exec_ext
in '' $ac_executable_extensions; do
4474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4475 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4485 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4486 if test -n "$aros_host_aclocal"; then
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4488 $as_echo "$aros_host_aclocal" >&6; }
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4495 test -n "$aros_host_aclocal" && break
4498 for ac_prog
in autoconf autoconf259 autoconf253
4500 # Extract the first word of "$ac_prog", so it can be a program name with args.
4501 set dummy
$ac_prog; ac_word
=$2
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4503 $as_echo_n "checking for $ac_word... " >&6; }
4504 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4505 $as_echo_n "(cached) " >&6
4507 if test -n "$aros_host_autoconf"; then
4508 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4514 test -z "$as_dir" && as_dir
=.
4515 for ac_exec_ext
in '' $ac_executable_extensions; do
4516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4517 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4528 if test -n "$aros_host_autoconf"; then
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4530 $as_echo "$aros_host_autoconf" >&6; }
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4533 $as_echo "no" >&6; }
4537 test -n "$aros_host_autoconf" && break
4540 for ac_prog
in autoheader autoheader259 autoheader253
4542 # Extract the first word of "$ac_prog", so it can be a program name with args.
4543 set dummy
$ac_prog; ac_word
=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4547 $as_echo_n "(cached) " >&6
4549 if test -n "$aros_host_autoheader"; then
4550 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_exec_ext
in '' $ac_executable_extensions; do
4558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4559 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4570 if test -n "$aros_host_autoheader"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4572 $as_echo "$aros_host_autoheader" >&6; }
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 test -n "$aros_host_autoheader" && break
4582 for ac_prog
in automake automake19 automake-1.9
4584 # Extract the first word of "$ac_prog", so it can be a program name with args.
4585 set dummy
$ac_prog; ac_word
=$2
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4587 $as_echo_n "checking for $ac_word... " >&6; }
4588 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4589 $as_echo_n "(cached) " >&6
4591 if test -n "$aros_host_automake"; then
4592 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4598 test -z "$as_dir" && as_dir
=.
4599 for ac_exec_ext
in '' $ac_executable_extensions; do
4600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4601 ac_cv_prog_aros_host_automake
="$ac_prog"
4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 aros_host_automake
=$ac_cv_prog_aros_host_automake
4612 if test -n "$aros_host_automake"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4614 $as_echo "$aros_host_automake" >&6; }
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4621 test -n "$aros_host_automake" && break
4625 if test "$aros_host_aclocal" = ""; then
4626 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4628 if test "$aros_host_automake" = ""; then
4629 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4632 case "$aros_host_cc" in
4634 aros_host_cc_pipe
="-pipe"
4637 aros_host_cc_pipe
=""
4640 aros_host_cc_pipe
=""
4644 aros_kernel_cc_includes
=""
4645 aros_target_cc_includes
=""
4648 # ----------------------------------------------------------------------------------------
4649 # Host-specific defaults
4651 # This is the main host configuration section. It is where the host
4652 # can change the values of any variables it needs to change. We do
4653 # not look at anything that compiles to the target yet, we'll get
4658 aros_host_arch
="aros"
4659 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4662 aros_host_cpu
="i386"
4665 aros_host_cpu
="x86_64"
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4672 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4673 aros_host_cpu
="$host_cpu"
4679 aros_host_arch
="linux"
4680 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4681 android_build_os
="linux-x86"
4682 android_tool
="android"
4683 default_android_sdk
="/opt/android-sdk-linux_x86"
4686 aros_host_cpu
="i386"
4689 aros_host_cpu
="x86_64"
4692 aros_host_cpu
="m68k"
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4702 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4703 aros_host_cpu
="$host_cpu"
4709 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4710 aros_host_make
="gmake"
4711 aros_host_arch
="freebsd"
4712 aros_host_cpu
="i386"
4714 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4718 aros_object_format
="elf_i386"
4722 aros_object_format
="elf_i386_fbsd"
4729 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4730 aros_host_arch
="darwin"
4732 android_build_os
="darwin-x86"
4733 android_tool
="android"
4734 default_android_sdk
="/android-sdk-mac_x86"
4737 aros_host_cpu
="i386"
4740 aros_host_cpu
="x86_64"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4747 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4748 aros_host_cpu
="$host_cpu"
4752 aros_host_ldflags
="$aros_host_ldflags -liconv"
4757 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4758 aros_host_make
="gmake"
4759 aros_host_arch
="dragonfly"
4762 aros_host_cpu
="i386"
4765 aros_host_cpu
="x86_64"
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4769 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4770 aros_host_cpu
="$host_cpu"
4776 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4777 aros_host_make
="gmake"
4778 aros_host_arch
="netbsd"
4781 aros_host_cpu
="i386"
4784 aros_host_cpu
="m68k"
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4788 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4789 aros_host_cpu
="$host_cpu"
4792 aros_host_lib_suffix
=".0.0"
4796 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4797 aros_host_make
="gmake"
4798 aros_host_arch
="openbsd"
4801 aros_host_cpu
="i386"
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4805 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4806 aros_host_cpu
="$host_cpu"
4812 aros_host_arch
="solaris"
4813 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4816 aros_host_cpu
="i386"
4819 aros_host_cpu
="sparc"
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4823 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4824 aros_host_cpu
="$host_cpu"
4830 aros_host_arch
="morphos"
4836 aros_host_arch
="amiga"
4842 TOUCH
="/gg/bin/touch"
4845 aros_host_cpu
="m68k"
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4852 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4853 aros_host_cpu
="$host_cpu"
4859 aros_host_arch
="cygwin"
4860 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4862 android_build_os
="windows"
4863 android_tool
="android.bat"
4864 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4868 aros_host_cpu
="i386"
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4872 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4873 aros_host_cpu
="$host_cpu"
4879 aros_host_arch
="mingw32"
4880 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4882 android_build_os
="windows"
4883 android_tool
="android.bat"
4884 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4890 $as_echo_n "checking for Windows native gcc target... " >&6; }
4891 host_cpu
=`gcc -dumpmachine`
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4893 $as_echo "$host_cpu" >&6; }
4900 aros_host_cpu
="i386"
4904 aros_host_cpu
="i386"
4908 aros_host_cpu
="x86_64"
4909 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4914 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4915 aros_host_cpu
="$host_cpu"
4920 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4924 # Extract the first word of "ar", so it can be a program name with args.
4925 set dummy
ar; ac_word
=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$aros_host_ar"; then
4932 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_aros_host_ar
="ar cr"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 aros_host_ar
=$ac_cv_prog_aros_host_ar
4952 if test -n "$aros_host_ar"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4954 $as_echo "$aros_host_ar" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4961 if test "$aros_host_ar" = ""; then
4962 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4964 # Extract the first word of "ranlib", so it can be a program name with args.
4965 set dummy ranlib
; ac_word
=$2
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 $as_echo_n "checking for $ac_word... " >&6; }
4968 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4969 $as_echo_n "(cached) " >&6
4971 if test -n "$aros_host_ranlib"; then
4972 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4978 test -z "$as_dir" && as_dir
=.
4979 for ac_exec_ext
in '' $ac_executable_extensions; do
4980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981 ac_cv_prog_aros_host_ranlib
="ranlib "
4982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4992 if test -n "$aros_host_ranlib"; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4994 $as_echo "$aros_host_ranlib" >&6; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997 $as_echo "no" >&6; }
5001 if test "$aros_host_ranlib" = ""; then
5002 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5004 # Extract the first word of "strip", so it can be a program name with args.
5005 set dummy strip
; ac_word
=$2
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 $as_echo_n "checking for $ac_word... " >&6; }
5008 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5009 $as_echo_n "(cached) " >&6
5011 if test -n "$aros_host_strip"; then
5012 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir
=.
5019 for ac_exec_ext
in '' $ac_executable_extensions; do
5020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5021 ac_cv_prog_aros_host_strip
="strip "
5022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 aros_host_strip
=$ac_cv_prog_aros_host_strip
5032 if test -n "$aros_host_strip"; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5034 $as_echo "$aros_host_strip" >&6; }
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5041 if test "$aros_host_strip" = ""; then
5042 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5045 # Extract the first word of "rm", so it can be a program name with args.
5046 set dummy
rm; ac_word
=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if ${ac_cv_prog_RM+:} false
; then :
5050 $as_echo_n "(cached) " >&6
5052 if test -n "$RM"; then
5053 ac_cv_prog_RM
="$RM" # Let the user override the test.
5055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5059 test -z "$as_dir" && as_dir
=.
5060 for ac_exec_ext
in '' $ac_executable_extensions; do
5061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5062 ac_cv_prog_RM
="rm -rf"
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 if test -n "$RM"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5075 $as_echo "$RM" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5082 if test "$RM" = ""; then
5083 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5085 # Extract the first word of "cp", so it can be a program name with args.
5086 set dummy
cp; ac_word
=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_prog_CP+:} false
; then :
5090 $as_echo_n "(cached) " >&6
5092 if test -n "$CP"; then
5093 ac_cv_prog_CP
="$CP" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 if test -n "$CP"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5115 $as_echo "$CP" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5122 if test "$CP" = ""; then
5123 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5125 # Extract the first word of "mv", so it can be a program name with args.
5126 set dummy
mv; ac_word
=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_MV+:} false
; then :
5130 $as_echo_n "(cached) " >&6
5132 if test -n "$MV"; then
5133 ac_cv_prog_MV
="$MV" # Let the user override the test.
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 if test -n "$MV"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5155 $as_echo "$MV" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5162 if test "$MV" = ""; then
5163 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5165 # Extract the first word of "echo", so it can be a program name with args.
5166 set dummy
echo; ac_word
=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if ${ac_cv_prog_ECHO+:} false
; then :
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$ECHO"; then
5173 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182 ac_cv_prog_ECHO
="echo "
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 ECHO
=$ac_cv_prog_ECHO
5193 if test -n "$ECHO"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5195 $as_echo "$ECHO" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5202 if test "$ECHO" = ""; then
5203 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5205 # Extract the first word of "mkdir", so it can be a program name with args.
5206 set dummy mkdir
; ac_word
=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_MKDIR+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$MKDIR"; then
5213 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir
=.
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5222 ac_cv_prog_MKDIR
="mkdir -p"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 MKDIR
=$ac_cv_prog_MKDIR
5233 if test -n "$MKDIR"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5235 $as_echo "$MKDIR" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 if test "$MKDIR" = ""; then
5243 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5245 # Extract the first word of "touch", so it can be a program name with args.
5246 set dummy
touch; ac_word
=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_TOUCH+:} false
; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$TOUCH"; then
5253 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5262 ac_cv_prog_TOUCH
="touch "
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 TOUCH
=$ac_cv_prog_TOUCH
5273 if test -n "$TOUCH"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5275 $as_echo "$TOUCH" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5282 if test "$TOUCH" = ""; then
5283 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5285 # Extract the first word of "sort", so it can be a program name with args.
5286 set dummy
sort; ac_word
=$2
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5288 $as_echo_n "checking for $ac_word... " >&6; }
5289 if ${ac_cv_prog_SORT+:} false
; then :
5290 $as_echo_n "(cached) " >&6
5292 if test -n "$SORT"; then
5293 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir
=.
5300 for ac_exec_ext
in '' $ac_executable_extensions; do
5301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5302 ac_cv_prog_SORT
="sort "
5303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 SORT
=$ac_cv_prog_SORT
5313 if test -n "$SORT"; then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5315 $as_echo "$SORT" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 $as_echo "no" >&6; }
5322 if test "$SORT" = ""; then
5323 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5325 # Extract the first word of "uniq", so it can be a program name with args.
5326 set dummy
uniq; ac_word
=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328 $as_echo_n "checking for $ac_word... " >&6; }
5329 if ${ac_cv_prog_UNIQ+:} false
; then :
5330 $as_echo_n "(cached) " >&6
5332 if test -n "$UNIQ"; then
5333 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir
=.
5340 for ac_exec_ext
in '' $ac_executable_extensions; do
5341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342 ac_cv_prog_UNIQ
="uniq "
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 UNIQ
=$ac_cv_prog_UNIQ
5353 if test -n "$UNIQ"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5355 $as_echo "$UNIQ" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5362 if test "$UNIQ" = ""; then
5363 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5365 # Extract the first word of "true", so it can be a program name with args.
5366 set dummy true
; ac_word
=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_NOP+:} false
; then :
5370 $as_echo_n "(cached) " >&6
5372 if test -n "$NOP"; then
5373 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir
=.
5380 for ac_exec_ext
in '' $ac_executable_extensions; do
5381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382 ac_cv_prog_NOP
="true "
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 if test -n "$NOP"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5395 $as_echo "$NOP" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5402 if test "$NOP" = ""; then
5403 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5405 # Extract the first word of "cat", so it can be a program name with args.
5406 set dummy
cat; ac_word
=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_CAT+:} false
; then :
5410 $as_echo_n "(cached) " >&6
5412 if test -n "$CAT"; then
5413 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir
=.
5420 for ac_exec_ext
in '' $ac_executable_extensions; do
5421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5422 ac_cv_prog_CAT
="cat "
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 if test -n "$CAT"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5435 $as_echo "$CAT" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5442 if test "$CAT" = ""; then
5443 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5445 # Extract the first word of "bison", so it can be a program name with args.
5446 set dummy bison
; ac_word
=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_BISON+:} false
; then :
5450 $as_echo_n "(cached) " >&6
5452 if test -n "$BISON"; then
5453 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5459 test -z "$as_dir" && as_dir
=.
5460 for ac_exec_ext
in '' $ac_executable_extensions; do
5461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5462 ac_cv_prog_BISON
="bison "
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 BISON
=$ac_cv_prog_BISON
5473 if test -n "$BISON"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5475 $as_echo "$BISON" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5482 if test "$BISON" = ""; then
5483 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5485 # Extract the first word of "flex", so it can be a program name with args.
5486 set dummy flex
; ac_word
=$2
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 $as_echo_n "checking for $ac_word... " >&6; }
5489 if ${ac_cv_prog_FLEX+:} false
; then :
5490 $as_echo_n "(cached) " >&6
5492 if test -n "$FLEX"; then
5493 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5499 test -z "$as_dir" && as_dir
=.
5500 for ac_exec_ext
in '' $ac_executable_extensions; do
5501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5502 ac_cv_prog_FLEX
="flex "
5503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 FLEX
=$ac_cv_prog_FLEX
5513 if test -n "$FLEX"; then
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5515 $as_echo "$FLEX" >&6; }
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5518 $as_echo "no" >&6; }
5522 if test "$FLEX" = ""; then
5523 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5525 # Extract the first word of "pngtopnm", so it can be a program name with args.
5526 set dummy pngtopnm
; ac_word
=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5530 $as_echo_n "(cached) " >&6
5532 if test -n "$PNGTOPNM"; then
5533 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir
=.
5540 for ac_exec_ext
in '' $ac_executable_extensions; do
5541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5542 ac_cv_prog_PNGTOPNM
="pngtopnm "
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5553 if test -n "$PNGTOPNM"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5555 $as_echo "$PNGTOPNM" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5562 if test "$PNGTOPNM" = ""; then
5563 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5565 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5566 set dummy ppmtoilbm
; ac_word
=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5570 $as_echo_n "(cached) " >&6
5572 if test -n "$PPMTOILBM"; then
5573 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5579 test -z "$as_dir" && as_dir
=.
5580 for ac_exec_ext
in '' $ac_executable_extensions; do
5581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5582 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5593 if test -n "$PPMTOILBM"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5595 $as_echo "$PPMTOILBM" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5602 if test "$PPMTOILBM" = ""; then
5603 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5605 # Extract the first word of "sed", so it can be a program name with args.
5606 set dummy
sed; ac_word
=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if ${ac_cv_prog_SED+:} false
; then :
5610 $as_echo_n "(cached) " >&6
5612 if test -n "$SED"; then
5613 ac_cv_prog_SED
="$SED" # Let the user override the test.
5615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir
=.
5620 for ac_exec_ext
in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_SED
="sed "
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 if test -n "$SED"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5635 $as_echo "$SED" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5642 if test "$SED" = ""; then
5643 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5645 # Extract the first word of "chmod", so it can be a program name with args.
5646 set dummy
chmod; ac_word
=$2
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5648 $as_echo_n "checking for $ac_word... " >&6; }
5649 if ${ac_cv_prog_CHMOD+:} false
; then :
5650 $as_echo_n "(cached) " >&6
5652 if test -n "$CHMOD"; then
5653 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir
=.
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_CHMOD
="chmod "
5663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 CHMOD
=$ac_cv_prog_CHMOD
5673 if test -n "$CHMOD"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5675 $as_echo "$CHMOD" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678 $as_echo "no" >&6; }
5682 if test "$CHMOD" = ""; then
5683 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5685 # Extract the first word of "patch", so it can be a program name with args.
5686 set dummy
patch; ac_word
=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_PATCH+:} false
; then :
5690 $as_echo_n "(cached) " >&6
5692 if test -n "$PATCH"; then
5693 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5702 ac_cv_prog_PATCH
="patch "
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 PATCH
=$ac_cv_prog_PATCH
5713 if test -n "$PATCH"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5715 $as_echo "$PATCH" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5722 if test "$PATCH" = ""; then
5723 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5732 if test -n "$PYTHON"; then
5733 # If the user set $PYTHON, use it and don't search something else.
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5735 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5737 # split strings by '.' and convert to numeric. Append some zeros
5738 # because we need at least 4 digits for the hex conversion.
5739 # map returns an iterator in Python 3.0 and a list in 2.x
5740 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5742 # xrange is not present in Python 3.0 and range returns an iterator
5743 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5744 sys.exit(sys.hexversion < minverhex)"
5745 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5746 ($PYTHON -c "$prog") >&5 2>&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }; then :
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5751 $as_echo "yes" >&6; }
5753 as_fn_error $?
"too old" "$LINENO" 5
5755 am_display_PYTHON
=$PYTHON
5757 # Otherwise, try each interpreter until we find one that satisfies
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5760 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5761 if ${am_cv_pathless_PYTHON+:} false
; then :
5762 $as_echo_n "(cached) " >&6
5765 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
5766 test "$am_cv_pathless_PYTHON" = none
&& break
5768 # split strings by '.' and convert to numeric. Append some zeros
5769 # because we need at least 4 digits for the hex conversion.
5770 # map returns an iterator in Python 3.0 and a list in 2.x
5771 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5773 # xrange is not present in Python 3.0 and range returns an iterator
5774 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5775 sys.exit(sys.hexversion < minverhex)"
5776 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5777 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; then :
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5786 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5787 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5788 if test "$am_cv_pathless_PYTHON" = none
; then
5791 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5792 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if ${ac_cv_path_PYTHON+:} false
; then :
5796 $as_echo_n "(cached) " >&6
5800 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir
=.
5808 for ac_exec_ext
in '' $ac_executable_extensions; do
5809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5810 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 PYTHON
=$ac_cv_path_PYTHON
5822 if test -n "$PYTHON"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5824 $as_echo "$PYTHON" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5832 am_display_PYTHON
=$am_cv_pathless_PYTHON
5836 if test "$PYTHON" = :; then
5837 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5842 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5843 if ${am_cv_python_version+:} false
; then :
5844 $as_echo_n "(cached) " >&6
5846 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5849 $as_echo "$am_cv_python_version" >&6; }
5850 PYTHON_VERSION
=$am_cv_python_version
5854 PYTHON_PREFIX
='${prefix}'
5856 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5861 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5862 if ${am_cv_python_platform+:} false
; then :
5863 $as_echo_n "(cached) " >&6
5865 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5868 $as_echo "$am_cv_python_platform" >&6; }
5869 PYTHON_PLATFORM
=$am_cv_python_platform
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5875 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5876 if ${am_cv_python_pythondir+:} false
; then :
5877 $as_echo_n "(cached) " >&6
5879 if test "x$prefix" = xNONE
5881 am_py_prefix
=$ac_default_prefix
5883 am_py_prefix
=$prefix
5885 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`
5886 case $am_cv_python_pythondir in
5888 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5889 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5892 case $am_py_prefix in
5895 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5903 $as_echo "$am_cv_python_pythondir" >&6; }
5904 pythondir
=$am_cv_python_pythondir
5908 pkgpythondir
=\
${pythondir}/$PACKAGE
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5912 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5913 if ${am_cv_python_pyexecdir+:} false
; then :
5914 $as_echo_n "(cached) " >&6
5916 if test "x$exec_prefix" = xNONE
5918 am_py_exec_prefix
=$am_py_prefix
5920 am_py_exec_prefix
=$exec_prefix
5922 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`
5923 case $am_cv_python_pyexecdir in
5924 $am_py_exec_prefix*)
5925 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5926 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5929 case $am_py_exec_prefix in
5932 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5940 $as_echo "$am_cv_python_pyexecdir" >&6; }
5941 pyexecdir
=$am_cv_python_pyexecdir
5945 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5955 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5956 if ${ac_cv_lib_png_png_read_png+:} false
; then :
5957 $as_echo_n "(cached) " >&6
5959 ac_check_lib_save_LIBS
=$LIBS
5961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5962 /* end confdefs.h. */
5964 /* Override any GCC internal prototype to avoid an error.
5965 Use char because int might match the return type of a GCC
5966 builtin and then its argument prototype would still apply. */
5970 char png_read_png ();
5974 return png_read_png ();
5979 if ac_fn_c_try_link
"$LINENO"; then :
5980 ac_cv_lib_png_png_read_png
=yes
5982 ac_cv_lib_png_png_read_png
=no
5984 rm -f core conftest.err conftest.
$ac_objext \
5985 conftest
$ac_exeext conftest.
$ac_ext
5986 LIBS
=$ac_check_lib_save_LIBS
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
5989 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
5990 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
5991 cat >>confdefs.h
<<_ACEOF
5992 #define HAVE_LIBPNG 1
5999 if test "$ac_cv_lib_png_png_read_png" = ""; then
6000 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6013 # Check for some includes for the X11 HIDD and the kernel
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6016 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6017 if ${ac_cv_path_GREP+:} false
; then :
6018 $as_echo_n "(cached) " >&6
6020 if test -z "$GREP"; then
6021 ac_path_GREP_found
=false
6022 # Loop through the user's path and test for each of PROGNAME-LIST
6023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6024 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6027 test -z "$as_dir" && as_dir
=.
6028 for ac_prog
in grep ggrep
; do
6029 for ac_exec_ext
in '' $ac_executable_extensions; do
6030 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6031 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6032 # Check for GNU ac_path_GREP and select it if it is found.
6033 # Check for GNU $ac_path_GREP
6034 case `"$ac_path_GREP" --version 2>&1` in
6036 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6039 $as_echo_n 0123456789 >"conftest.in"
6042 cat "conftest.in" "conftest.in" >"conftest.tmp"
6043 mv "conftest.tmp" "conftest.in"
6044 cp "conftest.in" "conftest.nl"
6045 $as_echo 'GREP' >> "conftest.nl"
6046 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6047 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6048 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6049 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6050 # Best one so far, save it but keep looking for a better one
6051 ac_cv_path_GREP
="$ac_path_GREP"
6052 ac_path_GREP_max
=$ac_count
6054 # 10*(2^10) chars as input seems more than enough
6055 test $ac_count -gt 10 && break
6057 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6060 $ac_path_GREP_found && break 3
6065 if test -z "$ac_cv_path_GREP"; then
6066 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6069 ac_cv_path_GREP
=$GREP
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6074 $as_echo "$ac_cv_path_GREP" >&6; }
6075 GREP
="$ac_cv_path_GREP"
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6079 $as_echo_n "checking for egrep... " >&6; }
6080 if ${ac_cv_path_EGREP+:} false
; then :
6081 $as_echo_n "(cached) " >&6
6083 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6084 then ac_cv_path_EGREP
="$GREP -E"
6086 if test -z "$EGREP"; then
6087 ac_path_EGREP_found
=false
6088 # Loop through the user's path and test for each of PROGNAME-LIST
6089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6090 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6093 test -z "$as_dir" && as_dir
=.
6094 for ac_prog
in egrep; do
6095 for ac_exec_ext
in '' $ac_executable_extensions; do
6096 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6097 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6098 # Check for GNU ac_path_EGREP and select it if it is found.
6099 # Check for GNU $ac_path_EGREP
6100 case `"$ac_path_EGREP" --version 2>&1` in
6102 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6105 $as_echo_n 0123456789 >"conftest.in"
6108 cat "conftest.in" "conftest.in" >"conftest.tmp"
6109 mv "conftest.tmp" "conftest.in"
6110 cp "conftest.in" "conftest.nl"
6111 $as_echo 'EGREP' >> "conftest.nl"
6112 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6113 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6114 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6115 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6116 # Best one so far, save it but keep looking for a better one
6117 ac_cv_path_EGREP
="$ac_path_EGREP"
6118 ac_path_EGREP_max
=$ac_count
6120 # 10*(2^10) chars as input seems more than enough
6121 test $ac_count -gt 10 && break
6123 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6126 $ac_path_EGREP_found && break 3
6131 if test -z "$ac_cv_path_EGREP"; then
6132 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6135 ac_cv_path_EGREP
=$EGREP
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6141 $as_echo "$ac_cv_path_EGREP" >&6; }
6142 EGREP
="$ac_cv_path_EGREP"
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6146 $as_echo_n "checking for ANSI C header files... " >&6; }
6147 if ${ac_cv_header_stdc+:} false
; then :
6148 $as_echo_n "(cached) " >&6
6150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6151 /* end confdefs.h. */
6165 if ac_fn_c_try_compile
"$LINENO"; then :
6166 ac_cv_header_stdc
=yes
6168 ac_cv_header_stdc
=no
6170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6172 if test $ac_cv_header_stdc = yes; then
6173 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6180 $EGREP "memchr" >/dev
/null
2>&1; then :
6183 ac_cv_header_stdc
=no
6189 if test $ac_cv_header_stdc = yes; then
6190 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6197 $EGREP "free" >/dev
/null
2>&1; then :
6200 ac_cv_header_stdc
=no
6206 if test $ac_cv_header_stdc = yes; then
6207 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6208 if test "$cross_compiling" = yes; then :
6211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6212 /* end confdefs.h. */
6215 #if ((' ' & 0x0FF) == 0x020)
6216 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6217 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6219 # define ISLOWER(c) \
6220 (('a' <= (c) && (c) <= 'i') \
6221 || ('j' <= (c) && (c) <= 'r') \
6222 || ('s' <= (c) && (c) <= 'z'))
6223 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6226 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6231 for (i = 0; i < 256; i++)
6232 if (XOR (islower (i), ISLOWER (i))
6233 || toupper (i) != TOUPPER (i))
6238 if ac_fn_c_try_run
"$LINENO"; then :
6241 ac_cv_header_stdc
=no
6243 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6244 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6250 $as_echo "$ac_cv_header_stdc" >&6; }
6251 if test $ac_cv_header_stdc = yes; then
6253 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6257 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6258 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6259 inttypes.h stdint.h unistd.h
6261 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6262 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6264 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6265 cat >>confdefs.h
<<_ACEOF
6266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6274 for ac_header
in sys
/ipc.h sys
/shm.h \
6275 sys
/mmap.h sys
/mman.h sysexits.h \
6276 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6279 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6280 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6281 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6282 cat >>confdefs.h
<<_ACEOF
6283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6291 for ac_header
in sys
/mount.h
6293 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6295 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6296 cat >>confdefs.h
<<_ACEOF
6297 #define HAVE_SYS_MOUNT_H 1
6306 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6307 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6309 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6310 if eval \
${$as_ac_Header+:} false
; then :
6311 $as_echo_n "(cached) " >&6
6313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6315 #include <sys/types.h>
6327 if ac_fn_c_try_compile
"$LINENO"; then :
6328 eval "$as_ac_Header=yes"
6330 eval "$as_ac_Header=no"
6332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6334 eval ac_res
=\$
$as_ac_Header
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6336 $as_echo "$ac_res" >&6; }
6337 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6338 cat >>confdefs.h
<<_ACEOF
6339 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6342 ac_header_dirent
=$ac_hdr; break
6346 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6347 if test $ac_header_dirent = dirent.h
; then
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6349 $as_echo_n "checking for library containing opendir... " >&6; }
6350 if ${ac_cv_search_opendir+:} false
; then :
6351 $as_echo_n "(cached) " >&6
6353 ac_func_search_save_LIBS
=$LIBS
6354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6357 /* Override any GCC internal prototype to avoid an error.
6358 Use char because int might match the return type of a GCC
6359 builtin and then its argument prototype would still apply. */
6372 for ac_lib
in '' dir
; do
6373 if test -z "$ac_lib"; then
6374 ac_res
="none required"
6377 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6379 if ac_fn_c_try_link
"$LINENO"; then :
6380 ac_cv_search_opendir
=$ac_res
6382 rm -f core conftest.err conftest.
$ac_objext \
6384 if ${ac_cv_search_opendir+:} false
; then :
6388 if ${ac_cv_search_opendir+:} false
; then :
6391 ac_cv_search_opendir
=no
6394 LIBS
=$ac_func_search_save_LIBS
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6397 $as_echo "$ac_cv_search_opendir" >&6; }
6398 ac_res
=$ac_cv_search_opendir
6399 if test "$ac_res" != no
; then :
6400 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6406 $as_echo_n "checking for library containing opendir... " >&6; }
6407 if ${ac_cv_search_opendir+:} false
; then :
6408 $as_echo_n "(cached) " >&6
6410 ac_func_search_save_LIBS
=$LIBS
6411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6412 /* end confdefs.h. */
6414 /* Override any GCC internal prototype to avoid an error.
6415 Use char because int might match the return type of a GCC
6416 builtin and then its argument prototype would still apply. */
6429 for ac_lib
in '' x
; do
6430 if test -z "$ac_lib"; then
6431 ac_res
="none required"
6434 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6436 if ac_fn_c_try_link
"$LINENO"; then :
6437 ac_cv_search_opendir
=$ac_res
6439 rm -f core conftest.err conftest.
$ac_objext \
6441 if ${ac_cv_search_opendir+:} false
; then :
6445 if ${ac_cv_search_opendir+:} false
; then :
6448 ac_cv_search_opendir
=no
6451 LIBS
=$ac_func_search_save_LIBS
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6454 $as_echo "$ac_cv_search_opendir" >&6; }
6455 ac_res
=$ac_cv_search_opendir
6456 if test "$ac_res" != no
; then :
6457 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6464 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6465 if ${ac_cv_header_stat_broken+:} false
; then :
6466 $as_echo_n "(cached) " >&6
6468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6470 #include <sys/types.h>
6471 #include <sys/stat.h>
6473 #if defined S_ISBLK && defined S_IFDIR
6474 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6477 #if defined S_ISBLK && defined S_IFCHR
6478 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6481 #if defined S_ISLNK && defined S_IFREG
6482 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6485 #if defined S_ISSOCK && defined S_IFREG
6486 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6490 if ac_fn_c_try_compile
"$LINENO"; then :
6491 ac_cv_header_stat_broken
=no
6493 ac_cv_header_stat_broken
=yes
6495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6498 $as_echo "$ac_cv_header_stat_broken" >&6; }
6499 if test $ac_cv_header_stat_broken = yes; then
6501 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6506 $as_echo_n "checking for ANSI C header files... " >&6; }
6507 if ${ac_cv_header_stdc+:} false
; then :
6508 $as_echo_n "(cached) " >&6
6510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6525 if ac_fn_c_try_compile
"$LINENO"; then :
6526 ac_cv_header_stdc
=yes
6528 ac_cv_header_stdc
=no
6530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6532 if test $ac_cv_header_stdc = yes; then
6533 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6535 /* end confdefs.h. */
6539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6540 $EGREP "memchr" >/dev
/null
2>&1; then :
6543 ac_cv_header_stdc
=no
6549 if test $ac_cv_header_stdc = yes; then
6550 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6552 /* end confdefs.h. */
6556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6557 $EGREP "free" >/dev
/null
2>&1; then :
6560 ac_cv_header_stdc
=no
6566 if test $ac_cv_header_stdc = yes; then
6567 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6568 if test "$cross_compiling" = yes; then :
6571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6575 #if ((' ' & 0x0FF) == 0x020)
6576 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6577 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6579 # define ISLOWER(c) \
6580 (('a' <= (c) && (c) <= 'i') \
6581 || ('j' <= (c) && (c) <= 'r') \
6582 || ('s' <= (c) && (c) <= 'z'))
6583 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6586 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6591 for (i = 0; i < 256; i++)
6592 if (XOR (islower (i), ISLOWER (i))
6593 || toupper (i) != TOUPPER (i))
6598 if ac_fn_c_try_run
"$LINENO"; then :
6601 ac_cv_header_stdc
=no
6603 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6604 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6610 $as_echo "$ac_cv_header_stdc" >&6; }
6611 if test $ac_cv_header_stdc = yes; then
6613 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6618 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6619 if ${ac_cv_header_sys_wait_h+:} false
; then :
6620 $as_echo_n "(cached) " >&6
6622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #include <sys/types.h>
6625 #include <sys/wait.h>
6627 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6630 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6638 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6643 if ac_fn_c_try_compile
"$LINENO"; then :
6644 ac_cv_header_sys_wait_h
=yes
6646 ac_cv_header_sys_wait_h
=no
6648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6651 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6652 if test $ac_cv_header_sys_wait_h = yes; then
6654 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6659 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6660 if ${ac_cv_header_time+:} false
; then :
6661 $as_echo_n "(cached) " >&6
6663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6664 /* end confdefs.h. */
6665 #include <sys/types.h>
6666 #include <sys/time.h>
6672 if ((struct tm *) 0)
6678 if ac_fn_c_try_compile
"$LINENO"; then :
6679 ac_cv_header_time
=yes
6681 ac_cv_header_time
=no
6683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6686 $as_echo "$ac_cv_header_time" >&6; }
6687 if test $ac_cv_header_time = yes; then
6689 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6693 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6694 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6696 cat >>confdefs.h
<<_ACEOF
6697 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6701 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6706 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6707 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6709 cat >>confdefs.h
<<_ACEOF
6710 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6714 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6717 case " $LIBOBJS " in
6718 *" fileblocks.$ac_objext "* ) ;;
6719 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6726 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6727 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6729 cat >>confdefs.h
<<_ACEOF
6730 #define HAVE_STRUCT_STAT_ST_RDEV 1
6734 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6740 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6741 if ${ac_cv_struct_tm+:} false
; then :
6742 $as_echo_n "(cached) " >&6
6744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6746 #include <sys/types.h>
6753 int *p = &tm.tm_sec;
6759 if ac_fn_c_try_compile
"$LINENO"; then :
6760 ac_cv_struct_tm
=time.h
6762 ac_cv_struct_tm
=sys
/time.h
6764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6767 $as_echo "$ac_cv_struct_tm" >&6; }
6768 if test $ac_cv_struct_tm = sys
/time.h
; then
6770 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6774 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6775 #include <$ac_cv_struct_tm>
6778 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6780 cat >>confdefs.h
<<_ACEOF
6781 #define HAVE_STRUCT_TM_TM_ZONE 1
6787 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6789 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6792 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6794 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6800 cat >>confdefs.h
<<_ACEOF
6801 #define HAVE_DECL_TZNAME $ac_have_decl
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6805 $as_echo_n "checking for tzname... " >&6; }
6806 if ${ac_cv_var_tzname+:} false
; then :
6807 $as_echo_n "(cached) " >&6
6809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6810 /* end confdefs.h. */
6812 #if !HAVE_DECL_TZNAME
6813 extern char *tzname[];
6819 return tzname[0][0];
6824 if ac_fn_c_try_link
"$LINENO"; then :
6825 ac_cv_var_tzname
=yes
6829 rm -f core conftest.err conftest.
$ac_objext \
6830 conftest
$ac_exeext conftest.
$ac_ext
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6833 $as_echo "$ac_cv_var_tzname" >&6; }
6834 if test $ac_cv_var_tzname = yes; then
6836 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6841 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6842 if test "x$ac_cv_type_off_t" = xyes
; then :
6846 cat >>confdefs.h
<<_ACEOF
6847 #define off_t long int
6852 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6853 if test "x$ac_cv_type_pid_t" = xyes
; then :
6857 cat >>confdefs.h
<<_ACEOF
6863 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6864 if test "x$ac_cv_type_size_t" = xyes
; then :
6868 cat >>confdefs.h
<<_ACEOF
6869 #define size_t unsigned int
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6875 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6876 if ${ac_cv_type_uid_t+:} false
; then :
6877 $as_echo_n "(cached) " >&6
6879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6880 /* end confdefs.h. */
6881 #include <sys/types.h>
6884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6885 $EGREP "uid_t" >/dev
/null
2>&1; then :
6886 ac_cv_type_uid_t
=yes
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6894 $as_echo "$ac_cv_type_uid_t" >&6; }
6895 if test $ac_cv_type_uid_t = no
; then
6897 $as_echo "#define uid_t int" >>confdefs.h
6900 $as_echo "#define gid_t int" >>confdefs.h
6905 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6906 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6908 cat >>confdefs.h
<<_ACEOF
6909 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6916 # Look for some functions
6917 for ac_func
in getpagesize kqueue statfs statvfs \
6918 clone kse_create rfork_thread thr_create sa_register \
6919 getcontext makecontext setcontext sigaltstack swapcontext
6921 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6922 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6923 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6924 cat >>confdefs.h
<<_ACEOF
6925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6935 for ac_header
in $ac_header_list
6937 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6940 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6941 cat >>confdefs.h
<<_ACEOF
6942 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6956 for ac_func
in getpagesize
6958 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6959 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6960 cat >>confdefs.h
<<_ACEOF
6961 #define HAVE_GETPAGESIZE 1
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6968 $as_echo_n "checking for working mmap... " >&6; }
6969 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6970 $as_echo_n "(cached) " >&6
6972 if test "$cross_compiling" = yes; then :
6973 ac_cv_func_mmap_fixed_mapped
=no
6975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6976 /* end confdefs.h. */
6977 $ac_includes_default
6978 /* malloc might have been renamed as rpl_malloc. */
6981 /* Thanks to Mike Haertel and Jim Avera for this test.
6982 Here is a matrix of mmap possibilities:
6983 mmap private not fixed
6984 mmap private fixed at somewhere currently unmapped
6985 mmap private fixed at somewhere already mapped
6986 mmap shared not fixed
6987 mmap shared fixed at somewhere currently unmapped
6988 mmap shared fixed at somewhere already mapped
6989 For private mappings, we should verify that changes cannot be read()
6990 back from the file, nor mmap's back from the file at a different
6991 address. (There have been systems where private was not correctly
6992 implemented like the infamous i386 svr4.0, and systems where the
6993 VM page cache was not coherent with the file system buffer cache
6994 like early versions of FreeBSD and possibly contemporary NetBSD.)
6995 For shared mappings, we should conversely verify that changes get
6996 propagated back to all the places they're supposed to be.
6998 Grep wants private fixed already mapped.
6999 The main things grep needs to know about mmap are:
7000 * does it exist and is it safe to write into the mmap'd area
7001 * how to use it (BSD variants) */
7004 #include <sys/mman.h>
7006 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7010 /* This mess was copied from the GNU getpagesize.h. */
7011 #ifndef HAVE_GETPAGESIZE
7012 # ifdef _SC_PAGESIZE
7013 # define getpagesize() sysconf(_SC_PAGESIZE)
7014 # else /* no _SC_PAGESIZE */
7015 # ifdef HAVE_SYS_PARAM_H
7016 # include <sys/param.h>
7017 # ifdef EXEC_PAGESIZE
7018 # define getpagesize() EXEC_PAGESIZE
7019 # else /* no EXEC_PAGESIZE */
7021 # define getpagesize() NBPG * CLSIZE
7024 # endif /* no CLSIZE */
7025 # else /* no NBPG */
7027 # define getpagesize() NBPC
7028 # else /* no NBPC */
7030 # define getpagesize() PAGESIZE
7031 # endif /* PAGESIZE */
7032 # endif /* no NBPC */
7033 # endif /* no NBPG */
7034 # endif /* no EXEC_PAGESIZE */
7035 # else /* no HAVE_SYS_PARAM_H */
7036 # define getpagesize() 8192 /* punt totally */
7037 # endif /* no HAVE_SYS_PARAM_H */
7038 # endif /* no _SC_PAGESIZE */
7040 #endif /* no HAVE_GETPAGESIZE */
7045 char *data, *data2, *data3;
7050 pagesize = getpagesize ();
7052 /* First, make a file with some known garbage in it. */
7053 data = (char *) malloc (pagesize);
7056 for (i = 0; i < pagesize; ++i)
7057 *(data + i) = rand ();
7059 fd = creat ("conftest.mmap", 0600);
7062 if (write (fd, data, pagesize) != pagesize)
7066 /* Next, check that the tail of a page is zero-filled. File must have
7067 non-zero length, otherwise we risk SIGBUS for entire page. */
7068 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7072 if (write (fd2, cdata2, 1) != 1)
7074 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7075 if (data2 == MAP_FAILED)
7077 for (i = 0; i < pagesize; ++i)
7081 if (munmap (data2, pagesize))
7084 /* Next, try to mmap the file at a fixed address which already has
7085 something else allocated at it. If we can, also make sure that
7086 we see the same garbage. */
7087 fd = open ("conftest.mmap", O_RDWR);
7090 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7091 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7093 for (i = 0; i < pagesize; ++i)
7094 if (*(data + i) != *(data2 + i))
7097 /* Finally, make sure that changes to the mapped area do not
7098 percolate back to the file as seen by read(). (This is a bug on
7099 some variants of i386 svr4.0.) */
7100 for (i = 0; i < pagesize; ++i)
7101 *(data2 + i) = *(data2 + i) + 1;
7102 data3 = (char *) malloc (pagesize);
7105 if (read (fd, data3, pagesize) != pagesize)
7107 for (i = 0; i < pagesize; ++i)
7108 if (*(data + i) != *(data3 + i))
7114 if ac_fn_c_try_run
"$LINENO"; then :
7115 ac_cv_func_mmap_fixed_mapped
=yes
7117 ac_cv_func_mmap_fixed_mapped
=no
7119 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7120 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7125 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7126 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7128 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7131 rm -f conftest.mmap conftest.txt
7136 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7137 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7138 aros_config_ldflags
=""
7140 aros_shared_default
=yes
7142 aros_shared_cflags
="-fPIC"
7143 aros_shared_aflags
=""
7144 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7145 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7147 aros_kernel_ar_flags
="cr"
7148 aros_target_ar_flags
="cr"
7149 aros_target_nm_flags
="-C -ul"
7150 aros_target_strip_flags
="--strip-unneeded -R.comment"
7155 aros_target_genmap
="-Wl,-Map -Xlinker"
7157 # Native flavour stuff
7158 aros_serial_debug
="0"
7160 # Palm native flavour stuff
7161 aros_palm_debug_hack
="0"
7163 # Unix flavour stuff
7164 aros_nesting_supervisor
="0"
7166 # Collect-aros stuff: "-ius" to ignore undefined symbols
7167 ignore_undefined_symbols
=""
7169 # Check for X11 by default
7172 #-----------------------------------------------------------------------------
7175 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7176 # it switched on by default, and we use the host compiler, so it compiles AROS
7177 # code with this enabled resulting in link failures as we don't have support
7180 # We use two methods to disable it. For the host compiler (used to compile
7181 # some hosted modules), we test to see if the compiler supports stack
7182 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7183 # work on all platforms.
7185 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7186 # (this is done unconditionally, as it should have no effect on compilers
7187 # without the stack protection feature). This may be specific to the way that
7188 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7189 # strong enough to disable it in a generic way though, so we'll live with it
7190 # until another vendor ships GCC with it enabled in a different way, and deal
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7195 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7196 save_cflags
="$CFLAGS"
7197 CFLAGS
="$CFLAGS -fno-stack-protector"
7198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7209 if ac_fn_c_try_compile
"$LINENO"; then :
7210 use_no_stack_protector
="yes"
7212 use_no_stack_protector
="no"
7214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7216 $as_echo "$use_no_stack_protector" >&6; }
7217 if test "x-$use_no_stack_protector" = "x-yes" ; then
7218 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7220 CFLAGS
="$save_cflags"
7222 #-----------------------------------------------------------------------------
7224 # Disable pointer-signedness warnings if the compiler recognises the option
7225 # (this only works for the host compiler at the moment)
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7228 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7229 save_cflags
="$CFLAGS"
7230 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7242 if ac_fn_c_try_compile
"$LINENO"; then :
7243 use_no_sign_warning
="yes"
7245 use_no_sign_warning
="no"
7247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7249 $as_echo "$use_no_sign_warning" >&6; }
7250 if test "x-$use_no_sign_warning" = "x-yes" ; then
7251 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7253 CFLAGS
="$save_cflags"
7255 #-----------------------------------------------------------------------------
7257 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7260 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7261 save_cflags
="$CFLAGS"
7262 CFLAGS
="$CFLAGS -fgnu89-inline"
7263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7264 /* end confdefs.h. */
7274 if ac_fn_c_try_compile
"$LINENO"; then :
7275 use_gnu89_inline
="yes"
7277 use_gnu89_inline
="no"
7279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7281 $as_echo "$use_gnu89_inline" >&6; }
7282 if test "x-$use_gnu89_inline" = "x-yes" ; then
7283 gnu89_inline
="-fgnu89-inline"
7285 CFLAGS
="$save_cflags"
7287 #-----------------------------------------------------------------------------
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7290 $as_echo_n "checking for type of build... " >&6; }
7291 # Check whether --enable-build_type was given.
7292 if test "${enable_build_type+set}" = set; then :
7293 enableval
=$enable_build_type; build_type
=$enableval
7295 build_type
="personal"
7299 if test "$build_type" = "nightly"; then
7300 build_type_string
="NIGHTLY"
7301 elif test "$build_type" = "snapshot"; then
7302 build_type_string
="SNAPSHOT"
7303 elif test "$build_type" = "milestone"; then
7304 build_type_string
="MILESTONE"
7305 elif test "$build_type" = "release"; then
7306 build_type_string
="RELEASE"
7308 build_type_string
="PERSONAL"
7309 build_type
="personal"
7312 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7315 $as_echo "$build_type" >&6; }
7317 #-----------------------------------------------------------------------------
7318 all_debug_types
="messages stack modules mungwall symbols"
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7321 $as_echo_n "checking which debug types to enable... " >&6; }
7322 # Check whether --enable-debug was given.
7323 if test "${enable_debug+set}" = set; then :
7324 enableval
=$enable_debug; debug
="$enableval"
7330 if test "$debug" = "" -o "$debug" = "no"; then
7332 elif test "$debug" = "yes"; then
7336 if test "$debug" = "all" ; then
7337 debug
="messages stack modules symbols"
7338 for d
in $all_debug_types; do
7339 export aros_
${d}_debug
="1"
7342 for d
in $all_debug_types; do
7343 export aros_
${d}_debug
="0"
7347 if test "$debug" != "none"; then
7348 debug
=`echo $debug | sed s/,/\ /g`
7351 for d2
in $all_debug_types; do
7352 if test "$d2" = "$d"; then
7357 if test "$found" = "0"; then
7358 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7360 export aros_
${d}_debug
="1"
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7365 $as_echo "$debug" >&6; }
7367 if test "$aros_messages_debug" = "1"; then
7368 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7370 aros_messages_debug
=""
7372 if test "$aros_symbols_debug" = "1"; then
7373 aros_symbols_debug
="-g"
7375 aros_symbols_debug
=""
7378 # These are the flags to pass when compiling debugged programs
7379 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7380 aros_debug_aflags
=""
7381 aros_debug_ldflags
="$aros_symbols_debug"
7383 #-----------------------------------------------------------------------------
7384 # Checking for distcc and ccache.
7386 # Always apply the transforms in this particular order. Basically you should
7387 # always run 'ccache distcc compiler' in that order for the best performance.
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7390 $as_echo_n "checking whether to enable distcc... " >&6; }
7391 # Check whether --enable-distcc was given.
7392 if test "${enable_distcc+set}" = set; then :
7393 enableval
=$enable_distcc; distcc
="$enableval"
7398 if test "$distcc" != "" -a "$distcc" != "no"; then
7399 # AC_CHECK_PROG will print out the result in this case
7400 # Extract the first word of "distcc", so it can be a program name with args.
7401 set dummy distcc
; ac_word
=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if ${ac_cv_path_DISTCC+:} false
; then :
7405 $as_echo_n "(cached) " >&6
7409 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7416 test -z "$as_dir" && as_dir
=.
7417 for ac_exec_ext
in '' $ac_executable_extensions; do
7418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7419 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7431 DISTCC
=$ac_cv_path_DISTCC
7432 if test -n "$DISTCC"; then
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7434 $as_echo "$DISTCC" >&6; }
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437 $as_echo "no" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7447 $as_echo_n "checking whether to enable ccache... " >&6; }
7448 # Check whether --enable-ccache was given.
7449 if test "${enable_ccache+set}" = set; then :
7450 enableval
=$enable_ccache; ccache
="$enableval"
7455 if test "$ccache" != "" -a "$ccache" != "no"; then
7456 # AC_CHECK_PROG will print out the result in this case
7457 # Extract the first word of "ccache", so it can be a program name with args.
7458 set dummy ccache
; ac_word
=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if ${ac_cv_prog_CCACHE+:} false
; then :
7462 $as_echo_n "(cached) " >&6
7464 if test -n "$CCACHE"; then
7465 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7471 test -z "$as_dir" && as_dir
=.
7472 for ac_exec_ext
in '' $ac_executable_extensions; do
7473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7474 ac_cv_prog_CCACHE
="ccache"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 CCACHE
=$ac_cv_prog_CCACHE
7485 if test -n "$CCACHE"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7487 $as_echo "$CCACHE" >&6; }
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496 $as_echo "no" >&6; }
7499 #-----------------------------------------------------------------------------
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7501 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7503 # Check whether --with-kernel-gcc-version was given.
7504 if test "${with_kernel_gcc_version+set}" = set; then :
7505 withval
=$with_kernel_gcc_version; kernel_tool_version
="-$withval"
7507 kernel_tool_version
=""
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7511 $as_echo "$kernel_tool_version" >&6; }
7513 #-----------------------------------------------------------------------------
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7515 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7517 # Check whether --with-gcc-version was given.
7518 if test "${with_gcc_version+set}" = set; then :
7519 withval
=$with_gcc_version; target_tool_version
="$withval"
7521 target_tool_version
="default"
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7525 $as_echo "$target_tool_version" >&6; }
7527 #-----------------------------------------------------------------------------
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7529 $as_echo_n "checking what optimization flags to use... " >&6; }
7531 # Check whether --with-optimization was given.
7532 if test "${with_optimization+set}" = set; then :
7533 withval
=$with_optimization; optimization
="$withval"
7535 optimization
="unknown"
7538 if test "$optimization" = "unknown"; then
7539 if test "$debug" != "none"; then
7545 aros_config_cflags
="$aros_config_cflags $optimization"
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7547 $as_echo "$optimization" >&6; }
7549 #-----------------------------------------------------------------------------
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7551 $as_echo_n "checking what paranoia flags to use... " >&6; }
7553 # Check whether --with-paranoia was given.
7554 if test "${with_paranoia+set}" = set; then :
7555 withval
=$with_paranoia; paranoia_flags
="$withval"
7557 paranoia_flags
="default"
7560 if test "$paranoia_flags" = "default"; then
7562 else if test "$paranoia_flags" = "yes"; then
7563 paranoia_flags
="-Wall -Werror"
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7566 $as_echo "$paranoia_flags" >&6; }
7567 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7569 #-----------------------------------------------------------------------------
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7571 $as_echo_n "checking what target variant to enable... " >&6; }
7572 # Check whether --enable-target_variant was given.
7573 if test "${enable_target_variant+set}" = set; then :
7574 enableval
=$enable_target_variant; target_variant
=$enableval
7579 if test "$target_variant" = ""; then
7580 aros_target_variant
=""
7581 aros_target_suffix
=""
7584 aros_target_variant
="$target_variant"
7585 aros_target_suffix
="-$target_variant"
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7588 $as_echo "$enableval" >&6; }
7590 #-----------------------------------------------------------------------------
7591 # Target-specific defaults. You can override then on a per-target basis.
7593 # Bootloader name. Currently used by PC target.
7594 target_bootloader
="none"
7596 #-----------------------------------------------------------------------------
7597 # Additional options for some specific targets
7599 case "$aros_target_variant" in
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7602 $as_echo_n "checking XCode path... " >&6; }
7604 # Check whether --with-xcode was given.
7605 if test "${with_xcode+set}" = set; then :
7606 withval
=$with_xcode; aros_xcode_path
="$withval"
7608 aros_xcode_path
="/Developer"
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7612 $as_echo "$aros_xcode_path" >&6; }
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7615 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7617 # Check whether --with-sdk-version was given.
7618 if test "${with_sdk_version+set}" = set; then :
7619 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7621 aros_sdk_version
="4.1"
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7625 $as_echo "$aros_sdk_version" >&6; }
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7631 $as_echo_n "checking Android SDK path... " >&6; }
7633 # Check whether --with-sdk was given.
7634 if test "${with_sdk+set}" = set; then :
7635 withval
=$with_sdk; aros_android_sdk
="$withval"
7637 aros_android_sdk
=$default_android_sdk
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7641 $as_echo "$aros_android_sdk" >&6; }
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7644 $as_echo_n "checking Android NDK path... " >&6; }
7646 # Check whether --with-ndk was given.
7647 if test "${with_ndk+set}" = set; then :
7648 withval
=$with_ndk; aros_android_ndk
="$withval"
7650 aros_android_ndk
="none"
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7654 $as_echo "$aros_android_ndk" >&6; }
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7657 $as_echo_n "checking what Android SDK version to use... " >&6; }
7659 # Check whether --with-sdk-version was given.
7660 if test "${with_sdk_version+set}" = set; then :
7661 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7663 aros_sdk_version
="12"
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7667 $as_echo "$aros_sdk_version" >&6; }
7669 if test "$aros_android_ndk" != "none"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7671 $as_echo_n "checking what Android NDK version to use... " >&6; }
7673 # Check whether --with-ndk-version was given.
7674 if test "${with_ndk_version+set}" = set; then :
7675 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7677 aros_ndk_version
="9"
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7681 $as_echo "$aros_ndk_version" >&6; }
7684 export PATH
="$aros_android_sdk/tools:$PATH"
7685 # Extract the first word of "$android_tool", so it can be a program name with args.
7686 set dummy
$android_tool; ac_word
=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688 $as_echo_n "checking for $ac_word... " >&6; }
7689 if ${ac_cv_path_android_tool+:} false
; then :
7690 $as_echo_n "(cached) " >&6
7692 case $android_tool in
7694 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7701 test -z "$as_dir" && as_dir
=.
7702 for ac_exec_ext
in '' $ac_executable_extensions; do
7703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7704 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7715 android_tool
=$ac_cv_path_android_tool
7716 if test -n "$android_tool"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7718 $as_echo "$android_tool" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7725 if test "$android_tool" = ""; then
7726 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7729 aros_android_level
=android-
$aros_sdk_version
7730 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7731 echo "Platform $aros_android_level is not installed in your SDK"
7732 echo "Use --with-sdk-version=<API level number> to select another platform version"
7733 echo "You can check what plaform versions are installed in your SDK"
7734 echo "by examining contents of $aros_android_sdk/platforms directory"
7735 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7738 # Extract the first word of "ant", so it can be a program name with args.
7739 set dummy ant
; ac_word
=$2
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7741 $as_echo_n "checking for $ac_word... " >&6; }
7742 if ${ac_cv_path_ant+:} false
; then :
7743 $as_echo_n "(cached) " >&6
7747 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7754 test -z "$as_dir" && as_dir
=.
7755 for ac_exec_ext
in '' $ac_executable_extensions; do
7756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7757 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7769 if test -n "$ant"; then
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7771 $as_echo "$ant" >&6; }
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7774 $as_echo "no" >&6; }
7778 if test "$ant" = ""; then
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7780 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7783 if test "$host_os" = "mingw32"; then
7784 android_tool
="cmd //c $android_tool"
7790 #-----------------------------------------------------------------------------
7791 # External toolchains
7792 kernel_tool_prefix
="none"
7793 aros_tool_prefix
="none"
7794 elf_tool_prefix
="${target_cpu}-elf-"
7796 # This is the target configuration switch.
7797 case "$target_os" in
7799 aros_target_arch
="linux"
7800 aros_target_family
="unix"
7801 case "$target_cpu" in
7803 aros_target_cpu
="m68k"
7804 aros_object_format
="m68kelf"
7805 aros_flavour
="emulcompat"
7806 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7807 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7808 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7809 gcc_target_cpu
="mc68000"
7812 aros_target_cpu
="i386"
7813 aros_object_format
="elf_i386"
7814 aros_flavour
="emulation"
7815 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7816 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7817 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7818 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7819 aros_config_ldflags
="-m32 -march=i486"
7820 aros_kernel_ldflags
="-melf_i386"
7821 aros_default_wbdepth
=8
7822 gcc_target_cpu
="i386"
7823 pci_hidd_target
="hidd-pci-linux"
7824 android_tool_dir_prefix
="x86"
7825 android_tool_prefix
="i686-android-linux"
7826 android_ndk_arch
="x86"
7829 aros_target_cpu
="x86_64"
7830 aros_object_format
="elf_x86_64"
7831 aros_flavour
="emulation"
7832 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7833 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7834 aros_default_wbdepth
=8
7835 pci_hidd_target
="hidd-pci-linux"
7838 aros_target_cpu
="ppc"
7839 aros_object_format
="elf32ppc"
7840 aros_flavour
="emulation"
7841 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7842 aros_default_wbdepth
=8
7843 gcc_target_cpu
="ppc"
7846 # Same as powerpc, but I need this for the nightly build to work again.
7847 # Actually, the nightly should be made working with powerpc target.
7848 # That just was too much work for the moment, another week or two.
7850 aros_target_cpu
="ppc"
7851 aros_object_format
="elf32ppc"
7852 aros_flavour
="emulation"
7853 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7854 aros_default_wbdepth
=8
7855 gcc_target_cpu
="ppc"
7858 aros_target_cpu
="arm"
7860 aros_object_format
="armelf_linux_eabi"
7861 aros_flavour
="emulation"
7862 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7863 gcc_target_cpu
="arm"
7864 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7865 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7866 aros_arch_libs
="-laeabi"
7867 gcc_default_fpu
="vfpv3-d16"
7868 gcc_default_float_abi
="hard"
7869 android_tool_dir_prefix
="arm-linux-androideabi"
7870 android_tool_prefix
="arm-linux-androideabi"
7871 android_ndk_arch
="arm"
7872 kernel_tool_prefix
="arm-linux-gnueabihf-"
7875 aros_target_cpu
="arm"
7876 aros_object_format
="armelf_linux_eabi"
7877 aros_flavour
="emulation"
7878 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7879 gcc_target_cpu
="arm"
7880 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7881 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7882 aros_arch_libs
="-laeabi"
7883 android_tool_dir_prefix
="arm-linux-androideabi"
7884 android_tool_prefix
="arm-linux-androideabi"
7885 android_ndk_arch
="arm"
7886 kernel_tool_prefix
="arm-linux-gnueabi-"
7889 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7892 case "$aros_target_variant" in
7895 if test "$android_ndk_arch" = ""; then
7896 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7899 aros_default_wbwidth
=320
7900 aros_default_wbheight
=480
7901 if test "$aros_android_ndk" = "none"; then
7902 aros_kernel_cflags
="-mandroid"
7903 aros_kernel_ldflags
="-mandroid"
7906 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7907 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7908 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7909 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7910 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7911 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7914 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7915 # Disable implicit PIC mode
7916 aros_target_cflags
="$aros_target_cflags -fno-pic"
7917 kernel_tool_prefix
="$android_tool_prefix-"
7923 aros_target_arch
="pc"
7924 aros_shared_default
="no"
7925 target_bootloader
="grub2"
7926 case "$target_cpu" in
7928 aros_target_cpu
="i386"
7931 if test "$aros_object_format" = "" ; then
7932 aros_object_format
="elf_i386"
7934 aros_flavour
="standalone"
7935 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7936 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7937 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7938 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7939 aros_config_ldflags
="-m32 -march=i486"
7940 aros_kernel_ldflags
="-melf_i386"
7941 aros_default_wbwidth
=640
7942 aros_default_wbheight
=480
7943 gcc_target_cpu
="i386"
7946 aros_target_cpu
="x86_64"
7948 if test "$aros_object_format" = "" ; then
7949 aros_object_format
="elf_x86_64"
7951 aros_flavour
="standalone"
7952 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7953 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7954 aros_kernel_ldflags
=""
7955 aros_default_wbwidth
=640
7956 aros_default_wbheight
=480
7959 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7965 aros_target_arch
="prep"
7966 aros_shared_default
="no"
7967 aros_target_cpu
="ppc"
7968 aros_object_format
="elf32ppc"
7969 aros_flavour
="ppcnative"
7970 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7971 aros_kernel_ldflags
=""
7972 aros_default_wbwidth
=640
7973 aros_default_wbheight
=480
7974 gcc_target_cpu
="ppc"
7978 aros_target_arch
="freebsd"
7979 aros_target_family
="unix"
7980 aros_target_cpu
="i386"
7981 aros_flavour
="emulation"
7982 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7983 gcc_target_cpu
="i386"
7985 aros_target_strip_flags
="-x"
7989 aros_target_arch
="darwin"
7990 aros_target_family
="unix"
7991 aros_flavour
="emulation"
7992 case "$target_cpu" in
7994 aros_ios_platform
="iPhoneSimulator"
7995 aros_target_cpu
="i386"
7996 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7997 aros_kernel_ldflags
=""
7998 aros_macosx_version
="10.4"
7999 aros_default_wbdepth
=8
8000 gcc_target_cpu
="i386"
8001 aros_object_format
="elf_i386"
8002 aros_kernel_ar_flags
="-cr"
8003 aros_target_strip_flags
="-x"
8004 kernel_tool_flags
="-m32"
8007 aros_target_cpu
="x86_64"
8008 aros_object_format
="elf_x86_64"
8009 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8010 aros_macosx_version
="10.6"
8011 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8012 aros_kernel_cflags
="-m64"
8013 aros_kernel_ldflags
="-m64"
8014 aros_target_cflags
="-mcmodel=large"
8015 aros_default_wbdepth
=8
8017 aros_kernel_ar_flags
="-cr"
8019 aros_kernel_ranlib
="ranlib"
8022 aros_target_cpu
="ppc"
8023 aros_object_format
="elf32ppc"
8024 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8025 aros_kernel_ldflags
=""
8026 aros_macosx_version
="10.0"
8027 aros_default_wbdepth
=8
8028 gcc_target_cpu
="ppc"
8030 aros_kernel_ar_flags
="-cr"
8031 aros_kernel_ld
="ld -arch ppc"
8032 aros_kernel_as
="as -arch ppc"
8033 aros_kernel_ranlib
="ranlib -arch ppc"
8034 aros_kernel_nm
="nm -arch ppc"
8035 aros_kernel_strip
="strip -arch ppc"
8036 kernel_tool_prefix
="powerpc-apple-darwin10-"
8039 aros_ios_platform
="iPhoneOS"
8040 aros_target_cpu
="arm"
8041 aros_object_format
="armelf_linux_eabi"
8042 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8043 aros_arch_libs
="-laeabi"
8044 aros_default_wbdepth
=8
8045 gcc_target_cpu
="arm"
8047 aros_kernel_ar_flags
="-cr"
8048 aros_kernel_ld
="ld -arch arm"
8049 aros_kernel_ranlib
="ranlib -arch arm"
8050 kernel_tool_prefix
="arm-apple-darwin10-"
8051 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8054 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8057 case "$aros_target_variant" in
8059 aros_ios_version
="3.0"
8060 aros_default_wbwidth
=320
8061 aros_default_wbheight
=480
8062 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8063 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8064 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8066 # This is here because it may depend on iOS or SDK version
8067 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8068 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8069 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8072 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8073 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8079 aros_target_arch
="dragonfly"
8080 aros_target_family
="unix"
8081 aros_flavour
="emulation"
8082 case "$target_cpu" in
8084 aros_target_cpu
="i386"
8085 aros_object_format
="elf_i386"
8086 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8089 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8090 aros_target_cpu
="x86_64"
8091 aros_object_format
="elf_x86_64"
8092 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8095 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8101 aros_target_arch
="netbsd"
8102 aros_target_family
="unix"
8103 case "$target_cpu" in
8105 aros_target_cpu
="m68k"
8106 aros_object_format
="m68kelf"
8107 aros_flavour
="emulcompat"
8108 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8109 gcc_target_cpu
="mc68000"
8112 aros_target_cpu
="i386"
8113 aros_object_format
="elf_i386"
8114 aros_flavour
="emulation"
8115 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8116 aros_default_wbdepth
=8
8117 gcc_target_cpu
="i386"
8120 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8123 aros_target_genmap
="-Wl,-M -Xlinker >"
8124 aros_flavour
="emulation"
8125 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8129 aros_target_arch
="openbsd"
8130 aros_target_family
="unix"
8131 case "$target_cpu" in
8133 aros_target_cpu
="i386"
8134 aros_object_format
="elf_i386"
8135 aros_flavour
="emulation"
8136 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8137 gcc_target_cpu
="i386"
8140 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8143 aros_target_genmap
="-Wl,-M -Xlinker >"
8144 aros_target_nm_flags
="-u"
8145 aros_flavour
="emulation"
8149 aros_target_arch
="solaris"
8150 aros_target_family
="unix"
8151 case "$target_cpu" in
8153 aros_target_cpu
="i386"
8154 aros_object_format
="elf_i386"
8155 aros_flavour
="emulation"
8156 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8157 aros_default_wbdepth
=8
8158 gcc_target_cpu
="i386"
8161 aros_target_cpu
="sparc"
8162 aros_object_format
="elf_sparc"
8163 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8164 gcc_target_cpu
="sparc"
8167 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8170 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8171 aros_flavour
="emulation"
8175 aros_target_arch
="morphos"
8176 aros_shared_default
="no"
8177 aros_target_cpu
="ppc"
8178 aros_object_format
="elf_ppc"
8179 aros_flavour
="nativecompat"
8180 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8181 gcc_target_cpu
="ppc"
8185 aros_target_arch
="sam440"
8186 aros_shared_default
="no"
8187 aros_target_cpu
="ppc"
8188 aros_object_format
="elf32ppc"
8189 aros_flavour
="ppcnative"
8190 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8191 aros_kernel_ldflags
=""
8192 aros_default_wbwidth
=1024
8193 aros_default_wbheight
=768
8194 aros_default_wbdepth
=24
8195 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8196 gcc_target_cpu
="powerpc"
8200 aros_target_arch
="efika"
8201 aros_shared_default
="no"
8202 aros_target_cpu
="arm"
8203 aros_object_format
="armelf_linux_eabi"
8204 aros_flavour
="standalone"
8205 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8206 aros_kernel_ldflags
=""
8207 aros_default_wbwidth
=1024
8208 aros_default_wbheight
=600
8209 aros_arch_libs
="-laeabi"
8210 gcc_default_cpu
="armv7-a"
8211 gcc_default_fpu
="vfpv3"
8212 gcc_default_float_abi
="softfp"
8213 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8214 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8218 aros_target_arch
="chrp"
8219 aros_shared_default
="no"
8220 aros_target_cpu
="ppc"
8221 aros_object_format
="elf32ppc"
8222 aros_flavour
="ppcnative"
8223 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8224 aros_kernel_ldflags
=""
8225 aros_default_wbwidth
=640
8226 aros_default_wbheight
=480
8227 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8228 gcc_target_cpu
="powerpc"
8229 case "$aros_target_variant" in
8231 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8237 aros_target_arch
="amiga"
8238 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8239 aros_shared_default
="no"
8241 case "$target_cpu" in
8243 # Check whether --enable-amigaos_compliance was given.
8244 if test "${enable_amigaos_compliance+set}" = set; then :
8245 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8249 aros_target_cpu
="m68k"
8250 aros_object_format
="m68kelf"
8251 aros_flavour
="standcompat"
8252 gcc_target_cpu
="m68000"
8253 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8254 aros_config_aflags
="$aros_config_aflags"
8255 aros_target_strip_flags
="-R.comment --strip-debug"
8256 aros_default_wbwidth
=640
8257 aros_default_wbheight
=256
8258 aros_default_wbdepth
=2
8262 aros_flavour
="native"
8263 gcc_target_cpu
="ppc"
8266 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8272 aros_target_arch
="mingw32"
8273 aros_shared_default
="no"
8274 aros_flavour
="emulation"
8275 aros_shared_cflags
=""
8276 need_crosstools
="yes"
8279 case "$target_cpu" in
8281 aros_target_cpu
="i386"
8282 aros_object_format
="elf_i386"
8283 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8284 aros_default_wbdepth
=8
8285 gcc_target_cpu
="i386"
8287 kernel_tool_prefix
="i386-mingw32-"
8290 aros_target_cpu
="x86_64"
8291 aros_object_format
="elf_x86_64"
8292 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8293 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8294 aros_default_wbdepth
=8
8295 kernel_tool_prefix
="x86_64-w64-mingw32-"
8298 aros_target_cpu
="arm"
8299 aros_object_format
="armelf_linux_eabi"
8300 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8301 aros_arch_libs
="-laeabi"
8302 aros_default_wbdepth
=8
8303 gcc_target_cpu
="arm"
8304 gcc_default_float_abi
="soft"
8305 kernel_tool_prefix
="arm-mingw32ce-"
8306 aros_default_wbwidth
=160
8307 aros_default_wbheight
=160
8310 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8313 if test $host_os = "cygwin"; then
8314 aros_kernel_cflags
="-mno-cygwin"
8318 aros_target_arch
="pp"
8319 aros_shared_default
="no"
8320 case "$target_cpu" in
8322 aros_target_cpu
="m68k"
8323 aros_object_format
="m68kelf"
8324 aros_flavour
="palmnative"
8325 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8326 aros_default_wbwidth
=160
8327 aros_default_wbheight
=160
8328 aros_default_wbdepth
=1
8329 aros_target_ar_flags
="cru"
8330 aros_compiler_libs
="-lgcc1"
8331 aros_shared_default
=no
8332 aros_shared_cflags
="-fpic"
8333 aros_shared_aflags
=""
8334 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8335 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8336 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8337 aros_debug_aflags
=""
8338 aros_debug_ldflags
="$aros_symbols_debug"
8339 aros_mungwall_debug
="0"
8340 aros_modules_debug
="0"
8341 gcc_target_cpu
="mc68000"
8342 ignore_undefined_symbols
="-ius"
8345 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8351 aros_target_arch
="mac"
8352 aros_shared_default
="no"
8353 case "$target_cpu" in
8355 aros_target_cpu
="m68k"
8356 aros_object_format
="m68kelf"
8357 aros_flavour
="mac68knative"
8358 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8359 aros_default_wbwidth
=512
8360 aros_default_wbheight
=384
8361 aros_default_wbdepth
=8
8362 aros_target_ar_flags
="cru"
8363 aros_compiler_libs
="-lgcc1"
8364 aros_shared_default
=no
8365 aros_shared_cflags
="-fpic"
8366 aros_shared_aflags
=""
8367 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8368 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8369 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8370 aros_debug_aflags
=""
8371 aros_debug_ldflags
="$aros_symbols_debug"
8372 aros_mungwall_debug
="0"
8373 aros_modules_debug
="0"
8374 gcc_target_cpu
="mc68000"
8375 ignore_undefined_symbols
="-ius"
8378 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8384 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8388 #-----------------------------------------------------------------------------
8389 crosstools_guess
=yes
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8392 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8394 # Check whether --with-kernel-toolchain-prefix was given.
8395 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8396 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8400 $as_echo "$kernel_tool_prefix" >&6; }
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8403 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8405 # Check whether --with-elf-toolchain-prefix was given.
8406 if test "${with_elf_toolchain_prefix+set}" = set; then :
8407 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8412 $as_echo "$elf_tool_prefix" >&6; }
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8415 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8417 # Check whether --with-aros-toolchain was given.
8418 if test "${with_aros_toolchain+set}" = set; then :
8419 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8423 if test "$aros_tool_prefix" = "yes" ; then
8424 aros_tool_prefix
=$aros_target_cpu-aros-
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8427 $as_echo "$aros_tool_prefix" >&6; }
8429 #-----------------------------------------------------------------------------
8430 # Checking if we should build crosstools..
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8432 $as_echo_n "checking whether to build crosstools... " >&6; }
8433 # Check whether --enable-crosstools was given.
8434 if test "${enable_crosstools+set}" = set; then :
8435 enableval
=$enable_crosstools; crosstools
="$enableval"
8437 crosstools
="$crosstools_guess"
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8441 $as_echo "$crosstools" >&6; }
8443 if test "${crosstools}" = "yes"; then
8444 if test "${crosstools_guess}" = "no"; then
8445 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8450 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8452 # Check whether --with-aros-toolchain-install was given.
8453 if test "${with_aros_toolchain_install+set}" = set; then :
8454 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8457 if test "x$aros_toolchain_install" = "x"; then
8458 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8460 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8461 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8464 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8467 # Now process extra architecture-specific options.
8468 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8469 # as well as floating-point ABI.
8470 case "$aros_target_cpu" in
8472 if test "$gcc_default_cpu" = ""; then
8473 gcc_default_cpu
="armv6"
8475 if test "$gcc_default_fpu" = ""; then
8476 gcc_default_fpu
="vfp"
8478 if test "$gcc_default_float_abi" = ""; then
8479 gcc_default_float_abi
="softfp"
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8483 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8485 # Check whether --with-cpu was given.
8486 if test "${with_cpu+set}" = set; then :
8487 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8489 aros_gcc_cpu
=$gcc_default_cpu
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8493 $as_echo "$aros_gcc_cpu" >&6; }
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8496 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8498 # Check whether --with-fpu was given.
8499 if test "${with_fpu+set}" = set; then :
8500 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8502 aros_gcc_fpu
=$gcc_default_fpu
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8506 $as_echo "$aros_gcc_fpu" >&6; }
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8509 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8511 # Check whether --with-float was given.
8512 if test "${with_float+set}" = set; then :
8513 withval
=$with_float; aros_gcc_float_abi
="$withval"
8515 aros_gcc_float_abi
=$gcc_default_float_abi
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8519 $as_echo "$aros_gcc_float_abi" >&6; }
8521 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"
8522 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"
8526 # Some formats need custom ELF specs.
8527 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8528 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8529 elf_specs_in
=config
/${aros_object_format}-specs.
in
8531 elf_specs_in
=config
/elf-specs.
in
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8535 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8537 # Check whether --with-aros-gcc was given.
8538 if test "${with_aros_gcc+set}" = set; then :
8539 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8545 $as_echo "$aros_gcc_version" >&6; }
8547 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8548 # Since we override specs, we may need to put these defines there
8549 if test "$gcc_target_cpu" != ""; then
8550 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8554 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8556 # Check whether --with-portssources was given.
8557 if test "${with_portssources+set}" = set; then :
8558 withval
=$with_portssources; with_portssrcdir
=$withval
8560 with_portssrcdir
="default"
8563 if test "$with_portssrcdir" = "default"; then
8564 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8566 AROS_PORTSSRCDIR
="$with_portssrcdir"
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8569 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8572 $as_echo_n "checking which bootloader to use... " >&6; }
8574 # Check whether --with-bootloader was given.
8575 if test "${with_bootloader+set}" = set; then :
8576 withval
=$with_bootloader; target_bootloader
=$withval
8578 target_bootloader
=$target_bootloader
8581 if test "$target_bootloader" = "none"; then
8582 aros_target_bootloader
=""
8584 aros_target_bootloader
="$target_bootloader"
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8587 $as_echo "$target_bootloader" >&6; }
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8590 $as_echo_n "checking which icon-set to use... " >&6; }
8592 # Check whether --with-iconset was given.
8593 if test "${with_iconset+set}" = set; then :
8594 withval
=$with_iconset; target_iconset
=$withval
8596 target_iconset
="default"
8599 if test "$target_iconset" = "default"; then
8600 aros_target_iconset
="Gorilla"
8601 target_iconset
="default (Gorilla)"
8603 aros_target_iconset
="$target_iconset"
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8606 $as_echo "$target_iconset" >&6; }
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8609 $as_echo_n "checking which GUI Theme to use... " >&6; }
8611 # Check whether --with-theme was given.
8612 if test "${with_theme+set}" = set; then :
8613 withval
=$with_theme; target_guitheme
=$withval
8615 target_guitheme
="default"
8618 if test "$target_guitheme" = "default"; then
8619 aros_target_guitheme
="Ice"
8621 aros_target_guitheme
="$target_guitheme"
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8624 $as_echo "$aros_target_guitheme" >&6; }
8626 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8630 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8634 if test "$aros_host_cpu" == "x86_64" ; then
8635 if test "$aros_target_cpu" == "i386" ; then
8640 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8641 if test "$aros_host_arch" != "$aros_target_arch" ; then
8645 if test "$host_cc_elf" = "no" ; then
8650 if test "$cross_compiling" = "no" ; then
8651 kernel_tool_prefix
=""
8652 if test "$host_cc_elf" = "yes" ; then
8657 #######################################################################
8658 ## Compute what toolchains to use, and their paths ##
8659 #######################################################################
8661 # This takes, as input:
8662 # crosstools {yes,no}
8663 # kernel_tool_version {"",[version]}
8664 # aros_gcc_version {"",[version]}
8665 # kernel_tool_prefix {none,[some-arch-os-]}
8666 # aros_tool_prefix ${target_cpu}-aros-
8669 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8670 # Where the 'kernel' binaries are located
8671 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8672 # Where the 'target' binaries are located
8673 # (not the symlink farm - that is aros_target_*!)
8676 # if crosstools then
8677 # if kernel_tools_prefix = "no-kernel-prefix-"
8678 # aros_kernel_* = crosstools cc paths
8679 # aros_kernel_cc = elf cc wrapper around crosstools cc
8681 # VALIDATE(${kernel_tools_prefix}*)
8682 # aros_kernel_* = ${kernel_tools_prefix}*
8683 # if ${kernel_tools_prefix}cc is an AROS gcc
8684 # aros_kernel_cc = ${kernel_tools_prefix}cc
8686 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8690 # orig_target_* = aros built crosstools
8691 # orig_target_cc = elf cc wrapper around crosstools cc
8693 # VALIDATE(${kernel_tools_prefix}*)
8695 # orig_target_* = aros_kernel_*
8696 # if aros_kernel_cc is an AROS gcc
8697 # orig_target_cc = aros_kernel_cc
8699 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8703 target_tool_prefix
="${target_cpu}-aros-"
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8706 $as_echo_n "checking which kernel tools... " >&6; }
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8708 $as_echo "$kernel_tool_prefix" >&6; };
8710 if test "$kernel_tool_prefix" = "none" ; then
8711 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8712 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8715 # Kernel tools required - find them
8716 # Note that 'normally', aros_kernel_* overrides will
8717 # empty, unless specified in the per-arch sections above.
8718 if test "x$aros_kernel_cpp" = "x"; then
8719 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8722 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8723 if test "$cross_compiling" = "yes" ; then
8724 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8725 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8727 $as_echo_n "checking for $ac_word... " >&6; }
8728 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8729 $as_echo_n "(cached) " >&6
8731 case $aros_kernel_cpp in
8733 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8740 test -z "$as_dir" && as_dir
=.
8741 for ac_exec_ext
in '' $ac_executable_extensions; do
8742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8743 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8754 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8755 if test -n "$aros_kernel_cpp"; then
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8757 $as_echo "$aros_kernel_cpp" >&6; }
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8760 $as_echo "no" >&6; }
8765 if test "$GCC" = "yes"; then
8766 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8767 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8768 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8770 $as_echo_n "checking for $ac_word... " >&6; }
8771 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8772 $as_echo_n "(cached) " >&6
8774 case $aros_kernel_cpp in
8776 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8780 for as_dir
in `dirname $aros_gcc_cpp`
8783 test -z "$as_dir" && as_dir
=.
8784 for ac_exec_ext
in '' $ac_executable_extensions; do
8785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8786 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8797 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8798 if test -n "$aros_kernel_cpp"; then
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8800 $as_echo "$aros_kernel_cpp" >&6; }
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8803 $as_echo "no" >&6; }
8808 if test "$aros_kernel_cpp" = ""; then
8809 # Extract the first word of "cpp", so it can be a program name with args.
8810 set dummy cpp
; ac_word
=$2
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8812 $as_echo_n "checking for $ac_word... " >&6; }
8813 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8814 $as_echo_n "(cached) " >&6
8816 case $aros_kernel_cpp in
8818 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8825 test -z "$as_dir" && as_dir
=.
8826 for ac_exec_ext
in '' $ac_executable_extensions; do
8827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8828 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8839 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8840 if test -n "$aros_kernel_cpp"; then
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8842 $as_echo "$aros_kernel_cpp" >&6; }
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8845 $as_echo "no" >&6; }
8852 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8853 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8855 $as_echo_n "checking for $ac_word... " >&6; }
8856 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8857 $as_echo_n "(cached) " >&6
8859 case $aros_kernel_cpp in
8861 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8868 test -z "$as_dir" && as_dir
=.
8869 for ac_exec_ext
in '' $ac_executable_extensions; do
8870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8871 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8882 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8883 if test -n "$aros_kernel_cpp"; then
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8885 $as_echo "$aros_kernel_cpp" >&6; }
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8888 $as_echo "no" >&6; }
8894 if test "$aros_kernel_cpp" = ""; then
8895 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8897 if test "x$aros_kernel_cc" = "x"; then
8898 aros_kernel_cc
=${kernel_tool_prefix}gcc
8901 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8902 if test "$cross_compiling" = "yes" ; then
8903 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8904 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8906 $as_echo_n "checking for $ac_word... " >&6; }
8907 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8908 $as_echo_n "(cached) " >&6
8910 case $aros_kernel_cc in
8912 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8919 test -z "$as_dir" && as_dir
=.
8920 for ac_exec_ext
in '' $ac_executable_extensions; do
8921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8922 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8933 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8934 if test -n "$aros_kernel_cc"; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8936 $as_echo "$aros_kernel_cc" >&6; }
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8939 $as_echo "no" >&6; }
8944 if test "$GCC" = "yes"; then
8945 aros_gcc_cc
=`$CC -print-prog-name=cc`
8946 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8947 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8949 $as_echo_n "checking for $ac_word... " >&6; }
8950 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8951 $as_echo_n "(cached) " >&6
8953 case $aros_kernel_cc in
8955 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8959 for as_dir
in `dirname $aros_gcc_cc`
8962 test -z "$as_dir" && as_dir
=.
8963 for ac_exec_ext
in '' $ac_executable_extensions; do
8964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8965 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8976 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8977 if test -n "$aros_kernel_cc"; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8979 $as_echo "$aros_kernel_cc" >&6; }
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8982 $as_echo "no" >&6; }
8987 if test "$aros_kernel_cc" = ""; then
8988 # Extract the first word of "cc", so it can be a program name with args.
8989 set dummy cc
; ac_word
=$2
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8991 $as_echo_n "checking for $ac_word... " >&6; }
8992 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8993 $as_echo_n "(cached) " >&6
8995 case $aros_kernel_cc in
8997 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9004 test -z "$as_dir" && as_dir
=.
9005 for ac_exec_ext
in '' $ac_executable_extensions; do
9006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9007 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9018 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9019 if test -n "$aros_kernel_cc"; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9021 $as_echo "$aros_kernel_cc" >&6; }
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9024 $as_echo "no" >&6; }
9031 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9032 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9034 $as_echo_n "checking for $ac_word... " >&6; }
9035 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9036 $as_echo_n "(cached) " >&6
9038 case $aros_kernel_cc in
9040 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9047 test -z "$as_dir" && as_dir
=.
9048 for ac_exec_ext
in '' $ac_executable_extensions; do
9049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9050 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9061 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9062 if test -n "$aros_kernel_cc"; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9064 $as_echo "$aros_kernel_cc" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9067 $as_echo "no" >&6; }
9073 if test "$aros_kernel_cc" = ""; then
9074 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9076 if test "x$aros_kernel_cxx" = "x"; then
9077 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9080 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9081 if test "$cross_compiling" = "yes" ; then
9082 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9083 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9085 $as_echo_n "checking for $ac_word... " >&6; }
9086 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9087 $as_echo_n "(cached) " >&6
9089 case $aros_kernel_cxx in
9091 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9098 test -z "$as_dir" && as_dir
=.
9099 for ac_exec_ext
in '' $ac_executable_extensions; do
9100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9101 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9112 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9113 if test -n "$aros_kernel_cxx"; then
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9115 $as_echo "$aros_kernel_cxx" >&6; }
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9118 $as_echo "no" >&6; }
9123 if test "$GCC" = "yes"; then
9124 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9125 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9126 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9128 $as_echo_n "checking for $ac_word... " >&6; }
9129 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9130 $as_echo_n "(cached) " >&6
9132 case $aros_kernel_cxx in
9134 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9138 for as_dir
in `dirname $aros_gcc_cxx`
9141 test -z "$as_dir" && as_dir
=.
9142 for ac_exec_ext
in '' $ac_executable_extensions; do
9143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9144 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9155 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9156 if test -n "$aros_kernel_cxx"; then
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9158 $as_echo "$aros_kernel_cxx" >&6; }
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9161 $as_echo "no" >&6; }
9166 if test "$aros_kernel_cxx" = ""; then
9167 # Extract the first word of "cxx", so it can be a program name with args.
9168 set dummy cxx
; ac_word
=$2
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9170 $as_echo_n "checking for $ac_word... " >&6; }
9171 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9172 $as_echo_n "(cached) " >&6
9174 case $aros_kernel_cxx in
9176 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9183 test -z "$as_dir" && as_dir
=.
9184 for ac_exec_ext
in '' $ac_executable_extensions; do
9185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9186 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9197 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9198 if test -n "$aros_kernel_cxx"; then
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9200 $as_echo "$aros_kernel_cxx" >&6; }
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9203 $as_echo "no" >&6; }
9210 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9211 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9213 $as_echo_n "checking for $ac_word... " >&6; }
9214 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9215 $as_echo_n "(cached) " >&6
9217 case $aros_kernel_cxx in
9219 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9226 test -z "$as_dir" && as_dir
=.
9227 for ac_exec_ext
in '' $ac_executable_extensions; do
9228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9229 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9240 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9241 if test -n "$aros_kernel_cxx"; then
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9243 $as_echo "$aros_kernel_cxx" >&6; }
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9246 $as_echo "no" >&6; }
9252 # If it's set, make sure it's really there
9253 if test "x$aros_kernel_cxx" != "x" ; then
9254 if test "$aros_kernel_cxx" = ""; then
9255 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9259 if test "$aros_kernel_ld" = ""; then
9260 if test "$cross_compiling" = "yes" ; then
9261 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9262 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9264 $as_echo_n "checking for $ac_word... " >&6; }
9265 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9266 $as_echo_n "(cached) " >&6
9268 case $aros_kernel_ld in
9270 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9277 test -z "$as_dir" && as_dir
=.
9278 for ac_exec_ext
in '' $ac_executable_extensions; do
9279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9280 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9291 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9292 if test -n "$aros_kernel_ld"; then
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9294 $as_echo "$aros_kernel_ld" >&6; }
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9297 $as_echo "no" >&6; }
9302 if test "$GCC" = "yes"; then
9303 aros_gcc_ld
=`$CC -print-prog-name=ld`
9304 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9305 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9307 $as_echo_n "checking for $ac_word... " >&6; }
9308 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9309 $as_echo_n "(cached) " >&6
9311 case $aros_kernel_ld in
9313 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9317 for as_dir
in `dirname $aros_gcc_ld`
9320 test -z "$as_dir" && as_dir
=.
9321 for ac_exec_ext
in '' $ac_executable_extensions; do
9322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9323 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9334 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9335 if test -n "$aros_kernel_ld"; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9337 $as_echo "$aros_kernel_ld" >&6; }
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9340 $as_echo "no" >&6; }
9345 if test "$aros_kernel_ld" = ""; then
9346 # Extract the first word of "ld", so it can be a program name with args.
9347 set dummy ld
; ac_word
=$2
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9349 $as_echo_n "checking for $ac_word... " >&6; }
9350 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9351 $as_echo_n "(cached) " >&6
9353 case $aros_kernel_ld in
9355 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9362 test -z "$as_dir" && as_dir
=.
9363 for ac_exec_ext
in '' $ac_executable_extensions; do
9364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9365 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9376 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9377 if test -n "$aros_kernel_ld"; then
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9379 $as_echo "$aros_kernel_ld" >&6; }
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9382 $as_echo "no" >&6; }
9389 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9390 set dummy
$aros_kernel_ld; ac_word
=$2
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9392 $as_echo_n "checking for $ac_word... " >&6; }
9393 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9394 $as_echo_n "(cached) " >&6
9396 case $aros_kernel_ld in
9398 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9405 test -z "$as_dir" && as_dir
=.
9406 for ac_exec_ext
in '' $ac_executable_extensions; do
9407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9408 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9419 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9420 if test -n "$aros_kernel_ld"; then
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9422 $as_echo "$aros_kernel_ld" >&6; }
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9425 $as_echo "no" >&6; }
9431 if test "$aros_kernel_ld" = ""; then
9432 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9435 if test "$aros_kernel_as" = ""; then
9436 if test "$cross_compiling" = "yes" ; then
9437 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9438 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9440 $as_echo_n "checking for $ac_word... " >&6; }
9441 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9442 $as_echo_n "(cached) " >&6
9444 case $aros_kernel_as in
9446 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9453 test -z "$as_dir" && as_dir
=.
9454 for ac_exec_ext
in '' $ac_executable_extensions; do
9455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9456 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9467 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9468 if test -n "$aros_kernel_as"; then
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9470 $as_echo "$aros_kernel_as" >&6; }
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9473 $as_echo "no" >&6; }
9478 if test "$GCC" = "yes"; then
9479 aros_gcc_as
=`$CC -print-prog-name=as`
9480 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9481 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9483 $as_echo_n "checking for $ac_word... " >&6; }
9484 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9485 $as_echo_n "(cached) " >&6
9487 case $aros_kernel_as in
9489 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9493 for as_dir
in `dirname $aros_gcc_as`
9496 test -z "$as_dir" && as_dir
=.
9497 for ac_exec_ext
in '' $ac_executable_extensions; do
9498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9499 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9510 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9511 if test -n "$aros_kernel_as"; then
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9513 $as_echo "$aros_kernel_as" >&6; }
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9516 $as_echo "no" >&6; }
9521 if test "$aros_kernel_as" = ""; then
9522 # Extract the first word of "as", so it can be a program name with args.
9523 set dummy as
; ac_word
=$2
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9525 $as_echo_n "checking for $ac_word... " >&6; }
9526 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9527 $as_echo_n "(cached) " >&6
9529 case $aros_kernel_as in
9531 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9538 test -z "$as_dir" && as_dir
=.
9539 for ac_exec_ext
in '' $ac_executable_extensions; do
9540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9541 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9552 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9553 if test -n "$aros_kernel_as"; then
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9555 $as_echo "$aros_kernel_as" >&6; }
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9558 $as_echo "no" >&6; }
9565 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9566 set dummy
$aros_kernel_as; ac_word
=$2
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9568 $as_echo_n "checking for $ac_word... " >&6; }
9569 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9570 $as_echo_n "(cached) " >&6
9572 case $aros_kernel_as in
9574 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9581 test -z "$as_dir" && as_dir
=.
9582 for ac_exec_ext
in '' $ac_executable_extensions; do
9583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9584 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9595 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9596 if test -n "$aros_kernel_as"; then
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9598 $as_echo "$aros_kernel_as" >&6; }
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9601 $as_echo "no" >&6; }
9607 if test "$aros_kernel_as" = ""; then
9608 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9611 if test "$aros_kernel_ar" = ""; then
9612 if test "$cross_compiling" = "yes" ; then
9613 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9614 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9616 $as_echo_n "checking for $ac_word... " >&6; }
9617 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9618 $as_echo_n "(cached) " >&6
9620 case $aros_kernel_ar in
9622 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9629 test -z "$as_dir" && as_dir
=.
9630 for ac_exec_ext
in '' $ac_executable_extensions; do
9631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9632 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9643 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9644 if test -n "$aros_kernel_ar"; then
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9646 $as_echo "$aros_kernel_ar" >&6; }
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9649 $as_echo "no" >&6; }
9654 if test "$GCC" = "yes"; then
9655 aros_gcc_ar
=`$CC -print-prog-name=ar`
9656 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9657 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9659 $as_echo_n "checking for $ac_word... " >&6; }
9660 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9661 $as_echo_n "(cached) " >&6
9663 case $aros_kernel_ar in
9665 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9669 for as_dir
in `dirname $aros_gcc_ar`
9672 test -z "$as_dir" && as_dir
=.
9673 for ac_exec_ext
in '' $ac_executable_extensions; do
9674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9675 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9686 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9687 if test -n "$aros_kernel_ar"; then
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9689 $as_echo "$aros_kernel_ar" >&6; }
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9692 $as_echo "no" >&6; }
9697 if test "$aros_kernel_ar" = ""; then
9698 # Extract the first word of "ar", so it can be a program name with args.
9699 set dummy
ar; ac_word
=$2
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9701 $as_echo_n "checking for $ac_word... " >&6; }
9702 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9703 $as_echo_n "(cached) " >&6
9705 case $aros_kernel_ar in
9707 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9714 test -z "$as_dir" && as_dir
=.
9715 for ac_exec_ext
in '' $ac_executable_extensions; do
9716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9717 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9728 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9729 if test -n "$aros_kernel_ar"; then
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9731 $as_echo "$aros_kernel_ar" >&6; }
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9734 $as_echo "no" >&6; }
9741 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9742 set dummy
$aros_kernel_ar; ac_word
=$2
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9744 $as_echo_n "checking for $ac_word... " >&6; }
9745 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9746 $as_echo_n "(cached) " >&6
9748 case $aros_kernel_ar in
9750 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9757 test -z "$as_dir" && as_dir
=.
9758 for ac_exec_ext
in '' $ac_executable_extensions; do
9759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9760 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9771 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9772 if test -n "$aros_kernel_ar"; then
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9774 $as_echo "$aros_kernel_ar" >&6; }
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9777 $as_echo "no" >&6; }
9783 if test "$aros_kernel_ar" = ""; then
9784 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9787 if test "$aros_kernel_ranlib" = ""; then
9788 if test "$cross_compiling" = "yes" ; then
9789 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9790 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9792 $as_echo_n "checking for $ac_word... " >&6; }
9793 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9794 $as_echo_n "(cached) " >&6
9796 case $aros_kernel_ranlib in
9798 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9805 test -z "$as_dir" && as_dir
=.
9806 for ac_exec_ext
in '' $ac_executable_extensions; do
9807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9808 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9819 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9820 if test -n "$aros_kernel_ranlib"; then
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9822 $as_echo "$aros_kernel_ranlib" >&6; }
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9825 $as_echo "no" >&6; }
9830 if test "$GCC" = "yes"; then
9831 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9832 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9833 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9835 $as_echo_n "checking for $ac_word... " >&6; }
9836 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9837 $as_echo_n "(cached) " >&6
9839 case $aros_kernel_ranlib in
9841 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9845 for as_dir
in `dirname $aros_gcc_ranlib`
9848 test -z "$as_dir" && as_dir
=.
9849 for ac_exec_ext
in '' $ac_executable_extensions; do
9850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9851 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9862 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9863 if test -n "$aros_kernel_ranlib"; then
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9865 $as_echo "$aros_kernel_ranlib" >&6; }
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9868 $as_echo "no" >&6; }
9873 if test "$aros_kernel_ranlib" = ""; then
9874 # Extract the first word of "ranlib", so it can be a program name with args.
9875 set dummy ranlib
; ac_word
=$2
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9877 $as_echo_n "checking for $ac_word... " >&6; }
9878 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9879 $as_echo_n "(cached) " >&6
9881 case $aros_kernel_ranlib in
9883 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9890 test -z "$as_dir" && as_dir
=.
9891 for ac_exec_ext
in '' $ac_executable_extensions; do
9892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9893 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9904 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9905 if test -n "$aros_kernel_ranlib"; then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9907 $as_echo "$aros_kernel_ranlib" >&6; }
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9910 $as_echo "no" >&6; }
9917 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9918 set dummy
$aros_kernel_ranlib; ac_word
=$2
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9920 $as_echo_n "checking for $ac_word... " >&6; }
9921 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9922 $as_echo_n "(cached) " >&6
9924 case $aros_kernel_ranlib in
9926 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9933 test -z "$as_dir" && as_dir
=.
9934 for ac_exec_ext
in '' $ac_executable_extensions; do
9935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9936 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9947 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9948 if test -n "$aros_kernel_ranlib"; then
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9950 $as_echo "$aros_kernel_ranlib" >&6; }
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9953 $as_echo "no" >&6; }
9959 if test "$aros_kernel_ranlib" = ""; then
9960 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9963 if test "$aros_kernel_nm" = ""; then
9964 if test "$cross_compiling" = "yes" ; then
9965 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9966 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9968 $as_echo_n "checking for $ac_word... " >&6; }
9969 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9970 $as_echo_n "(cached) " >&6
9972 case $aros_kernel_nm in
9974 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9981 test -z "$as_dir" && as_dir
=.
9982 for ac_exec_ext
in '' $ac_executable_extensions; do
9983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9984 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9995 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9996 if test -n "$aros_kernel_nm"; then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9998 $as_echo "$aros_kernel_nm" >&6; }
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10001 $as_echo "no" >&6; }
10006 if test "$GCC" = "yes"; then
10007 aros_gcc_nm
=`$CC -print-prog-name=nm`
10008 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10009 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10011 $as_echo_n "checking for $ac_word... " >&6; }
10012 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10013 $as_echo_n "(cached) " >&6
10015 case $aros_kernel_nm in
10017 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10021 for as_dir
in `dirname $aros_gcc_nm`
10024 test -z "$as_dir" && as_dir
=.
10025 for ac_exec_ext
in '' $ac_executable_extensions; do
10026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10027 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10038 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10039 if test -n "$aros_kernel_nm"; then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10041 $as_echo "$aros_kernel_nm" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10044 $as_echo "no" >&6; }
10049 if test "$aros_kernel_nm" = ""; then
10050 # Extract the first word of "nm", so it can be a program name with args.
10051 set dummy nm
; ac_word
=$2
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10053 $as_echo_n "checking for $ac_word... " >&6; }
10054 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10055 $as_echo_n "(cached) " >&6
10057 case $aros_kernel_nm in
10059 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10063 for as_dir
in $PATH
10066 test -z "$as_dir" && as_dir
=.
10067 for ac_exec_ext
in '' $ac_executable_extensions; do
10068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10069 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10080 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10081 if test -n "$aros_kernel_nm"; then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10083 $as_echo "$aros_kernel_nm" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10086 $as_echo "no" >&6; }
10093 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10094 set dummy
$aros_kernel_nm; ac_word
=$2
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10096 $as_echo_n "checking for $ac_word... " >&6; }
10097 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10098 $as_echo_n "(cached) " >&6
10100 case $aros_kernel_nm in
10102 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10106 for as_dir
in $PATH
10109 test -z "$as_dir" && as_dir
=.
10110 for ac_exec_ext
in '' $ac_executable_extensions; do
10111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10112 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10123 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10124 if test -n "$aros_kernel_nm"; then
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10126 $as_echo "$aros_kernel_nm" >&6; }
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10129 $as_echo "no" >&6; }
10135 if test "$aros_kernel_nm" = ""; then
10136 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10139 if test "$aros_kernel_strip" = ""; then
10140 if test "$cross_compiling" = "yes" ; then
10141 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10142 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10144 $as_echo_n "checking for $ac_word... " >&6; }
10145 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10146 $as_echo_n "(cached) " >&6
10148 case $aros_kernel_strip in
10150 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10154 for as_dir
in $PATH
10157 test -z "$as_dir" && as_dir
=.
10158 for ac_exec_ext
in '' $ac_executable_extensions; do
10159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10160 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10171 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10172 if test -n "$aros_kernel_strip"; then
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10174 $as_echo "$aros_kernel_strip" >&6; }
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10177 $as_echo "no" >&6; }
10182 if test "$GCC" = "yes"; then
10183 aros_gcc_strip
=`$CC -print-prog-name=strip`
10184 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10185 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10187 $as_echo_n "checking for $ac_word... " >&6; }
10188 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10189 $as_echo_n "(cached) " >&6
10191 case $aros_kernel_strip in
10193 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10197 for as_dir
in `dirname $aros_gcc_strip`
10200 test -z "$as_dir" && as_dir
=.
10201 for ac_exec_ext
in '' $ac_executable_extensions; do
10202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10203 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10214 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10215 if test -n "$aros_kernel_strip"; then
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10217 $as_echo "$aros_kernel_strip" >&6; }
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10220 $as_echo "no" >&6; }
10225 if test "$aros_kernel_strip" = ""; then
10226 # Extract the first word of "strip", so it can be a program name with args.
10227 set dummy strip
; ac_word
=$2
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10229 $as_echo_n "checking for $ac_word... " >&6; }
10230 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10231 $as_echo_n "(cached) " >&6
10233 case $aros_kernel_strip in
10235 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10239 for as_dir
in $PATH
10242 test -z "$as_dir" && as_dir
=.
10243 for ac_exec_ext
in '' $ac_executable_extensions; do
10244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10245 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10256 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10257 if test -n "$aros_kernel_strip"; then
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10259 $as_echo "$aros_kernel_strip" >&6; }
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10262 $as_echo "no" >&6; }
10269 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10270 set dummy
$aros_kernel_strip; ac_word
=$2
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10272 $as_echo_n "checking for $ac_word... " >&6; }
10273 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10274 $as_echo_n "(cached) " >&6
10276 case $aros_kernel_strip in
10278 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10282 for as_dir
in $PATH
10285 test -z "$as_dir" && as_dir
=.
10286 for ac_exec_ext
in '' $ac_executable_extensions; do
10287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10288 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10299 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10300 if test -n "$aros_kernel_strip"; then
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10302 $as_echo "$aros_kernel_strip" >&6; }
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10305 $as_echo "no" >&6; }
10311 if test "$aros_kernel_strip" = ""; then
10312 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10315 # Objcopy and objdump are not required for the kernel
10316 # toolchain on many architectures.
10317 # So we'll look for them, but not make them strictly required.
10319 if test "$aros_kernel_objcopy" = ""; then
10320 if test "$cross_compiling" = "yes" ; then
10321 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10322 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10324 $as_echo_n "checking for $ac_word... " >&6; }
10325 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10326 $as_echo_n "(cached) " >&6
10328 case $aros_kernel_objcopy in
10330 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10334 for as_dir
in $PATH
10337 test -z "$as_dir" && as_dir
=.
10338 for ac_exec_ext
in '' $ac_executable_extensions; do
10339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10340 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10351 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10352 if test -n "$aros_kernel_objcopy"; then
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10354 $as_echo "$aros_kernel_objcopy" >&6; }
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10357 $as_echo "no" >&6; }
10362 if test "$GCC" = "yes"; then
10363 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10364 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10365 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10367 $as_echo_n "checking for $ac_word... " >&6; }
10368 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10369 $as_echo_n "(cached) " >&6
10371 case $aros_kernel_objcopy in
10373 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10377 for as_dir
in `dirname $aros_gcc_objcopy`
10380 test -z "$as_dir" && as_dir
=.
10381 for ac_exec_ext
in '' $ac_executable_extensions; do
10382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10383 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10394 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10395 if test -n "$aros_kernel_objcopy"; then
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10397 $as_echo "$aros_kernel_objcopy" >&6; }
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10400 $as_echo "no" >&6; }
10405 if test "$aros_kernel_objcopy" = ""; then
10406 # Extract the first word of "objcopy", so it can be a program name with args.
10407 set dummy objcopy
; ac_word
=$2
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10409 $as_echo_n "checking for $ac_word... " >&6; }
10410 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10411 $as_echo_n "(cached) " >&6
10413 case $aros_kernel_objcopy in
10415 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10419 for as_dir
in $PATH
10422 test -z "$as_dir" && as_dir
=.
10423 for ac_exec_ext
in '' $ac_executable_extensions; do
10424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10425 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10436 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10437 if test -n "$aros_kernel_objcopy"; then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10439 $as_echo "$aros_kernel_objcopy" >&6; }
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10442 $as_echo "no" >&6; }
10449 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10450 set dummy
$aros_kernel_objcopy; ac_word
=$2
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10452 $as_echo_n "checking for $ac_word... " >&6; }
10453 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10454 $as_echo_n "(cached) " >&6
10456 case $aros_kernel_objcopy in
10458 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10462 for as_dir
in $PATH
10465 test -z "$as_dir" && as_dir
=.
10466 for ac_exec_ext
in '' $ac_executable_extensions; do
10467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10468 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10479 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10480 if test -n "$aros_kernel_objcopy"; then
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10482 $as_echo "$aros_kernel_objcopy" >&6; }
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10485 $as_echo "no" >&6; }
10492 if test "$aros_kernel_objdump" = ""; then
10493 if test "$cross_compiling" = "yes" ; then
10494 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10495 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10497 $as_echo_n "checking for $ac_word... " >&6; }
10498 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10499 $as_echo_n "(cached) " >&6
10501 case $aros_kernel_objdump in
10503 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10507 for as_dir
in $PATH
10510 test -z "$as_dir" && as_dir
=.
10511 for ac_exec_ext
in '' $ac_executable_extensions; do
10512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10513 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10524 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10525 if test -n "$aros_kernel_objdump"; then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10527 $as_echo "$aros_kernel_objdump" >&6; }
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10530 $as_echo "no" >&6; }
10535 if test "$GCC" = "yes"; then
10536 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10537 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10538 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10540 $as_echo_n "checking for $ac_word... " >&6; }
10541 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10542 $as_echo_n "(cached) " >&6
10544 case $aros_kernel_objdump in
10546 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10550 for as_dir
in `dirname $aros_gcc_objdump`
10553 test -z "$as_dir" && as_dir
=.
10554 for ac_exec_ext
in '' $ac_executable_extensions; do
10555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10556 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10567 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10568 if test -n "$aros_kernel_objdump"; then
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10570 $as_echo "$aros_kernel_objdump" >&6; }
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10573 $as_echo "no" >&6; }
10578 if test "$aros_kernel_objdump" = ""; then
10579 # Extract the first word of "objdump", so it can be a program name with args.
10580 set dummy objdump
; ac_word
=$2
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10582 $as_echo_n "checking for $ac_word... " >&6; }
10583 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10584 $as_echo_n "(cached) " >&6
10586 case $aros_kernel_objdump in
10588 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10592 for as_dir
in $PATH
10595 test -z "$as_dir" && as_dir
=.
10596 for ac_exec_ext
in '' $ac_executable_extensions; do
10597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10598 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10609 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10610 if test -n "$aros_kernel_objdump"; then
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10612 $as_echo "$aros_kernel_objdump" >&6; }
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10615 $as_echo "no" >&6; }
10622 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10623 set dummy
$aros_kernel_objdump; ac_word
=$2
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10625 $as_echo_n "checking for $ac_word... " >&6; }
10626 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10627 $as_echo_n "(cached) " >&6
10629 case $aros_kernel_objdump in
10631 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10635 for as_dir
in $PATH
10638 test -z "$as_dir" && as_dir
=.
10639 for ac_exec_ext
in '' $ac_executable_extensions; do
10640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10641 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10652 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10653 if test -n "$aros_kernel_objdump"; then
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10655 $as_echo "$aros_kernel_objdump" >&6; }
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10658 $as_echo "no" >&6; }
10664 if test "x${crosstools}" != "xyes" ; then
10665 if test "$aros_kernel_objcopy" = ""; then
10666 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10668 if test "$aros_kernel_objdump" = ""; then
10669 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10675 $as_echo_n "checking which target tools to use... " >&6; }
10676 if test "$crosstools" = "yes"; then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10678 $as_echo "$target_tool_prefix" >&6; }
10679 # We are are building AROS crosstools
10680 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10681 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10682 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10683 orig_target_cpp
="${tmp_tool_prefix}cpp"
10684 orig_target_ld
="${tmp_tool_prefix}ld"
10685 orig_target_as
="${tmp_tool_prefix}as"
10686 orig_target_ar
="${tmp_tool_prefix}ar"
10687 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10688 orig_target_nm
="${tmp_tool_prefix}nm"
10689 orig_target_strip
="${tmp_tool_prefix}strip"
10690 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10691 orig_target_objdump
="${tmp_tool_prefix}objdump"
10693 # Determine whether AROS or ELF tools should be used
10694 if test "$aros_tool_prefix" = "none"; then
10695 aros_tool_prefix
="${elf_tool_prefix}"
10696 crosstools_cxx_target
=tools-crosstools
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10700 $as_echo "$aros_tool_prefix" >&6; }
10701 # We are *not* building AROS crosstools - use the AROS or ELF tools
10703 if test "${aros_tool_prefix}cpp" = ""; then
10704 if test "$cross_compiling" = "yes" ; then
10705 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10706 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10708 $as_echo_n "checking for $ac_word... " >&6; }
10709 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10710 $as_echo_n "(cached) " >&6
10712 case $orig_target_cpp in
10714 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10718 for as_dir
in $PATH
10721 test -z "$as_dir" && as_dir
=.
10722 for ac_exec_ext
in '' $ac_executable_extensions; do
10723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10724 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10735 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10736 if test -n "$orig_target_cpp"; then
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10738 $as_echo "$orig_target_cpp" >&6; }
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10741 $as_echo "no" >&6; }
10746 if test "$GCC" = "yes"; then
10747 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10748 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10749 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10751 $as_echo_n "checking for $ac_word... " >&6; }
10752 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10753 $as_echo_n "(cached) " >&6
10755 case $orig_target_cpp in
10757 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10761 for as_dir
in `dirname $aros_gcc_cpp`
10764 test -z "$as_dir" && as_dir
=.
10765 for ac_exec_ext
in '' $ac_executable_extensions; do
10766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10767 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10778 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10779 if test -n "$orig_target_cpp"; then
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10781 $as_echo "$orig_target_cpp" >&6; }
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10784 $as_echo "no" >&6; }
10789 if test "$orig_target_cpp" = ""; then
10790 # Extract the first word of "cpp", so it can be a program name with args.
10791 set dummy cpp
; ac_word
=$2
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10793 $as_echo_n "checking for $ac_word... " >&6; }
10794 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10795 $as_echo_n "(cached) " >&6
10797 case $orig_target_cpp in
10799 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10803 for as_dir
in $PATH
10806 test -z "$as_dir" && as_dir
=.
10807 for ac_exec_ext
in '' $ac_executable_extensions; do
10808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10809 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10820 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10821 if test -n "$orig_target_cpp"; then
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10823 $as_echo "$orig_target_cpp" >&6; }
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10826 $as_echo "no" >&6; }
10833 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10834 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10836 $as_echo_n "checking for $ac_word... " >&6; }
10837 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10838 $as_echo_n "(cached) " >&6
10840 case $orig_target_cpp in
10842 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10846 for as_dir
in $PATH
10849 test -z "$as_dir" && as_dir
=.
10850 for ac_exec_ext
in '' $ac_executable_extensions; do
10851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10852 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10863 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10864 if test -n "$orig_target_cpp"; then
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10866 $as_echo "$orig_target_cpp" >&6; }
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10869 $as_echo "no" >&6; }
10875 if test "$orig_target_cpp" = ""; then
10876 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10879 if test "${aros_tool_prefix}gcc" = ""; then
10880 if test "$cross_compiling" = "yes" ; then
10881 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10882 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10884 $as_echo_n "checking for $ac_word... " >&6; }
10885 if ${ac_cv_path_orig_target_cc+:} false
; then :
10886 $as_echo_n "(cached) " >&6
10888 case $orig_target_cc in
10890 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10894 for as_dir
in $PATH
10897 test -z "$as_dir" && as_dir
=.
10898 for ac_exec_ext
in '' $ac_executable_extensions; do
10899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10900 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10911 orig_target_cc
=$ac_cv_path_orig_target_cc
10912 if test -n "$orig_target_cc"; then
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10914 $as_echo "$orig_target_cc" >&6; }
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10917 $as_echo "no" >&6; }
10922 if test "$GCC" = "yes"; then
10923 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10924 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10925 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10927 $as_echo_n "checking for $ac_word... " >&6; }
10928 if ${ac_cv_path_orig_target_cc+:} false
; then :
10929 $as_echo_n "(cached) " >&6
10931 case $orig_target_cc in
10933 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10937 for as_dir
in `dirname $aros_gcc_gcc`
10940 test -z "$as_dir" && as_dir
=.
10941 for ac_exec_ext
in '' $ac_executable_extensions; do
10942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10943 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10954 orig_target_cc
=$ac_cv_path_orig_target_cc
10955 if test -n "$orig_target_cc"; then
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10957 $as_echo "$orig_target_cc" >&6; }
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10960 $as_echo "no" >&6; }
10965 if test "$orig_target_cc" = ""; then
10966 # Extract the first word of "gcc", so it can be a program name with args.
10967 set dummy gcc
; ac_word
=$2
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10969 $as_echo_n "checking for $ac_word... " >&6; }
10970 if ${ac_cv_path_orig_target_cc+:} false
; then :
10971 $as_echo_n "(cached) " >&6
10973 case $orig_target_cc in
10975 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10979 for as_dir
in $PATH
10982 test -z "$as_dir" && as_dir
=.
10983 for ac_exec_ext
in '' $ac_executable_extensions; do
10984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10985 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10996 orig_target_cc
=$ac_cv_path_orig_target_cc
10997 if test -n "$orig_target_cc"; then
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10999 $as_echo "$orig_target_cc" >&6; }
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11002 $as_echo "no" >&6; }
11009 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
11010 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11012 $as_echo_n "checking for $ac_word... " >&6; }
11013 if ${ac_cv_path_orig_target_cc+:} false
; then :
11014 $as_echo_n "(cached) " >&6
11016 case $orig_target_cc in
11018 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11022 for as_dir
in $PATH
11025 test -z "$as_dir" && as_dir
=.
11026 for ac_exec_ext
in '' $ac_executable_extensions; do
11027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11028 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11039 orig_target_cc
=$ac_cv_path_orig_target_cc
11040 if test -n "$orig_target_cc"; then
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11042 $as_echo "$orig_target_cc" >&6; }
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11045 $as_echo "no" >&6; }
11051 if test "$orig_target_cc" = ""; then
11052 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11054 if test "x${crosstools_cxx_target}" = "x" ; then
11056 if test "${aros_tool_prefix}g++" = ""; then
11057 if test "$cross_compiling" = "yes" ; then
11058 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11059 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11061 $as_echo_n "checking for $ac_word... " >&6; }
11062 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11063 $as_echo_n "(cached) " >&6
11065 case $orig_target_cxx in
11067 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11071 for as_dir
in $PATH
11074 test -z "$as_dir" && as_dir
=.
11075 for ac_exec_ext
in '' $ac_executable_extensions; do
11076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11077 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11088 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11089 if test -n "$orig_target_cxx"; then
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11091 $as_echo "$orig_target_cxx" >&6; }
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11094 $as_echo "no" >&6; }
11099 if test "$GCC" = "yes"; then
11100 aros_gcc_g
++=`$CC -print-prog-name=g++`
11101 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11102 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11104 $as_echo_n "checking for $ac_word... " >&6; }
11105 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11106 $as_echo_n "(cached) " >&6
11108 case $orig_target_cxx in
11110 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11114 for as_dir
in `dirname $aros_gcc_g++`
11117 test -z "$as_dir" && as_dir
=.
11118 for ac_exec_ext
in '' $ac_executable_extensions; do
11119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11120 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11131 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11132 if test -n "$orig_target_cxx"; then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11134 $as_echo "$orig_target_cxx" >&6; }
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11137 $as_echo "no" >&6; }
11142 if test "$orig_target_cxx" = ""; then
11143 # Extract the first word of "g++", so it can be a program name with args.
11144 set dummy g
++; ac_word
=$2
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11146 $as_echo_n "checking for $ac_word... " >&6; }
11147 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11148 $as_echo_n "(cached) " >&6
11150 case $orig_target_cxx in
11152 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11156 for as_dir
in $PATH
11159 test -z "$as_dir" && as_dir
=.
11160 for ac_exec_ext
in '' $ac_executable_extensions; do
11161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11162 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11173 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11174 if test -n "$orig_target_cxx"; then
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11176 $as_echo "$orig_target_cxx" >&6; }
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11179 $as_echo "no" >&6; }
11186 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11187 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11189 $as_echo_n "checking for $ac_word... " >&6; }
11190 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11191 $as_echo_n "(cached) " >&6
11193 case $orig_target_cxx in
11195 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11199 for as_dir
in $PATH
11202 test -z "$as_dir" && as_dir
=.
11203 for ac_exec_ext
in '' $ac_executable_extensions; do
11204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11205 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11216 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11217 if test -n "$orig_target_cxx"; then
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11219 $as_echo "$orig_target_cxx" >&6; }
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11222 $as_echo "no" >&6; }
11228 if test "$orig_target_cxx" = ""; then
11229 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11233 if test "${aros_tool_prefix}ld" = ""; then
11234 if test "$cross_compiling" = "yes" ; then
11235 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11236 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11238 $as_echo_n "checking for $ac_word... " >&6; }
11239 if ${ac_cv_path_orig_target_ld+:} false
; then :
11240 $as_echo_n "(cached) " >&6
11242 case $orig_target_ld in
11244 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11248 for as_dir
in $PATH
11251 test -z "$as_dir" && as_dir
=.
11252 for ac_exec_ext
in '' $ac_executable_extensions; do
11253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11254 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11265 orig_target_ld
=$ac_cv_path_orig_target_ld
11266 if test -n "$orig_target_ld"; then
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11268 $as_echo "$orig_target_ld" >&6; }
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11271 $as_echo "no" >&6; }
11276 if test "$GCC" = "yes"; then
11277 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11278 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11279 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11281 $as_echo_n "checking for $ac_word... " >&6; }
11282 if ${ac_cv_path_orig_target_ld+:} false
; then :
11283 $as_echo_n "(cached) " >&6
11285 case $orig_target_ld in
11287 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11291 for as_dir
in `dirname $aros_gcc_gcc`
11294 test -z "$as_dir" && as_dir
=.
11295 for ac_exec_ext
in '' $ac_executable_extensions; do
11296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11297 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11308 orig_target_ld
=$ac_cv_path_orig_target_ld
11309 if test -n "$orig_target_ld"; then
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11311 $as_echo "$orig_target_ld" >&6; }
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11314 $as_echo "no" >&6; }
11319 if test "$orig_target_ld" = ""; then
11320 # Extract the first word of "gcc", so it can be a program name with args.
11321 set dummy gcc
; ac_word
=$2
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11323 $as_echo_n "checking for $ac_word... " >&6; }
11324 if ${ac_cv_path_orig_target_ld+:} false
; then :
11325 $as_echo_n "(cached) " >&6
11327 case $orig_target_ld in
11329 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11333 for as_dir
in $PATH
11336 test -z "$as_dir" && as_dir
=.
11337 for ac_exec_ext
in '' $ac_executable_extensions; do
11338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11339 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11350 orig_target_ld
=$ac_cv_path_orig_target_ld
11351 if test -n "$orig_target_ld"; then
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11353 $as_echo "$orig_target_ld" >&6; }
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11356 $as_echo "no" >&6; }
11363 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11364 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11366 $as_echo_n "checking for $ac_word... " >&6; }
11367 if ${ac_cv_path_orig_target_ld+:} false
; then :
11368 $as_echo_n "(cached) " >&6
11370 case $orig_target_ld in
11372 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11376 for as_dir
in $PATH
11379 test -z "$as_dir" && as_dir
=.
11380 for ac_exec_ext
in '' $ac_executable_extensions; do
11381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11382 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11393 orig_target_ld
=$ac_cv_path_orig_target_ld
11394 if test -n "$orig_target_ld"; then
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11396 $as_echo "$orig_target_ld" >&6; }
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11399 $as_echo "no" >&6; }
11405 if test "$orig_target_ld" = ""; then
11406 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11409 if test "${aros_tool_prefix}as" = ""; then
11410 if test "$cross_compiling" = "yes" ; then
11411 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11412 set dummy
${target_tool_prefix}as
; ac_word
=$2
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11414 $as_echo_n "checking for $ac_word... " >&6; }
11415 if ${ac_cv_path_orig_target_as+:} false
; then :
11416 $as_echo_n "(cached) " >&6
11418 case $orig_target_as in
11420 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11424 for as_dir
in $PATH
11427 test -z "$as_dir" && as_dir
=.
11428 for ac_exec_ext
in '' $ac_executable_extensions; do
11429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11430 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11441 orig_target_as
=$ac_cv_path_orig_target_as
11442 if test -n "$orig_target_as"; then
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11444 $as_echo "$orig_target_as" >&6; }
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11447 $as_echo "no" >&6; }
11452 if test "$GCC" = "yes"; then
11453 aros_gcc_as
=`$CC -print-prog-name=as`
11454 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11455 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11457 $as_echo_n "checking for $ac_word... " >&6; }
11458 if ${ac_cv_path_orig_target_as+:} false
; then :
11459 $as_echo_n "(cached) " >&6
11461 case $orig_target_as in
11463 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11467 for as_dir
in `dirname $aros_gcc_as`
11470 test -z "$as_dir" && as_dir
=.
11471 for ac_exec_ext
in '' $ac_executable_extensions; do
11472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11473 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11484 orig_target_as
=$ac_cv_path_orig_target_as
11485 if test -n "$orig_target_as"; then
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11487 $as_echo "$orig_target_as" >&6; }
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11490 $as_echo "no" >&6; }
11495 if test "$orig_target_as" = ""; then
11496 # Extract the first word of "as", so it can be a program name with args.
11497 set dummy as
; ac_word
=$2
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11499 $as_echo_n "checking for $ac_word... " >&6; }
11500 if ${ac_cv_path_orig_target_as+:} false
; then :
11501 $as_echo_n "(cached) " >&6
11503 case $orig_target_as in
11505 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11509 for as_dir
in $PATH
11512 test -z "$as_dir" && as_dir
=.
11513 for ac_exec_ext
in '' $ac_executable_extensions; do
11514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11515 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11526 orig_target_as
=$ac_cv_path_orig_target_as
11527 if test -n "$orig_target_as"; then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11529 $as_echo "$orig_target_as" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11532 $as_echo "no" >&6; }
11539 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11540 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11542 $as_echo_n "checking for $ac_word... " >&6; }
11543 if ${ac_cv_path_orig_target_as+:} false
; then :
11544 $as_echo_n "(cached) " >&6
11546 case $orig_target_as in
11548 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11552 for as_dir
in $PATH
11555 test -z "$as_dir" && as_dir
=.
11556 for ac_exec_ext
in '' $ac_executable_extensions; do
11557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11558 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11569 orig_target_as
=$ac_cv_path_orig_target_as
11570 if test -n "$orig_target_as"; then
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11572 $as_echo "$orig_target_as" >&6; }
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11575 $as_echo "no" >&6; }
11581 if test "$orig_target_as" = ""; then
11582 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11585 if test "${aros_tool_prefix}ar" = ""; then
11586 if test "$cross_compiling" = "yes" ; then
11587 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11588 set dummy
${target_tool_prefix}ar; ac_word
=$2
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11590 $as_echo_n "checking for $ac_word... " >&6; }
11591 if ${ac_cv_path_orig_target_ar+:} false
; then :
11592 $as_echo_n "(cached) " >&6
11594 case $orig_target_ar in
11596 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11600 for as_dir
in $PATH
11603 test -z "$as_dir" && as_dir
=.
11604 for ac_exec_ext
in '' $ac_executable_extensions; do
11605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11606 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11617 orig_target_ar
=$ac_cv_path_orig_target_ar
11618 if test -n "$orig_target_ar"; then
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11620 $as_echo "$orig_target_ar" >&6; }
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11623 $as_echo "no" >&6; }
11628 if test "$GCC" = "yes"; then
11629 aros_gcc_ar
=`$CC -print-prog-name=ar`
11630 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11631 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11633 $as_echo_n "checking for $ac_word... " >&6; }
11634 if ${ac_cv_path_orig_target_ar+:} false
; then :
11635 $as_echo_n "(cached) " >&6
11637 case $orig_target_ar in
11639 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11643 for as_dir
in `dirname $aros_gcc_ar`
11646 test -z "$as_dir" && as_dir
=.
11647 for ac_exec_ext
in '' $ac_executable_extensions; do
11648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11649 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11660 orig_target_ar
=$ac_cv_path_orig_target_ar
11661 if test -n "$orig_target_ar"; then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11663 $as_echo "$orig_target_ar" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11671 if test "$orig_target_ar" = ""; then
11672 # Extract the first word of "ar", so it can be a program name with args.
11673 set dummy
ar; ac_word
=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 $as_echo_n "checking for $ac_word... " >&6; }
11676 if ${ac_cv_path_orig_target_ar+:} false
; then :
11677 $as_echo_n "(cached) " >&6
11679 case $orig_target_ar in
11681 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11685 for as_dir
in $PATH
11688 test -z "$as_dir" && as_dir
=.
11689 for ac_exec_ext
in '' $ac_executable_extensions; do
11690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11691 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11702 orig_target_ar
=$ac_cv_path_orig_target_ar
11703 if test -n "$orig_target_ar"; then
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11705 $as_echo "$orig_target_ar" >&6; }
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11708 $as_echo "no" >&6; }
11715 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11716 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11718 $as_echo_n "checking for $ac_word... " >&6; }
11719 if ${ac_cv_path_orig_target_ar+:} false
; then :
11720 $as_echo_n "(cached) " >&6
11722 case $orig_target_ar in
11724 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11728 for as_dir
in $PATH
11731 test -z "$as_dir" && as_dir
=.
11732 for ac_exec_ext
in '' $ac_executable_extensions; do
11733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11734 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11745 orig_target_ar
=$ac_cv_path_orig_target_ar
11746 if test -n "$orig_target_ar"; then
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11748 $as_echo "$orig_target_ar" >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 $as_echo "no" >&6; }
11757 if test "$orig_target_ar" = ""; then
11758 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11761 if test "${aros_tool_prefix}ranlib" = ""; then
11762 if test "$cross_compiling" = "yes" ; then
11763 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11764 set dummy
${target_tool_prefix}ar; ac_word
=$2
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11766 $as_echo_n "checking for $ac_word... " >&6; }
11767 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11768 $as_echo_n "(cached) " >&6
11770 case $orig_target_ranlib in
11772 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11776 for as_dir
in $PATH
11779 test -z "$as_dir" && as_dir
=.
11780 for ac_exec_ext
in '' $ac_executable_extensions; do
11781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11782 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11793 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11794 if test -n "$orig_target_ranlib"; then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11796 $as_echo "$orig_target_ranlib" >&6; }
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799 $as_echo "no" >&6; }
11804 if test "$GCC" = "yes"; then
11805 aros_gcc_ar
=`$CC -print-prog-name=ar`
11806 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11807 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11809 $as_echo_n "checking for $ac_word... " >&6; }
11810 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11811 $as_echo_n "(cached) " >&6
11813 case $orig_target_ranlib in
11815 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11819 for as_dir
in `dirname $aros_gcc_ar`
11822 test -z "$as_dir" && as_dir
=.
11823 for ac_exec_ext
in '' $ac_executable_extensions; do
11824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11825 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11836 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11837 if test -n "$orig_target_ranlib"; then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11839 $as_echo "$orig_target_ranlib" >&6; }
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11842 $as_echo "no" >&6; }
11847 if test "$orig_target_ranlib" = ""; then
11848 # Extract the first word of "ar", so it can be a program name with args.
11849 set dummy
ar; ac_word
=$2
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11851 $as_echo_n "checking for $ac_word... " >&6; }
11852 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11853 $as_echo_n "(cached) " >&6
11855 case $orig_target_ranlib in
11857 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11861 for as_dir
in $PATH
11864 test -z "$as_dir" && as_dir
=.
11865 for ac_exec_ext
in '' $ac_executable_extensions; do
11866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11867 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11878 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11879 if test -n "$orig_target_ranlib"; then
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11881 $as_echo "$orig_target_ranlib" >&6; }
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11884 $as_echo "no" >&6; }
11891 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11892 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11894 $as_echo_n "checking for $ac_word... " >&6; }
11895 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11896 $as_echo_n "(cached) " >&6
11898 case $orig_target_ranlib in
11900 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11904 for as_dir
in $PATH
11907 test -z "$as_dir" && as_dir
=.
11908 for ac_exec_ext
in '' $ac_executable_extensions; do
11909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11910 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11921 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11922 if test -n "$orig_target_ranlib"; then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11924 $as_echo "$orig_target_ranlib" >&6; }
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11927 $as_echo "no" >&6; }
11933 if test "$orig_target_ranlib" = ""; then
11934 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11937 if test "${aros_tool_prefix}nm" = ""; then
11938 if test "$cross_compiling" = "yes" ; then
11939 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11940 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11942 $as_echo_n "checking for $ac_word... " >&6; }
11943 if ${ac_cv_path_orig_target_nm+:} false
; then :
11944 $as_echo_n "(cached) " >&6
11946 case $orig_target_nm in
11948 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11952 for as_dir
in $PATH
11955 test -z "$as_dir" && as_dir
=.
11956 for ac_exec_ext
in '' $ac_executable_extensions; do
11957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11958 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11969 orig_target_nm
=$ac_cv_path_orig_target_nm
11970 if test -n "$orig_target_nm"; then
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11972 $as_echo "$orig_target_nm" >&6; }
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975 $as_echo "no" >&6; }
11980 if test "$GCC" = "yes"; then
11981 aros_gcc_nm
=`$CC -print-prog-name=nm`
11982 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11983 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11985 $as_echo_n "checking for $ac_word... " >&6; }
11986 if ${ac_cv_path_orig_target_nm+:} false
; then :
11987 $as_echo_n "(cached) " >&6
11989 case $orig_target_nm in
11991 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11995 for as_dir
in `dirname $aros_gcc_nm`
11998 test -z "$as_dir" && as_dir
=.
11999 for ac_exec_ext
in '' $ac_executable_extensions; do
12000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12001 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12012 orig_target_nm
=$ac_cv_path_orig_target_nm
12013 if test -n "$orig_target_nm"; then
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12015 $as_echo "$orig_target_nm" >&6; }
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12018 $as_echo "no" >&6; }
12023 if test "$orig_target_nm" = ""; then
12024 # Extract the first word of "nm", so it can be a program name with args.
12025 set dummy nm
; ac_word
=$2
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12027 $as_echo_n "checking for $ac_word... " >&6; }
12028 if ${ac_cv_path_orig_target_nm+:} false
; then :
12029 $as_echo_n "(cached) " >&6
12031 case $orig_target_nm in
12033 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12037 for as_dir
in $PATH
12040 test -z "$as_dir" && as_dir
=.
12041 for ac_exec_ext
in '' $ac_executable_extensions; do
12042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12043 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12054 orig_target_nm
=$ac_cv_path_orig_target_nm
12055 if test -n "$orig_target_nm"; then
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12057 $as_echo "$orig_target_nm" >&6; }
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12060 $as_echo "no" >&6; }
12067 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12068 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12070 $as_echo_n "checking for $ac_word... " >&6; }
12071 if ${ac_cv_path_orig_target_nm+:} false
; then :
12072 $as_echo_n "(cached) " >&6
12074 case $orig_target_nm in
12076 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12080 for as_dir
in $PATH
12083 test -z "$as_dir" && as_dir
=.
12084 for ac_exec_ext
in '' $ac_executable_extensions; do
12085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12086 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12097 orig_target_nm
=$ac_cv_path_orig_target_nm
12098 if test -n "$orig_target_nm"; then
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12100 $as_echo "$orig_target_nm" >&6; }
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12103 $as_echo "no" >&6; }
12109 if test "$orig_target_nm" = ""; then
12110 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12113 if test "${aros_tool_prefix}strip" = ""; then
12114 if test "$cross_compiling" = "yes" ; then
12115 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12116 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12118 $as_echo_n "checking for $ac_word... " >&6; }
12119 if ${ac_cv_path_orig_target_strip+:} false
; then :
12120 $as_echo_n "(cached) " >&6
12122 case $orig_target_strip in
12124 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12128 for as_dir
in $PATH
12131 test -z "$as_dir" && as_dir
=.
12132 for ac_exec_ext
in '' $ac_executable_extensions; do
12133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12134 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12145 orig_target_strip
=$ac_cv_path_orig_target_strip
12146 if test -n "$orig_target_strip"; then
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12148 $as_echo "$orig_target_strip" >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12151 $as_echo "no" >&6; }
12156 if test "$GCC" = "yes"; then
12157 aros_gcc_strip
=`$CC -print-prog-name=strip`
12158 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12159 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12161 $as_echo_n "checking for $ac_word... " >&6; }
12162 if ${ac_cv_path_orig_target_strip+:} false
; then :
12163 $as_echo_n "(cached) " >&6
12165 case $orig_target_strip in
12167 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12171 for as_dir
in `dirname $aros_gcc_strip`
12174 test -z "$as_dir" && as_dir
=.
12175 for ac_exec_ext
in '' $ac_executable_extensions; do
12176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12177 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12188 orig_target_strip
=$ac_cv_path_orig_target_strip
12189 if test -n "$orig_target_strip"; then
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12191 $as_echo "$orig_target_strip" >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194 $as_echo "no" >&6; }
12199 if test "$orig_target_strip" = ""; then
12200 # Extract the first word of "strip", so it can be a program name with args.
12201 set dummy strip
; ac_word
=$2
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12203 $as_echo_n "checking for $ac_word... " >&6; }
12204 if ${ac_cv_path_orig_target_strip+:} false
; then :
12205 $as_echo_n "(cached) " >&6
12207 case $orig_target_strip in
12209 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12213 for as_dir
in $PATH
12216 test -z "$as_dir" && as_dir
=.
12217 for ac_exec_ext
in '' $ac_executable_extensions; do
12218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12219 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12230 orig_target_strip
=$ac_cv_path_orig_target_strip
12231 if test -n "$orig_target_strip"; then
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12233 $as_echo "$orig_target_strip" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12236 $as_echo "no" >&6; }
12243 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12244 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12246 $as_echo_n "checking for $ac_word... " >&6; }
12247 if ${ac_cv_path_orig_target_strip+:} false
; then :
12248 $as_echo_n "(cached) " >&6
12250 case $orig_target_strip in
12252 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12256 for as_dir
in $PATH
12259 test -z "$as_dir" && as_dir
=.
12260 for ac_exec_ext
in '' $ac_executable_extensions; do
12261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12262 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12273 orig_target_strip
=$ac_cv_path_orig_target_strip
12274 if test -n "$orig_target_strip"; then
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12276 $as_echo "$orig_target_strip" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12279 $as_echo "no" >&6; }
12285 if test "$orig_target_strip" = ""; then
12286 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12289 if test "${aros_tool_prefix}objcopy" = ""; then
12290 if test "$cross_compiling" = "yes" ; then
12291 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12292 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12294 $as_echo_n "checking for $ac_word... " >&6; }
12295 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12296 $as_echo_n "(cached) " >&6
12298 case $orig_target_objcopy in
12300 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12304 for as_dir
in $PATH
12307 test -z "$as_dir" && as_dir
=.
12308 for ac_exec_ext
in '' $ac_executable_extensions; do
12309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12310 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12321 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12322 if test -n "$orig_target_objcopy"; then
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12324 $as_echo "$orig_target_objcopy" >&6; }
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12327 $as_echo "no" >&6; }
12332 if test "$GCC" = "yes"; then
12333 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12334 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12335 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12337 $as_echo_n "checking for $ac_word... " >&6; }
12338 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12339 $as_echo_n "(cached) " >&6
12341 case $orig_target_objcopy in
12343 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12347 for as_dir
in `dirname $aros_gcc_objcopy`
12350 test -z "$as_dir" && as_dir
=.
12351 for ac_exec_ext
in '' $ac_executable_extensions; do
12352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12353 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12364 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12365 if test -n "$orig_target_objcopy"; then
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12367 $as_echo "$orig_target_objcopy" >&6; }
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12370 $as_echo "no" >&6; }
12375 if test "$orig_target_objcopy" = ""; then
12376 # Extract the first word of "objcopy", so it can be a program name with args.
12377 set dummy objcopy
; ac_word
=$2
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12379 $as_echo_n "checking for $ac_word... " >&6; }
12380 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12381 $as_echo_n "(cached) " >&6
12383 case $orig_target_objcopy in
12385 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12389 for as_dir
in $PATH
12392 test -z "$as_dir" && as_dir
=.
12393 for ac_exec_ext
in '' $ac_executable_extensions; do
12394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12395 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12406 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12407 if test -n "$orig_target_objcopy"; then
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12409 $as_echo "$orig_target_objcopy" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12412 $as_echo "no" >&6; }
12419 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12420 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12422 $as_echo_n "checking for $ac_word... " >&6; }
12423 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12424 $as_echo_n "(cached) " >&6
12426 case $orig_target_objcopy in
12428 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12432 for as_dir
in $PATH
12435 test -z "$as_dir" && as_dir
=.
12436 for ac_exec_ext
in '' $ac_executable_extensions; do
12437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12438 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12449 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12450 if test -n "$orig_target_objcopy"; then
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12452 $as_echo "$orig_target_objcopy" >&6; }
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12455 $as_echo "no" >&6; }
12461 if test "$orig_target_objcopy" = ""; then
12462 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12465 if test "${aros_tool_prefix}objdump" = ""; then
12466 if test "$cross_compiling" = "yes" ; then
12467 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12468 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12470 $as_echo_n "checking for $ac_word... " >&6; }
12471 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12472 $as_echo_n "(cached) " >&6
12474 case $orig_target_objdump in
12476 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12480 for as_dir
in $PATH
12483 test -z "$as_dir" && as_dir
=.
12484 for ac_exec_ext
in '' $ac_executable_extensions; do
12485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12486 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12497 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12498 if test -n "$orig_target_objdump"; then
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12500 $as_echo "$orig_target_objdump" >&6; }
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12503 $as_echo "no" >&6; }
12508 if test "$GCC" = "yes"; then
12509 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12510 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12511 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12513 $as_echo_n "checking for $ac_word... " >&6; }
12514 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12515 $as_echo_n "(cached) " >&6
12517 case $orig_target_objdump in
12519 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12523 for as_dir
in `dirname $aros_gcc_objdump`
12526 test -z "$as_dir" && as_dir
=.
12527 for ac_exec_ext
in '' $ac_executable_extensions; do
12528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12529 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12540 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12541 if test -n "$orig_target_objdump"; then
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12543 $as_echo "$orig_target_objdump" >&6; }
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12546 $as_echo "no" >&6; }
12551 if test "$orig_target_objdump" = ""; then
12552 # Extract the first word of "objdump", so it can be a program name with args.
12553 set dummy objdump
; ac_word
=$2
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12555 $as_echo_n "checking for $ac_word... " >&6; }
12556 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12557 $as_echo_n "(cached) " >&6
12559 case $orig_target_objdump in
12561 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12565 for as_dir
in $PATH
12568 test -z "$as_dir" && as_dir
=.
12569 for ac_exec_ext
in '' $ac_executable_extensions; do
12570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12571 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12582 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12583 if test -n "$orig_target_objdump"; then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12585 $as_echo "$orig_target_objdump" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12588 $as_echo "no" >&6; }
12595 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12596 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12598 $as_echo_n "checking for $ac_word... " >&6; }
12599 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12600 $as_echo_n "(cached) " >&6
12602 case $orig_target_objdump in
12604 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12608 for as_dir
in $PATH
12611 test -z "$as_dir" && as_dir
=.
12612 for ac_exec_ext
in '' $ac_executable_extensions; do
12613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12614 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12625 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12626 if test -n "$orig_target_objdump"; then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12628 $as_echo "$orig_target_objdump" >&6; }
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12631 $as_echo "no" >&6; }
12637 if test "$orig_target_objdump" = ""; then
12638 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12642 if test "$kernel_tool_prefix" = "none" ; then
12643 # No kernel tools specified
12644 # Assume target tools == kernel tools with ELF wrapper
12645 aros_kernel_cc
=$orig_target_cc
12646 aros_kernel_cxx
=$orig_target_cxx
12647 aros_kernel_cpp
=$orig_target_cpp
12648 aros_kernel_ld
=$orig_target_ld
12649 aros_kernel_as
=$orig_target_as
12650 aros_kernel_ar
=$orig_target_ar
12651 aros_kernel_ranlib
=$orig_target_ranlib
12652 aros_kernel_nm
=$orig_target_nm
12653 aros_kernel_strip
=$orig_target_strip
12654 aros_kernel_objcopy
=$orig_target_objcopy
12655 aros_kernel_objdump
=$orig_target_objdump
12656 use_kernel_cc_wrapper
=yes
12659 # At this point, all aros_kernel_* and aros_target_*
12660 # tools should be set up correctly
12662 CC
="$aros_kernel_cc $kernel_tool_flags"
12663 CPP
="$aros_kernel_cpp"
12665 #-----------------------------------------------------------------------------
12667 # Disable pointer-signedness warnings if the compiler recognises the option
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12670 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12671 save_cflags
="$CFLAGS"
12672 if test "$crosstools" != "yes" ; then
12673 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12685 if ac_fn_c_try_compile
"$LINENO"; then :
12686 use_no_sign_warning
="yes"
12688 use_no_sign_warning
="no"
12690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12692 # we do know it is supported for the smallest version of gcc we are going to build
12693 # we assume it's also supported by later versions
12694 use_no_sign_warning
=yes
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12697 $as_echo "$use_no_sign_warning" >&6; }
12698 if test "x-$use_no_sign_warning" = "x-yes" ; then
12699 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12701 CFLAGS
="$save_cflags"
12703 #-----------------------------------------------------------------------------
12705 # Find all the tools we need to compile. This could be cross-compiling
12706 # though! If that is the case we use the GNU form of the target and
12707 # simply add this to the front of the binary name. This is rather simple,
12708 # but it should work under most circumstances.
12710 # The default tools are to use the same as the host, but only if the
12711 # host and target CPU are the same. With GCC this is normally enough.
12715 aros_shared_ld
="$aros_host_ld"
12717 aros_target_mkdep
="$aros_host_mkdep"
12719 # The default tools executables to be linked to.
12720 if test "$rescomp" != ""; then
12721 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12722 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12724 $as_echo_n "checking for $ac_word... " >&6; }
12725 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12726 $as_echo_n "(cached) " >&6
12728 case $aros_kernel_rescomp in
12730 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12734 for as_dir
in $PATH
12737 test -z "$as_dir" && as_dir
=.
12738 for ac_exec_ext
in '' $ac_executable_extensions; do
12739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12740 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12751 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12752 if test -n "$aros_kernel_rescomp"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12754 $as_echo "$aros_kernel_rescomp" >&6; }
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12757 $as_echo "no" >&6; }
12761 if test "$aros_kernel_rescomp" = ""; then
12762 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12766 # Set up the sources for the symlink farm
12767 if test "$crosstools" = "yes"; then
12768 crosstools_target
=tools-crosstools
12771 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12772 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12775 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12776 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12777 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12778 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12779 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12780 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12781 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12783 # aros_cc_pre is a variable that is added to the front of the compiler name
12784 # in the generated aros-gcc shell script. We need this to enable the cache
12785 # to work across cleaned builds. Also, support DISTCC using the correct
12786 # environment variable.
12789 if test "x${DISTCC}" != "x" ; then
12790 if test "x${CCACHE}" != "x" ; then
12791 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12793 aros_cc_pre
="${DISTCC} "
12796 if test "x${CCACHE}" != "x" ; then
12797 aros_cc_pre
="${CCACHE} "
12801 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12803 aros_target_nostdinc_cflags
=-nostdinc
12805 aros_target_nostartup_ldflags
=-nostartfiles
12807 aros_target_nix_ldflags
=-nix
12809 aros_target_detach_ldflags
=-detach
12811 aros_target_nostdlib_ldflags
=-nostdlib
12815 if test "$crosstools" != "yes"; then
12816 if test "$GCC" = "yes"; then
12817 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12820 # We do not know which gcc version we are going to build and what we need to know
12821 # here is different for different versions so this will be set later during the
12822 # build of crosstools.
12823 aros_target_cc_path
=@aros_target_cc_path@
12825 aros_target_cpp
="${prefix}cpp"
12826 aros_target_cc
="${prefix}gcc"
12827 aros_target_cxx
="${prefix}g++"
12828 aros_target_as
="${prefix}as"
12829 aros_target_ld
="${prefix}ld"
12830 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12831 aros_target_objcopy
="${prefix}objcopy"
12832 aros_target_objdump
="${prefix}objdump"
12833 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12834 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12835 aros_target_strip
="${prefix}strip"
12836 aros_plain_nm
="${prefix}nm"
12837 aros_plain_ar
="${prefix}ar"
12839 # Check whether --enable-includes was given.
12840 if test "${enable_includes+set}" = set; then :
12841 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12843 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12847 if test "$aros_kernel_includes" = ""; then
12848 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12849 aros_kernel_includes
="-isystem $aros_target_incl"
12853 if test "$aros_kernel_includes" != "" ; then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12855 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12856 if test "$aros_kernel_cc_includes" = "" ; then
12857 # Try to guess where the directory is.
12858 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12859 if test -d $aros_kernel_cc_includes; then
12860 # Check if there is also an include-fixed directory and add it
12861 # to kernel compiler's include path as it may contain some of
12862 # the headers we need.
12863 if test -d "$aros_kernel_cc_includes"-fixed; then
12864 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12866 # Check for specific includes directory. Neede for Ubuntu 11.10
12867 if test -d "/usr/include/i386-linux-gnu"; then
12868 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12871 # The directory doesn't exist, we need to do some more work.
12872 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12874 # These are the headers we're looking for.
12875 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12876 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12880 for h
in $headers; do
12881 # Which other headers are needed by each of the above?
12882 deps
=$
(echo "#include <$h>" | \
12883 $aros_kernel_cc -E -M - 2>/dev
/null | \
12884 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12886 # Copy all the needed headers to a directory beneath gendir.
12889 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12890 sed -n "s,^.*/include\(/.*\),\1,p")
12891 ! test -d $dir && mkdir
-p $dir
12892 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12898 $as_echo "$aros_kernel_cc_includes" >&6; }
12899 # Adding -nostdinc to kernel includes as they are always used together.
12900 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12903 if test "$crosstools" != "yes"; then
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12905 $as_echo_n "checking for the target compiler's include path... " >&6; }
12906 if test "$aros_target_cc_includes" = "" ; then
12907 #try to guess where the directory is
12908 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12909 if ! test -d $aros_target_cc_includes; then
12910 #the directory doesn't exist, we need to do some more work
12911 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12913 #these are the headers we're looking for
12914 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12915 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12919 for h
in $headers; do
12920 #which other headers each of the above headers needs?
12921 deps
=$
(echo "#include <$h>" | \
12922 $orig_target_cc -E -M - 2>/dev
/null | \
12923 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12925 #copy all the needed headers to a directory beneath gendir
12928 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12929 sed -n "s,^.*/include\(/.*\),\1,p")
12930 ! test -d $dir && mkdir
-p $dir
12931 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12937 $as_echo "$aros_target_cc_includes" >&6; }
12939 # We do not know which gcc version we are going to build and what we need to know
12940 # here is different for different versions so this will be set later during the
12941 # build of crosstools.
12942 aros_target_cc_includes
=@aros_target_cc_includes@
12946 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12947 # On GCC >= 4.0 -iquote should be used
12951 save_cflags
="$CFLAGS"
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12954 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12955 if test "x-$crosstools" != "x-yes"; then
12956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12967 if ac_fn_c_try_compile
"$LINENO"; then :
12972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12974 # we do know it is supported for the smallest version of gcc we are going to build
12975 # we assume it's also supported by later versions
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12979 $as_echo "$has_iquote" >&6; }
12980 if test "x-$has_iquote" = "x-yes" ; then
12981 host_cflags_iquote
=-iquote
12982 host_cflags_iquote_end
=
12984 host_cflags_iquote
=-I
12985 host_cflags_iquote_end
=-I-
12987 kernel_cflags_iquote
=$host_cflags_iquote
12988 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12989 if test "x-$cross_compiling" = "x-yes"; then
12990 CC
="$aros_kernel_cc"
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12992 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12993 if test "x-$crosstools" != "x-yes"; then
12994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
13005 if ac_fn_c_try_compile
"$LINENO"; then :
13006 use_no_stack_protector
="yes"
13008 use_no_stack_protector
="no"
13010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13012 # we do know it is supported for the smallest version of gcc we are going to build
13013 # we assume it's also supported by later versions
13014 use_no_stack_protector
=yes
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13017 $as_echo "$use_no_stack_protector" >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13019 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13020 if test "x-$crosstools" != "x-yes"; then
13021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13032 if ac_fn_c_try_compile
"$LINENO"; then :
13037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13039 # we do know it is supported for the smallest version of gcc we are going to build
13040 # we assume it's also supported by later versions
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13044 $as_echo "$has_iquote" >&6; }
13045 if test "x-$has_iquote" = "x-yes" ; then
13046 kernel_cflags_iquote
=-iquote
13047 kernel_cflags_iquote_end
=
13049 kernel_cflags_iquote
=-I
13050 kernel_cflags_iquote_end
=-I-
13053 aros_cflags_iquote
=$kernel_cflags_iquote
13054 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13055 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13056 CC
="$orig_target_cc"
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13058 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13059 if test "x-$crosstools" != "x-yes"; then
13060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13071 if ac_fn_c_try_compile
"$LINENO"; then :
13076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13078 # we do know it is supported for the smallest version of gcc we are going to build
13079 # we assume it's also supported by later versions
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13083 $as_echo "$has_iquote" >&6; }
13084 if test "x-$has_iquote" = "x-yes" ; then
13085 aros_cflags_iquote
=-iquote
13086 aros_cflags_iquote_end
=
13088 aros_cflags_iquote
=-I
13089 aros_cflags_iquote_end
=-I-
13092 if test "x-$use_no_stack_protector" = "x-yes" ; then
13093 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13097 #-----------------------------------------------------------------------------
13099 # Check if the target compiler supports some options used for delinting:
13100 # -Wunused-but-set-variable
13103 # -Wstrict-overflow
13104 # -Wformat-security
13106 if test "x-$crosstools" != "x-yes"; then
13107 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13108 CC
="$orig_target_cc"
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13111 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13112 CFLAGS
=-Wunused-but-set-variable
13113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13124 if ac_fn_c_try_compile
"$LINENO"; then :
13125 aros_unused_but_set_variable
="yes"
13127 aros_unused_but_set_variable
="no"
13129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13131 $as_echo "$aros_unused_but_set_variable" >&6; }
13132 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13133 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13137 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13138 CFLAGS
=-Warray-bounds
13139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13140 /* end confdefs.h. */
13150 if ac_fn_c_try_compile
"$LINENO"; then :
13151 aros_array_bounds
="yes"
13153 aros_array_bounds
="no"
13155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13157 $as_echo "$aros_array_bounds" >&6; }
13158 if test "x-$aros_array_bounds" = "x-yes" ; then
13159 aros_cflags_array_bounds
=-Wno-array-bounds
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13163 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13164 CFLAGS
=-Wenum-compare
13165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13176 if ac_fn_c_try_compile
"$LINENO"; then :
13177 aros_enum_compare
="yes"
13179 aros_enum_compare
="no"
13181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13183 $as_echo "$aros_enum_compare" >&6; }
13184 if test "x-$aros_enum_compare" = "x-yes" ; then
13185 aros_cflags_enum_compare
=-Wno-enum-compare
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13189 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13190 CFLAGS
=-Wstrict-overflow
13191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13202 if ac_fn_c_try_compile
"$LINENO"; then :
13203 aros_strict_overflow
="yes"
13205 aros_strict_overflow
="no"
13207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13209 $as_echo "$aros_strict_overflow" >&6; }
13210 if test "x-$aros_strict_overflow" = "x-yes" ; then
13211 aros_cflags_strict_overflow
=-Wno-strict-overflow
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13215 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13216 CFLAGS
=-Wformat-security
13217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13228 if ac_fn_c_try_compile
"$LINENO"; then :
13229 aros_format_security
="yes"
13231 aros_format_security
="no"
13233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13235 $as_echo "$aros_format_security" >&6; }
13236 if test "x-$aros_format_security" = "x-yes" ; then
13237 aros_cflags_format_security
=-Wno-format-security
13240 # We do not know which gcc version we are going to build and what we need to know
13241 # here is different for different versions so this will be set later during the
13242 # build of crosstools.
13243 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13244 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13245 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13246 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13247 aros_cflags_format_security
=@aros_cflags_format_security@
13250 #-----------------------------------------------------------------------------
13252 # Check if we can explicitly choose older version of symbol hashing
13254 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13255 CC
="$aros_kernel_cc"
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13257 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13269 if ac_fn_c_try_link
"$LINENO"; then :
13270 use_hash_style
="yes"
13272 use_hash_style
="no"
13274 rm -f core conftest.err conftest.
$ac_objext \
13275 conftest
$ac_exeext conftest.
$ac_ext
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13277 $as_echo "$use_hash_style" >&6; }
13278 if test "x-$use_hash_style" = "x-yes" ; then
13279 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13282 CFLAGS
="$save_cflags"
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13293 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13295 # Check whether --with-resolution was given.
13296 if test "${with_resolution+set}" = set; then :
13297 withval
=$with_resolution; resolution
=$withval
13302 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13303 if test "$resolution" = "yes" ; then
13306 if test "$resolution" = "no" ; then
13309 if test "$resolution" != "none" ; then
13310 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13311 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13312 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13315 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13316 aros_cv_default_wbwidth
=$aros_default_wbwidth
13317 aros_cv_default_wbheight
=$aros_default_wbheight
13318 aros_cv_default_wbdepth
=$aros_default_wbdepth
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13321 $as_echo_n "checking if serial debug is enabled... " >&6; }
13323 # Check whether --with-serial-debug was given.
13324 if test "${with_serial_debug+set}" = set; then :
13325 withval
=$with_serial_debug; serial_debug
=$withval
13330 if test "$aros_serial_debug" = 0 ; then
13331 serial_debug_forced
=""
13332 if test "$serial_debug" = "yes" ; then
13335 if test "$serial_debug" = "no" ; then
13336 serial_debug
="none"
13339 serial_debug_forced
="(forced)"
13340 serial_debug
=$aros_serial_debug
13342 if test "$serial_debug" != "none" ; then
13343 aros_serial_debug
=$serial_debug
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13345 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13348 $as_echo "no" >&6; }
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13352 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13353 # Check whether --enable-palm_debug_hack was given.
13354 if test "${enable_palm_debug_hack+set}" = set; then :
13355 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13357 palm_debug_hack
="no"
13360 if test "$palm_debug_hack" = "yes" ; then
13361 aros_palm_debug_hack
="1"
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13364 $as_echo "$palm_debug_hack" >&6; }
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13367 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13368 # Check whether --enable-nesting_supervisor was given.
13369 if test "${enable_nesting_supervisor+set}" = set; then :
13370 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13372 nesting_supervisor
="no"
13375 if test "$nesting_supervisor" = "yes" ; then
13376 aros_nesting_supervisor
="1"
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13379 $as_echo "$nesting_supervisor" >&6; }
13381 if test "$aros_enable_mmu" = "" ; then
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13383 $as_echo_n "checking if MMU support is enabled... " >&6; }
13384 # Check whether --enable-mmu was given.
13385 if test "${enable_mmu+set}" = set; then :
13386 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13388 aros_enable_mmu
="yes"
13391 if test "$aros_enable_mmu" = "" ; then
13392 aros_enable_mmu
="yes"
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13395 $as_echo "$aros_enable_mmu" >&6; }
13397 if test "$aros_enable_mmu" = "no" ; then
13398 aros_enable_mmu
="0"
13400 aros_enable_mmu
="1"
13404 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13406 if test "x-$need_dlopen" != "x-no" ; then
13407 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13408 if test "x$ac_cv_func_dlopen" = xyes
; then :
13414 if test "x-$have_dl" = "x-no" ; then
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13416 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13417 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13418 $as_echo_n "(cached) " >&6
13420 ac_check_lib_save_LIBS
=$LIBS
13422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13423 /* end confdefs.h. */
13425 /* Override any GCC internal prototype to avoid an error.
13426 Use char because int might match the return type of a GCC
13427 builtin and then its argument prototype would still apply. */
13440 if ac_fn_c_try_link
"$LINENO"; then :
13441 ac_cv_lib_dl_dlopen
=yes
13443 ac_cv_lib_dl_dlopen
=no
13445 rm -f core conftest.err conftest.
$ac_objext \
13446 conftest
$ac_exeext conftest.
$ac_ext
13447 LIBS
=$ac_check_lib_save_LIBS
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13450 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13451 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13453 aros_host_ldflags
="$aros_host_ldflags -ldl"
13459 if test "x-$have_dl" = "x-no" ; then
13460 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13465 # Check whether --enable-x11_hidd was given.
13466 if test "${enable_x11_hidd+set}" = set; then :
13467 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13469 x11_hidd
="$need_x11"
13472 case "x-$x11_hidd" in
13473 x-yes|x-no|x-auto
) ;;
13474 *) x11_hidd
="$need_x11" ;;
13479 if test "x-$x11_hidd" != "x-no" ; then
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13482 $as_echo_n "checking for X... " >&6; }
13485 # Check whether --with-x was given.
13486 if test "${with_x+set}" = set; then :
13490 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13491 if test "x$with_x" = xno
; then
13492 # The user explicitly disabled X.
13495 case $x_includes,$x_libraries in #(
13496 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13497 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13498 $as_echo_n "(cached) " >&6
13500 # One or both of the vars are not set, and there is no cached value.
13501 ac_x_includes
=no ac_x_libraries
=no
13502 rm -f -r conftest.dir
13503 if mkdir conftest.dir
; then
13505 cat >Imakefile
<<'_ACEOF'
13507 @echo incroot='${INCROOT}'
13509 @echo usrlibdir='${USRLIBDIR}'
13511 @echo libdir='${LIBDIR}'
13513 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13514 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13515 for ac_var
in incroot usrlibdir libdir
; do
13516 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13518 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13519 for ac_extension
in a so sl dylib la dll
; do
13520 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13521 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13522 ac_im_usrlibdir
=$ac_im_libdir; break
13525 # Screen out bogus values from the imake configuration. They are
13526 # bogus both because they are the default anyway, and because
13527 # using them would break gcc on systems where it needs fixed includes.
13528 case $ac_im_incroot in
13529 /usr
/include
) ac_x_includes
= ;;
13530 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13532 case $ac_im_usrlibdir in
13533 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13534 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13538 rm -f -r conftest.dir
13541 # Standard set of common directories for X headers.
13542 # Check X11 before X11Rn because it is often a symlink to the current release.
13556 /usr/local/X11/include
13557 /usr/local/X11R7/include
13558 /usr/local/X11R6/include
13559 /usr/local/X11R5/include
13560 /usr/local/X11R4/include
13562 /usr/local/include/X11
13563 /usr/local/include/X11R7
13564 /usr/local/include/X11R6
13565 /usr/local/include/X11R5
13566 /usr/local/include/X11R4
13570 /usr/XFree86/include/X11
13574 /usr/unsupported/include
13575 /usr/athena/include
13576 /usr/local/x11r5/include
13577 /usr/lpp/Xamples/include
13579 /usr/openwin/include
13580 /usr/openwin/share/include'
13582 if test "$ac_x_includes" = no
; then
13583 # Guess where to find include files, by looking for Xlib.h.
13584 # First, try using that file with no special directory specified.
13585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13587 #include <X11/Xlib.h>
13589 if ac_fn_c_try_cpp
"$LINENO"; then :
13590 # We can compile using X headers with no special include directory.
13593 for ac_dir
in $ac_x_header_dirs; do
13594 if test -r "$ac_dir/X11/Xlib.h"; then
13595 ac_x_includes
=$ac_dir
13600 rm -f conftest.err conftest.i conftest.
$ac_ext
13601 fi # $ac_x_includes = no
13603 if test "$ac_x_libraries" = no
; then
13604 # Check for the libraries.
13605 # See if we find them without any special options.
13606 # Don't add to $LIBS permanently.
13609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13611 #include <X11/Xlib.h>
13620 if ac_fn_c_try_link
"$LINENO"; then :
13622 # We can link X programs with no special library path.
13626 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13628 # Don't even attempt the hair of trying to link an X program!
13629 for ac_extension
in a so sl dylib la dll
; do
13630 if test -r "$ac_dir/libX11.$ac_extension"; then
13631 ac_x_libraries
=$ac_dir
13637 rm -f core conftest.err conftest.
$ac_objext \
13638 conftest
$ac_exeext conftest.
$ac_ext
13639 fi # $ac_x_libraries = no
13641 case $ac_x_includes,$ac_x_libraries in #(
13642 no
,* |
*,no |
*\'*)
13643 # Didn't find X, or a directory has "'" in its name.
13644 ac_cv_have_x
="have_x=no";; #(
13646 # Record where we found X for the cache.
13647 ac_cv_have_x
="have_x=yes\
13648 ac_x_includes='$ac_x_includes'\
13649 ac_x_libraries='$ac_x_libraries'"
13655 eval "$ac_cv_have_x"
13658 if test "$have_x" != yes; then
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13660 $as_echo "$have_x" >&6; }
13663 # If each of the values was on the command line, it overrides each guess.
13664 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13665 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13666 # Update the cache value to reflect the command line values.
13667 ac_cv_have_x
="have_x=yes\
13668 ac_x_includes='$x_includes'\
13669 ac_x_libraries='$x_libraries'"
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13671 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13676 for path
in $x_libraries
13678 x_cflags
="$x_cflags -L$path"
13681 for path
in $x_includes
13683 x_cflags
="$x_cflags -I$path"
13686 if test "x-$no_x" = "x-yes" ; then
13688 if test "x-$x11_hidd" != "x-auto" ; then
13689 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13693 x11_hidd_target
=kernel-x11gfx-kobj
13696 # Check whether --enable-x11_shm was given.
13697 if test "${enable_x11_shm+set}" = set; then :
13698 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13700 x11_hidd_shm
="auto"
13703 case "x-$x11_hidd_shm" in
13704 x-yes|x-no|x-auto
) ;;
13705 *) x11_hidd_shm
="auto" ;;
13710 if test "x-$x11_hidd_shm" != "x-no" ; then
13712 for ac_header
in sys
/ipc.h
13714 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13715 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13716 cat >>confdefs.h
<<_ACEOF
13717 #define HAVE_SYS_IPC_H 1
13724 for ac_header
in sys
/shm.h
13726 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13727 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13728 cat >>confdefs.h
<<_ACEOF
13729 #define HAVE_SYS_SHM_H 1
13737 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13739 save_cflags
="$CFLAGS"
13740 CFLAGS
="$CFLAGS $x_cflags"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13742 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13743 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13744 $as_echo_n "(cached) " >&6
13746 ac_check_lib_save_LIBS
=$LIBS
13747 LIBS
="-lXext $LIBS"
13748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13751 /* Override any GCC internal prototype to avoid an error.
13752 Use char because int might match the return type of a GCC
13753 builtin and then its argument prototype would still apply. */
13757 char XShmQueryExtension ();
13761 return XShmQueryExtension ();
13766 if ac_fn_c_try_link
"$LINENO"; then :
13767 ac_cv_lib_Xext_XShmQueryExtension
=yes
13769 ac_cv_lib_Xext_XShmQueryExtension
=no
13771 rm -f core conftest.err conftest.
$ac_objext \
13772 conftest
$ac_exeext conftest.
$ac_ext
13773 LIBS
=$ac_check_lib_save_LIBS
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13776 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13777 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13781 CFLAGS
="$save_cflags"
13785 if test "x-$have_xshm" = "x-yes" ; then
13786 DO_XSHM_SUPPORT
="1"
13787 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13788 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13790 DO_XSHM_SUPPORT
="0"
13794 # Check whether --enable-x11_vidmode was given.
13795 if test "${enable_x11_vidmode+set}" = set; then :
13796 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13798 x11_hidd_vidmode
="auto"
13801 case "x-$x11_hidd_vidmode" in
13802 x-yes|x-no|x-auto
) ;;
13803 *) x11_hidd_vidmode
="auto" ;;
13808 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13810 save_cflags
="$CFLAGS"
13811 CFLAGS
="$CFLAGS $x_cflags"
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13813 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13814 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13815 $as_echo_n "(cached) " >&6
13817 ac_check_lib_save_LIBS
=$LIBS
13818 LIBS
="-lXxf86vm $LIBS"
13819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13822 /* Override any GCC internal prototype to avoid an error.
13823 Use char because int might match the return type of a GCC
13824 builtin and then its argument prototype would still apply. */
13828 char XF86VidModeQueryExtension ();
13832 return XF86VidModeQueryExtension ();
13837 if ac_fn_c_try_link
"$LINENO"; then :
13838 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13840 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13842 rm -f core conftest.err conftest.
$ac_objext \
13843 conftest
$ac_exeext conftest.
$ac_ext
13844 LIBS
=$ac_check_lib_save_LIBS
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13847 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13848 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13852 CFLAGS
="$save_cflags"
13855 if test "x-$have_vidmode" = "x-yes" ; then
13856 DO_VIDMODE_SUPPORT
="1"
13857 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13858 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13860 DO_VIDMODE_SUPPORT
="0"
13864 aros_host_x11_includes
=$x_includes
13865 aros_host_x11_libdirs
=$x_libraries
13869 # Check whether --enable-sdl_hidd was given.
13870 if test "${enable_sdl_hidd+set}" = set; then :
13871 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13876 case "x-$sdl_hidd" in
13877 x-yes|x-no|x-auto
) ;;
13878 *) sdl_hidd
="auto" ;;
13881 if test "x-$sdl_hidd" != "x-no" ; then
13884 # Check whether --with-sdl-prefix was given.
13885 if test "${with_sdl_prefix+set}" = set; then :
13886 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13892 # Check whether --with-sdl-exec-prefix was given.
13893 if test "${with_sdl_exec_prefix+set}" = set; then :
13894 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13899 # Check whether --enable-sdltest was given.
13900 if test "${enable_sdltest+set}" = set; then :
13901 enableval
=$enable_sdltest;
13907 if test x
$sdl_exec_prefix != x
; then
13908 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13909 if test x
${SDL_CONFIG+set} != xset
; then
13910 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13913 if test x
$sdl_prefix != x
; then
13914 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13915 if test x
${SDL_CONFIG+set} != xset
; then
13916 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13920 as_save_PATH
="$PATH"
13921 if test "x$prefix" != xNONE
; then
13922 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13924 # Extract the first word of "sdl-config", so it can be a program name with args.
13925 set dummy sdl-config
; ac_word
=$2
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13927 $as_echo_n "checking for $ac_word... " >&6; }
13928 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13929 $as_echo_n "(cached) " >&6
13931 case $SDL_CONFIG in
13933 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13937 for as_dir
in $PATH
13940 test -z "$as_dir" && as_dir
=.
13941 for ac_exec_ext
in '' $ac_executable_extensions; do
13942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13943 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13951 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13955 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13956 if test -n "$SDL_CONFIG"; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13958 $as_echo "$SDL_CONFIG" >&6; }
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13961 $as_echo "no" >&6; }
13965 PATH
="$as_save_PATH"
13966 min_sdl_version
=1.2.10
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13968 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13970 if test "$SDL_CONFIG" = "no" ; then
13973 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
13974 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
13976 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
13977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13978 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
13979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13980 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13982 if test "x$enable_sdltest" = "xyes" ; then
13983 ac_save_CFLAGS
="$CFLAGS"
13984 ac_save_CXXFLAGS
="$CXXFLAGS"
13985 ac_save_LIBS
="$LIBS"
13986 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13987 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13988 LIBS
="$LIBS $SDL_LIBS"
13990 if test "$cross_compiling" = yes; then :
13991 echo $ac_n "cross compiling; assumed OK... $ac_c"
13993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13997 #include <stdlib.h>
13998 #include <string.h>
14002 my_strdup (char *str)
14008 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14009 strcpy (new_str, str);
14017 int main (int argc, char *argv[])
14019 int major, minor, micro;
14022 /* This hangs on some systems (?)
14023 system ("touch conf.sdltest");
14025 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14027 /* HP/UX 9 (%@#!) writes to sscanf strings */
14028 tmp_version = my_strdup("$min_sdl_version");
14029 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14030 printf("%s, bad version string\n", "$min_sdl_version");
14034 if (($sdl_major_version > major) ||
14035 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14036 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14042 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14043 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14044 printf("*** best to upgrade to the required version.\n");
14045 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14046 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14047 printf("*** config.cache before re-running configure\n");
14054 if ac_fn_c_try_run
"$LINENO"; then :
14059 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14060 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14063 CFLAGS
="$ac_save_CFLAGS"
14064 CXXFLAGS
="$ac_save_CXXFLAGS"
14065 LIBS
="$ac_save_LIBS"
14068 if test "x$no_sdl" = x
; then
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14070 $as_echo "yes" >&6; }
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14074 $as_echo "no" >&6; }
14075 if test "$SDL_CONFIG" = "no" ; then
14076 echo "*** The sdl-config script installed by SDL could not be found"
14077 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14078 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14079 echo "*** full path to sdl-config."
14081 if test -f conf.sdltest
; then
14084 echo "*** Could not run SDL test program, checking why..."
14085 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14086 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14087 LIBS
="$LIBS $SDL_LIBS"
14088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14094 int main(int argc, char *argv[])
14097 #define main K_and_R_C_main
14107 if ac_fn_c_try_link
"$LINENO"; then :
14108 echo "*** The test program compiled, but did not run. This usually means"
14109 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14110 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14111 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14112 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14113 echo "*** is required on your system"
14115 echo "*** If you have an old version installed, it is best to remove it, although"
14116 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14118 echo "*** The test program failed to compile or link. See the file config.log for the"
14119 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14120 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14121 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14123 rm -f core conftest.err conftest.
$ac_objext \
14124 conftest
$ac_exeext conftest.
$ac_ext
14125 CFLAGS
="$ac_save_CFLAGS"
14126 CXXFLAGS
="$ac_save_CXXFLAGS"
14127 LIBS
="$ac_save_LIBS"
14139 if test "x-$have_sdl" != "x-yes" ; then
14141 if test "x-$sdl_hidd" != "x-auto" ; then
14142 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14146 sdl_hidd_target
=kernel-hidd-sdl
14147 aros_host_sdl_cflags
=SDL_CFLAGS
14148 aros_host_sdl_libs
=SDL_LIBS
14152 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14153 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14158 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14159 oss_library_target
=workbench-libs-oss-unix
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14165 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14166 # Check whether --enable-dbus was given.
14167 if test "${enable_dbus+set}" = set; then :
14168 enableval
=$enable_dbus; dbus
="yes"
14173 if test "$dbus" = "yes" ; then
14175 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14176 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14177 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14178 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14183 $as_echo "$dbus" >&6; }
14185 if test "$use_kernel_cc_wrapper" = "yes" ; then
14186 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14189 if test "${crosstools}" != "yes" ; then
14190 aros_target_toolchain
=no
14192 aros_target_toolchain
=yes
14208 # Compatability with other Amiga-like operation systems
14303 # Delinting target compiler flags
14327 # Native version related
14330 # Palm native version related
14333 # Unix/Hosted version related
14339 # Apple iOS related
14344 # ARM default GCC target related
14369 # Collect-aros stuff: "-ius" to ignore undefined symbols
14372 # C compiler related
14375 case "$aros_flavour" in
14376 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14377 aros_flavour
="emulation" ;;
14378 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14379 aros_flavour
="emulation" ;;
14380 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14381 aros_flavour
="standalone";;
14382 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14383 aros_flavour
="standalone";;
14384 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14385 aros_flavour
="native" ;;
14386 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14387 aros_flavour
="native" ;;
14388 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14389 aros_flavour
="linklib" ;;
14390 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14391 aros_flavour
="palmnative" ;;
14392 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14393 aros_flavour
="mac68knative" ;;
14394 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14395 aros_flavour
="ppcnative" ;;
14398 if test ! -d ${aros_inc_dir} ; then
14399 ${MKDIR} ${aros_inc_dir}
14401 if test ! -d ${aros_geninc_dir} ; then
14402 ${MKDIR} ${aros_geninc_dir}
14404 if test ! -d ${aros_hostcfg_dir} ; then
14405 ${MKDIR} ${aros_hostcfg_dir}
14407 if test ! -d ${aros_targetcfg_dir} ; then
14408 ${MKDIR} ${aros_targetcfg_dir}
14410 if test ! -d ${aros_tools_dir} ; then
14411 ${MKDIR} ${aros_tools_dir}
14413 if test ! -d ${aros_scripts_dir} ; then
14414 ${MKDIR} ${aros_scripts_dir}
14417 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14420 ac_config_commands
="$ac_config_commands compiler_executable"
14422 ac_config_commands
="$ac_config_commands genmf_executable"
14425 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"
14428 cat >confcache
<<\_ACEOF
14429 # This file is a shell script that caches the results of configure
14430 # tests run on this system so they can be shared between configure
14431 # scripts and configure runs, see configure's option --config-cache.
14432 # It is not useful on other systems. If it contains results you don't
14433 # want to keep, you may remove or edit it.
14435 # config.status only pays attention to the cache file if you give it
14436 # the --recheck option to rerun configure.
14438 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14439 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14440 # following values.
14444 # The following way of writing the cache mishandles newlines in values,
14445 # but we know of no workaround that is simple, portable, and efficient.
14446 # So, we kill variables containing newlines.
14447 # Ultrix sh set writes to stderr and can't be redirected directly,
14448 # and sets the high bit in the cache file unless we assign to the vars.
14450 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14451 eval ac_val
=\$
$ac_var
14455 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14456 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14459 _ | IFS | as_nl
) ;; #(
14460 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14461 *) { eval $ac_var=; unset $ac_var;} ;;
14467 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14468 *${as_nl}ac_space
=\
*)
14469 # `set' does not quote correctly, so add quotes: double-quote
14470 # substitution turns \\\\ into \\, and sed turns \\ into \.
14473 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14476 # `set' quotes correctly as required by POSIX, so do not add quotes.
14477 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14486 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14488 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14490 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14491 if test -w "$cache_file"; then
14492 if test "x$cache_file" != "x/dev/null"; then
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14494 $as_echo "$as_me: updating cache $cache_file" >&6;}
14495 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14496 cat confcache
>"$cache_file"
14498 case $cache_file in #(
14500 mv -f confcache
"$cache_file"$$
&&
14501 mv -f "$cache_file"$$
"$cache_file" ;; #(
14503 mv -f confcache
"$cache_file" ;;
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14509 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14514 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14515 # Let make expand exec_prefix.
14516 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14518 DEFS
=-DHAVE_CONFIG_H
14523 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14524 # 1. Remove the extension, and $U if already installed.
14525 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14526 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14527 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14528 # will be set to the directory where LIBOBJS objects are built.
14529 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14530 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14532 LIBOBJS
=$ac_libobjs
14534 LTLIBOBJS
=$ac_ltlibobjs
14538 : "${CONFIG_STATUS=./config.status}"
14540 ac_clean_files_save
=$ac_clean_files
14541 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14543 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14545 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14547 # Generated by $as_me.
14548 # Run this file to recreate the current configuration.
14549 # Compiler output produced by configure, useful for debugging
14550 # configure, is in config.log if it exists.
14553 ac_cs_recheck=false
14556 SHELL=\${CONFIG_SHELL-$SHELL}
14559 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14560 ## -------------------- ##
14561 ## M4sh Initialization. ##
14562 ## -------------------- ##
14564 # Be more Bourne compatible
14565 DUALCASE
=1; export DUALCASE
# for MKS sh
14566 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14569 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14570 # is contrary to our usage. Disable this feature.
14571 alias -g '${1+"$@"}'='"$@"'
14572 setopt NO_GLOB_SUBST
14574 case `(set -o) 2>/dev/null` in #(
14586 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14587 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14588 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14590 # Prefer a ksh shell builtin over an external printf program on Solaris,
14591 # but without wasting forks for bash or zsh.
14592 if test -z "$BASH_VERSION$ZSH_VERSION" \
14593 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14594 as_echo='print
-r --'
14595 as_echo_n='print
-rn --'
14596 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14597 as_echo='printf %s
\n'
14598 as_echo_n='printf %s
'
14600 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14601 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14602 as_echo_n='/usr
/ucb
/echo -n'
14604 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14605 as_echo_n_body='eval
14609 expr "X$arg" : "X\\(.*\\)$as_nl";
14610 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14612 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14614 export as_echo_n_body
14615 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14617 export as_echo_body
14618 as_echo='sh
-c $as_echo_body as_echo
'
14621 # The user is always right.
14622 if test "${PATH_SEPARATOR+set}" != set; then
14624 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14625 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14632 # We need space, tab and new line, in precisely that order. Quoting is
14633 # there to prevent editors from complaining about space-tab.
14634 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14635 # splitting by setting IFS to empty value.)
14638 # Find who we are. Look in the path if we contain no directory separator.
14641 *[\\/]* ) as_myself=$0 ;;
14642 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14643 for as_dir in $PATH
14646 test -z "$as_dir" && as_dir=.
14647 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14653 # We did not find ourselves, most probably we were run as `sh COMMAND'
14654 # in which case we are not to be found in the path.
14655 if test "x$as_myself" = x
; then
14658 if test ! -f "$as_myself"; then
14659 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14663 # Unset variables that we do not need and which cause bugs (e.g. in
14664 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14665 # suppresses any "Segmentation fault" message there. '((' could
14666 # trigger a bug in pdksh 5.2.14.
14667 for as_var
in BASH_ENV ENV MAIL MAILPATH
14668 do eval test x\
${$as_var+set} = xset \
14669 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14682 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14685 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14686 # ----------------------------------------
14687 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14688 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14689 # script with STATUS, using 1 if that was 0.
14692 as_status
=$1; test $as_status -eq 0 && as_status
=1
14694 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14695 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14697 $as_echo "$as_me: error: $2" >&2
14698 as_fn_exit
$as_status
14702 # as_fn_set_status STATUS
14703 # -----------------------
14704 # Set $? to STATUS, without forking.
14705 as_fn_set_status
()
14708 } # as_fn_set_status
14710 # as_fn_exit STATUS
14711 # -----------------
14712 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14716 as_fn_set_status
$1
14722 # Portably unset VAR.
14725 { eval $1=; unset $1;}
14727 as_unset
=as_fn_unset
14728 # as_fn_append VAR VALUE
14729 # ----------------------
14730 # Append the text in VALUE to the end of the definition contained in VAR. Take
14731 # advantage of any shell optimizations that allow amortized linear growth over
14732 # repeated appends, instead of the typical quadratic growth present in naive
14734 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14735 eval 'as_fn_append ()
14746 # as_fn_arith ARG...
14747 # ------------------
14748 # Perform arithmetic evaluation on the ARGs, and store the result in the
14749 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14750 # must be portable across $(()) and expr.
14751 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14752 eval 'as_fn_arith ()
14759 as_val
=`expr "$@" || test $? -eq 1`
14764 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14765 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14771 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14772 as_basename
=basename
14777 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14783 as_me
=`$as_basename -- "$0" ||
14784 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14785 X"$0" : 'X\(//\)$' \| \
14786 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14788 sed '/^.*\/\([^/][^/]*\)\/*$/{
14802 # Avoid depending upon Character Ranges.
14803 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14804 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14805 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14806 as_cr_digits
='0123456789'
14807 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14809 ECHO_C
= ECHO_N
= ECHO_T
=
14810 case `echo -n x` in #(((((
14812 case `echo 'xy\c'` in
14813 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14815 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14822 rm -f conf$$ conf$$.exe conf$$.
file
14823 if test -d conf$$.dir
; then
14824 rm -f conf$$.dir
/conf$$.
file
14827 mkdir conf$$.dir
2>/dev
/null
14829 if (echo >conf$$.
file) 2>/dev
/null
; then
14830 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14832 # ... but there are two gotchas:
14833 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14834 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14835 # In both cases, we have to default to `cp -p'.
14836 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14838 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14846 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14847 rmdir conf$$.dir
2>/dev
/null
14852 # Create "$as_dir" as a directory, including parents if necessary.
14857 -*) as_dir
=.
/$as_dir;;
14859 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14863 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14864 *) as_qdir
=$as_dir;;
14866 as_dirs
="'$as_qdir' $as_dirs"
14867 as_dir
=`$as_dirname -- "$as_dir" ||
14868 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14869 X"$as_dir" : 'X\(//\)[^/]' \| \
14870 X"$as_dir" : 'X\(//\)$' \| \
14871 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14872 $as_echo X"$as_dir" |
14873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14877 /^X\(\/\/\)[^/].*/{
14890 test -d "$as_dir" && break
14892 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14893 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14897 if mkdir
-p .
2>/dev
/null
; then
14898 as_mkdir_p
='mkdir -p "$as_dir"'
14900 test -d .
/-p && rmdir .
/-p
14904 if test -x / >/dev
/null
2>&1; then
14905 as_test_x
='test -x'
14907 if ls -dL / >/dev
/null
2>&1; then
14914 if test -d "$1"; then
14920 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14921 ???[sx]*):;;*)false;;esac;fi
14925 as_executable_p
=$as_test_x
14927 # Sed expression to map a string onto a valid CPP name.
14928 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14930 # Sed expression to map a string onto a valid variable name.
14931 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14935 ## ----------------------------------- ##
14936 ## Main body of $CONFIG_STATUS script. ##
14937 ## ----------------------------------- ##
14939 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14942 # Save the log message, to keep $0 and so on meaningful, and to
14943 # report actual input values of CONFIG_FILES etc. instead of their
14944 # values after options handling.
14946 This file was extended by $as_me, which was
14947 generated by GNU Autoconf 2.68. Invocation command line was
14949 CONFIG_FILES = $CONFIG_FILES
14950 CONFIG_HEADERS = $CONFIG_HEADERS
14951 CONFIG_LINKS = $CONFIG_LINKS
14952 CONFIG_COMMANDS = $CONFIG_COMMANDS
14955 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14960 case $ac_config_files in *"
14961 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14964 case $ac_config_headers in *"
14965 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14970 # Files that config.status was made for.
14971 config_files="$ac_config_files"
14972 config_headers="$ac_config_headers"
14973 config_commands="$ac_config_commands"
14977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14979 \`$as_me' instantiates files and other configuration actions
14980 from templates according to the current configuration. Unless the files
14981 and actions are specified as TAGs, all are instantiated by default.
14983 Usage: $0 [OPTION]... [TAG]...
14985 -h, --help print this help, then exit
14986 -V, --version print version number and configuration settings, then exit
14987 --config print configuration, then exit
14988 -q, --quiet, --silent
14989 do not print progress messages
14990 -d, --debug don't remove temporary files
14991 --recheck update $as_me by reconfiguring in the same conditions
14992 --file=FILE[:TEMPLATE]
14993 instantiate the configuration file FILE
14994 --header=FILE[:TEMPLATE]
14995 instantiate the configuration header FILE
14997 Configuration files:
15000 Configuration headers:
15003 Configuration commands:
15006 Report bugs to the package provider."
15009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15010 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15013 configured by $0, generated by GNU Autoconf 2.68,
15014 with options \\"\$ac_cs_config\\"
15016 Copyright (C) 2010 Free Software Foundation, Inc.
15017 This config.status script is free software; the Free Software Foundation
15018 gives unlimited permission to copy, distribute and modify it."
15022 test -n "\$AWK" || AWK=awk
15025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15026 # The default lists apply if the user does not specify any file.
15032 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15033 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15037 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15049 # Handling of the options.
15050 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15052 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15053 $as_echo "$ac_cs_version"; exit ;;
15054 --config |
--confi |
--conf |
--con |
--co |
--c )
15055 $as_echo "$ac_cs_config"; exit ;;
15056 --debug |
--debu |
--deb |
--de |
--d |
-d )
15058 --file |
--fil |
--fi |
--f )
15061 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15062 '') as_fn_error $?
"missing file argument" ;;
15064 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15065 ac_need_defaults
=false
;;
15066 --header |
--heade |
--head |
--hea )
15069 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15071 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15072 ac_need_defaults
=false
;;
15074 # Conflict between --help and --header
15075 as_fn_error $?
"ambiguous option: \`$1'
15076 Try \`$0 --help' for more information.";;
15077 --help |
--hel |
-h )
15078 $as_echo "$ac_cs_usage"; exit ;;
15079 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15080 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15083 # This is an error.
15084 -*) as_fn_error $?
"unrecognized option: \`$1'
15085 Try \`$0 --help' for more information." ;;
15087 *) as_fn_append ac_config_targets
" $1"
15088 ac_need_defaults
=false
;;
15094 ac_configure_extra_args
=
15096 if $ac_cs_silent; then
15098 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15103 if \$ac_cs_recheck; then
15104 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15106 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15107 CONFIG_SHELL='$SHELL'
15108 export CONFIG_SHELL
15113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15117 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15118 ## Running $as_me. ##
15124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15129 aros_host_exe_suffix=${aros_host_exe_suffix}
15130 aros_tools_dir=${aros_tools_dir}
15131 aros_target_cpu=${aros_target_cpu}
15132 aros_target_arch=${aros_target_arch}
15133 aros_target_suffix=${aros_target_suffix}
15134 orig_target_nm=${orig_target_nm}
15135 orig_target_as=${orig_target_as}
15136 orig_target_ar=${orig_target_ar}
15137 orig_target_ranlib=${orig_target_ranlib}
15138 orig_target_objdump=${orig_target_objdump}
15139 orig_target_objcopy=${orig_target_objcopy}
15140 orig_target_strip=${orig_target_strip}
15141 aros_kernel_ld=${aros_kernel_ld}
15144 aros_tools_dir=${aros_tools_dir}
15149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15151 # Handling of arguments.
15152 for ac_config_target
in $ac_config_targets
15154 case $ac_config_target in
15155 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15156 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15157 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15158 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15159 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15160 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15161 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15162 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15163 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15164 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15165 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15166 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15167 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15168 "${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" ;;
15169 "${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" ;;
15170 "${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" ;;
15171 "${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" ;;
15172 "${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" ;;
15173 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15174 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15175 "${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" ;;
15177 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15182 # If the user did not use the arguments to specify the items to instantiate,
15183 # then the envvar interface is used. Set only those that are not.
15184 # We use the long form for the default assignment because of an extremely
15185 # bizarre bug on SunOS 4.1.3.
15186 if $ac_need_defaults; then
15187 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15188 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15189 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15192 # Have a temporary directory for convenience. Make it in the build tree
15193 # simply because there is no reason against having it here, and in addition,
15194 # creating and moving files from /tmp can sometimes cause problems.
15195 # Hook for its removal unless debugging.
15196 # Note that there is a small window in which the directory will not be cleaned:
15197 # after its creation but before its name has been assigned to `$tmp'.
15201 trap 'exit_status=$?
15202 : "${ac_tmp:=$tmp}"
15203 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15205 trap 'as_fn_exit 1' 1 2 13 15
15207 # Create a (secure) tmp directory for tmp files.
15210 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15214 tmp
=.
/conf$$
-$RANDOM
15215 (umask 077 && mkdir
"$tmp")
15216 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15219 # Set up the scripts for CONFIG_FILES section.
15220 # No need to generate them if there are no CONFIG_FILES.
15221 # This happens for instance with `./config.status config.h'.
15222 if test -n "$CONFIG_FILES"; then
15225 ac_cr
=`echo X | tr X '\015'`
15226 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15227 # But we know of no other shell where ac_cr would be empty at this
15228 # point, so we can use a bashism as a fallback.
15229 if test "x$ac_cr" = x
; then
15230 eval ac_cr
=\$
\'\\r
\'
15232 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15233 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15236 ac_cs_awk_cr
=$ac_cr
15239 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15244 echo "cat >conf$$subs.awk <<_ACEOF" &&
15245 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15247 } >conf$$subs.sh ||
15248 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15249 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15251 for ac_last_try in false false false false false :; do
15252 . ./conf$$subs.sh ||
15253 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15255 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15256 if test $ac_delim_n = $ac_delim_num; then
15258 elif $ac_last_try; then
15259 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15261 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15264 rm -f conf$$subs.sh
15266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15267 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15271 s/^/S["/; s
/!.
*/"]=/
15281 s/\(.\{148\}\)..*/\1/
15283 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15288 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15295 s/\(.\{148\}\)..*/\1/
15297 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15301 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15306 ' <conf$$subs.awk | sed '
15311 ' >>$CONFIG_STATUS || ac_write_fail=1
15312 rm -f conf$$subs.awk
15313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15315 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15316 for (key in S) S_is_set[key] = 1
15322 nfields = split(line, field, "@
")
15324 len = length(field[1])
15325 for (i = 2; i < nfields; i++) {
15327 keylen = length(key)
15328 if (S_is_set[key]) {
15330 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15331 len += length(value) + length(field[++i])
15342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15343 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15344 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15347 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15348 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15351 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15352 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15353 # trailing colons and then remove the whole line if VPATH becomes empty
15354 # (actually we leave an empty line to preserve line numbers).
15355 if test "x
$srcdir" = x.; then
15356 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15375 fi # test -n "$CONFIG_FILES"
15377 # Set up the scripts for CONFIG_HEADERS section.
15378 # No need to generate them if there are no CONFIG_HEADERS.
15379 # This happens for instance with `./config.status Makefile'.
15380 if test -n "$CONFIG_HEADERS"; then
15381 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15385 # Transform confdefs.h into an awk script `defines.awk', embedded as
15386 # here-document in config.status, that substitutes the proper values into
15387 # config.h.in to produce config.h.
15389 # Create a delimiter string that does not exist in confdefs.h, to ease
15390 # handling of long lines.
15392 for ac_last_try in false false :; do
15393 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15394 if test -z "$ac_tt"; then
15396 elif $ac_last_try; then
15397 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15399 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15403 # For the awk script, D is an array of macro values keyed by name,
15404 # likewise P contains macro parameters if any. Preserve backslash
15405 # newline sequences.
15407 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15409 s/.\{148\}/&'"$ac_delim"'/g
15412 s/^[ ]*#[ ]*define[ ][ ]*/ /
15419 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15421 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15425 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15426 D["\
1"]=" \
3\\\\\\n
"\\/p
15428 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15433 s/.\{148\}/&'"$ac_delim"'/g
15438 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15441 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15443 ' <confdefs.h | sed '
15444 s/'"$ac_delim"'/"\\\
15445 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15448 for (key in D) D_is_set[key] = 1
15451 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15453 split(line, arg, " ")
15454 if (arg[1] == "#") {
15458 defundef
= substr
(arg
[1], 2)
15461 split(mac1
, mac2
, "(") #)
15463 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15464 if (D_is_set
[macro
]) {
15465 # Preserve the white space surrounding the "#".
15466 print prefix
"define", macro P
[macro
] D
[macro
]
15469 # Replace #undef with comments. This is necessary, for example,
15470 # in the case of _POSIX_SOURCE, which is predefined and required
15471 # on some systems where configure will not decide to define it.
15472 if (defundef
== "undef") {
15473 print
"/*", prefix defundef
, macro
, "*/"
15481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15482 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15483 fi # test -n "$CONFIG_HEADERS"
15486 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15491 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15493 case $ac_mode$ac_tag in
15495 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15496 :[FH
]-) ac_tag
=-:-;;
15497 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15514 -) ac_f
="$ac_tmp/stdin";;
15515 *) # Look for the file first in the build tree, then in the source tree
15516 # (if the path is not absolute). The absolute path cannot be DOS-style,
15517 # because $ac_f cannot contain `:'.
15521 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15523 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15525 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15526 as_fn_append ac_file_inputs
" '$ac_f'"
15529 # Let's still pretend it is `configure' which instantiates (i.e., don't
15530 # use $as_me), people would be surprised to read:
15531 # /* config.h. Generated by config.status. */
15532 configure_input
='Generated from '`
15533 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15535 if test x
"$ac_file" != x-
; then
15536 configure_input
="$ac_file. $configure_input"
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15538 $as_echo "$as_me: creating $ac_file" >&6;}
15540 # Neutralize special characters interpreted by sed in replacement strings.
15541 case $configure_input in #(
15542 *\
&* |
*\|
* |
*\\* )
15543 ac_sed_conf_input
=`$as_echo "$configure_input" |
15544 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15545 *) ac_sed_conf_input
=$configure_input;;
15549 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15550 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15555 ac_dir
=`$as_dirname -- "$ac_file" ||
15556 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15557 X"$ac_file" : 'X\(//\)[^/]' \| \
15558 X"$ac_file" : 'X\(//\)$' \| \
15559 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15560 $as_echo X"$ac_file" |
15561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15565 /^X\(\/\/\)[^/].*/{
15578 as_dir
="$ac_dir"; as_fn_mkdir_p
15582 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15584 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15585 # A ".." for each directory in $ac_dir_suffix.
15586 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15587 case $ac_top_builddir_sub in
15588 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15589 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15592 ac_abs_top_builddir
=$ac_pwd
15593 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15594 # for backward compatibility:
15595 ac_top_builddir
=$ac_top_build_prefix
15598 .
) # We are building in place.
15600 ac_top_srcdir
=$ac_top_builddir_sub
15601 ac_abs_top_srcdir
=$ac_pwd ;;
15602 [\\/]* | ?
:[\\/]* ) # Absolute name.
15603 ac_srcdir
=$srcdir$ac_dir_suffix;
15604 ac_top_srcdir
=$srcdir
15605 ac_abs_top_srcdir
=$srcdir ;;
15606 *) # Relative name.
15607 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15608 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15609 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15611 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15623 # If the template does not know about datarootdir, expand it.
15624 # FIXME: This hack should be removed a few years after 2.60.
15625 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15636 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15637 *datarootdir
*) ac_datarootdir_seen
=yes;;
15638 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15640 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15643 ac_datarootdir_hack='
15644 s&@datadir@&$datadir&g
15645 s&@docdir@&$docdir&g
15646 s&@infodir@&$infodir&g
15647 s&@localedir@&$localedir&g
15648 s&@mandir@&$mandir&g
15649 s&\\\${datarootdir}&$datarootdir&g' ;;
15653 # Neutralize VPATH when `$srcdir' = `.'.
15654 # Shell code in configure.ac might set extrasub.
15655 # FIXME: do we really want to maintain this feature?
15656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15657 ac_sed_extra="$ac_vpsub
15660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15662 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15663 s|@configure_input@|
$ac_sed_conf_input|
;t t
15664 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15665 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15666 s
&@srcdir@
&$ac_srcdir&;t t
15667 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15668 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15669 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15670 s
&@builddir@
&$ac_builddir&;t t
15671 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15672 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15673 $ac_datarootdir_hack
15675 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15676 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15678 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15679 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15680 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15681 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15683 which seems to be undefined. Please make sure it is defined" >&5
15684 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15685 which seems to be undefined. Please make sure it is defined" >&2;}
15687 rm -f "$ac_tmp/stdin"
15689 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15690 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15692 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15698 if test x"$ac_file" != x-; then
15700 $as_echo "/* $configure_input */" \
15701 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15702 } >"$ac_tmp/config.h" \
15703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15704 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15706 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15709 mv "$ac_tmp/config.h" "$ac_file" \
15710 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15713 $as_echo "/* $configure_input */" \
15714 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15715 || as_fn_error $? "could not create -" "$LINENO" 5
15719 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15720 $as_echo "$as_me: executing $ac_file commands" >&6;}
15725 case $ac_file$ac_mode in
15726 "compiler_executable":C)
15727 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15729 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15730 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15734 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15736 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15737 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15738 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15739 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15740 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15741 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15742 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15744 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15746 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15754 ac_clean_files=$ac_clean_files_save
15756 test $ac_write_fail = 0 ||
15757 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15760 # configure is writing to config.log, and then calls config.status.
15761 # config.status does its own redirection, appending to config.log.
15762 # Unfortunately, on DOS this fails, as config.log is still kept open
15763 # by configure, so config.status won't be able to
write to it
; its
15764 # output is simply discarded. So we exec the FD to /dev/null,
15765 # effectively closing config.log, so it can be properly (re)opened and
15766 # appended to by config.status. When coming back to configure, we
15767 # need to make the FD available again.
15768 if test "$no_create" != yes; then
15770 ac_config_status_args
=
15771 test "$silent" = yes &&
15772 ac_config_status_args
="$ac_config_status_args --quiet"
15774 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15776 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15777 # would make configure fail if this is the last instruction.
15778 $ac_cs_success || as_fn_exit
1
15780 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15782 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15787 #XXX compatability...
15788 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15790 if test -n "$aros_shared_cflags" ; then
15791 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15792 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg