2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="mmakefile"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
595 ac_subst_vars
='LTLIBOBJS
597 ignore_undefined_symbols
609 gcc_default_float_abi
616 aros_nesting_supervisor
621 aros_host_x11_libdirs
622 aros_host_x11_includes
626 aros_default_wbheight
632 aros_cflags_format_security
633 aros_cflags_strict_overflow
634 aros_cflags_enum_compare
635 aros_cflags_array_bounds
636 aros_cflags_unused_but_set_variable
637 crosstools_cxx_target
639 aros_target_strip_flags
646 aros_kernel_objcflags
665 aros_target_cc_includes
680 aros_target_bootloader
700 aros_amigaos_compliance
706 aros_target_toolchain
715 aros_cflags_iquote_end
717 kernel_cflags_iquote_end
719 host_cflags_iquote_end
721 aros_target_nostdlib_ldflags
722 aros_target_detach_ldflags
723 aros_target_nix_ldflags
724 aros_target_nostartup_ldflags
725 aros_target_nostdinc_cflags
842 program_transform_name
855 enable_option_checking
860 with_kernel_gcc_version
864 enable_target_variant
870 enable_amigaos_compliance
871 with_kernel_toolchain_prefix
872 with_elf_toolchain_prefix
875 with_aros_toolchain_install
887 enable_palm_debug_hack
888 enable_nesting_supervisor
900 ac_precious_vars
='build_alias
916 # Initialize some variables set by options.
918 ac_init_version
=false
919 ac_unrecognized_opts
=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
930 program_transform_name
=s
,x
,x
,
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir
='${exec_prefix}/bin'
945 sbindir
='${exec_prefix}/sbin'
946 libexecdir
='${exec_prefix}/libexec'
947 datarootdir
='${prefix}/share'
948 datadir
='${datarootdir}'
949 sysconfdir
='${prefix}/etc'
950 sharedstatedir
='${prefix}/com'
951 localstatedir
='${prefix}/var'
952 includedir
='${prefix}/include'
953 oldincludedir
='/usr/include'
954 docdir
='${datarootdir}/doc/${PACKAGE}'
955 infodir
='${datarootdir}/info'
960 libdir
='${exec_prefix}/lib'
961 localedir
='${datarootdir}/locale'
962 mandir
='${datarootdir}/man'
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\
$ac_option
976 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980 # Accept the important Cygnus configure options, so we can diagnose typos.
982 case $ac_dashdash$ac_option in
986 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
988 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
991 -build |
--build |
--buil |
--bui |
--bu)
992 ac_prev
=build_alias
;;
993 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
994 build_alias
=$ac_optarg ;;
996 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
997 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
998 ac_prev
=cache_file
;;
999 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1000 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1001 cache_file
=$ac_optarg ;;
1003 --config-cache |
-C)
1004 cache_file
=config.cache
;;
1006 -datadir |
--datadir |
--datadi |
--datad)
1008 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1009 datadir
=$ac_optarg ;;
1011 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1012 |
--dataroo |
--dataro |
--datar)
1013 ac_prev
=datarootdir
;;
1014 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1015 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1016 datarootdir
=$ac_optarg ;;
1018 -disable-* |
--disable-*)
1019 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 as_fn_error
"invalid feature name: $ac_useropt"
1023 ac_useropt_orig
=$ac_useropt
1024 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_
$ac_useropt"
1029 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030 ac_unrecognized_sep
=', ';;
1032 eval enable_
$ac_useropt=no
;;
1034 -docdir |
--docdir |
--docdi |
--doc |
--do)
1036 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1037 docdir
=$ac_optarg ;;
1039 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1041 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1042 dvidir
=$ac_optarg ;;
1044 -enable-* |
--enable-*)
1045 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1048 as_fn_error
"invalid feature name: $ac_useropt"
1049 ac_useropt_orig
=$ac_useropt
1050 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_
$ac_useropt"
1055 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056 ac_unrecognized_sep
=', ';;
1058 eval enable_
$ac_useropt=\
$ac_optarg ;;
1060 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1061 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1062 |
--exec |
--exe |
--ex)
1063 ac_prev
=exec_prefix
;;
1064 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1065 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1066 |
--exec=* |
--exe=* |
--ex=*)
1067 exec_prefix
=$ac_optarg ;;
1069 -gas |
--gas |
--ga |
--g)
1070 # Obsolete; use --with-gas.
1073 -help |
--help |
--hel |
--he |
-h)
1074 ac_init_help
=long
;;
1075 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1076 ac_init_help
=recursive
;;
1077 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1078 ac_init_help
=short
;;
1080 -host |
--host |
--hos |
--ho)
1081 ac_prev
=host_alias
;;
1082 -host=* |
--host=* |
--hos=* |
--ho=*)
1083 host_alias
=$ac_optarg ;;
1085 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1087 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1089 htmldir
=$ac_optarg ;;
1091 -includedir |
--includedir |
--includedi |
--included |
--include \
1092 |
--includ |
--inclu |
--incl |
--inc)
1093 ac_prev
=includedir
;;
1094 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1095 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1096 includedir
=$ac_optarg ;;
1098 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1100 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1101 infodir
=$ac_optarg ;;
1103 -libdir |
--libdir |
--libdi |
--libd)
1105 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1106 libdir
=$ac_optarg ;;
1108 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1109 |
--libexe |
--libex |
--libe)
1110 ac_prev
=libexecdir
;;
1111 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1112 |
--libexe=* |
--libex=* |
--libe=*)
1113 libexecdir
=$ac_optarg ;;
1115 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1116 ac_prev
=localedir
;;
1117 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1118 localedir
=$ac_optarg ;;
1120 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1121 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1122 ac_prev
=localstatedir
;;
1123 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1124 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1125 localstatedir
=$ac_optarg ;;
1127 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1129 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1130 mandir
=$ac_optarg ;;
1132 -nfp |
--nfp |
--nf)
1133 # Obsolete; use --without-fp.
1136 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1137 |
--no-cr |
--no-c |
-n)
1140 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1141 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1144 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1145 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1146 |
--oldin |
--oldi |
--old |
--ol |
--o)
1147 ac_prev
=oldincludedir
;;
1148 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1149 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1150 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1151 oldincludedir
=$ac_optarg ;;
1153 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1155 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1156 prefix
=$ac_optarg ;;
1158 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1159 |
--program-pre |
--program-pr |
--program-p)
1160 ac_prev
=program_prefix
;;
1161 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1162 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1163 program_prefix
=$ac_optarg ;;
1165 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1166 |
--program-suf |
--program-su |
--program-s)
1167 ac_prev
=program_suffix
;;
1168 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1169 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1170 program_suffix
=$ac_optarg ;;
1172 -program-transform-name |
--program-transform-name \
1173 |
--program-transform-nam |
--program-transform-na \
1174 |
--program-transform-n |
--program-transform- \
1175 |
--program-transform |
--program-transfor \
1176 |
--program-transfo |
--program-transf \
1177 |
--program-trans |
--program-tran \
1178 |
--progr-tra |
--program-tr |
--program-t)
1179 ac_prev
=program_transform_name
;;
1180 -program-transform-name=* |
--program-transform-name=* \
1181 |
--program-transform-nam=* |
--program-transform-na=* \
1182 |
--program-transform-n=* |
--program-transform-=* \
1183 |
--program-transform=* |
--program-transfor=* \
1184 |
--program-transfo=* |
--program-transf=* \
1185 |
--program-trans=* |
--program-tran=* \
1186 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1187 program_transform_name
=$ac_optarg ;;
1189 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1191 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1192 pdfdir
=$ac_optarg ;;
1194 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1196 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1199 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1200 |
-silent |
--silent |
--silen |
--sile |
--sil)
1203 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1205 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1207 sbindir
=$ac_optarg ;;
1209 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1210 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1211 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1213 ac_prev
=sharedstatedir
;;
1214 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1215 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1216 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1218 sharedstatedir
=$ac_optarg ;;
1220 -site |
--site |
--sit)
1222 -site=* |
--site=* |
--sit=*)
1225 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1227 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1228 srcdir
=$ac_optarg ;;
1230 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1231 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1232 ac_prev
=sysconfdir
;;
1233 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1234 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1235 sysconfdir
=$ac_optarg ;;
1237 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1238 ac_prev
=target_alias
;;
1239 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1240 target_alias
=$ac_optarg ;;
1242 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1245 -version |
--version |
--versio |
--versi |
--vers |
-V)
1246 ac_init_version
=: ;;
1249 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1252 as_fn_error
"invalid package name: $ac_useropt"
1253 ac_useropt_orig
=$ac_useropt
1254 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1259 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1260 ac_unrecognized_sep
=', ';;
1262 eval with_
$ac_useropt=\
$ac_optarg ;;
1264 -without-* |
--without-*)
1265 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1268 as_fn_error
"invalid package name: $ac_useropt"
1269 ac_useropt_orig
=$ac_useropt
1270 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1275 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1276 ac_unrecognized_sep
=', ';;
1278 eval with_
$ac_useropt=no
;;
1281 # Obsolete; use --with-x.
1284 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1285 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1286 ac_prev
=x_includes
;;
1287 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1288 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1289 x_includes
=$ac_optarg ;;
1291 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1292 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1293 ac_prev
=x_libraries
;;
1294 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1295 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1296 x_libraries
=$ac_optarg ;;
1298 -*) as_fn_error
"unrecognized option: \`$ac_option'
1299 Try \`$0 --help' for more information."
1303 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 case $ac_envvar in #(
1306 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1307 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1309 eval $ac_envvar=\
$ac_optarg
1310 export $ac_envvar ;;
1313 # FIXME: should be removed in autoconf 3.0.
1314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1323 if test -n "$ac_prev"; then
1324 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1325 as_fn_error
"missing argument to $ac_option"
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1331 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1336 # Check all directory arguments for consistency.
1337 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338 datadir sysconfdir sharedstatedir localstatedir includedir \
1339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340 libdir localedir mandir
1342 eval ac_val
=\$
$ac_var
1343 # Remove trailing slashes.
1346 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1347 eval $ac_var=\
$ac_val;;
1349 # Be sure to have absolute directory names.
1351 [\\/$
]* | ?
:[\\/]* ) continue;;
1352 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1354 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1362 target
=$target_alias
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x
; then
1366 if test "x$build_alias" = x
; then
1367 cross_compiling
=maybe
1368 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1369 If a cross compiler is detected then cross compile mode will be used." >&2
1370 elif test "x$build_alias" != "x$host_alias"; then
1376 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1378 test "$silent" = yes && exec 6>/dev
/null
1381 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di
=`ls -di .` &&
1383 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1384 as_fn_error
"working directory cannot be determined"
1385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386 as_fn_error
"pwd does not report name of working directory"
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted
=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir
=`$as_dirname -- "$as_myself" ||
1394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$as_myself" : 'X\(//\)[^/]' \| \
1396 X"$as_myself" : 'X\(//\)$' \| \
1397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398 $as_echo X"$as_myself" |
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1421 ac_srcdir_defaulted
=no
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1425 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1427 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1439 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441 for ac_var
in $ac_precious_vars; do
1442 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1444 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1455 \`configure' configures this package to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1513 --x-includes=DIR X include files are
in DIR
1514 --x-libraries=DIR X library files are
in DIR
1517 --build=BUILD configure
for building on BUILD
[guessed
]
1518 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1522 if test -n "$ac_init_help"; then
1527 --disable-option-checking ignore unrecognized
--enable/--with options
1528 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1529 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1530 --enable-build-type=TYPE
1531 Select the build
type. Available types are
:
1532 personal
, nightly
, snapshot
, milestone
, release. Do
1533 NOT use this option unless you know what you are
1534 doing
! (default
=personal
)
1535 --enable-debug=list Enable different types of debug. Commas or
1536 whitespaces can be used to separate the items
in the
1537 list. Available types of debug are
: all
, none
,
1538 messages
, stack
, mungwall
, modules
, symbols. If no
1539 list is provided
then "all" is assumed.
1541 --enable-distcc Use distcc as a front end to the compiler
1543 --enable-ccache Use ccache as a front end to the compiler
1545 --enable-target-variant=NAME
1546 Enable a specific target variant
(default
=none
)
1547 --enable-amigaos-compliance=VERSION
1548 Enforce userspace AmigaOS compliance to a specific
1549 KickStart version
(default
=none
).
1550 --disable-crosstools Do not build cross-compiler toolchain
1551 --enable-includes=dir Alternative system include directory
1552 --enable-palm-debug-hack
1553 Enable palm debug output hack
in palm native
1555 --enable-nesting-supervisor
1556 Enable nesting supervisor support
in unix
1558 --disable-mmu Disable MMU support
(default
=enabled
)
1559 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1560 --enable-x11-shm use X11 shared memory
(default
=auto
)
1561 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1562 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1563 --disable-sdltest Do not try to compile and run a
test SDL program
1564 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1567 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1568 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1569 --with-kernel-gcc-version=VERSION
1570 Use
host gcc-VERSION
for building AROS
1571 --with-gcc-version=VERSION
1572 Use
host gcc-VERSION
for building AROS
1573 --with-optimization=FLAGS
1574 Use optimization flags FLAGS
(default
=-O2).
1575 --with-paranoia=FLAGS CC flags to
enable paranoia
1576 --with-xcode=PATH Specify XCode path
for iOS targets
1577 (default
=/Developer
).
1578 --with-sdk-version=VERSION
1579 Use iOS SDK version VERSION
(default
=4.1).
1580 --with-sdk=PATH Specify Android SDK path
1581 (default
=$default_android_sdk).
1582 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1583 --with-sdk-version=LEVEL
1584 Use Android SDK
for API LEVEL
(default
=12).
1585 --with-ndk-version=LEVEL
1586 Use Android NDK
for API LEVEL
(default
=9).
1587 --with-kernel-toolchain-prefix=...
1588 Specify crosscompile toolchain prefix
for kernel
1590 --with-elf-toolchain-prefix=...
1591 Specify crosscompile toolchain prefix to wrap
for
1593 --with-aros-toolchain=PREFIX
1594 Specify prebuilt AROS toolchain
1595 --with-aros-toolchain-install=DIR
1596 Where to
install or search
for cross tools binaries
1597 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1598 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1599 --with-float=<spec
> Specify floating point ABI
1600 (default
=$gcc_default_float_abi).
1601 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1602 --with-portssources=DIR Where to download sourcecode
for external ports
1603 --with-bootloader=NAME Use a specific bootloader
1604 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1605 --with-theme=NAME Use a specific GUI Theme
1606 --with-resolution=XRESxYRESxDEPTH
1607 Default resolution of the initial WorkbenchScreen
1608 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1609 --with-x use the X Window System
1610 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1611 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1613 Some influential environment variables
:
1614 CXX C
++ compiler
command
1615 CXXFLAGS C
++ compiler flags
1616 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1617 nonstandard directory
<lib dir
>
1618 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1619 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1620 you have headers
in a nonstandard directory
<include dir
>
1621 CC C compiler
command
1622 CFLAGS C compiler flags
1624 PYTHON the Python interpreter
1625 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1627 Use these variables to override the choices made by
`configure' or to help
1628 it to find libraries and programs with nonstandard names/locations.
1630 Report bugs to the package provider.
1635 if test "$ac_init_help" = "recursive"; then
1636 # If there are subdirs, report their specific --help.
1637 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1638 test -d "$ac_dir" ||
1639 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1646 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1647 # A ".." for each directory in $ac_dir_suffix.
1648 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1649 case $ac_top_builddir_sub in
1650 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1654 ac_abs_top_builddir=$ac_pwd
1655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1656 # for backward compatibility:
1657 ac_top_builddir=$ac_top_build_prefix
1660 .) # We are building in place.
1662 ac_top_srcdir=$ac_top_builddir_sub
1663 ac_abs_top_srcdir=$ac_pwd ;;
1664 [\\/]* | ?:[\\/]* ) # Absolute name.
1665 ac_srcdir=$srcdir$ac_dir_suffix;
1666 ac_top_srcdir=$srcdir
1667 ac_abs_top_srcdir=$srcdir ;;
1669 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1670 ac_top_srcdir=$ac_top_build_prefix$srcdir
1671 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1675 cd "$ac_dir" || { ac_status=$?; continue; }
1676 # Check for guested configure.
1677 if test -f "$ac_srcdir/configure.gnu"; then
1679 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1680 elif test -f "$ac_srcdir/configure"; then
1682 $SHELL "$ac_srcdir/configure" --help=recursive
1684 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1686 cd "$ac_pwd" || { ac_status=$?; break; }
1690 test -n "$ac_init_help" && exit $ac_status
1691 if $ac_init_version; then
1694 generated by GNU Autoconf 2.65
1696 Copyright (C) 2009 Free Software Foundation, Inc.
1697 This configure script is free software; the Free Software Foundation
1698 gives unlimited permission to copy, distribute and modify it.
1703 ## ------------------------ ##
1704 ## Autoconf initialization. ##
1705 ## ------------------------ ##
1707 # ac_fn_cxx_try_compile LINENO
1708 # ----------------------------
1709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1710 ac_fn_cxx_try_compile ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 rm -f conftest.$ac_objext
1714 if { { ac_try="$ac_compile"
1716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1717 *) ac_try_echo
=$ac_try;;
1719 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_compile") 2>conftest.err
1723 if test -s conftest.err
; then
1724 grep -v '^ *+' conftest.err
>conftest.er1
1725 cat conftest.er1
>&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_cxx_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest.
$ac_objext; then :
1735 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.
$ac_ext >&5
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1741 as_fn_set_status
$ac_retval
1743 } # ac_fn_cxx_try_compile
1745 # ac_fn_c_try_compile LINENO
1746 # --------------------------
1747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_c_try_compile
()
1750 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1751 rm -f conftest.
$ac_objext
1752 if { { ac_try
="$ac_compile"
1754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;;
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_compile") 2>conftest.err
1761 if test -s conftest.err; then
1762 grep -v '^ *+' conftest.err >conftest.er1
1763 cat conftest.er1 >&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && {
1768 test -z "$ac_c_werror_flag" ||
1769 test ! -s conftest.err
1770 } && test -s conftest.$ac_objext; then :
1773 $as_echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.$ac_ext >&5
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1779 as_fn_set_status $ac_retval
1781 } # ac_fn_c_try_compile
1783 # ac_fn_c_try_cpp LINENO
1784 # ----------------------
1785 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 if { { ac_try="$ac_cpp conftest.$ac_ext"
1791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1792 *) ac_try_echo
=$ac_try;;
1794 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1798 if test -s conftest.err
; then
1799 grep -v '^ *+' conftest.err
>conftest.er1
1800 cat conftest.er1
>&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } >/dev
/null
&& {
1805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.
$ac_ext >&5
1815 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1816 as_fn_set_status
$ac_retval
1820 # ac_fn_c_try_link LINENO
1821 # -----------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded.
1825 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1826 rm -f conftest.
$ac_objext conftest
$ac_exeext
1827 if { { ac_try
="$ac_link"
1829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1830 *) ac_try_echo=$ac_try;;
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>conftest.err
1836 if test -s conftest.err; then
1837 grep -v '^ *+' conftest.err >conftest.er1
1838 cat conftest.er1 >&5
1839 mv -f conftest.er1 conftest.err
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } && {
1843 test -z "$ac_c_werror_flag" ||
1844 test ! -s conftest.err
1845 } && test -s conftest$ac_exeext && {
1846 test "$cross_compiling" = yes ||
1847 $as_test_x conftest$ac_exeext
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1856 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1857 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1858 # interfere with the next link command; also delete a directory that is
1859 # left behind by Apple's compiler. We do this before executing the actions.
1860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862 as_fn_set_status $ac_retval
1864 } # ac_fn_c_try_link
1866 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1867 # -------------------------------------------------------
1868 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1869 # the include files in INCLUDES and setting the cache variable VAR
1871 ac_fn_c_check_header_mongrel ()
1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878 $as_echo_n "(cached) " >&6
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1882 $as_echo "$ac_res" >&6; }
1884 # Is the header compilable?
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1886 $as_echo_n "checking $2 usability... " >&6; }
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1892 if ac_fn_c_try_compile "$LINENO"; then :
1893 ac_header_compiler=yes
1895 ac_header_compiler=no
1897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1899 $as_echo "$ac_header_compiler" >&6; }
1901 # Is the header present?
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1903 $as_echo_n "checking $2 presence... " >&6; }
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1908 if ac_fn_c_try_cpp "$LINENO"; then :
1909 ac_header_preproc=yes
1911 ac_header_preproc=no
1913 rm -f conftest.err conftest.$ac_ext
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1915 $as_echo "$ac_header_preproc" >&6; }
1917 # So? What about this header?
1918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1921 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1923 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1927 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1929 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1931 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1933 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1941 $as_echo_n "(cached) " >&6
1943 eval "$3=\$ac_header_compiler"
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951 } # ac_fn_c_check_header_mongrel
1953 # ac_fn_c_try_run LINENO
1954 # ----------------------
1955 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1956 # that executables *can* be run.
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 if { { ac_try="$ac_link"
1962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1963 *) ac_try_echo
=$ac_try;;
1965 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_link") 2>&5
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1971 { { case "(($ac_try" in
1972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1973 *) ac_try_echo=$ac_try;;
1975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1976 $as_echo "$ac_try_echo"; } >&5
1977 (eval "$ac_try") 2>&5
1979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980 test $ac_status = 0; }; }; then :
1983 $as_echo "$as_me: program exited with status $ac_status" >&5
1984 $as_echo "$as_me: failed program was:" >&5
1985 sed 's/^/| /' conftest.$ac_ext >&5
1987 ac_retval=$ac_status
1989 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1990 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991 as_fn_set_status $ac_retval
1995 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1996 # -------------------------------------------------------
1997 # Tests whether HEADER exists and can be compiled using the include files in
1998 # INCLUDES, setting the cache variable VAR accordingly.
1999 ac_fn_c_check_header_compile ()
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2003 $as_echo_n "checking for $2... " >&6; }
2004 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2005 $as_echo_n "(cached) " >&6
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2012 if ac_fn_c_try_compile "$LINENO"; then :
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2022 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2024 } # ac_fn_c_check_header_compile
2026 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2027 # ----------------------------------------------------
2028 # Tries to find if the field MEMBER exists in type AGGR, after including
2029 # INCLUDES, setting cache variable VAR accordingly.
2030 ac_fn_c_check_member ()
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2034 $as_echo_n "checking for $2.$3... " >&6; }
2035 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2036 $as_echo_n "(cached) " >&6
2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2039 /* end confdefs.h. */
2051 if ac_fn_c_try_compile "$LINENO"; then :
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2061 if (sizeof ac_aggr.$3)
2067 if ac_fn_c_try_compile "$LINENO"; then :
2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078 $as_echo "$ac_res" >&6; }
2079 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2081 } # ac_fn_c_check_member
2083 # ac_fn_c_check_decl LINENO SYMBOL VAR
2084 # ------------------------------------
2085 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2086 ac_fn_c_check_decl ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2090 $as_echo_n "checking whether $2 is declared... " >&6; }
2091 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092 $as_echo_n "(cached) " >&6
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2108 if ac_fn_c_try_compile "$LINENO"; then :
2113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2117 $as_echo "$ac_res" >&6; }
2118 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2120 } # ac_fn_c_check_decl
2122 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2123 # -------------------------------------------
2124 # Tests whether TYPE exists after having included INCLUDES, setting cache
2125 # variable VAR accordingly.
2126 ac_fn_c_check_type ()
2128 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2130 $as_echo_n "checking for $2... " >&6; }
2131 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2132 $as_echo_n "(cached) " >&6
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2147 if ac_fn_c_try_compile "$LINENO"; then :
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2160 if ac_fn_c_try_compile "$LINENO"; then :
2165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2171 $as_echo "$ac_res" >&6; }
2172 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2174 } # ac_fn_c_check_type
2176 # ac_fn_c_check_func LINENO FUNC VAR
2177 # ----------------------------------
2178 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2179 ac_fn_c_check_func ()
2181 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2183 $as_echo_n "checking for $2... " >&6; }
2184 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2185 $as_echo_n "(cached) " >&6
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2189 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2191 #define $2 innocuous_$2
2193 /* System header to define __stub macros and hopefully few prototypes,
2194 which can conflict with char $2 (); below.
2195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2196 <limits.h> exists even on freestanding compilers. */
2199 # include <limits.h>
2201 # include <assert.h>
2206 /* Override any GCC internal prototype to avoid an error.
2207 Use char because int might match the return type of a GCC
2208 builtin and then its argument prototype would still apply. */
2213 /* The GNU C library defines this for functions which it implements
2214 to always fail with ENOSYS. Some functions are actually named
2215 something starting with __ and the normal name is an alias. */
2216 #if defined __stub_$2 || defined __stub___$2
2228 if ac_fn_c_try_link "$LINENO"; then :
2233 rm -f core conftest.err conftest.$ac_objext \
2234 conftest$ac_exeext conftest.$ac_ext
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2238 $as_echo "$ac_res" >&6; }
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2241 } # ac_fn_c_check_func
2242 cat >config.log <<_ACEOF
2243 This file contains any messages produced by compilers while
2244 running configure, to aid debugging if configure makes a mistake.
2246 It was created by $as_me, which was
2247 generated by GNU Autoconf 2.65. Invocation command line was
2259 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2260 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2261 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2262 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2263 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2265 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2266 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2268 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2269 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2270 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2271 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2272 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2273 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2274 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 $as_echo "PATH: $as_dir"
2299 # Keep a trace of the command line.
2300 # Strip out --no-create and --no-recursion so they do not pile up.
2301 # Strip out --silent because we don't want to record it for future runs.
2302 # Also quote any args containing shell meta-characters.
2303 # Make two passes to allow for proper duplicate-argument suppression.
2307 ac_must_keep_next=false
2313 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2314 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2315 | -silent | --silent | --silen | --sile | --sil)
2318 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2321 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2323 as_fn_append ac_configure_args1 " '$ac_arg'"
2324 if test $ac_must_keep_next = true; then
2325 ac_must_keep_next=false # Got value, back to normal.
2328 *=* | --config-cache | -C | -disable-* | --disable-* \
2329 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2330 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2331 | -with-* | --with-* | -without-* | --without-* | --x)
2332 case "$ac_configure_args0 " in
2333 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2336 -* ) ac_must_keep_next=true ;;
2339 as_fn_append ac_configure_args " '$ac_arg'"
2344 { ac_configure_args0=; unset ac_configure_args0;}
2345 { ac_configure_args1=; unset ac_configure_args1;}
2347 # When interrupted or exit'd, cleanup temporary files, and complete
2348 # config.log. We remove comments because anyway the quotes in there
2349 # would cause problems or look ugly.
2350 # WARNING: Use '\'' to represent an apostrophe within the trap.
2351 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2352 trap 'exit_status=$?
2353 # Save into config.log some information that might help in debugging.
2358 ## ---------------- ##
2359 ## Cache variables. ##
2360 ## ---------------- ##
2363 # The following way of writing the cache mishandles newlines in values,
2365 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2366 eval ac_val=\$$ac_var
2370 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2371 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2374 _ | IFS | as_nl) ;; #(
2375 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2376 *) { eval $ac_var=; unset $ac_var;} ;;
2381 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2382 *${as_nl}ac_space=\ *)
2384 "s/'\''/'\''\\\\'\'''\''/g;
2385 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2388 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2396 ## ----------------- ##
2397 ## Output variables. ##
2398 ## ----------------- ##
2401 for ac_var in $ac_subst_vars
2403 eval ac_val=\$$ac_var
2405 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2407 $as_echo "$ac_var='\''$ac_val'\''"
2411 if test -n "$ac_subst_files"; then
2413 ## ------------------- ##
2414 ## File substitutions. ##
2415 ## ------------------- ##
2418 for ac_var in $ac_subst_files
2420 eval ac_val=\$$ac_var
2422 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2424 $as_echo "$ac_var='\''$ac_val'\''"
2429 if test -s confdefs.h; then
2439 test "$ac_signal" != 0 &&
2440 $as_echo "$as_me: caught signal $ac_signal"
2441 $as_echo "$as_me: exit $exit_status"
2443 rm -f core *.core core.conftest.* &&
2444 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2447 for ac_signal in 1 2 13 15; do
2448 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2452 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2453 rm -f -r conftest* confdefs.h
2455 $as_echo "/* confdefs.h */" > confdefs.h
2457 # Predefined preprocessor variables.
2459 cat >>confdefs.h <<_ACEOF
2460 #define PACKAGE_NAME "$PACKAGE_NAME"
2463 cat >>confdefs.h <<_ACEOF
2464 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2467 cat >>confdefs.h <<_ACEOF
2468 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_STRING "$PACKAGE_STRING"
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_URL "$PACKAGE_URL"
2484 # Let the site file select an alternate cache file if it wants to.
2485 # Prefer an explicitly selected file to automatically selected ones.
2488 if test -n "$CONFIG_SITE"; then
2489 ac_site_file1=$CONFIG_SITE
2490 elif test "x$prefix" != xNONE; then
2491 ac_site_file1=$prefix/share/config.site
2492 ac_site_file2=$prefix/etc/config.site
2494 ac_site_file1=$ac_default_prefix/share/config.site
2495 ac_site_file2=$ac_default_prefix/etc/config.site
2497 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2499 test "x$ac_site_file" = xNONE && continue
2500 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2502 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2503 sed 's/^/| /' "$ac_site_file" >&5
2508 if test -r "$cache_file"; then
2509 # Some versions of bash will fail to source /dev/null (special files
2510 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2511 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2513 $as_echo "$as_me: loading cache $cache_file" >&6;}
2515 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2516 *) . "./$cache_file";;
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2521 $as_echo "$as_me: creating cache $cache_file" >&6;}
2525 as_fn_append ac_header_list " stdlib.h"
2526 as_fn_append ac_header_list " unistd.h"
2527 as_fn_append ac_header_list " sys/param.h"
2528 # Check that the precious variables saved in the cache have kept the same
2530 ac_cache_corrupted=false
2531 for ac_var in $ac_precious_vars; do
2532 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2533 eval ac_new_set=\$ac_env_${ac_var}_set
2534 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2535 eval ac_new_val=\$ac_env_${ac_var}_value
2536 case $ac_old_set,$ac_new_set in
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2539 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2540 ac_cache_corrupted=: ;;
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2543 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2544 ac_cache_corrupted=: ;;
2547 if test "x$ac_old_val" != "x$ac_new_val"; then
2548 # differences in whitespace do not lead to failure.
2549 ac_old_val_w=`echo x
$ac_old_val`
2550 ac_new_val_w=`echo x
$ac_new_val`
2551 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2553 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2554 ac_cache_corrupted=:
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2557 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2558 eval $ac_var=\$ac_old_val
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2561 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2563 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2566 # Pass precious variables to config.status.
2567 if test "$ac_new_set" = set; then
2569 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2570 *) ac_arg=$ac_var=$ac_new_val ;;
2572 case " $ac_configure_args " in
2573 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2574 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2578 if $ac_cache_corrupted; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2582 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2583 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2585 ## -------------------- ##
2586 ## Main body of script. ##
2587 ## -------------------- ##
2590 ac_cpp='$CPP $CPPFLAGS'
2591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2598 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2599 for ac_t in install-sh install.sh shtool; do
2600 if test -f "$ac_dir/$ac_t"; then
2602 ac_install_sh="$ac_aux_dir/$ac_t -c"
2607 if test -z "$ac_aux_dir"; then
2608 as_fn_error "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2611 # These three variables are undocumented and unsupported,
2612 # and are intended to be withdrawn in a future Autoconf release.
2613 # They can cause serious problems if a builder's source tree is in a directory
2614 # whose full name contains unusual characters.
2615 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2616 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2617 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2621 # Check what host we are running on.
2622 # If a target is not suggested, we use this one.
2623 # Note that what we call a target, Autoconf calls a host.
2624 # Make sure we can run config.sub.
2625 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2626 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2629 $as_echo_n "checking build system type... " >&6; }
2630 if test "${ac_cv_build+set}" = set; then :
2631 $as_echo_n "(cached) " >&6
2633 ac_build_alias=$build_alias
2634 test "x$ac_build_alias" = x &&
2635 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2636 test "x$ac_build_alias" = x &&
2637 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2638 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2639 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2643 $as_echo "$ac_cv_build" >&6; }
2644 case $ac_cv_build in
2646 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2649 ac_save_IFS=$IFS; IFS='-'
2655 # Remember, the first character of IFS is used to create $*,
2656 # except with old shells:
2659 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2663 $as_echo_n "checking host system type... " >&6; }
2664 if test "${ac_cv_host+set}" = set; then :
2665 $as_echo_n "(cached) " >&6
2667 if test "x$host_alias" = x; then
2668 ac_cv_host=$ac_cv_build
2670 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2671 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2676 $as_echo "$ac_cv_host" >&6; }
2679 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2682 ac_save_IFS=$IFS; IFS='-'
2688 # Remember, the first character of IFS is used to create $*,
2689 # except with old shells:
2692 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2696 # The AROS target is slightly different to the normal GNU style
2697 # format. We don't have the middle part, and we reverse the order
2698 # of the $(CPU) and $(OS) bits.
2700 # Don't strip the version of the target yet, it might be
2701 # useful on some systems.
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2704 $as_echo_n "checking for AROS style target... " >&6; }
2706 if test "$target" = "NONE" ; then
2707 target=$host_os-$host_cpu
2709 if test "$target" = "" ; then
2710 target=$host_os-$host_cpu
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2714 $as_echo "$target" >&6; }
2716 if test "$host_os" = "mingw32" ; then
2720 # Don't know where else to put this...
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2722 $as_echo_n "checking building AROS in... " >&6; }
2723 AROS_BUILDDIR=`${PWDCMD-pwd}`
2724 AROS_BUILDDIR_UNIX=${PWD}
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2726 $as_echo "$AROS_BUILDDIR" >&6; }
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2729 $as_echo_n "checking AROS source in... " >&6; }
2730 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2733 $as_echo "$SRCDIR" >&6; }
2735 # Parse the target field into something useful.
2737 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2738 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2741 # Some debug output, to be removed again.
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2743 $as_echo_n "checking for target system (debug output)... " >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2745 $as_echo "$target_os" >&6; }
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2747 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2749 $as_echo "$target_cpu" >&6; }
2751 aros_default_wbwidth=800
2752 aros_default_wbheight=600
2753 aros_default_wbdepth=4
2756 # The first step is to find the host binaries.
2757 # Check for a compiler.
2758 # Due to a bug in autoconf check for c++ compiler first.
2759 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2761 ac_cpp='$CXXCPP $CPPFLAGS'
2762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2765 if test -z "$CXX"; then
2766 if test -n "$CCC"; then
2769 if test -n "$ac_tool_prefix"; then
2770 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2772 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2773 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775 $as_echo_n "checking for $ac_word... " >&6; }
2776 if test "${ac_cv_prog_CXX+set}" = set; then :
2777 $as_echo_n "(cached) " >&6
2779 if test -n "$CXX"; then
2780 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir=.
2787 for ac_exec_ext in '' $ac_executable_extensions; do
2788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 if test -n "$CXX"; then
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2802 $as_echo "$CXX" >&6; }
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805 $as_echo "no" >&6; }
2809 test -n "$CXX" && break
2812 if test -z "$CXX"; then
2814 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2816 # Extract the first word of "$ac_prog", so it can be a program name with args.
2817 set dummy $ac_prog; ac_word=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2821 $as_echo_n "(cached) " >&6
2823 if test -n "$ac_ct_CXX"; then
2824 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 ac_cv_prog_ac_ct_CXX="$ac_prog"
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2844 if test -n "$ac_ct_CXX"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2846 $as_echo "$ac_ct_CXX" >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2853 test -n "$ac_ct_CXX" && break
2856 if test "x$ac_ct_CXX" = x; then
2859 case $cross_compiling:$ac_tool_warned in
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2863 ac_tool_warned=yes ;;
2871 # Provide some information about the compiler.
2872 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2875 for ac_option in --version -v -V -qversion; do
2876 { { ac_try="$ac_compiler $ac_option >&5"
2878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2879 *) ac_try_echo
=$ac_try;;
2881 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2882 $as_echo "$ac_try_echo"; } >&5
2883 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2885 if test -s conftest.err
; then
2887 ... rest of stderr output deleted ...
2888 10q' conftest.err
>conftest.er1
2889 cat conftest.er1
>&5
2891 rm -f conftest.er1 conftest.err
2892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2893 test $ac_status = 0; }
2896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2907 ac_clean_files_save
=$ac_clean_files
2908 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2909 # Try to create an executable without -o first, disregard a.out.
2910 # It will help us diagnose broken compilers, and finding out an intuition
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2913 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2914 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2916 # The possible output files:
2917 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2920 for ac_file
in $ac_files
2923 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2924 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2929 if { { ac_try
="$ac_link_default"
2931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2935 $as_echo "$ac_try_echo"; } >&5
2936 (eval "$ac_link_default") 2>&5
2938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2939 test $ac_status = 0; }; then :
2940 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2941 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2942 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2943 # so that the user can short-circuit this test for compilers unknown to
2945 for ac_file in $ac_files ''
2947 test -f "$ac_file" || continue
2949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2952 # We found the default executable, but exeext='' is most
2956 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2958 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2960 # We set ac_cv_exeext here because the later test for it is not
2961 # safe: cross compilers may not add the suffix if given an `-o'
2962 # argument, so we may need to know it at that point already.
2963 # Even if this section looks crufty: it has the advantage of
2970 test "$ac_cv_exeext" = no && ac_cv_exeext=
2975 if test -z "$ac_file"; then :
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2977 $as_echo "no" >&6; }
2978 $as_echo "$as_me: failed program was:" >&5
2979 sed 's
/^
/|
/' conftest.$ac_ext >&5
2981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2982 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2983 { as_fn_set_status 77
2984 as_fn_error "C++ compiler cannot create executables
2985 See \`config.log
' for more details." "$LINENO" 5; }; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2988 $as_echo "yes" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2991 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2993 $as_echo "$ac_file" >&6; }
2994 ac_exeext=$ac_cv_exeext
2996 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2997 ac_clean_files=$ac_clean_files_save
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2999 $as_echo_n "checking for suffix of executables... " >&6; }
3000 if { { ac_try="$ac_link"
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3006 $as_echo "$ac_try_echo"; } >&5
3007 (eval "$ac_link") 2>&5
3009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3010 test $ac_status = 0; }; then :
3011 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3012 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3013 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3015 for ac_file
in conftest.exe conftest conftest.
*; do
3016 test -f "$ac_file" ||
continue
3018 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3019 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3027 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3028 See \`config.log' for more details." "$LINENO" 5; }
3030 rm -f conftest conftest
$ac_cv_exeext
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3032 $as_echo "$ac_cv_exeext" >&6; }
3034 rm -f conftest.
$ac_ext
3035 EXEEXT
=$ac_cv_exeext
3037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3038 /* end confdefs.h. */
3043 FILE *f = fopen ("conftest.out", "w");
3044 return ferror (f) || fclose (f) != 0;
3050 ac_clean_files
="$ac_clean_files conftest.out"
3051 # Check that the compiler produces executables we can run. If not, either
3052 # the compiler is broken, or we cross compile.
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3054 $as_echo_n "checking whether we are cross compiling... " >&6; }
3055 if test "$cross_compiling" != yes; then
3056 { { ac_try
="$ac_link"
3058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3062 $as_echo "$ac_try_echo"; } >&5
3063 (eval "$ac_link") 2>&5
3065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3066 test $ac_status = 0; }
3067 if { ac_try='./conftest$ac_cv_exeext'
3068 { { case "(($ac_try" in
3069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3070 *) ac_try_echo
=$ac_try;;
3072 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074 (eval "$ac_try") 2>&5
3076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3077 test $ac_status = 0; }; }; then
3080 if test "$cross_compiling" = maybe
; then
3083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3085 as_fn_error
"cannot run C++ compiled programs.
3086 If you meant to cross compile, use \`--host'.
3087 See \`config.log' for more details." "$LINENO" 5; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3092 $as_echo "$cross_compiling" >&6; }
3094 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3095 ac_clean_files
=$ac_clean_files_save
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3097 $as_echo_n "checking for suffix of object files... " >&6; }
3098 if test "${ac_cv_objext+set}" = set; then :
3099 $as_echo_n "(cached) " >&6
3101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3112 rm -f conftest.o conftest.obj
3113 if { { ac_try
="$ac_compile"
3115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119 $as_echo "$ac_try_echo"; } >&5
3120 (eval "$ac_compile") 2>&5
3122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123 test $ac_status = 0; }; then :
3124 for ac_file in conftest.o conftest.obj conftest.*; do
3125 test -f "$ac_file" || continue;
3127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3128 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3133 $as_echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3138 as_fn_error "cannot compute suffix of object files
: cannot compile
3139 See \
`config.log' for more details." "$LINENO" 5; }
3141 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3144 $as_echo "$ac_cv_objext" >&6; }
3145 OBJEXT=$ac_cv_objext
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3148 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3149 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3150 $as_echo_n "(cached) " >&6
3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3166 if ac_fn_cxx_try_compile "$LINENO"; then :
3171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3172 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3176 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3177 if test $ac_compiler_gnu = yes; then
3182 ac_test_CXXFLAGS=${CXXFLAGS+set}
3183 ac_save_CXXFLAGS=$CXXFLAGS
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3185 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3186 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3187 $as_echo_n "(cached) " >&6
3189 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3190 ac_cxx_werror_flag=yes
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3204 if ac_fn_cxx_try_compile "$LINENO"; then :
3205 ac_cv_prog_cxx_g=yes
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3219 if ac_fn_cxx_try_compile "$LINENO"; then :
3222 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3235 if ac_fn_cxx_try_compile "$LINENO"; then :
3236 ac_cv_prog_cxx_g=yes
3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3246 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3247 if test "$ac_test_CXXFLAGS" = set; then
3248 CXXFLAGS=$ac_save_CXXFLAGS
3249 elif test $ac_cv_prog_cxx_g = yes; then
3250 if test "$GXX" = yes; then
3256 if test "$GXX" = yes; then
3263 ac_cpp='$CPP $CPPFLAGS'
3264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 ac_cpp='$CPP $CPPFLAGS'
3270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3273 if test -n "$ac_tool_prefix"; then
3274 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3275 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277 $as_echo_n "checking for $ac_word... " >&6; }
3278 if test "${ac_cv_prog_CC+set}" = set; then :
3279 $as_echo_n "(cached) " >&6
3281 if test -n "$CC"; then
3282 ac_cv_prog_CC="$CC" # Let the user override the test.
3284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3288 test -z "$as_dir" && as_dir=.
3289 for ac_exec_ext in '' $ac_executable_extensions; do
3290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3291 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 if test -n "$CC"; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3304 $as_echo "$CC" >&6; }
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3312 if test -z "$ac_cv_prog_CC"; then
3314 # Extract the first word of "gcc", so it can be a program name with args.
3315 set dummy gcc; ac_word=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3319 $as_echo_n "(cached) " >&6
3321 if test -n "$ac_ct_CC"; then
3322 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir=.
3329 for ac_exec_ext in '' $ac_executable_extensions; do
3330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3331 ac_cv_prog_ac_ct_CC="gcc"
3332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3342 if test -n "$ac_ct_CC"; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3344 $as_echo "$ac_ct_CC" >&6; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
3350 if test "x$ac_ct_CC" = x; then
3353 case $cross_compiling:$ac_tool_warned in
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3357 ac_tool_warned=yes ;;
3365 if test -z "$CC"; then
3366 if test -n "$ac_tool_prefix"; then
3367 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3368 set dummy ${ac_tool_prefix}cc; ac_word=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if test "${ac_cv_prog_CC+set}" = set; then :
3372 $as_echo_n "(cached) " >&6
3374 if test -n "$CC"; then
3375 ac_cv_prog_CC="$CC" # Let the user override the test.
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir=.
3382 for ac_exec_ext in '' $ac_executable_extensions; do
3383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3384 ac_cv_prog_CC="${ac_tool_prefix}cc"
3385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 if test -n "$CC"; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3397 $as_echo "$CC" >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3406 if test -z "$CC"; then
3407 # Extract the first word of "cc", so it can be a program name with args.
3408 set dummy cc; ac_word=$2
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3410 $as_echo_n "checking for $ac_word... " >&6; }
3411 if test "${ac_cv_prog_CC+set}" = set; then :
3412 $as_echo_n "(cached) " >&6
3414 if test -n "$CC"; then
3415 ac_cv_prog_CC="$CC" # Let the user override the test.
3418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3422 test -z "$as_dir" && as_dir=.
3423 for ac_exec_ext in '' $ac_executable_extensions; do
3424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3425 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3426 ac_prog_rejected=yes
3430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3437 if test $ac_prog_rejected = yes; then
3438 # We found a bogon in the path, so make sure we never use it.
3439 set dummy $ac_cv_prog_CC
3441 if test $# != 0; then
3442 # We chose a different compiler from the bogus one.
3443 # However, it has the same basename, so the bogon will be chosen
3444 # first if we set CC to just the basename; use the full file name.
3446 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3452 if test -n "$CC"; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3454 $as_echo "$CC" >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3462 if test -z "$CC"; then
3463 if test -n "$ac_tool_prefix"; then
3464 for ac_prog in cl.exe
3466 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3467 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3469 $as_echo_n "checking for $ac_word... " >&6; }
3470 if test "${ac_cv_prog_CC+set}" = set; then :
3471 $as_echo_n "(cached) " >&6
3473 if test -n "$CC"; then
3474 ac_cv_prog_CC="$CC" # Let the user override the test.
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480 test -z "$as_dir" && as_dir=.
3481 for ac_exec_ext in '' $ac_executable_extensions; do
3482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3483 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494 if test -n "$CC"; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3496 $as_echo "$CC" >&6; }
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499 $as_echo "no" >&6; }
3503 test -n "$CC" && break
3506 if test -z "$CC"; then
3508 for ac_prog in cl.exe
3510 # Extract the first word of "$ac_prog", so it can be a program name with args.
3511 set dummy $ac_prog; ac_word=$2
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3513 $as_echo_n "checking for $ac_word... " >&6; }
3514 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3515 $as_echo_n "(cached) " >&6
3517 if test -n "$ac_ct_CC"; then
3518 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 test -z "$as_dir" && as_dir=.
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3527 ac_cv_prog_ac_ct_CC="$ac_prog"
3528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3538 if test -n "$ac_ct_CC"; then
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3540 $as_echo "$ac_ct_CC" >&6; }
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3547 test -n "$ac_ct_CC" && break
3550 if test "x$ac_ct_CC" = x; then
3553 case $cross_compiling:$ac_tool_warned in
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3557 ac_tool_warned=yes ;;
3566 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3568 as_fn_error "no acceptable C compiler found
in \
$PATH
3569 See \
`config.log' for more details." "$LINENO" 5; }
3571 # Provide some information about the compiler.
3572 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3575 for ac_option in --version -v -V -qversion; do
3576 { { ac_try="$ac_compiler $ac_option >&5"
3578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3579 *) ac_try_echo
=$ac_try;;
3581 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3582 $as_echo "$ac_try_echo"; } >&5
3583 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3585 if test -s conftest.err
; then
3587 ... rest of stderr output deleted ...
3588 10q' conftest.err
>conftest.er1
3589 cat conftest.er1
>&5
3591 rm -f conftest.er1 conftest.err
3592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593 test $ac_status = 0; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3597 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3598 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3599 $as_echo_n "(cached) " >&6
3601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3615 if ac_fn_c_try_compile
"$LINENO"; then :
3620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3621 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3625 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3626 if test $ac_compiler_gnu = yes; then
3631 ac_test_CFLAGS
=${CFLAGS+set}
3632 ac_save_CFLAGS
=$CFLAGS
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3634 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3635 if test "${ac_cv_prog_cc_g+set}" = set; then :
3636 $as_echo_n "(cached) " >&6
3638 ac_save_c_werror_flag
=$ac_c_werror_flag
3639 ac_c_werror_flag
=yes
3642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3653 if ac_fn_c_try_compile
"$LINENO"; then :
3657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3668 if ac_fn_c_try_compile
"$LINENO"; then :
3671 ac_c_werror_flag
=$ac_save_c_werror_flag
3673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3674 /* end confdefs.h. */
3684 if ac_fn_c_try_compile
"$LINENO"; then :
3687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3692 ac_c_werror_flag
=$ac_save_c_werror_flag
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3695 $as_echo "$ac_cv_prog_cc_g" >&6; }
3696 if test "$ac_test_CFLAGS" = set; then
3697 CFLAGS
=$ac_save_CFLAGS
3698 elif test $ac_cv_prog_cc_g = yes; then
3699 if test "$GCC" = yes; then
3705 if test "$GCC" = yes; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3712 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3713 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3714 $as_echo_n "(cached) " >&6
3716 ac_cv_prog_cc_c89
=no
3718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3722 #include <sys/types.h>
3723 #include <sys/stat.h>
3724 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3725 struct buf { int x; };
3726 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3727 static char *e (p, i)
3733 static char *f (char * (*g) (char **, int), char **p, ...)
3738 s = g (p, va_arg (v,int));
3743 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3744 function prototypes and stuff, but not '\xHH' hex character constants.
3745 These don't provoke an error unfortunately, instead are silently treated
3746 as 'x'. The following induces an error, until -std is added to get
3747 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3748 array size at least. It's necessary to write '\x00'==0 to get something
3749 that's true only with -std. */
3750 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3752 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3753 inside strings and character constants. */
3755 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3757 int test (int i, double x);
3758 struct s1 {int (*f) (int a);};
3759 struct s2 {int (*f) (double a);};
3760 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3766 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3771 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3772 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3774 CC
="$ac_save_CC $ac_arg"
3775 if ac_fn_c_try_compile
"$LINENO"; then :
3776 ac_cv_prog_cc_c89
=$ac_arg
3778 rm -f core conftest.err conftest.
$ac_objext
3779 test "x$ac_cv_prog_cc_c89" != "xno" && break
3781 rm -f conftest.
$ac_ext
3786 case "x$ac_cv_prog_cc_c89" in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3789 $as_echo "none needed" >&6; } ;;
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3792 $as_echo "unsupported" >&6; } ;;
3794 CC
="$CC $ac_cv_prog_cc_c89"
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3796 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3798 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3803 ac_cpp
='$CPP $CPPFLAGS'
3804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3808 case $ac_cv_prog_cc_stdc in #(
3810 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3813 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3814 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3815 $as_echo_n "(cached) " >&6
3817 ac_cv_prog_cc_c99
=no
3819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3822 #include <stdbool.h>
3827 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3828 #define debug(...) fprintf (stderr, __VA_ARGS__)
3829 #define showlist(...) puts (#__VA_ARGS__)
3830 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3832 test_varargs_macros (void)
3837 debug ("X = %d\n", x);
3838 showlist (The first, second, and third items.);
3839 report (x>y, "x is %d but y is %d", x, y);
3842 // Check long long types.
3843 #define BIG64 18446744073709551615ull
3844 #define BIG32 4294967295ul
3845 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3847 your preprocessor is broken;
3851 your preprocessor is broken;
3853 static long long int bignum = -9223372036854775807LL;
3854 static unsigned long long int ubignum = BIG64;
3856 struct incomplete_array
3864 const wchar_t *name;
3868 typedef const char *ccp;
3871 test_restrict (ccp restrict text)
3873 // See if C++-style comments work.
3874 // Iterate through items via the restricted pointer.
3875 // Also check for declarations in for loops.
3876 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3881 // Check varargs and va_copy.
3883 test_varargs (const char *format, ...)
3886 va_start (args, format);
3888 va_copy (args_copy, args);
3899 str = va_arg (args_copy, const char *);
3902 number = va_arg (args_copy, int);
3905 fnumber = va_arg (args_copy, double);
3920 _Bool success = false;
3923 if (test_restrict ("String literal") == 0)
3925 char *restrict newvar = "Another string";
3928 test_varargs ("s, d' f .", "string", 65, 34.234);
3929 test_varargs_macros ();
3931 // Check flexible array members.
3932 struct incomplete_array *ia =
3933 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3935 for (int i = 0; i < ia->datasize; ++i)
3936 ia->data[i] = i * 1.234;
3938 // Check named initializers.
3939 struct named_init ni = {
3941 .name = L"Test wide string",
3942 .average = 543.34343,
3947 int dynamic_array[ni.number];
3948 dynamic_array[ni.number - 1] = 543;
3950 // work around unused variable warnings
3951 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3952 || dynamic_array[ni.number - 1] != 543);
3958 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
3960 CC
="$ac_save_CC $ac_arg"
3961 if ac_fn_c_try_compile
"$LINENO"; then :
3962 ac_cv_prog_cc_c99
=$ac_arg
3964 rm -f core conftest.err conftest.
$ac_objext
3965 test "x$ac_cv_prog_cc_c99" != "xno" && break
3967 rm -f conftest.
$ac_ext
3972 case "x$ac_cv_prog_cc_c99" in
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3975 $as_echo "none needed" >&6; } ;;
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3978 $as_echo "unsupported" >&6; } ;;
3980 CC
="$CC $ac_cv_prog_cc_c99"
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3982 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3984 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3985 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3988 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3989 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3990 $as_echo_n "(cached) " >&6
3992 ac_cv_prog_cc_c89
=no
3994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
3998 #include <sys/types.h>
3999 #include <sys/stat.h>
4000 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4001 struct buf { int x; };
4002 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4003 static char *e (p, i)
4009 static char *f (char * (*g) (char **, int), char **p, ...)
4014 s = g (p, va_arg (v,int));
4019 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4020 function prototypes and stuff, but not '\xHH' hex character constants.
4021 These don't provoke an error unfortunately, instead are silently treated
4022 as 'x'. The following induces an error, until -std is added to get
4023 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4024 array size at least. It's necessary to write '\x00'==0 to get something
4025 that's true only with -std. */
4026 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4028 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4029 inside strings and character constants. */
4031 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4033 int test (int i, double x);
4034 struct s1 {int (*f) (int a);};
4035 struct s2 {int (*f) (double a);};
4036 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4042 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4047 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4048 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4050 CC
="$ac_save_CC $ac_arg"
4051 if ac_fn_c_try_compile
"$LINENO"; then :
4052 ac_cv_prog_cc_c89
=$ac_arg
4054 rm -f core conftest.err conftest.
$ac_objext
4055 test "x$ac_cv_prog_cc_c89" != "xno" && break
4057 rm -f conftest.
$ac_ext
4062 case "x$ac_cv_prog_cc_c89" in
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4065 $as_echo "none needed" >&6; } ;;
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4068 $as_echo "unsupported" >&6; } ;;
4070 CC
="$CC $ac_cv_prog_cc_c89"
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4072 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4074 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4075 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4077 ac_cv_prog_cc_stdc
=no
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4084 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4085 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4089 case $ac_cv_prog_cc_stdc in #(
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4092 $as_echo "unsupported" >&6; } ;; #(
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4095 $as_echo "none needed" >&6; } ;; #(
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4098 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4102 ac_cpp
='$CPP $CPPFLAGS'
4103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4107 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4108 # On Suns, sometimes $CPP names a directory.
4109 if test -n "$CPP" && test -d "$CPP"; then
4112 if test -z "$CPP"; then
4113 if test "${ac_cv_prog_CPP+set}" = set; then :
4114 $as_echo_n "(cached) " >&6
4116 # Double quotes because CPP needs to be expanded
4117 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4120 for ac_c_preproc_warn_flag
in '' yes
4122 # Use a header file that comes with gcc, so configuring glibc
4123 # with a fresh cross-compiler works.
4124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4125 # <limits.h> exists even on freestanding compilers.
4126 # On the NeXT, cc -E runs the code through the compiler's parser,
4127 # not just through cpp. "Syntax error" is here to catch this case.
4128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4131 # include <limits.h>
4133 # include <assert.h>
4137 if ac_fn_c_try_cpp
"$LINENO"; then :
4140 # Broken: fails on valid input.
4143 rm -f conftest.err conftest.
$ac_ext
4145 # OK, works on sane cases. Now check whether nonexistent headers
4146 # can be detected and how.
4147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4149 #include <ac_nonexistent.h>
4151 if ac_fn_c_try_cpp
"$LINENO"; then :
4152 # Broken: success on invalid input.
4155 # Passes both tests.
4159 rm -f conftest.err conftest.
$ac_ext
4162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4163 rm -f conftest.err conftest.
$ac_ext
4164 if $ac_preproc_ok; then :
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4177 $as_echo "$CPP" >&6; }
4179 for ac_c_preproc_warn_flag
in '' yes
4181 # Use a header file that comes with gcc, so configuring glibc
4182 # with a fresh cross-compiler works.
4183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4184 # <limits.h> exists even on freestanding compilers.
4185 # On the NeXT, cc -E runs the code through the compiler's parser,
4186 # not just through cpp. "Syntax error" is here to catch this case.
4187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4190 # include <limits.h>
4192 # include <assert.h>
4196 if ac_fn_c_try_cpp
"$LINENO"; then :
4199 # Broken: fails on valid input.
4202 rm -f conftest.err conftest.
$ac_ext
4204 # OK, works on sane cases. Now check whether nonexistent headers
4205 # can be detected and how.
4206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4208 #include <ac_nonexistent.h>
4210 if ac_fn_c_try_cpp
"$LINENO"; then :
4211 # Broken: success on invalid input.
4214 # Passes both tests.
4218 rm -f conftest.err conftest.
$ac_ext
4221 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4222 rm -f conftest.err conftest.
$ac_ext
4223 if $ac_preproc_ok; then :
4226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4228 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4229 See \`config.log' for more details." "$LINENO" 5; }
4233 ac_cpp
='$CPP $CPPFLAGS'
4234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4239 # Check for a compatible awk
4240 for ac_prog
in gawk nawk
4242 # Extract the first word of "$ac_prog", so it can be a program name with args.
4243 set dummy
$ac_prog; ac_word
=$2
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4245 $as_echo_n "checking for $ac_word... " >&6; }
4246 if test "${ac_cv_prog_AWK+set}" = set; then :
4247 $as_echo_n "(cached) " >&6
4249 if test -n "$AWK"; then
4250 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir
=.
4257 for ac_exec_ext
in '' $ac_executable_extensions; do
4258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4259 ac_cv_prog_AWK
="$ac_prog"
4260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4270 if test -n "$AWK"; then
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4272 $as_echo "$AWK" >&6; }
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4275 $as_echo "no" >&6; }
4279 test -n "$AWK" && break
4282 if test "$AWK" = ""; then
4283 as_fn_error
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4285 # Extract the first word of "mmake", so it can be a program name with args.
4286 set dummy mmake
; ac_word
=$2
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4288 $as_echo_n "checking for $ac_word... " >&6; }
4289 if test "${ac_cv_prog_MMAKE+set}" = set; then :
4290 $as_echo_n "(cached) " >&6
4292 if test -n "$MMAKE"; then
4293 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 test -z "$as_dir" && as_dir
=.
4300 for ac_exec_ext
in '' $ac_executable_extensions; do
4301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4302 ac_cv_prog_MMAKE
="mmake "
4303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 MMAKE
=$ac_cv_prog_MMAKE
4313 if test -n "$MMAKE"; then
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4315 $as_echo "$MMAKE" >&6; }
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4318 $as_echo "no" >&6; }
4323 # Perform some default variable assignments. Note all of these will be
4324 # Regenerated from the script, so there is no need to cache them.
4326 aros_host_cpp
="$CPP"
4328 aros_host_cxx
="$CXX"
4329 if test "$GCC" = "yes"; then
4330 aros_gcc_ld
=`$CC -print-prog-name=ld`
4331 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4332 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4334 $as_echo_n "checking for $ac_word... " >&6; }
4335 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4336 $as_echo_n "(cached) " >&6
4338 case $aros_host_ld in
4340 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4344 for as_dir
in `dirname $aros_gcc_ld`
4347 test -z "$as_dir" && as_dir
=.
4348 for ac_exec_ext
in '' $ac_executable_extensions; do
4349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4350 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361 aros_host_ld
=$ac_cv_path_aros_host_ld
4362 if test -n "$aros_host_ld"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4364 $as_echo "$aros_host_ld" >&6; }
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4372 if test "$aros_host_ld" = ""; then
4373 # Extract the first word of "ld", so it can be a program name with args.
4374 set dummy ld
; ac_word
=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4378 $as_echo_n "(cached) " >&6
4380 case $aros_host_ld in
4382 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4389 test -z "$as_dir" && as_dir
=.
4390 for ac_exec_ext
in '' $ac_executable_extensions; do
4391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4392 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 aros_host_ld
=$ac_cv_path_aros_host_ld
4404 if test -n "$aros_host_ld"; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4406 $as_echo "$aros_host_ld" >&6; }
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4409 $as_echo "no" >&6; }
4414 if test "$aros_host_ld" = ""; then
4415 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4417 aros_host_make
="make"
4418 aros_host_cflags
=$CFLAGS
4419 aros_host_cxxflags
=$CXXFLAGS
4420 aros_host_ldflags
=$LDFLAGS
4421 aros_host_debug
="-g -O0"
4422 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4423 aros_host_mkargs
="--no-print-directory"
4424 aros_host_exe_suffix
="$EXEEXT"
4425 aros_host_lib_suffix
=""
4427 # Ignore all compliance, AROS ROMs = 0
4428 # KickStart v1.0 = 30
4429 # KickStart v1.3 = 34
4430 # KickStart v2.0 = 37
4431 # KickStart v3.0 = 39
4432 # KickStart v3.1 = 40
4434 aros_amigaos_compliance
=0
4436 for ac_prog
in aclocal aclocal19 aclocal-1.9
4438 # Extract the first word of "$ac_prog", so it can be a program name with args.
4439 set dummy
$ac_prog; ac_word
=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4443 $as_echo_n "(cached) " >&6
4445 if test -n "$aros_host_aclocal"; then
4446 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir
=.
4453 for ac_exec_ext
in '' $ac_executable_extensions; do
4454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4455 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4466 if test -n "$aros_host_aclocal"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4468 $as_echo "$aros_host_aclocal" >&6; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4475 test -n "$aros_host_aclocal" && break
4478 for ac_prog
in autoconf autoconf259 autoconf253
4480 # Extract the first word of "$ac_prog", so it can be a program name with args.
4481 set dummy
$ac_prog; ac_word
=$2
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483 $as_echo_n "checking for $ac_word... " >&6; }
4484 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4485 $as_echo_n "(cached) " >&6
4487 if test -n "$aros_host_autoconf"; then
4488 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4494 test -z "$as_dir" && as_dir
=.
4495 for ac_exec_ext
in '' $ac_executable_extensions; do
4496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4497 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4508 if test -n "$aros_host_autoconf"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4510 $as_echo "$aros_host_autoconf" >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4517 test -n "$aros_host_autoconf" && break
4520 for ac_prog
in autoheader autoheader259 autoheader253
4522 # Extract the first word of "$ac_prog", so it can be a program name with args.
4523 set dummy
$ac_prog; ac_word
=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4527 $as_echo_n "(cached) " >&6
4529 if test -n "$aros_host_autoheader"; then
4530 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir
=.
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4550 if test -n "$aros_host_autoheader"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4552 $as_echo "$aros_host_autoheader" >&6; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4559 test -n "$aros_host_autoheader" && break
4562 for ac_prog
in automake automake19 automake-1.9
4564 # Extract the first word of "$ac_prog", so it can be a program name with args.
4565 set dummy
$ac_prog; ac_word
=$2
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567 $as_echo_n "checking for $ac_word... " >&6; }
4568 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4569 $as_echo_n "(cached) " >&6
4571 if test -n "$aros_host_automake"; then
4572 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir
=.
4579 for ac_exec_ext
in '' $ac_executable_extensions; do
4580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4581 ac_cv_prog_aros_host_automake
="$ac_prog"
4582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 aros_host_automake
=$ac_cv_prog_aros_host_automake
4592 if test -n "$aros_host_automake"; then
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4594 $as_echo "$aros_host_automake" >&6; }
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4597 $as_echo "no" >&6; }
4601 test -n "$aros_host_automake" && break
4605 if test "$aros_host_aclocal" = ""; then
4606 as_fn_error
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4608 if test "$aros_host_automake" = ""; then
4609 as_fn_error
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4612 case "$aros_host_cc" in
4614 aros_host_cc_pipe
="-pipe"
4617 aros_host_cc_pipe
=""
4620 aros_host_cc_pipe
=""
4624 aros_kernel_cc_includes
=""
4625 aros_target_cc_includes
=""
4628 # ----------------------------------------------------------------------------------------
4629 # Host-specific defaults
4631 # This is the main host configuration section. It is where the host
4632 # can change the values of any variables it needs to change. We do
4633 # not look at anything that compiles to the target yet, we'll get
4638 aros_host_arch
="aros"
4639 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4642 aros_host_cpu
="i386"
4645 aros_host_cpu
="x86_64"
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4652 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4653 aros_host_cpu
="$host_cpu"
4659 aros_host_arch
="linux"
4660 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4661 android_build_os
="linux-x86"
4662 android_tool
="android"
4663 default_android_sdk
="/opt/android-sdk-linux_x86"
4666 aros_host_cpu
="i386"
4669 aros_host_cpu
="x86_64"
4672 aros_host_cpu
="m68k"
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4682 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4683 aros_host_cpu
="$host_cpu"
4689 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4690 aros_host_make
="gmake"
4691 aros_host_arch
="freebsd"
4692 aros_host_cpu
="i386"
4694 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4698 aros_object_format
="elf_i386"
4702 aros_object_format
="elf_i386_fbsd"
4709 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4710 aros_host_arch
="darwin"
4712 android_build_os
="darwin-x86"
4713 android_tool
="android"
4714 default_android_sdk
="/android-sdk-mac_x86"
4717 aros_host_cpu
="i386"
4720 aros_host_cpu
="x86_64"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4727 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4728 aros_host_cpu
="$host_cpu"
4732 aros_host_ldflags
="$aros_host_ldflags -liconv"
4737 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4738 aros_host_make
="gmake"
4739 aros_host_arch
="dragonfly"
4742 aros_host_cpu
="i386"
4745 aros_host_cpu
="x86_64"
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4749 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4750 aros_host_cpu
="$host_cpu"
4756 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4757 aros_host_make
="gmake"
4758 aros_host_arch
="netbsd"
4761 aros_host_cpu
="i386"
4764 aros_host_cpu
="m68k"
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4768 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4769 aros_host_cpu
="$host_cpu"
4772 aros_host_lib_suffix
=".0.0"
4776 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4777 aros_host_make
="gmake"
4778 aros_host_arch
="openbsd"
4781 aros_host_cpu
="i386"
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4785 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4786 aros_host_cpu
="$host_cpu"
4792 aros_host_arch
="solaris"
4793 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4796 aros_host_cpu
="i386"
4799 aros_host_cpu
="sparc"
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4803 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4804 aros_host_cpu
="$host_cpu"
4810 aros_host_arch
="morphos"
4816 aros_host_arch
="amiga"
4822 TOUCH
="/gg/bin/touch"
4825 aros_host_cpu
="m68k"
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4832 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4833 aros_host_cpu
="$host_cpu"
4839 aros_host_arch
="cygwin"
4840 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4842 android_build_os
="windows"
4843 android_tool
="android.bat"
4844 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4848 aros_host_cpu
="i386"
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
="mingw32"
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
="/c/android-sdk-windows-1.6_r1"
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4870 $as_echo_n "checking for Windows native gcc target... " >&6; }
4871 host_cpu
=`gcc -dumpmachine`
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4873 $as_echo "$host_cpu" >&6; }
4880 aros_host_cpu
="i386"
4884 aros_host_cpu
="i386"
4888 aros_host_cpu
="x86_64"
4889 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4894 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4895 aros_host_cpu
="$host_cpu"
4900 as_fn_error
"Unsupported host architecture $host" "$LINENO" 5
4904 # Extract the first word of "ar", so it can be a program name with args.
4905 set dummy
ar; ac_word
=$2
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4907 $as_echo_n "checking for $ac_word... " >&6; }
4908 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4909 $as_echo_n "(cached) " >&6
4911 if test -n "$aros_host_ar"; then
4912 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir
=.
4919 for ac_exec_ext
in '' $ac_executable_extensions; do
4920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4921 ac_cv_prog_aros_host_ar
="ar cr"
4922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 aros_host_ar
=$ac_cv_prog_aros_host_ar
4932 if test -n "$aros_host_ar"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4934 $as_echo "$aros_host_ar" >&6; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4937 $as_echo "no" >&6; }
4941 if test "$aros_host_ar" = ""; then
4942 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4944 # Extract the first word of "ranlib", so it can be a program name with args.
4945 set dummy ranlib
; ac_word
=$2
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 $as_echo_n "checking for $ac_word... " >&6; }
4948 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4949 $as_echo_n "(cached) " >&6
4951 if test -n "$aros_host_ranlib"; then
4952 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4958 test -z "$as_dir" && as_dir
=.
4959 for ac_exec_ext
in '' $ac_executable_extensions; do
4960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4961 ac_cv_prog_aros_host_ranlib
="ranlib "
4962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4972 if test -n "$aros_host_ranlib"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4974 $as_echo "$aros_host_ranlib" >&6; }
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4981 if test "$aros_host_ranlib" = ""; then
4982 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4984 # Extract the first word of "strip", so it can be a program name with args.
4985 set dummy strip
; ac_word
=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -n "$aros_host_strip"; then
4992 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5001 ac_cv_prog_aros_host_strip
="strip "
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 aros_host_strip
=$ac_cv_prog_aros_host_strip
5012 if test -n "$aros_host_strip"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5014 $as_echo "$aros_host_strip" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5021 if test "$aros_host_strip" = ""; then
5022 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5025 # Extract the first word of "rm", so it can be a program name with args.
5026 set dummy
rm; ac_word
=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if test "${ac_cv_prog_RM+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$RM"; then
5033 ac_cv_prog_RM
="$RM" # Let the user override the test.
5035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir
=.
5040 for ac_exec_ext
in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_RM
="rm -rf"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 if test -n "$RM"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5055 $as_echo "$RM" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5062 if test "$RM" = ""; then
5063 as_fn_error
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5065 # Extract the first word of "cp", so it can be a program name with args.
5066 set dummy
cp; ac_word
=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if test "${ac_cv_prog_CP+set}" = set; then :
5070 $as_echo_n "(cached) " >&6
5072 if test -n "$CP"; then
5073 ac_cv_prog_CP
="$CP" # Let the user override the test.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 if test -n "$CP"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5095 $as_echo "$CP" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5102 if test "$CP" = ""; then
5103 as_fn_error
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5105 # Extract the first word of "mv", so it can be a program name with args.
5106 set dummy
mv; ac_word
=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_MV+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -n "$MV"; then
5113 ac_cv_prog_MV
="$MV" # Let the user override the test.
5115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir
=.
5120 for ac_exec_ext
in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 if test -n "$MV"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5135 $as_echo "$MV" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5142 if test "$MV" = ""; then
5143 as_fn_error
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5145 # Extract the first word of "echo", so it can be a program name with args.
5146 set dummy
echo; ac_word
=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_ECHO+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5152 if test -n "$ECHO"; then
5153 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ECHO
="echo "
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 ECHO
=$ac_cv_prog_ECHO
5173 if test -n "$ECHO"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5175 $as_echo "$ECHO" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 if test "$ECHO" = ""; then
5183 as_fn_error
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5185 # Extract the first word of "mkdir", so it can be a program name with args.
5186 set dummy mkdir
; ac_word
=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if test "${ac_cv_prog_MKDIR+set}" = set; then :
5190 $as_echo_n "(cached) " >&6
5192 if test -n "$MKDIR"; then
5193 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir
=.
5200 for ac_exec_ext
in '' $ac_executable_extensions; do
5201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202 ac_cv_prog_MKDIR
="mkdir -p"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 MKDIR
=$ac_cv_prog_MKDIR
5213 if test -n "$MKDIR"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5215 $as_echo "$MKDIR" >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5222 if test "$MKDIR" = ""; then
5223 as_fn_error
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5225 # Extract the first word of "touch", so it can be a program name with args.
5226 set dummy
touch; ac_word
=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if test "${ac_cv_prog_TOUCH+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$TOUCH"; then
5233 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir
=.
5240 for ac_exec_ext
in '' $ac_executable_extensions; do
5241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242 ac_cv_prog_TOUCH
="touch "
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 TOUCH
=$ac_cv_prog_TOUCH
5253 if test -n "$TOUCH"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5255 $as_echo "$TOUCH" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5262 if test "$TOUCH" = ""; then
5263 as_fn_error
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5265 # Extract the first word of "sort", so it can be a program name with args.
5266 set dummy
sort; ac_word
=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if test "${ac_cv_prog_SORT+set}" = set; then :
5270 $as_echo_n "(cached) " >&6
5272 if test -n "$SORT"; then
5273 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir
=.
5280 for ac_exec_ext
in '' $ac_executable_extensions; do
5281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282 ac_cv_prog_SORT
="sort "
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 SORT
=$ac_cv_prog_SORT
5293 if test -n "$SORT"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5295 $as_echo "$SORT" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5302 if test "$SORT" = ""; then
5303 as_fn_error
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5305 # Extract the first word of "uniq", so it can be a program name with args.
5306 set dummy
uniq; ac_word
=$2
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 $as_echo_n "checking for $ac_word... " >&6; }
5309 if test "${ac_cv_prog_UNIQ+set}" = set; then :
5310 $as_echo_n "(cached) " >&6
5312 if test -n "$UNIQ"; then
5313 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_exec_ext
in '' $ac_executable_extensions; do
5321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5322 ac_cv_prog_UNIQ
="uniq "
5323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 UNIQ
=$ac_cv_prog_UNIQ
5333 if test -n "$UNIQ"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5335 $as_echo "$UNIQ" >&6; }
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338 $as_echo "no" >&6; }
5342 if test "$UNIQ" = ""; then
5343 as_fn_error
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5345 # Extract the first word of "true", so it can be a program name with args.
5346 set dummy true
; ac_word
=$2
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348 $as_echo_n "checking for $ac_word... " >&6; }
5349 if test "${ac_cv_prog_NOP+set}" = set; then :
5350 $as_echo_n "(cached) " >&6
5352 if test -n "$NOP"; then
5353 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir
=.
5360 for ac_exec_ext
in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_prog_NOP
="true "
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 if test -n "$NOP"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5375 $as_echo "$NOP" >&6; }
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5382 if test "$NOP" = ""; then
5383 as_fn_error
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5385 # Extract the first word of "cat", so it can be a program name with args.
5386 set dummy
cat; ac_word
=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if test "${ac_cv_prog_CAT+set}" = set; then :
5390 $as_echo_n "(cached) " >&6
5392 if test -n "$CAT"; then
5393 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5399 test -z "$as_dir" && as_dir
=.
5400 for ac_exec_ext
in '' $ac_executable_extensions; do
5401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5402 ac_cv_prog_CAT
="cat "
5403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 if test -n "$CAT"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5415 $as_echo "$CAT" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5422 if test "$CAT" = ""; then
5423 as_fn_error
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5425 # Extract the first word of "bison", so it can be a program name with args.
5426 set dummy bison
; ac_word
=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if test "${ac_cv_prog_BISON+set}" = set; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$BISON"; then
5433 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_BISON
="bison "
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 BISON
=$ac_cv_prog_BISON
5453 if test -n "$BISON"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5455 $as_echo "$BISON" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5462 if test "$BISON" = ""; then
5463 as_fn_error
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5465 # Extract the first word of "flex", so it can be a program name with args.
5466 set dummy flex
; ac_word
=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if test "${ac_cv_prog_FLEX+set}" = set; then :
5470 $as_echo_n "(cached) " >&6
5472 if test -n "$FLEX"; then
5473 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir
=.
5480 for ac_exec_ext
in '' $ac_executable_extensions; do
5481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5482 ac_cv_prog_FLEX
="flex "
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 FLEX
=$ac_cv_prog_FLEX
5493 if test -n "$FLEX"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5495 $as_echo "$FLEX" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5502 if test "$FLEX" = ""; then
5503 as_fn_error
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5505 # Extract the first word of "pngtopnm", so it can be a program name with args.
5506 set dummy pngtopnm
; ac_word
=$2
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5508 $as_echo_n "checking for $ac_word... " >&6; }
5509 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5510 $as_echo_n "(cached) " >&6
5512 if test -n "$PNGTOPNM"; then
5513 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5519 test -z "$as_dir" && as_dir
=.
5520 for ac_exec_ext
in '' $ac_executable_extensions; do
5521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5522 ac_cv_prog_PNGTOPNM
="pngtopnm "
5523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5533 if test -n "$PNGTOPNM"; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5535 $as_echo "$PNGTOPNM" >&6; }
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538 $as_echo "no" >&6; }
5542 if test "$PNGTOPNM" = ""; then
5543 as_fn_error
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5545 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5546 set dummy ppmtoilbm
; ac_word
=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5550 $as_echo_n "(cached) " >&6
5552 if test -n "$PPMTOILBM"; then
5553 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5559 test -z "$as_dir" && as_dir
=.
5560 for ac_exec_ext
in '' $ac_executable_extensions; do
5561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5562 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5573 if test -n "$PPMTOILBM"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5575 $as_echo "$PPMTOILBM" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5582 if test "$PPMTOILBM" = ""; then
5583 as_fn_error
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5585 # Extract the first word of "sed", so it can be a program name with args.
5586 set dummy
sed; ac_word
=$2
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588 $as_echo_n "checking for $ac_word... " >&6; }
5589 if test "${ac_cv_prog_SED+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5592 if test -n "$SED"; then
5593 ac_cv_prog_SED
="$SED" # Let the user override the test.
5595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir
=.
5600 for ac_exec_ext
in '' $ac_executable_extensions; do
5601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602 ac_cv_prog_SED
="sed "
5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 if test -n "$SED"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5615 $as_echo "$SED" >&6; }
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5622 if test "$SED" = ""; then
5623 as_fn_error
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5625 # Extract the first word of "chmod", so it can be a program name with args.
5626 set dummy
chmod; ac_word
=$2
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628 $as_echo_n "checking for $ac_word... " >&6; }
5629 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5630 $as_echo_n "(cached) " >&6
5632 if test -n "$CHMOD"; then
5633 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5639 test -z "$as_dir" && as_dir
=.
5640 for ac_exec_ext
in '' $ac_executable_extensions; do
5641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642 ac_cv_prog_CHMOD
="chmod "
5643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 CHMOD
=$ac_cv_prog_CHMOD
5653 if test -n "$CHMOD"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5655 $as_echo "$CHMOD" >&6; }
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5662 if test "$CHMOD" = ""; then
5663 as_fn_error
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5665 # Extract the first word of "patch", so it can be a program name with args.
5666 set dummy
patch; ac_word
=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if test "${ac_cv_prog_PATCH+set}" = set; then :
5670 $as_echo_n "(cached) " >&6
5672 if test -n "$PATCH"; then
5673 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5679 test -z "$as_dir" && as_dir
=.
5680 for ac_exec_ext
in '' $ac_executable_extensions; do
5681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682 ac_cv_prog_PATCH
="patch "
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 PATCH
=$ac_cv_prog_PATCH
5693 if test -n "$PATCH"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5695 $as_echo "$PATCH" >&6; }
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5702 if test "$PATCH" = ""; then
5703 as_fn_error
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5712 if test -n "$PYTHON"; then
5713 # If the user set $PYTHON, use it and don't search something else.
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5715 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5717 # split strings by '.' and convert to numeric. Append some zeros
5718 # because we need at least 4 digits for the hex conversion.
5719 # map returns an iterator in Python 3.0 and a list in 2.x
5720 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5722 # xrange is not present in Python 3.0 and range returns an iterator
5723 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5724 sys.exit(sys.hexversion < minverhex)"
5725 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5726 ($PYTHON -c "$prog") >&5 2>&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); }; then :
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5731 $as_echo "yes" >&6; }
5733 as_fn_error
"too old" "$LINENO" 5
5735 am_display_PYTHON
=$PYTHON
5737 # Otherwise, try each interpreter until we find one that satisfies
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5740 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5741 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5742 $as_echo_n "(cached) " >&6
5745 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
5746 test "$am_cv_pathless_PYTHON" = none
&& break
5748 # split strings by '.' and convert to numeric. Append some zeros
5749 # because we need at least 4 digits for the hex conversion.
5750 # map returns an iterator in Python 3.0 and a list in 2.x
5751 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5753 # xrange is not present in Python 3.0 and range returns an iterator
5754 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5755 sys.exit(sys.hexversion < minverhex)"
5756 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5757 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); }; then :
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5766 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5767 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5768 if test "$am_cv_pathless_PYTHON" = none
; then
5771 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5772 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if test "${ac_cv_path_PYTHON+set}" = set; then :
5776 $as_echo_n "(cached) " >&6
5780 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5787 test -z "$as_dir" && as_dir
=.
5788 for ac_exec_ext
in '' $ac_executable_extensions; do
5789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5790 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 PYTHON
=$ac_cv_path_PYTHON
5802 if test -n "$PYTHON"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5804 $as_echo "$PYTHON" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5812 am_display_PYTHON
=$am_cv_pathless_PYTHON
5816 if test "$PYTHON" = :; then
5817 as_fn_error
"no suitable Python interpreter found" "$LINENO" 5
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5822 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5823 if test "${am_cv_python_version+set}" = set; then :
5824 $as_echo_n "(cached) " >&6
5826 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5829 $as_echo "$am_cv_python_version" >&6; }
5830 PYTHON_VERSION
=$am_cv_python_version
5834 PYTHON_PREFIX
='${prefix}'
5836 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5841 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5842 if test "${am_cv_python_platform+set}" = set; then :
5843 $as_echo_n "(cached) " >&6
5845 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5848 $as_echo "$am_cv_python_platform" >&6; }
5849 PYTHON_PLATFORM
=$am_cv_python_platform
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5855 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5856 if test "${am_cv_python_pythondir+set}" = set; then :
5857 $as_echo_n "(cached) " >&6
5859 if test "x$prefix" = xNONE
5861 am_py_prefix
=$ac_default_prefix
5863 am_py_prefix
=$prefix
5865 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`
5866 case $am_cv_python_pythondir in
5868 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5869 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5872 case $am_py_prefix in
5875 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5883 $as_echo "$am_cv_python_pythondir" >&6; }
5884 pythondir
=$am_cv_python_pythondir
5888 pkgpythondir
=\
${pythondir}/$PACKAGE
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5892 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5893 if test "${am_cv_python_pyexecdir+set}" = set; then :
5894 $as_echo_n "(cached) " >&6
5896 if test "x$exec_prefix" = xNONE
5898 am_py_exec_prefix
=$am_py_prefix
5900 am_py_exec_prefix
=$exec_prefix
5902 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`
5903 case $am_cv_python_pyexecdir in
5904 $am_py_exec_prefix*)
5905 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5906 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5909 case $am_py_exec_prefix in
5912 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5920 $as_echo "$am_cv_python_pyexecdir" >&6; }
5921 pyexecdir
=$am_cv_python_pyexecdir
5925 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5935 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5936 if test "${ac_cv_lib_png_png_read_png+set}" = set; then :
5937 $as_echo_n "(cached) " >&6
5939 ac_check_lib_save_LIBS
=$LIBS
5941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5942 /* end confdefs.h. */
5944 /* Override any GCC internal prototype to avoid an error.
5945 Use char because int might match the return type of a GCC
5946 builtin and then its argument prototype would still apply. */
5950 char png_read_png ();
5954 return png_read_png ();
5959 if ac_fn_c_try_link
"$LINENO"; then :
5960 ac_cv_lib_png_png_read_png
=yes
5962 ac_cv_lib_png_png_read_png
=no
5964 rm -f core conftest.err conftest.
$ac_objext \
5965 conftest
$ac_exeext conftest.
$ac_ext
5966 LIBS
=$ac_check_lib_save_LIBS
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
5969 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
5970 if test "x$ac_cv_lib_png_png_read_png" = x
""yes; then :
5971 cat >>confdefs.h
<<_ACEOF
5972 #define HAVE_LIBPNG 1
5979 if test "$ac_cv_lib_png_png_read_png" = ""; then
5980 as_fn_error
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
5993 # Check for some includes for the X11 HIDD and the kernel
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5996 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5997 if test "${ac_cv_path_GREP+set}" = set; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -z "$GREP"; then
6001 ac_path_GREP_found
=false
6002 # Loop through the user's path and test for each of PROGNAME-LIST
6003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6004 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6007 test -z "$as_dir" && as_dir
=.
6008 for ac_prog
in grep ggrep
; do
6009 for ac_exec_ext
in '' $ac_executable_extensions; do
6010 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6011 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6012 # Check for GNU ac_path_GREP and select it if it is found.
6013 # Check for GNU $ac_path_GREP
6014 case `"$ac_path_GREP" --version 2>&1` in
6016 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6019 $as_echo_n 0123456789 >"conftest.in"
6022 cat "conftest.in" "conftest.in" >"conftest.tmp"
6023 mv "conftest.tmp" "conftest.in"
6024 cp "conftest.in" "conftest.nl"
6025 $as_echo 'GREP' >> "conftest.nl"
6026 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6027 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6028 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6029 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6030 # Best one so far, save it but keep looking for a better one
6031 ac_cv_path_GREP
="$ac_path_GREP"
6032 ac_path_GREP_max
=$ac_count
6034 # 10*(2^10) chars as input seems more than enough
6035 test $ac_count -gt 10 && break
6037 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6040 $ac_path_GREP_found && break 3
6045 if test -z "$ac_cv_path_GREP"; then
6046 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6049 ac_cv_path_GREP
=$GREP
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6054 $as_echo "$ac_cv_path_GREP" >&6; }
6055 GREP
="$ac_cv_path_GREP"
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6059 $as_echo_n "checking for egrep... " >&6; }
6060 if test "${ac_cv_path_EGREP+set}" = set; then :
6061 $as_echo_n "(cached) " >&6
6063 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6064 then ac_cv_path_EGREP
="$GREP -E"
6066 if test -z "$EGREP"; then
6067 ac_path_EGREP_found
=false
6068 # Loop through the user's path and test for each of PROGNAME-LIST
6069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6070 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6073 test -z "$as_dir" && as_dir
=.
6074 for ac_prog
in egrep; do
6075 for ac_exec_ext
in '' $ac_executable_extensions; do
6076 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6077 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6078 # Check for GNU ac_path_EGREP and select it if it is found.
6079 # Check for GNU $ac_path_EGREP
6080 case `"$ac_path_EGREP" --version 2>&1` in
6082 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6085 $as_echo_n 0123456789 >"conftest.in"
6088 cat "conftest.in" "conftest.in" >"conftest.tmp"
6089 mv "conftest.tmp" "conftest.in"
6090 cp "conftest.in" "conftest.nl"
6091 $as_echo 'EGREP' >> "conftest.nl"
6092 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6093 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6094 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6095 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6096 # Best one so far, save it but keep looking for a better one
6097 ac_cv_path_EGREP
="$ac_path_EGREP"
6098 ac_path_EGREP_max
=$ac_count
6100 # 10*(2^10) chars as input seems more than enough
6101 test $ac_count -gt 10 && break
6103 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6106 $ac_path_EGREP_found && break 3
6111 if test -z "$ac_cv_path_EGREP"; then
6112 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6115 ac_cv_path_EGREP
=$EGREP
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6121 $as_echo "$ac_cv_path_EGREP" >&6; }
6122 EGREP
="$ac_cv_path_EGREP"
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6126 $as_echo_n "checking for ANSI C header files... " >&6; }
6127 if test "${ac_cv_header_stdc+set}" = set; then :
6128 $as_echo_n "(cached) " >&6
6130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6131 /* end confdefs.h. */
6145 if ac_fn_c_try_compile
"$LINENO"; then :
6146 ac_cv_header_stdc
=yes
6148 ac_cv_header_stdc
=no
6150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6152 if test $ac_cv_header_stdc = yes; then
6153 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6155 /* end confdefs.h. */
6159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6160 $EGREP "memchr" >/dev
/null
2>&1; then :
6163 ac_cv_header_stdc
=no
6169 if test $ac_cv_header_stdc = yes; then
6170 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6177 $EGREP "free" >/dev
/null
2>&1; then :
6180 ac_cv_header_stdc
=no
6186 if test $ac_cv_header_stdc = yes; then
6187 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6188 if test "$cross_compiling" = yes; then :
6191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6195 #if ((' ' & 0x0FF) == 0x020)
6196 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6197 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6199 # define ISLOWER(c) \
6200 (('a' <= (c) && (c) <= 'i') \
6201 || ('j' <= (c) && (c) <= 'r') \
6202 || ('s' <= (c) && (c) <= 'z'))
6203 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6206 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6211 for (i = 0; i < 256; i++)
6212 if (XOR (islower (i), ISLOWER (i))
6213 || toupper (i) != TOUPPER (i))
6218 if ac_fn_c_try_run
"$LINENO"; then :
6221 ac_cv_header_stdc
=no
6223 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6224 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6230 $as_echo "$ac_cv_header_stdc" >&6; }
6231 if test $ac_cv_header_stdc = yes; then
6233 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6237 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6238 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6239 inttypes.h stdint.h unistd.h
6241 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6242 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6244 eval as_val
=\$
$as_ac_Header
6245 if test "x$as_val" = x
""yes; then :
6246 cat >>confdefs.h
<<_ACEOF
6247 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6255 for ac_header
in sys
/ipc.h sys
/shm.h \
6256 sys
/mmap.h sys
/mman.h sysexits.h \
6257 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6260 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6261 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6262 eval as_val
=\$
$as_ac_Header
6263 if test "x$as_val" = x
""yes; then :
6264 cat >>confdefs.h
<<_ACEOF
6265 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6273 for ac_header
in sys
/mount.h
6275 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6277 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
6278 cat >>confdefs.h
<<_ACEOF
6279 #define HAVE_SYS_MOUNT_H 1
6288 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6289 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6291 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6292 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
6293 $as_echo_n "(cached) " >&6
6295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6297 #include <sys/types.h>
6309 if ac_fn_c_try_compile
"$LINENO"; then :
6310 eval "$as_ac_Header=yes"
6312 eval "$as_ac_Header=no"
6314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6316 eval ac_res
=\$
$as_ac_Header
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6318 $as_echo "$ac_res" >&6; }
6319 eval as_val
=\$
$as_ac_Header
6320 if test "x$as_val" = x
""yes; then :
6321 cat >>confdefs.h
<<_ACEOF
6322 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6325 ac_header_dirent
=$ac_hdr; break
6329 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6330 if test $ac_header_dirent = dirent.h
; then
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6332 $as_echo_n "checking for library containing opendir... " >&6; }
6333 if test "${ac_cv_search_opendir+set}" = set; then :
6334 $as_echo_n "(cached) " >&6
6336 ac_func_search_save_LIBS
=$LIBS
6337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6340 /* Override any GCC internal prototype to avoid an error.
6341 Use char because int might match the return type of a GCC
6342 builtin and then its argument prototype would still apply. */
6355 for ac_lib
in '' dir
; do
6356 if test -z "$ac_lib"; then
6357 ac_res
="none required"
6360 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6362 if ac_fn_c_try_link
"$LINENO"; then :
6363 ac_cv_search_opendir
=$ac_res
6365 rm -f core conftest.err conftest.
$ac_objext \
6367 if test "${ac_cv_search_opendir+set}" = set; then :
6371 if test "${ac_cv_search_opendir+set}" = set; then :
6374 ac_cv_search_opendir
=no
6377 LIBS
=$ac_func_search_save_LIBS
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6380 $as_echo "$ac_cv_search_opendir" >&6; }
6381 ac_res
=$ac_cv_search_opendir
6382 if test "$ac_res" != no
; then :
6383 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6389 $as_echo_n "checking for library containing opendir... " >&6; }
6390 if test "${ac_cv_search_opendir+set}" = set; then :
6391 $as_echo_n "(cached) " >&6
6393 ac_func_search_save_LIBS
=$LIBS
6394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6395 /* end confdefs.h. */
6397 /* Override any GCC internal prototype to avoid an error.
6398 Use char because int might match the return type of a GCC
6399 builtin and then its argument prototype would still apply. */
6412 for ac_lib
in '' x
; do
6413 if test -z "$ac_lib"; then
6414 ac_res
="none required"
6417 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6419 if ac_fn_c_try_link
"$LINENO"; then :
6420 ac_cv_search_opendir
=$ac_res
6422 rm -f core conftest.err conftest.
$ac_objext \
6424 if test "${ac_cv_search_opendir+set}" = set; then :
6428 if test "${ac_cv_search_opendir+set}" = set; then :
6431 ac_cv_search_opendir
=no
6434 LIBS
=$ac_func_search_save_LIBS
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6437 $as_echo "$ac_cv_search_opendir" >&6; }
6438 ac_res
=$ac_cv_search_opendir
6439 if test "$ac_res" != no
; then :
6440 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6447 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6448 if test "${ac_cv_header_stat_broken+set}" = set; then :
6449 $as_echo_n "(cached) " >&6
6451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6452 /* end confdefs.h. */
6453 #include <sys/types.h>
6454 #include <sys/stat.h>
6456 #if defined S_ISBLK && defined S_IFDIR
6457 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6460 #if defined S_ISBLK && defined S_IFCHR
6461 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6464 #if defined S_ISLNK && defined S_IFREG
6465 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6468 #if defined S_ISSOCK && defined S_IFREG
6469 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6473 if ac_fn_c_try_compile
"$LINENO"; then :
6474 ac_cv_header_stat_broken
=no
6476 ac_cv_header_stat_broken
=yes
6478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6481 $as_echo "$ac_cv_header_stat_broken" >&6; }
6482 if test $ac_cv_header_stat_broken = yes; then
6484 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6489 $as_echo_n "checking for ANSI C header files... " >&6; }
6490 if test "${ac_cv_header_stdc+set}" = set; then :
6491 $as_echo_n "(cached) " >&6
6493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6508 if ac_fn_c_try_compile
"$LINENO"; then :
6509 ac_cv_header_stdc
=yes
6511 ac_cv_header_stdc
=no
6513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6515 if test $ac_cv_header_stdc = yes; then
6516 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6523 $EGREP "memchr" >/dev
/null
2>&1; then :
6526 ac_cv_header_stdc
=no
6532 if test $ac_cv_header_stdc = yes; then
6533 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev
/null
2>&1; then :
6543 ac_cv_header_stdc
=no
6549 if test $ac_cv_header_stdc = yes; then
6550 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6551 if test "$cross_compiling" = yes; then :
6554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6555 /* end confdefs.h. */
6558 #if ((' ' & 0x0FF) == 0x020)
6559 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6560 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6562 # define ISLOWER(c) \
6563 (('a' <= (c) && (c) <= 'i') \
6564 || ('j' <= (c) && (c) <= 'r') \
6565 || ('s' <= (c) && (c) <= 'z'))
6566 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6569 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6574 for (i = 0; i < 256; i++)
6575 if (XOR (islower (i), ISLOWER (i))
6576 || toupper (i) != TOUPPER (i))
6581 if ac_fn_c_try_run
"$LINENO"; then :
6584 ac_cv_header_stdc
=no
6586 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6587 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6593 $as_echo "$ac_cv_header_stdc" >&6; }
6594 if test $ac_cv_header_stdc = yes; then
6596 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6601 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6602 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6603 $as_echo_n "(cached) " >&6
6605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6606 /* end confdefs.h. */
6607 #include <sys/types.h>
6608 #include <sys/wait.h>
6610 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6613 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6621 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6626 if ac_fn_c_try_compile
"$LINENO"; then :
6627 ac_cv_header_sys_wait_h
=yes
6629 ac_cv_header_sys_wait_h
=no
6631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6634 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6635 if test $ac_cv_header_sys_wait_h = yes; then
6637 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6642 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6643 if test "${ac_cv_header_time+set}" = set; then :
6644 $as_echo_n "(cached) " >&6
6646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6647 /* end confdefs.h. */
6648 #include <sys/types.h>
6649 #include <sys/time.h>
6655 if ((struct tm *) 0)
6661 if ac_fn_c_try_compile
"$LINENO"; then :
6662 ac_cv_header_time
=yes
6664 ac_cv_header_time
=no
6666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6669 $as_echo "$ac_cv_header_time" >&6; }
6670 if test $ac_cv_header_time = yes; then
6672 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6676 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6677 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6679 cat >>confdefs.h
<<_ACEOF
6680 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6684 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6689 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6690 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6692 cat >>confdefs.h
<<_ACEOF
6693 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6697 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6700 case " $LIBOBJS " in
6701 *" fileblocks.$ac_objext "* ) ;;
6702 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6709 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6710 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6712 cat >>confdefs.h
<<_ACEOF
6713 #define HAVE_STRUCT_STAT_ST_RDEV 1
6717 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6723 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6724 if test "${ac_cv_struct_tm+set}" = set; then :
6725 $as_echo_n "(cached) " >&6
6727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6728 /* end confdefs.h. */
6729 #include <sys/types.h>
6736 int *p = &tm.tm_sec;
6742 if ac_fn_c_try_compile
"$LINENO"; then :
6743 ac_cv_struct_tm
=time.h
6745 ac_cv_struct_tm
=sys
/time.h
6747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6750 $as_echo "$ac_cv_struct_tm" >&6; }
6751 if test $ac_cv_struct_tm = sys
/time.h
; then
6753 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6757 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6758 #include <$ac_cv_struct_tm>
6761 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6763 cat >>confdefs.h
<<_ACEOF
6764 #define HAVE_STRUCT_TM_TM_ZONE 1
6770 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6772 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6775 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6777 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6783 cat >>confdefs.h
<<_ACEOF
6784 #define HAVE_DECL_TZNAME $ac_have_decl
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6788 $as_echo_n "checking for tzname... " >&6; }
6789 if test "${ac_cv_var_tzname+set}" = set; then :
6790 $as_echo_n "(cached) " >&6
6792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6793 /* end confdefs.h. */
6795 #if !HAVE_DECL_TZNAME
6796 extern char *tzname[];
6802 return tzname[0][0];
6807 if ac_fn_c_try_link
"$LINENO"; then :
6808 ac_cv_var_tzname
=yes
6812 rm -f core conftest.err conftest.
$ac_objext \
6813 conftest
$ac_exeext conftest.
$ac_ext
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6816 $as_echo "$ac_cv_var_tzname" >&6; }
6817 if test $ac_cv_var_tzname = yes; then
6819 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6824 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6825 if test "x$ac_cv_type_off_t" = x
""yes; then :
6829 cat >>confdefs.h
<<_ACEOF
6830 #define off_t long int
6835 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6836 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6840 cat >>confdefs.h
<<_ACEOF
6846 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6847 if test "x$ac_cv_type_size_t" = x
""yes; then :
6851 cat >>confdefs.h
<<_ACEOF
6852 #define size_t unsigned int
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6858 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6859 if test "${ac_cv_type_uid_t+set}" = set; then :
6860 $as_echo_n "(cached) " >&6
6862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6863 /* end confdefs.h. */
6864 #include <sys/types.h>
6867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6868 $EGREP "uid_t" >/dev
/null
2>&1; then :
6869 ac_cv_type_uid_t
=yes
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6877 $as_echo "$ac_cv_type_uid_t" >&6; }
6878 if test $ac_cv_type_uid_t = no
; then
6880 $as_echo "#define uid_t int" >>confdefs.h
6883 $as_echo "#define gid_t int" >>confdefs.h
6888 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6889 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6891 cat >>confdefs.h
<<_ACEOF
6892 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6899 # Look for some functions
6900 for ac_func
in getpagesize kqueue statfs statvfs \
6901 clone kse_create rfork_thread thr_create sa_register \
6902 getcontext makecontext setcontext sigaltstack swapcontext
6904 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6905 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6906 eval as_val
=\$
$as_ac_var
6907 if test "x$as_val" = x
""yes; then :
6908 cat >>confdefs.h
<<_ACEOF
6909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6919 for ac_header
in $ac_header_list
6921 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6922 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6924 eval as_val
=\$
$as_ac_Header
6925 if test "x$as_val" = x
""yes; then :
6926 cat >>confdefs.h
<<_ACEOF
6927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6941 for ac_func
in getpagesize
6943 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6944 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6945 cat >>confdefs.h
<<_ACEOF
6946 #define HAVE_GETPAGESIZE 1
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6953 $as_echo_n "checking for working mmap... " >&6; }
6954 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6955 $as_echo_n "(cached) " >&6
6957 if test "$cross_compiling" = yes; then :
6958 ac_cv_func_mmap_fixed_mapped
=no
6960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6961 /* end confdefs.h. */
6962 $ac_includes_default
6963 /* malloc might have been renamed as rpl_malloc. */
6966 /* Thanks to Mike Haertel and Jim Avera for this test.
6967 Here is a matrix of mmap possibilities:
6968 mmap private not fixed
6969 mmap private fixed at somewhere currently unmapped
6970 mmap private fixed at somewhere already mapped
6971 mmap shared not fixed
6972 mmap shared fixed at somewhere currently unmapped
6973 mmap shared fixed at somewhere already mapped
6974 For private mappings, we should verify that changes cannot be read()
6975 back from the file, nor mmap's back from the file at a different
6976 address. (There have been systems where private was not correctly
6977 implemented like the infamous i386 svr4.0, and systems where the
6978 VM page cache was not coherent with the file system buffer cache
6979 like early versions of FreeBSD and possibly contemporary NetBSD.)
6980 For shared mappings, we should conversely verify that changes get
6981 propagated back to all the places they're supposed to be.
6983 Grep wants private fixed already mapped.
6984 The main things grep needs to know about mmap are:
6985 * does it exist and is it safe to write into the mmap'd area
6986 * how to use it (BSD variants) */
6989 #include <sys/mman.h>
6991 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6995 /* This mess was copied from the GNU getpagesize.h. */
6996 #ifndef HAVE_GETPAGESIZE
6997 # ifdef _SC_PAGESIZE
6998 # define getpagesize() sysconf(_SC_PAGESIZE)
6999 # else /* no _SC_PAGESIZE */
7000 # ifdef HAVE_SYS_PARAM_H
7001 # include <sys/param.h>
7002 # ifdef EXEC_PAGESIZE
7003 # define getpagesize() EXEC_PAGESIZE
7004 # else /* no EXEC_PAGESIZE */
7006 # define getpagesize() NBPG * CLSIZE
7009 # endif /* no CLSIZE */
7010 # else /* no NBPG */
7012 # define getpagesize() NBPC
7013 # else /* no NBPC */
7015 # define getpagesize() PAGESIZE
7016 # endif /* PAGESIZE */
7017 # endif /* no NBPC */
7018 # endif /* no NBPG */
7019 # endif /* no EXEC_PAGESIZE */
7020 # else /* no HAVE_SYS_PARAM_H */
7021 # define getpagesize() 8192 /* punt totally */
7022 # endif /* no HAVE_SYS_PARAM_H */
7023 # endif /* no _SC_PAGESIZE */
7025 #endif /* no HAVE_GETPAGESIZE */
7030 char *data, *data2, *data3;
7035 pagesize = getpagesize ();
7037 /* First, make a file with some known garbage in it. */
7038 data = (char *) malloc (pagesize);
7041 for (i = 0; i < pagesize; ++i)
7042 *(data + i) = rand ();
7044 fd = creat ("conftest.mmap", 0600);
7047 if (write (fd, data, pagesize) != pagesize)
7051 /* Next, check that the tail of a page is zero-filled. File must have
7052 non-zero length, otherwise we risk SIGBUS for entire page. */
7053 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7057 if (write (fd2, cdata2, 1) != 1)
7059 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7060 if (data2 == MAP_FAILED)
7062 for (i = 0; i < pagesize; ++i)
7066 if (munmap (data2, pagesize))
7069 /* Next, try to mmap the file at a fixed address which already has
7070 something else allocated at it. If we can, also make sure that
7071 we see the same garbage. */
7072 fd = open ("conftest.mmap", O_RDWR);
7075 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7076 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7078 for (i = 0; i < pagesize; ++i)
7079 if (*(data + i) != *(data2 + i))
7082 /* Finally, make sure that changes to the mapped area do not
7083 percolate back to the file as seen by read(). (This is a bug on
7084 some variants of i386 svr4.0.) */
7085 for (i = 0; i < pagesize; ++i)
7086 *(data2 + i) = *(data2 + i) + 1;
7087 data3 = (char *) malloc (pagesize);
7090 if (read (fd, data3, pagesize) != pagesize)
7092 for (i = 0; i < pagesize; ++i)
7093 if (*(data + i) != *(data3 + i))
7099 if ac_fn_c_try_run
"$LINENO"; then :
7100 ac_cv_func_mmap_fixed_mapped
=yes
7102 ac_cv_func_mmap_fixed_mapped
=no
7104 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7105 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7110 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7111 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7113 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7116 rm -f conftest.mmap conftest.txt
7121 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7122 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7123 aros_config_ldflags
=""
7125 aros_shared_default
=yes
7127 aros_shared_cflags
="-fPIC"
7128 aros_shared_aflags
=""
7129 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7130 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7132 aros_kernel_ar_flags
="cr"
7133 aros_target_ar_flags
="cr"
7134 aros_target_nm_flags
="-C -ul"
7135 aros_target_strip_flags
="--strip-unneeded -R.comment"
7140 aros_target_genmap
="-Wl,-Map -Xlinker"
7142 # Native flavour stuff
7143 aros_serial_debug
="0"
7145 # Palm native flavour stuff
7146 aros_palm_debug_hack
="0"
7148 # Unix flavour stuff
7149 aros_nesting_supervisor
="0"
7151 # Collect-aros stuff: "-ius" to ignore undefined symbols
7152 ignore_undefined_symbols
=""
7154 # Check for X11 by default
7157 #-----------------------------------------------------------------------------
7160 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7161 # it switched on by default, and we use the host compiler, so it compiles AROS
7162 # code with this enabled resulting in link failures as we don't have support
7165 # We use two methods to disable it. For the host compiler (used to compile
7166 # some hosted modules), we test to see if the compiler supports stack
7167 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7168 # work on all platforms.
7170 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7171 # (this is done unconditionally, as it should have no effect on compilers
7172 # without the stack protection feature). This may be specific to the way that
7173 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7174 # strong enough to disable it in a generic way though, so we'll live with it
7175 # until another vendor ships GCC with it enabled in a different way, and deal
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7180 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7181 save_cflags
="$CFLAGS"
7182 CFLAGS
="$CFLAGS -fno-stack-protector"
7183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7184 /* end confdefs.h. */
7194 if ac_fn_c_try_compile
"$LINENO"; then :
7195 use_no_stack_protector
="yes"
7197 use_no_stack_protector
="no"
7199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7201 $as_echo "$use_no_stack_protector" >&6; }
7202 if test "x-$use_no_stack_protector" = "x-yes" ; then
7203 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7205 CFLAGS
="$save_cflags"
7207 #-----------------------------------------------------------------------------
7209 # Disable pointer-signedness warnings if the compiler recognises the option
7210 # (this only works for the host compiler at the moment)
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7213 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7214 save_cflags
="$CFLAGS"
7215 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7227 if ac_fn_c_try_compile
"$LINENO"; then :
7228 use_no_sign_warning
="yes"
7230 use_no_sign_warning
="no"
7232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7234 $as_echo "$use_no_sign_warning" >&6; }
7235 if test "x-$use_no_sign_warning" = "x-yes" ; then
7236 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7238 CFLAGS
="$save_cflags"
7240 #-----------------------------------------------------------------------------
7242 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7245 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7246 save_cflags
="$CFLAGS"
7247 CFLAGS
="$CFLAGS -fgnu89-inline"
7248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7249 /* end confdefs.h. */
7259 if ac_fn_c_try_compile
"$LINENO"; then :
7260 use_gnu89_inline
="yes"
7262 use_gnu89_inline
="no"
7264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7266 $as_echo "$use_gnu89_inline" >&6; }
7267 if test "x-$use_gnu89_inline" = "x-yes" ; then
7268 gnu89_inline
="-fgnu89-inline"
7270 CFLAGS
="$save_cflags"
7272 #-----------------------------------------------------------------------------
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7275 $as_echo_n "checking for type of build... " >&6; }
7276 # Check whether --enable-build_type was given.
7277 if test "${enable_build_type+set}" = set; then :
7278 enableval
=$enable_build_type; build_type
=$enableval
7280 build_type
="personal"
7284 if test "$build_type" = "nightly"; then
7285 build_type_string
="NIGHTLY"
7286 elif test "$build_type" = "snapshot"; then
7287 build_type_string
="SNAPSHOT"
7288 elif test "$build_type" = "milestone"; then
7289 build_type_string
="MILESTONE"
7290 elif test "$build_type" = "release"; then
7291 build_type_string
="RELEASE"
7293 build_type_string
="PERSONAL"
7294 build_type
="personal"
7297 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7300 $as_echo "$build_type" >&6; }
7302 #-----------------------------------------------------------------------------
7303 all_debug_types
="messages stack modules mungwall symbols"
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7306 $as_echo_n "checking which debug types to enable... " >&6; }
7307 # Check whether --enable-debug was given.
7308 if test "${enable_debug+set}" = set; then :
7309 enableval
=$enable_debug; debug
="$enableval"
7315 if test "$debug" = "" -o "$debug" = "no"; then
7317 elif test "$debug" = "yes"; then
7321 if test "$debug" = "all" ; then
7322 debug
="messages stack modules symbols"
7323 for d
in $all_debug_types; do
7324 export aros_
${d}_debug
="1"
7327 for d
in $all_debug_types; do
7328 export aros_
${d}_debug
="0"
7332 if test "$debug" != "none"; then
7333 debug
=`echo $debug | sed s/,/\ /g`
7336 for d2
in $all_debug_types; do
7337 if test "$d2" = "$d"; then
7342 if test "$found" = "0"; then
7343 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7345 export aros_
${d}_debug
="1"
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7350 $as_echo "$debug" >&6; }
7352 if test "$aros_messages_debug" = "1"; then
7353 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7355 aros_messages_debug
=""
7357 if test "$aros_symbols_debug" = "1"; then
7358 aros_symbols_debug
="-g"
7360 aros_symbols_debug
=""
7363 # These are the flags to pass when compiling debugged programs
7364 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7365 aros_debug_aflags
=""
7366 aros_debug_ldflags
="$aros_symbols_debug"
7368 #-----------------------------------------------------------------------------
7369 # Checking for distcc and ccache.
7371 # Always apply the transforms in this particular order. Basically you should
7372 # always run 'ccache distcc compiler' in that order for the best performance.
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7375 $as_echo_n "checking whether to enable distcc... " >&6; }
7376 # Check whether --enable-distcc was given.
7377 if test "${enable_distcc+set}" = set; then :
7378 enableval
=$enable_distcc; distcc
="$enableval"
7383 if test "$distcc" != "" -a "$distcc" != "no"; then
7384 # AC_CHECK_PROG will print out the result in this case
7385 # Extract the first word of "distcc", so it can be a program name with args.
7386 set dummy distcc
; ac_word
=$2
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 $as_echo_n "checking for $ac_word... " >&6; }
7389 if test "${ac_cv_path_DISTCC+set}" = set; then :
7390 $as_echo_n "(cached) " >&6
7394 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir
=.
7402 for ac_exec_ext
in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7416 DISTCC
=$ac_cv_path_DISTCC
7417 if test -n "$DISTCC"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7419 $as_echo "$DISTCC" >&6; }
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 $as_echo "no" >&6; }
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7432 $as_echo_n "checking whether to enable ccache... " >&6; }
7433 # Check whether --enable-ccache was given.
7434 if test "${enable_ccache+set}" = set; then :
7435 enableval
=$enable_ccache; ccache
="$enableval"
7440 if test "$ccache" != "" -a "$ccache" != "no"; then
7441 # AC_CHECK_PROG will print out the result in this case
7442 # Extract the first word of "ccache", so it can be a program name with args.
7443 set dummy ccache
; ac_word
=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445 $as_echo_n "checking for $ac_word... " >&6; }
7446 if test "${ac_cv_prog_CCACHE+set}" = set; then :
7447 $as_echo_n "(cached) " >&6
7449 if test -n "$CCACHE"; then
7450 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7456 test -z "$as_dir" && as_dir
=.
7457 for ac_exec_ext
in '' $ac_executable_extensions; do
7458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7459 ac_cv_prog_CCACHE
="ccache"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7469 CCACHE
=$ac_cv_prog_CCACHE
7470 if test -n "$CCACHE"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7472 $as_echo "$CCACHE" >&6; }
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 $as_echo "no" >&6; }
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481 $as_echo "no" >&6; }
7484 #-----------------------------------------------------------------------------
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7486 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7488 # Check whether --with-kernel-gcc-version was given.
7489 if test "${with_kernel_gcc_version+set}" = set; then :
7490 withval
=$with_kernel_gcc_version; kernel_tool_version
="-$withval"
7492 kernel_tool_version
=""
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7496 $as_echo "$kernel_tool_version" >&6; }
7498 #-----------------------------------------------------------------------------
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7500 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7502 # Check whether --with-gcc-version was given.
7503 if test "${with_gcc_version+set}" = set; then :
7504 withval
=$with_gcc_version; target_tool_version
="$withval"
7506 target_tool_version
="default"
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7510 $as_echo "$target_tool_version" >&6; }
7512 #-----------------------------------------------------------------------------
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7514 $as_echo_n "checking what optimization flags to use... " >&6; }
7516 # Check whether --with-optimization was given.
7517 if test "${with_optimization+set}" = set; then :
7518 withval
=$with_optimization; optimization
="$withval"
7520 optimization
="unknown"
7523 if test "$optimization" = "unknown"; then
7524 if test "$debug" != "none"; then
7530 aros_config_cflags
="$aros_config_cflags $optimization"
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7532 $as_echo "$optimization" >&6; }
7534 #-----------------------------------------------------------------------------
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7536 $as_echo_n "checking what paranoia flags to use... " >&6; }
7538 # Check whether --with-paranoia was given.
7539 if test "${with_paranoia+set}" = set; then :
7540 withval
=$with_paranoia; paranoia_flags
="$withval"
7542 paranoia_flags
="default"
7545 if test "$paranoia_flags" = "default"; then
7547 else if test "$paranoia_flags" = "yes"; then
7548 paranoia_flags
="-Wall -Werror"
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7551 $as_echo "$paranoia_flags" >&6; }
7552 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7554 #-----------------------------------------------------------------------------
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7556 $as_echo_n "checking what target variant to enable... " >&6; }
7557 # Check whether --enable-target_variant was given.
7558 if test "${enable_target_variant+set}" = set; then :
7559 enableval
=$enable_target_variant; target_variant
=$enableval
7564 if test "$target_variant" = ""; then
7565 aros_target_variant
=""
7566 aros_target_suffix
=""
7569 aros_target_variant
="$target_variant"
7570 aros_target_suffix
="-$target_variant"
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7573 $as_echo "$enableval" >&6; }
7575 #-----------------------------------------------------------------------------
7576 # Target-specific defaults. You can override then on a per-target basis.
7578 # Bootloader name. Currently used by PC target.
7579 target_bootloader
="none"
7581 #-----------------------------------------------------------------------------
7582 # Additional options for some specific targets
7584 case "$aros_target_variant" in
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7587 $as_echo_n "checking XCode path... " >&6; }
7589 # Check whether --with-xcode was given.
7590 if test "${with_xcode+set}" = set; then :
7591 withval
=$with_xcode; aros_xcode_path
="$withval"
7593 aros_xcode_path
="/Developer"
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7597 $as_echo "$aros_xcode_path" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7600 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7602 # Check whether --with-sdk-version was given.
7603 if test "${with_sdk_version+set}" = set; then :
7604 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7606 aros_sdk_version
="4.1"
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7610 $as_echo "$aros_sdk_version" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7616 $as_echo_n "checking Android SDK path... " >&6; }
7618 # Check whether --with-sdk was given.
7619 if test "${with_sdk+set}" = set; then :
7620 withval
=$with_sdk; aros_android_sdk
="$withval"
7622 aros_android_sdk
=$default_android_sdk
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7626 $as_echo "$aros_android_sdk" >&6; }
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7629 $as_echo_n "checking Android NDK path... " >&6; }
7631 # Check whether --with-ndk was given.
7632 if test "${with_ndk+set}" = set; then :
7633 withval
=$with_ndk; aros_android_ndk
="$withval"
7635 aros_android_ndk
="none"
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7639 $as_echo "$aros_android_ndk" >&6; }
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7642 $as_echo_n "checking what Android SDK version to use... " >&6; }
7644 # Check whether --with-sdk-version was given.
7645 if test "${with_sdk_version+set}" = set; then :
7646 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7648 aros_sdk_version
="12"
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7652 $as_echo "$aros_sdk_version" >&6; }
7654 if test "$aros_android_ndk" != "none"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7656 $as_echo_n "checking what Android NDK version to use... " >&6; }
7658 # Check whether --with-ndk-version was given.
7659 if test "${with_ndk_version+set}" = set; then :
7660 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7662 aros_ndk_version
="9"
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7666 $as_echo "$aros_ndk_version" >&6; }
7669 export PATH
="$aros_android_sdk/tools:$PATH"
7670 # Extract the first word of "$android_tool", so it can be a program name with args.
7671 set dummy
$android_tool; ac_word
=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7673 $as_echo_n "checking for $ac_word... " >&6; }
7674 if test "${ac_cv_path_android_tool+set}" = set; then :
7675 $as_echo_n "(cached) " >&6
7677 case $android_tool in
7679 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7686 test -z "$as_dir" && as_dir
=.
7687 for ac_exec_ext
in '' $ac_executable_extensions; do
7688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7689 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7700 android_tool
=$ac_cv_path_android_tool
7701 if test -n "$android_tool"; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7703 $as_echo "$android_tool" >&6; }
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7706 $as_echo "no" >&6; }
7710 if test "$android_tool" = ""; then
7711 as_fn_error
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7714 aros_android_level
=android-
$aros_sdk_version
7715 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7716 echo "Platform $aros_android_level is not installed in your SDK"
7717 echo "Use --with-sdk-version=<API level number> to select another platform version"
7718 echo "You can check what plaform versions are installed in your SDK"
7719 echo "by examining contents of $aros_android_sdk/platforms directory"
7720 as_fn_error
"Android platform $aros_android_level is not installed" "$LINENO" 5
7723 # Extract the first word of "ant", so it can be a program name with args.
7724 set dummy ant
; ac_word
=$2
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7726 $as_echo_n "checking for $ac_word... " >&6; }
7727 if test "${ac_cv_path_ant+set}" = set; then :
7728 $as_echo_n "(cached) " >&6
7732 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir
=.
7740 for ac_exec_ext
in '' $ac_executable_extensions; do
7741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7742 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7754 if test -n "$ant"; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7756 $as_echo "$ant" >&6; }
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7759 $as_echo "no" >&6; }
7763 if test "$ant" = ""; then
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7765 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7768 if test "$host_os" = "mingw32"; then
7769 android_tool
="cmd //c $android_tool"
7775 #-----------------------------------------------------------------------------
7776 # External toolchains
7777 kernel_tool_prefix
="none"
7778 aros_tool_prefix
="none"
7779 elf_tool_prefix
="${target_cpu}-elf-"
7781 # This is the target configuration switch.
7782 case "$target_os" in
7784 aros_target_arch
="linux"
7785 aros_target_family
="unix"
7786 case "$target_cpu" in
7788 aros_target_cpu
="m68k"
7789 aros_object_format
="m68kelf"
7790 aros_flavour
="emulcompat"
7791 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7792 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7793 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7794 gcc_target_cpu
="mc68000"
7797 aros_target_cpu
="i386"
7798 aros_object_format
="elf_i386"
7799 aros_flavour
="emulation"
7800 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7801 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7802 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7803 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7804 aros_config_ldflags
="-m32 -march=i486"
7805 aros_kernel_ldflags
="-melf_i386"
7806 aros_default_wbdepth
=8
7807 gcc_target_cpu
="i386"
7808 pci_hidd_target
="hidd-pci-linux"
7809 android_tool_dir_prefix
="x86"
7810 android_tool_prefix
="i686-android-linux"
7811 android_ndk_arch
="x86"
7814 aros_target_cpu
="x86_64"
7815 aros_object_format
="elf_x86_64"
7816 aros_flavour
="emulation"
7817 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7818 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7819 aros_default_wbdepth
=8
7820 pci_hidd_target
="hidd-pci-linux"
7823 aros_target_cpu
="ppc"
7824 aros_object_format
="elf32ppc"
7825 aros_flavour
="emulation"
7826 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7827 aros_default_wbdepth
=8
7828 gcc_target_cpu
="ppc"
7831 # Same as powerpc, but I need this for the nightly build to work again.
7832 # Actually, the nightly should be made working with powerpc target.
7833 # That just was too much work for the moment, another week or two.
7835 aros_target_cpu
="ppc"
7836 aros_object_format
="elf32ppc"
7837 aros_flavour
="emulation"
7838 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7839 aros_default_wbdepth
=8
7840 gcc_target_cpu
="ppc"
7843 aros_target_cpu
="arm"
7845 aros_object_format
="armelf_linux_eabi"
7846 aros_flavour
="emulation"
7847 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7848 gcc_target_cpu
="arm"
7849 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7850 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7851 aros_arch_libs
="-laeabi"
7852 gcc_default_fpu
="vfpv3-d16"
7853 gcc_default_float_abi
="hard"
7854 android_tool_dir_prefix
="arm-linux-androideabi"
7855 android_tool_prefix
="arm-linux-androideabi"
7856 android_ndk_arch
="arm"
7857 kernel_tool_prefix
="arm-linux-gnueabihf-"
7860 aros_target_cpu
="arm"
7861 aros_object_format
="armelf_linux_eabi"
7862 aros_flavour
="emulation"
7863 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7864 gcc_target_cpu
="arm"
7865 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7866 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7867 aros_arch_libs
="-laeabi"
7868 android_tool_dir_prefix
="arm-linux-androideabi"
7869 android_tool_prefix
="arm-linux-androideabi"
7870 android_ndk_arch
="arm"
7871 kernel_tool_prefix
="arm-linux-gnueabi-"
7874 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7877 case "$aros_target_variant" in
7880 if test "$android_ndk_arch" = ""; then
7881 as_fn_error
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7884 aros_default_wbwidth
=320
7885 aros_default_wbheight
=480
7886 if test "$aros_android_ndk" = "none"; then
7887 aros_kernel_cflags
="-mandroid"
7888 aros_kernel_ldflags
="-mandroid"
7891 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7892 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7893 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7894 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7895 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7896 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7899 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7900 # Disable implicit PIC mode
7901 aros_target_cflags
="$aros_target_cflags -fno-pic"
7902 kernel_tool_prefix
="$android_tool_prefix-"
7908 aros_target_arch
="pc"
7909 aros_shared_default
="no"
7910 target_bootloader
="grub2"
7911 case "$target_cpu" in
7913 aros_target_cpu
="i386"
7916 if test "$aros_object_format" = "" ; then
7917 aros_object_format
="elf_i386"
7919 aros_flavour
="standalone"
7920 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7921 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7922 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7923 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7924 aros_config_ldflags
="-m32 -march=i486"
7925 aros_kernel_ldflags
="-melf_i386"
7926 aros_default_wbwidth
=640
7927 aros_default_wbheight
=480
7928 gcc_target_cpu
="i386"
7931 aros_target_cpu
="x86_64"
7933 if test "$aros_object_format" = "" ; then
7934 aros_object_format
="elf_x86_64"
7936 aros_flavour
="standalone"
7937 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7938 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7939 aros_kernel_ldflags
=""
7940 aros_default_wbwidth
=640
7941 aros_default_wbheight
=480
7944 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7950 aros_target_arch
="prep"
7951 aros_shared_default
="no"
7952 aros_target_cpu
="ppc"
7953 aros_object_format
="elf32ppc"
7954 aros_flavour
="ppcnative"
7955 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7956 aros_kernel_ldflags
=""
7957 aros_default_wbwidth
=640
7958 aros_default_wbheight
=480
7959 gcc_target_cpu
="ppc"
7963 aros_target_arch
="freebsd"
7964 aros_target_family
="unix"
7965 aros_target_cpu
="i386"
7966 aros_flavour
="emulation"
7967 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7968 gcc_target_cpu
="i386"
7970 aros_target_strip_flags
="-x"
7974 aros_target_arch
="darwin"
7975 aros_target_family
="unix"
7976 aros_flavour
="emulation"
7977 case "$target_cpu" in
7979 aros_ios_platform
="iPhoneSimulator"
7980 aros_target_cpu
="i386"
7981 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7982 aros_kernel_ldflags
=""
7983 aros_macosx_version
="10.4"
7984 aros_default_wbdepth
=8
7985 gcc_target_cpu
="i386"
7986 aros_object_format
="elf_i386"
7987 aros_kernel_ar_flags
="-cr"
7988 aros_target_strip_flags
="-x"
7989 kernel_tool_flags
="-m32"
7992 aros_target_cpu
="x86_64"
7993 aros_object_format
="elf_x86_64"
7994 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7995 aros_macosx_version
="10.6"
7996 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7997 aros_kernel_cflags
="-m64"
7998 aros_kernel_ldflags
="-m64"
7999 aros_target_cflags
="-mcmodel=large"
8000 aros_default_wbdepth
=8
8002 aros_kernel_ar_flags
="-cr"
8004 aros_kernel_ranlib
="ranlib"
8007 aros_target_cpu
="ppc"
8008 aros_object_format
="elf32ppc"
8009 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8010 aros_kernel_ldflags
=""
8011 aros_macosx_version
="10.0"
8012 aros_default_wbdepth
=8
8013 gcc_target_cpu
="ppc"
8015 aros_kernel_ar_flags
="-cr"
8016 aros_kernel_ld
="ld -arch ppc"
8017 aros_kernel_as
="as -arch ppc"
8018 aros_kernel_ranlib
="ranlib -arch ppc"
8019 aros_kernel_nm
="nm -arch ppc"
8020 aros_kernel_strip
="strip -arch ppc"
8021 kernel_tool_prefix
="powerpc-apple-darwin10-"
8024 aros_ios_platform
="iPhoneOS"
8025 aros_target_cpu
="arm"
8026 aros_object_format
="armelf_linux_eabi"
8027 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8028 aros_arch_libs
="-laeabi"
8029 aros_default_wbdepth
=8
8030 gcc_target_cpu
="arm"
8032 aros_kernel_ar_flags
="-cr"
8033 aros_kernel_ld
="ld -arch arm"
8034 aros_kernel_ranlib
="ranlib -arch arm"
8035 kernel_tool_prefix
="arm-apple-darwin10-"
8036 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8039 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8042 case "$aros_target_variant" in
8044 aros_ios_version
="3.0"
8045 aros_default_wbwidth
=320
8046 aros_default_wbheight
=480
8047 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8048 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8049 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8051 # This is here because it may depend on iOS or SDK version
8052 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8053 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8054 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8057 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8058 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8064 aros_target_arch
="dragonfly"
8065 aros_target_family
="unix"
8066 aros_flavour
="emulation"
8067 case "$target_cpu" in
8069 aros_target_cpu
="i386"
8070 aros_object_format
="elf_i386"
8071 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8074 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8075 aros_target_cpu
="x86_64"
8076 aros_object_format
="elf_x86_64"
8077 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8080 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8086 aros_target_arch
="netbsd"
8087 aros_target_family
="unix"
8088 case "$target_cpu" in
8090 aros_target_cpu
="m68k"
8091 aros_object_format
="m68kelf"
8092 aros_flavour
="emulcompat"
8093 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8094 gcc_target_cpu
="mc68000"
8097 aros_target_cpu
="i386"
8098 aros_object_format
="elf_i386"
8099 aros_flavour
="emulation"
8100 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8101 aros_default_wbdepth
=8
8102 gcc_target_cpu
="i386"
8105 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8108 aros_target_genmap
="-Wl,-M -Xlinker >"
8109 aros_flavour
="emulation"
8110 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8114 aros_target_arch
="openbsd"
8115 aros_target_family
="unix"
8116 case "$target_cpu" in
8118 aros_target_cpu
="i386"
8119 aros_object_format
="elf_i386"
8120 aros_flavour
="emulation"
8121 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8122 gcc_target_cpu
="i386"
8125 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8128 aros_target_genmap
="-Wl,-M -Xlinker >"
8129 aros_target_nm_flags
="-u"
8130 aros_flavour
="emulation"
8134 aros_target_arch
="solaris"
8135 aros_target_family
="unix"
8136 case "$target_cpu" in
8138 aros_target_cpu
="i386"
8139 aros_object_format
="elf_i386"
8140 aros_flavour
="emulation"
8141 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8142 aros_default_wbdepth
=8
8143 gcc_target_cpu
="i386"
8146 aros_target_cpu
="sparc"
8147 aros_object_format
="elf_sparc"
8148 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8149 gcc_target_cpu
="sparc"
8152 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8155 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8156 aros_flavour
="emulation"
8160 aros_target_arch
="morphos"
8161 aros_shared_default
="no"
8162 aros_target_cpu
="ppc"
8163 aros_object_format
="elf_ppc"
8164 aros_flavour
="nativecompat"
8165 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8166 gcc_target_cpu
="ppc"
8170 aros_target_arch
="sam440"
8171 aros_shared_default
="no"
8172 aros_target_cpu
="ppc"
8173 aros_object_format
="elf32ppc"
8174 aros_flavour
="ppcnative"
8175 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8176 aros_kernel_ldflags
=""
8177 aros_default_wbwidth
=1024
8178 aros_default_wbheight
=768
8179 aros_default_wbdepth
=24
8180 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8181 gcc_target_cpu
="powerpc"
8185 aros_target_arch
="efika"
8186 aros_shared_default
="no"
8187 aros_target_cpu
="arm"
8188 aros_object_format
="armelf_linux_eabi"
8189 aros_flavour
="standalone"
8190 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8191 aros_kernel_ldflags
=""
8192 aros_default_wbwidth
=1024
8193 aros_default_wbheight
=600
8194 aros_arch_libs
="-laeabi"
8195 gcc_default_cpu
="armv7-a"
8196 gcc_default_fpu
="vfpv3"
8197 gcc_default_float_abi
="softfp"
8198 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8199 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8203 aros_target_arch
="chrp"
8204 aros_shared_default
="no"
8205 aros_target_cpu
="ppc"
8206 aros_object_format
="elf32ppc"
8207 aros_flavour
="ppcnative"
8208 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8209 aros_kernel_ldflags
=""
8210 aros_default_wbwidth
=640
8211 aros_default_wbheight
=480
8212 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8213 gcc_target_cpu
="powerpc"
8214 case "$aros_target_variant" in
8216 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8222 aros_target_arch
="amiga"
8223 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8224 aros_shared_default
="no"
8226 case "$target_cpu" in
8228 # Check whether --enable-amigaos_compliance was given.
8229 if test "${enable_amigaos_compliance+set}" = set; then :
8230 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8234 aros_target_cpu
="m68k"
8235 aros_object_format
="m68kelf"
8236 aros_flavour
="standcompat"
8237 gcc_target_cpu
="m68000"
8238 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8239 aros_config_aflags
="$aros_config_aflags"
8240 aros_target_strip_flags
="-R.comment --strip-debug"
8241 aros_default_wbwidth
=640
8242 aros_default_wbheight
=256
8243 aros_default_wbdepth
=2
8247 aros_flavour
="native"
8248 gcc_target_cpu
="ppc"
8251 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8257 aros_target_arch
="mingw32"
8258 aros_shared_default
="no"
8259 aros_flavour
="emulation"
8260 aros_shared_cflags
=""
8261 need_crosstools
="yes"
8264 case "$target_cpu" in
8266 aros_target_cpu
="i386"
8267 aros_object_format
="elf_i386"
8268 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8269 aros_default_wbdepth
=8
8270 gcc_target_cpu
="i386"
8272 kernel_tool_prefix
="i386-mingw32-"
8275 aros_target_cpu
="x86_64"
8276 aros_object_format
="elf_x86_64"
8277 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8278 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8279 aros_default_wbdepth
=8
8280 kernel_tool_prefix
="x86_64-w64-mingw32-"
8283 aros_target_cpu
="arm"
8284 aros_object_format
="armelf_linux_eabi"
8285 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8286 aros_arch_libs
="-laeabi"
8287 aros_default_wbdepth
=8
8288 gcc_target_cpu
="arm"
8289 gcc_default_float_abi
="soft"
8290 kernel_tool_prefix
="arm-mingw32ce-"
8291 aros_default_wbwidth
=160
8292 aros_default_wbheight
=160
8295 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8298 if test $host_os = "cygwin"; then
8299 aros_kernel_cflags
="-mno-cygwin"
8303 aros_target_arch
="pp"
8304 aros_shared_default
="no"
8305 case "$target_cpu" in
8307 aros_target_cpu
="m68k"
8308 aros_object_format
="m68kelf"
8309 aros_flavour
="palmnative"
8310 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8311 aros_default_wbwidth
=160
8312 aros_default_wbheight
=160
8313 aros_default_wbdepth
=1
8314 aros_target_ar_flags
="cru"
8315 aros_compiler_libs
="-lgcc1"
8316 aros_shared_default
=no
8317 aros_shared_cflags
="-fpic"
8318 aros_shared_aflags
=""
8319 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8320 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8321 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8322 aros_debug_aflags
=""
8323 aros_debug_ldflags
="$aros_symbols_debug"
8324 aros_mungwall_debug
="0"
8325 aros_modules_debug
="0"
8326 gcc_target_cpu
="mc68000"
8327 ignore_undefined_symbols
="-ius"
8330 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8336 aros_target_arch
="mac"
8337 aros_shared_default
="no"
8338 case "$target_cpu" in
8340 aros_target_cpu
="m68k"
8341 aros_object_format
="m68kelf"
8342 aros_flavour
="mac68knative"
8343 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8344 aros_default_wbwidth
=512
8345 aros_default_wbheight
=384
8346 aros_default_wbdepth
=8
8347 aros_target_ar_flags
="cru"
8348 aros_compiler_libs
="-lgcc1"
8349 aros_shared_default
=no
8350 aros_shared_cflags
="-fpic"
8351 aros_shared_aflags
=""
8352 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8353 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8354 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8355 aros_debug_aflags
=""
8356 aros_debug_ldflags
="$aros_symbols_debug"
8357 aros_mungwall_debug
="0"
8358 aros_modules_debug
="0"
8359 gcc_target_cpu
="mc68000"
8360 ignore_undefined_symbols
="-ius"
8363 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8369 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
8373 #-----------------------------------------------------------------------------
8374 crosstools_guess
=yes
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8377 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8379 # Check whether --with-kernel-toolchain-prefix was given.
8380 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8381 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8385 $as_echo "$kernel_tool_prefix" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8388 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8390 # Check whether --with-elf-toolchain-prefix was given.
8391 if test "${with_elf_toolchain_prefix+set}" = set; then :
8392 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8397 $as_echo "$elf_tool_prefix" >&6; }
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8400 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8402 # Check whether --with-aros-toolchain was given.
8403 if test "${with_aros_toolchain+set}" = set; then :
8404 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8408 if test "$aros_tool_prefix" = "yes" ; then
8409 aros_tool_prefix
=$aros_target_cpu-aros-
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8412 $as_echo "$aros_tool_prefix" >&6; }
8414 #-----------------------------------------------------------------------------
8415 # Checking if we should build crosstools..
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8417 $as_echo_n "checking whether to build crosstools... " >&6; }
8418 # Check whether --enable-crosstools was given.
8419 if test "${enable_crosstools+set}" = set; then :
8420 enableval
=$enable_crosstools; crosstools
="$enableval"
8422 crosstools
="$crosstools_guess"
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8426 $as_echo "$crosstools" >&6; }
8428 if test "${crosstools}" = "yes"; then
8429 if test "${crosstools_guess}" = "no"; then
8430 as_fn_error
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8435 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8437 # Check whether --with-aros-toolchain-install was given.
8438 if test "${with_aros_toolchain_install+set}" = set; then :
8439 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8442 if test "x$aros_toolchain_install" = "x"; then
8443 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8445 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8446 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8449 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8452 # Now process extra architecture-specific options.
8453 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8454 # as well as floating-point ABI.
8455 case "$aros_target_cpu" in
8457 if test "$gcc_default_cpu" = ""; then
8458 gcc_default_cpu
="armv6"
8460 if test "$gcc_default_fpu" = ""; then
8461 gcc_default_fpu
="vfp"
8463 if test "$gcc_default_float_abi" = ""; then
8464 gcc_default_float_abi
="softfp"
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8468 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8470 # Check whether --with-cpu was given.
8471 if test "${with_cpu+set}" = set; then :
8472 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8474 aros_gcc_cpu
=$gcc_default_cpu
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8478 $as_echo "$aros_gcc_cpu" >&6; }
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8481 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8483 # Check whether --with-fpu was given.
8484 if test "${with_fpu+set}" = set; then :
8485 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8487 aros_gcc_fpu
=$gcc_default_fpu
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8491 $as_echo "$aros_gcc_fpu" >&6; }
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8494 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8496 # Check whether --with-float was given.
8497 if test "${with_float+set}" = set; then :
8498 withval
=$with_float; aros_gcc_float_abi
="$withval"
8500 aros_gcc_float_abi
=$gcc_default_float_abi
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8504 $as_echo "$aros_gcc_float_abi" >&6; }
8506 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"
8507 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"
8511 # Some formats need custom ELF specs.
8512 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8513 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8514 elf_specs_in
=config
/${aros_object_format}-specs.
in
8516 elf_specs_in
=config
/elf-specs.
in
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8520 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8522 # Check whether --with-aros-gcc was given.
8523 if test "${with_aros_gcc+set}" = set; then :
8524 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8530 $as_echo "$aros_gcc_version" >&6; }
8532 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8533 # Since we override specs, we may need to put these defines there
8534 if test "$gcc_target_cpu" != ""; then
8535 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8539 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8541 # Check whether --with-portssources was given.
8542 if test "${with_portssources+set}" = set; then :
8543 withval
=$with_portssources; with_portssrcdir
=$withval
8545 with_portssrcdir
="default"
8548 if test "$with_portssrcdir" = "default"; then
8549 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8551 AROS_PORTSSRCDIR
="$with_portssrcdir"
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8554 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8557 $as_echo_n "checking which bootloader to use... " >&6; }
8559 # Check whether --with-bootloader was given.
8560 if test "${with_bootloader+set}" = set; then :
8561 withval
=$with_bootloader; target_bootloader
=$withval
8563 target_bootloader
=$target_bootloader
8566 if test "$target_bootloader" = "none"; then
8567 aros_target_bootloader
=""
8569 aros_target_bootloader
="$target_bootloader"
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8572 $as_echo "$target_bootloader" >&6; }
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8575 $as_echo_n "checking which icon-set to use... " >&6; }
8577 # Check whether --with-iconset was given.
8578 if test "${with_iconset+set}" = set; then :
8579 withval
=$with_iconset; target_iconset
=$withval
8581 target_iconset
="default"
8584 if test "$target_iconset" = "default"; then
8585 aros_target_iconset
="Gorilla"
8586 target_iconset
="default (Gorilla)"
8588 aros_target_iconset
="$target_iconset"
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8591 $as_echo "$target_iconset" >&6; }
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8594 $as_echo_n "checking which GUI Theme to use... " >&6; }
8596 # Check whether --with-theme was given.
8597 if test "${with_theme+set}" = set; then :
8598 withval
=$with_theme; target_guitheme
=$withval
8600 target_guitheme
="default"
8603 if test "$target_guitheme" = "default"; then
8604 aros_target_guitheme
="Ice"
8606 aros_target_guitheme
="$target_guitheme"
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8609 $as_echo "$aros_target_guitheme" >&6; }
8611 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8615 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8619 if test "$aros_host_cpu" == "x86_64" ; then
8620 if test "$aros_target_cpu" == "i386" ; then
8625 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8626 if test "$aros_host_arch" != "$aros_target_arch" ; then
8630 if test "$host_cc_elf" = "no" ; then
8635 if test "$cross_compiling" = "no" ; then
8636 kernel_tool_prefix
=""
8637 if test "$host_cc_elf" = "yes" ; then
8642 #######################################################################
8643 ## Compute what toolchains to use, and their paths ##
8644 #######################################################################
8646 # This takes, as input:
8647 # crosstools {yes,no}
8648 # kernel_tool_version {"",[version]}
8649 # aros_gcc_version {"",[version]}
8650 # kernel_tool_prefix {none,[some-arch-os-]}
8651 # target_tool_prefix ${aros_target_cpu}-aros-
8652 # aros_tool_prefix ${aros_target_cpu}-aros-
8655 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8656 # Where the 'kernel' binaries are located
8657 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8658 # Where the 'target' binaries are located
8659 # (not the symlink farm - that is aros_target_*!)
8662 # if crosstools then
8663 # if kernel_tools_prefix = "no-kernel-prefix-"
8664 # aros_kernel_* = crosstools cc paths
8665 # aros_kernel_cc = elf cc wrapper around crosstools cc
8667 # VALIDATE(${kernel_tools_prefix}*)
8668 # aros_kernel_* = ${kernel_tools_prefix}*
8669 # if ${kernel_tools_prefix}cc is an AROS gcc
8670 # aros_kernel_cc = ${kernel_tools_prefix}cc
8672 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8676 # orig_target_* = aros built crosstools
8677 # orig_target_cc = elf cc wrapper around crosstools cc
8679 # VALIDATE(${kernel_tools_prefix}*)
8681 # orig_target_* = aros_kernel_*
8682 # if aros_kernel_cc is an AROS gcc
8683 # orig_target_cc = aros_kernel_cc
8685 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8689 target_tool_prefix
="${aros_target_cpu}-aros-"
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8692 $as_echo_n "checking which kernel tools... " >&6; }
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8694 $as_echo "$kernel_tool_prefix" >&6; };
8696 if test "$kernel_tool_prefix" = "none" ; then
8697 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8698 as_fn_error
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8701 # Kernel tools required - find them
8702 # Note that 'normally', aros_kernel_* overrides will be
8703 # empty, unless specified in the per-arch sections above.
8704 if test "x$aros_kernel_cpp" = "x"; then
8705 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8708 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8709 if test "$cross_compiling" = "yes" ; then
8710 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8711 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713 $as_echo_n "checking for $ac_word... " >&6; }
8714 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8715 $as_echo_n "(cached) " >&6
8717 case $aros_kernel_cpp in
8719 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8726 test -z "$as_dir" && as_dir
=.
8727 for ac_exec_ext
in '' $ac_executable_extensions; do
8728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8741 if test -n "$aros_kernel_cpp"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8743 $as_echo "$aros_kernel_cpp" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8751 if test "$GCC" = "yes"; then
8752 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8753 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8754 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8756 $as_echo_n "checking for $ac_word... " >&6; }
8757 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8758 $as_echo_n "(cached) " >&6
8760 case $aros_kernel_cpp in
8762 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8766 for as_dir
in `dirname $aros_gcc_cpp`
8769 test -z "$as_dir" && as_dir
=.
8770 for ac_exec_ext
in '' $ac_executable_extensions; do
8771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8772 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8783 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8784 if test -n "$aros_kernel_cpp"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8786 $as_echo "$aros_kernel_cpp" >&6; }
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8789 $as_echo "no" >&6; }
8794 if test "$aros_kernel_cpp" = ""; then
8795 # Extract the first word of "cpp", so it can be a program name with args.
8796 set dummy cpp
; ac_word
=$2
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8798 $as_echo_n "checking for $ac_word... " >&6; }
8799 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8800 $as_echo_n "(cached) " >&6
8802 case $aros_kernel_cpp in
8804 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8811 test -z "$as_dir" && as_dir
=.
8812 for ac_exec_ext
in '' $ac_executable_extensions; do
8813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8814 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8825 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8826 if test -n "$aros_kernel_cpp"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8828 $as_echo "$aros_kernel_cpp" >&6; }
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8838 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8839 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8841 $as_echo_n "checking for $ac_word... " >&6; }
8842 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8843 $as_echo_n "(cached) " >&6
8845 case $aros_kernel_cpp in
8847 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8854 test -z "$as_dir" && as_dir
=.
8855 for ac_exec_ext
in '' $ac_executable_extensions; do
8856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8857 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8868 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8869 if test -n "$aros_kernel_cpp"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8871 $as_echo "$aros_kernel_cpp" >&6; }
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8880 if test "$aros_kernel_cpp" = ""; then
8881 as_fn_error
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8883 if test "x$aros_kernel_cc" = "x"; then
8884 aros_kernel_cc
=${kernel_tool_prefix}gcc
8887 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8888 if test "$cross_compiling" = "yes" ; then
8889 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8890 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8892 $as_echo_n "checking for $ac_word... " >&6; }
8893 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
8894 $as_echo_n "(cached) " >&6
8896 case $aros_kernel_cc in
8898 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8905 test -z "$as_dir" && as_dir
=.
8906 for ac_exec_ext
in '' $ac_executable_extensions; do
8907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8908 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8919 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8920 if test -n "$aros_kernel_cc"; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8922 $as_echo "$aros_kernel_cc" >&6; }
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8925 $as_echo "no" >&6; }
8930 if test "$GCC" = "yes"; then
8931 aros_gcc_cc
=`$CC -print-prog-name=cc`
8932 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8933 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8935 $as_echo_n "checking for $ac_word... " >&6; }
8936 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
8937 $as_echo_n "(cached) " >&6
8939 case $aros_kernel_cc in
8941 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8945 for as_dir
in `dirname $aros_gcc_cc`
8948 test -z "$as_dir" && as_dir
=.
8949 for ac_exec_ext
in '' $ac_executable_extensions; do
8950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8951 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8962 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8963 if test -n "$aros_kernel_cc"; then
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8965 $as_echo "$aros_kernel_cc" >&6; }
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8968 $as_echo "no" >&6; }
8973 if test "$aros_kernel_cc" = ""; then
8974 # Extract the first word of "cc", so it can be a program name with args.
8975 set dummy cc
; ac_word
=$2
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8977 $as_echo_n "checking for $ac_word... " >&6; }
8978 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
8979 $as_echo_n "(cached) " >&6
8981 case $aros_kernel_cc in
8983 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8990 test -z "$as_dir" && as_dir
=.
8991 for ac_exec_ext
in '' $ac_executable_extensions; do
8992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8993 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9004 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9005 if test -n "$aros_kernel_cc"; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9007 $as_echo "$aros_kernel_cc" >&6; }
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9010 $as_echo "no" >&6; }
9017 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9018 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9020 $as_echo_n "checking for $ac_word... " >&6; }
9021 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
9022 $as_echo_n "(cached) " >&6
9024 case $aros_kernel_cc in
9026 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9033 test -z "$as_dir" && as_dir
=.
9034 for ac_exec_ext
in '' $ac_executable_extensions; do
9035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9036 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9047 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9048 if test -n "$aros_kernel_cc"; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9050 $as_echo "$aros_kernel_cc" >&6; }
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9053 $as_echo "no" >&6; }
9059 if test "$aros_kernel_cc" = ""; then
9060 as_fn_error
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9062 if test "x$aros_kernel_cxx" = "x"; then
9063 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9066 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9067 if test "$cross_compiling" = "yes" ; then
9068 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9069 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9071 $as_echo_n "checking for $ac_word... " >&6; }
9072 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
9073 $as_echo_n "(cached) " >&6
9075 case $aros_kernel_cxx in
9077 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9084 test -z "$as_dir" && as_dir
=.
9085 for ac_exec_ext
in '' $ac_executable_extensions; do
9086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9087 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9098 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9099 if test -n "$aros_kernel_cxx"; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9101 $as_echo "$aros_kernel_cxx" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9104 $as_echo "no" >&6; }
9109 if test "$GCC" = "yes"; then
9110 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9111 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9112 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9114 $as_echo_n "checking for $ac_word... " >&6; }
9115 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
9116 $as_echo_n "(cached) " >&6
9118 case $aros_kernel_cxx in
9120 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9124 for as_dir
in `dirname $aros_gcc_cxx`
9127 test -z "$as_dir" && as_dir
=.
9128 for ac_exec_ext
in '' $ac_executable_extensions; do
9129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9130 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9141 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9142 if test -n "$aros_kernel_cxx"; then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9144 $as_echo "$aros_kernel_cxx" >&6; }
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9147 $as_echo "no" >&6; }
9152 if test "$aros_kernel_cxx" = ""; then
9153 # Extract the first word of "cxx", so it can be a program name with args.
9154 set dummy cxx
; ac_word
=$2
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 $as_echo_n "checking for $ac_word... " >&6; }
9157 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
9158 $as_echo_n "(cached) " >&6
9160 case $aros_kernel_cxx in
9162 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9169 test -z "$as_dir" && as_dir
=.
9170 for ac_exec_ext
in '' $ac_executable_extensions; do
9171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9172 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9183 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9184 if test -n "$aros_kernel_cxx"; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9186 $as_echo "$aros_kernel_cxx" >&6; }
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9189 $as_echo "no" >&6; }
9196 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9197 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9199 $as_echo_n "checking for $ac_word... " >&6; }
9200 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
9201 $as_echo_n "(cached) " >&6
9203 case $aros_kernel_cxx in
9205 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9212 test -z "$as_dir" && as_dir
=.
9213 for ac_exec_ext
in '' $ac_executable_extensions; do
9214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9215 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9226 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9227 if test -n "$aros_kernel_cxx"; then
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9229 $as_echo "$aros_kernel_cxx" >&6; }
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9232 $as_echo "no" >&6; }
9238 # If it's set, make sure it's really there
9239 if test "x$aros_kernel_cxx" != "x" ; then
9240 if test "$aros_kernel_cxx" = ""; then
9241 as_fn_error
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9245 if test "$aros_kernel_ld" = ""; then
9246 if test "$cross_compiling" = "yes" ; then
9247 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9248 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9250 $as_echo_n "checking for $ac_word... " >&6; }
9251 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9252 $as_echo_n "(cached) " >&6
9254 case $aros_kernel_ld in
9256 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9263 test -z "$as_dir" && as_dir
=.
9264 for ac_exec_ext
in '' $ac_executable_extensions; do
9265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9266 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9277 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9278 if test -n "$aros_kernel_ld"; then
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9280 $as_echo "$aros_kernel_ld" >&6; }
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9283 $as_echo "no" >&6; }
9288 if test "$GCC" = "yes"; then
9289 aros_gcc_ld
=`$CC -print-prog-name=ld`
9290 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9291 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9293 $as_echo_n "checking for $ac_word... " >&6; }
9294 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9295 $as_echo_n "(cached) " >&6
9297 case $aros_kernel_ld in
9299 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9303 for as_dir
in `dirname $aros_gcc_ld`
9306 test -z "$as_dir" && as_dir
=.
9307 for ac_exec_ext
in '' $ac_executable_extensions; do
9308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9309 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9320 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9321 if test -n "$aros_kernel_ld"; then
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9323 $as_echo "$aros_kernel_ld" >&6; }
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9326 $as_echo "no" >&6; }
9331 if test "$aros_kernel_ld" = ""; then
9332 # Extract the first word of "ld", so it can be a program name with args.
9333 set dummy ld
; ac_word
=$2
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9335 $as_echo_n "checking for $ac_word... " >&6; }
9336 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9337 $as_echo_n "(cached) " >&6
9339 case $aros_kernel_ld in
9341 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9348 test -z "$as_dir" && as_dir
=.
9349 for ac_exec_ext
in '' $ac_executable_extensions; do
9350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9351 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9362 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9363 if test -n "$aros_kernel_ld"; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9365 $as_echo "$aros_kernel_ld" >&6; }
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9368 $as_echo "no" >&6; }
9375 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9376 set dummy
$aros_kernel_ld; ac_word
=$2
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9378 $as_echo_n "checking for $ac_word... " >&6; }
9379 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9380 $as_echo_n "(cached) " >&6
9382 case $aros_kernel_ld in
9384 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9391 test -z "$as_dir" && as_dir
=.
9392 for ac_exec_ext
in '' $ac_executable_extensions; do
9393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9394 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9405 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9406 if test -n "$aros_kernel_ld"; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9408 $as_echo "$aros_kernel_ld" >&6; }
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9411 $as_echo "no" >&6; }
9417 if test "$aros_kernel_ld" = ""; then
9418 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9421 if test "$aros_kernel_as" = ""; then
9422 if test "$cross_compiling" = "yes" ; then
9423 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9424 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9426 $as_echo_n "checking for $ac_word... " >&6; }
9427 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9428 $as_echo_n "(cached) " >&6
9430 case $aros_kernel_as in
9432 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9439 test -z "$as_dir" && as_dir
=.
9440 for ac_exec_ext
in '' $ac_executable_extensions; do
9441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9442 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9453 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9454 if test -n "$aros_kernel_as"; then
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9456 $as_echo "$aros_kernel_as" >&6; }
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9459 $as_echo "no" >&6; }
9464 if test "$GCC" = "yes"; then
9465 aros_gcc_as
=`$CC -print-prog-name=as`
9466 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9467 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9469 $as_echo_n "checking for $ac_word... " >&6; }
9470 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9471 $as_echo_n "(cached) " >&6
9473 case $aros_kernel_as in
9475 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9479 for as_dir
in `dirname $aros_gcc_as`
9482 test -z "$as_dir" && as_dir
=.
9483 for ac_exec_ext
in '' $ac_executable_extensions; do
9484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9485 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9496 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9497 if test -n "$aros_kernel_as"; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9499 $as_echo "$aros_kernel_as" >&6; }
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9502 $as_echo "no" >&6; }
9507 if test "$aros_kernel_as" = ""; then
9508 # Extract the first word of "as", so it can be a program name with args.
9509 set dummy as
; ac_word
=$2
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9511 $as_echo_n "checking for $ac_word... " >&6; }
9512 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9513 $as_echo_n "(cached) " >&6
9515 case $aros_kernel_as in
9517 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9524 test -z "$as_dir" && as_dir
=.
9525 for ac_exec_ext
in '' $ac_executable_extensions; do
9526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9527 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9538 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9539 if test -n "$aros_kernel_as"; then
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9541 $as_echo "$aros_kernel_as" >&6; }
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9544 $as_echo "no" >&6; }
9551 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9552 set dummy
$aros_kernel_as; ac_word
=$2
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9554 $as_echo_n "checking for $ac_word... " >&6; }
9555 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9556 $as_echo_n "(cached) " >&6
9558 case $aros_kernel_as in
9560 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9567 test -z "$as_dir" && as_dir
=.
9568 for ac_exec_ext
in '' $ac_executable_extensions; do
9569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9570 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9581 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9582 if test -n "$aros_kernel_as"; then
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9584 $as_echo "$aros_kernel_as" >&6; }
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9587 $as_echo "no" >&6; }
9593 if test "$aros_kernel_as" = ""; then
9594 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9597 if test "$aros_kernel_ar" = ""; then
9598 if test "$cross_compiling" = "yes" ; then
9599 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9600 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9602 $as_echo_n "checking for $ac_word... " >&6; }
9603 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9604 $as_echo_n "(cached) " >&6
9606 case $aros_kernel_ar in
9608 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9615 test -z "$as_dir" && as_dir
=.
9616 for ac_exec_ext
in '' $ac_executable_extensions; do
9617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9618 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9629 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9630 if test -n "$aros_kernel_ar"; then
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9632 $as_echo "$aros_kernel_ar" >&6; }
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9635 $as_echo "no" >&6; }
9640 if test "$GCC" = "yes"; then
9641 aros_gcc_ar
=`$CC -print-prog-name=ar`
9642 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9643 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9645 $as_echo_n "checking for $ac_word... " >&6; }
9646 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9647 $as_echo_n "(cached) " >&6
9649 case $aros_kernel_ar in
9651 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9655 for as_dir
in `dirname $aros_gcc_ar`
9658 test -z "$as_dir" && as_dir
=.
9659 for ac_exec_ext
in '' $ac_executable_extensions; do
9660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9661 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9672 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9673 if test -n "$aros_kernel_ar"; then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9675 $as_echo "$aros_kernel_ar" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 $as_echo "no" >&6; }
9683 if test "$aros_kernel_ar" = ""; then
9684 # Extract the first word of "ar", so it can be a program name with args.
9685 set dummy
ar; ac_word
=$2
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9687 $as_echo_n "checking for $ac_word... " >&6; }
9688 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9689 $as_echo_n "(cached) " >&6
9691 case $aros_kernel_ar in
9693 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9700 test -z "$as_dir" && as_dir
=.
9701 for ac_exec_ext
in '' $ac_executable_extensions; do
9702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9703 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9714 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9715 if test -n "$aros_kernel_ar"; then
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9717 $as_echo "$aros_kernel_ar" >&6; }
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9720 $as_echo "no" >&6; }
9727 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9728 set dummy
$aros_kernel_ar; ac_word
=$2
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9730 $as_echo_n "checking for $ac_word... " >&6; }
9731 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9732 $as_echo_n "(cached) " >&6
9734 case $aros_kernel_ar in
9736 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9743 test -z "$as_dir" && as_dir
=.
9744 for ac_exec_ext
in '' $ac_executable_extensions; do
9745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9746 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9757 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9758 if test -n "$aros_kernel_ar"; then
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9760 $as_echo "$aros_kernel_ar" >&6; }
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9763 $as_echo "no" >&6; }
9769 if test "$aros_kernel_ar" = ""; then
9770 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9773 if test "$aros_kernel_ranlib" = ""; then
9774 if test "$cross_compiling" = "yes" ; then
9775 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9776 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9778 $as_echo_n "checking for $ac_word... " >&6; }
9779 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9780 $as_echo_n "(cached) " >&6
9782 case $aros_kernel_ranlib in
9784 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9791 test -z "$as_dir" && as_dir
=.
9792 for ac_exec_ext
in '' $ac_executable_extensions; do
9793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9794 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9805 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9806 if test -n "$aros_kernel_ranlib"; then
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9808 $as_echo "$aros_kernel_ranlib" >&6; }
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9811 $as_echo "no" >&6; }
9816 if test "$GCC" = "yes"; then
9817 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9818 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9819 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9821 $as_echo_n "checking for $ac_word... " >&6; }
9822 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9823 $as_echo_n "(cached) " >&6
9825 case $aros_kernel_ranlib in
9827 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9831 for as_dir
in `dirname $aros_gcc_ranlib`
9834 test -z "$as_dir" && as_dir
=.
9835 for ac_exec_ext
in '' $ac_executable_extensions; do
9836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9837 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9848 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9849 if test -n "$aros_kernel_ranlib"; then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9851 $as_echo "$aros_kernel_ranlib" >&6; }
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9854 $as_echo "no" >&6; }
9859 if test "$aros_kernel_ranlib" = ""; then
9860 # Extract the first word of "ranlib", so it can be a program name with args.
9861 set dummy ranlib
; ac_word
=$2
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9863 $as_echo_n "checking for $ac_word... " >&6; }
9864 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9865 $as_echo_n "(cached) " >&6
9867 case $aros_kernel_ranlib in
9869 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9876 test -z "$as_dir" && as_dir
=.
9877 for ac_exec_ext
in '' $ac_executable_extensions; do
9878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9879 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9890 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9891 if test -n "$aros_kernel_ranlib"; then
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9893 $as_echo "$aros_kernel_ranlib" >&6; }
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9896 $as_echo "no" >&6; }
9903 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9904 set dummy
$aros_kernel_ranlib; ac_word
=$2
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9906 $as_echo_n "checking for $ac_word... " >&6; }
9907 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9908 $as_echo_n "(cached) " >&6
9910 case $aros_kernel_ranlib in
9912 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9919 test -z "$as_dir" && as_dir
=.
9920 for ac_exec_ext
in '' $ac_executable_extensions; do
9921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9922 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9933 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9934 if test -n "$aros_kernel_ranlib"; then
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9936 $as_echo "$aros_kernel_ranlib" >&6; }
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9939 $as_echo "no" >&6; }
9945 if test "$aros_kernel_ranlib" = ""; then
9946 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9949 if test "$aros_kernel_nm" = ""; then
9950 if test "$cross_compiling" = "yes" ; then
9951 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9952 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9954 $as_echo_n "checking for $ac_word... " >&6; }
9955 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
9956 $as_echo_n "(cached) " >&6
9958 case $aros_kernel_nm in
9960 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9967 test -z "$as_dir" && as_dir
=.
9968 for ac_exec_ext
in '' $ac_executable_extensions; do
9969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9970 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9981 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9982 if test -n "$aros_kernel_nm"; then
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9984 $as_echo "$aros_kernel_nm" >&6; }
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9987 $as_echo "no" >&6; }
9992 if test "$GCC" = "yes"; then
9993 aros_gcc_nm
=`$CC -print-prog-name=nm`
9994 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9995 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9997 $as_echo_n "checking for $ac_word... " >&6; }
9998 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
9999 $as_echo_n "(cached) " >&6
10001 case $aros_kernel_nm in
10003 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10007 for as_dir
in `dirname $aros_gcc_nm`
10010 test -z "$as_dir" && as_dir
=.
10011 for ac_exec_ext
in '' $ac_executable_extensions; do
10012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10013 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10024 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10025 if test -n "$aros_kernel_nm"; then
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10027 $as_echo "$aros_kernel_nm" >&6; }
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10030 $as_echo "no" >&6; }
10035 if test "$aros_kernel_nm" = ""; then
10036 # Extract the first word of "nm", so it can be a program name with args.
10037 set dummy nm
; ac_word
=$2
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10039 $as_echo_n "checking for $ac_word... " >&6; }
10040 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
10041 $as_echo_n "(cached) " >&6
10043 case $aros_kernel_nm in
10045 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10049 for as_dir
in $PATH
10052 test -z "$as_dir" && as_dir
=.
10053 for ac_exec_ext
in '' $ac_executable_extensions; do
10054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10055 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10067 if test -n "$aros_kernel_nm"; then
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10069 $as_echo "$aros_kernel_nm" >&6; }
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10072 $as_echo "no" >&6; }
10079 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10080 set dummy
$aros_kernel_nm; ac_word
=$2
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10082 $as_echo_n "checking for $ac_word... " >&6; }
10083 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
10084 $as_echo_n "(cached) " >&6
10086 case $aros_kernel_nm in
10088 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10092 for as_dir
in $PATH
10095 test -z "$as_dir" && as_dir
=.
10096 for ac_exec_ext
in '' $ac_executable_extensions; do
10097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10098 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10109 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10110 if test -n "$aros_kernel_nm"; then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10112 $as_echo "$aros_kernel_nm" >&6; }
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10115 $as_echo "no" >&6; }
10121 if test "$aros_kernel_nm" = ""; then
10122 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10125 if test "$aros_kernel_strip" = ""; then
10126 if test "$cross_compiling" = "yes" ; then
10127 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10128 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10130 $as_echo_n "checking for $ac_word... " >&6; }
10131 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10132 $as_echo_n "(cached) " >&6
10134 case $aros_kernel_strip in
10136 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10140 for as_dir
in $PATH
10143 test -z "$as_dir" && as_dir
=.
10144 for ac_exec_ext
in '' $ac_executable_extensions; do
10145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10146 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10157 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10158 if test -n "$aros_kernel_strip"; then
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10160 $as_echo "$aros_kernel_strip" >&6; }
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10163 $as_echo "no" >&6; }
10168 if test "$GCC" = "yes"; then
10169 aros_gcc_strip
=`$CC -print-prog-name=strip`
10170 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10171 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10173 $as_echo_n "checking for $ac_word... " >&6; }
10174 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10175 $as_echo_n "(cached) " >&6
10177 case $aros_kernel_strip in
10179 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10183 for as_dir
in `dirname $aros_gcc_strip`
10186 test -z "$as_dir" && as_dir
=.
10187 for ac_exec_ext
in '' $ac_executable_extensions; do
10188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10189 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10200 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10201 if test -n "$aros_kernel_strip"; then
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10203 $as_echo "$aros_kernel_strip" >&6; }
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10206 $as_echo "no" >&6; }
10211 if test "$aros_kernel_strip" = ""; then
10212 # Extract the first word of "strip", so it can be a program name with args.
10213 set dummy strip
; ac_word
=$2
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10215 $as_echo_n "checking for $ac_word... " >&6; }
10216 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10217 $as_echo_n "(cached) " >&6
10219 case $aros_kernel_strip in
10221 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10225 for as_dir
in $PATH
10228 test -z "$as_dir" && as_dir
=.
10229 for ac_exec_ext
in '' $ac_executable_extensions; do
10230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10231 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10242 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10243 if test -n "$aros_kernel_strip"; then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10245 $as_echo "$aros_kernel_strip" >&6; }
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10248 $as_echo "no" >&6; }
10255 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10256 set dummy
$aros_kernel_strip; ac_word
=$2
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10258 $as_echo_n "checking for $ac_word... " >&6; }
10259 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10260 $as_echo_n "(cached) " >&6
10262 case $aros_kernel_strip in
10264 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10268 for as_dir
in $PATH
10271 test -z "$as_dir" && as_dir
=.
10272 for ac_exec_ext
in '' $ac_executable_extensions; do
10273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10274 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10285 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10286 if test -n "$aros_kernel_strip"; then
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10288 $as_echo "$aros_kernel_strip" >&6; }
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10291 $as_echo "no" >&6; }
10297 if test "$aros_kernel_strip" = ""; then
10298 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10301 # Objcopy and objdump are not required for the kernel
10302 # toolchain on many architectures.
10303 # So we'll look for them, but not make them strictly required.
10305 if test "$aros_kernel_objcopy" = ""; then
10306 if test "$cross_compiling" = "yes" ; then
10307 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10308 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10310 $as_echo_n "checking for $ac_word... " >&6; }
10311 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10312 $as_echo_n "(cached) " >&6
10314 case $aros_kernel_objcopy in
10316 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10320 for as_dir
in $PATH
10323 test -z "$as_dir" && as_dir
=.
10324 for ac_exec_ext
in '' $ac_executable_extensions; do
10325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10326 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10337 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10338 if test -n "$aros_kernel_objcopy"; then
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10340 $as_echo "$aros_kernel_objcopy" >&6; }
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10343 $as_echo "no" >&6; }
10348 if test "$GCC" = "yes"; then
10349 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10350 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10351 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10353 $as_echo_n "checking for $ac_word... " >&6; }
10354 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10355 $as_echo_n "(cached) " >&6
10357 case $aros_kernel_objcopy in
10359 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10363 for as_dir
in `dirname $aros_gcc_objcopy`
10366 test -z "$as_dir" && as_dir
=.
10367 for ac_exec_ext
in '' $ac_executable_extensions; do
10368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10369 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10380 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10381 if test -n "$aros_kernel_objcopy"; then
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10383 $as_echo "$aros_kernel_objcopy" >&6; }
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10386 $as_echo "no" >&6; }
10391 if test "$aros_kernel_objcopy" = ""; then
10392 # Extract the first word of "objcopy", so it can be a program name with args.
10393 set dummy objcopy
; ac_word
=$2
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10395 $as_echo_n "checking for $ac_word... " >&6; }
10396 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10397 $as_echo_n "(cached) " >&6
10399 case $aros_kernel_objcopy in
10401 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10405 for as_dir
in $PATH
10408 test -z "$as_dir" && as_dir
=.
10409 for ac_exec_ext
in '' $ac_executable_extensions; do
10410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10411 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10422 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10423 if test -n "$aros_kernel_objcopy"; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10425 $as_echo "$aros_kernel_objcopy" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10428 $as_echo "no" >&6; }
10435 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10436 set dummy
$aros_kernel_objcopy; ac_word
=$2
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10438 $as_echo_n "checking for $ac_word... " >&6; }
10439 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10440 $as_echo_n "(cached) " >&6
10442 case $aros_kernel_objcopy in
10444 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10448 for as_dir
in $PATH
10451 test -z "$as_dir" && as_dir
=.
10452 for ac_exec_ext
in '' $ac_executable_extensions; do
10453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10454 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10465 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10466 if test -n "$aros_kernel_objcopy"; then
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10468 $as_echo "$aros_kernel_objcopy" >&6; }
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10471 $as_echo "no" >&6; }
10478 if test "$aros_kernel_objdump" = ""; then
10479 if test "$cross_compiling" = "yes" ; then
10480 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10481 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10483 $as_echo_n "checking for $ac_word... " >&6; }
10484 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10485 $as_echo_n "(cached) " >&6
10487 case $aros_kernel_objdump in
10489 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10493 for as_dir
in $PATH
10496 test -z "$as_dir" && as_dir
=.
10497 for ac_exec_ext
in '' $ac_executable_extensions; do
10498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10499 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10510 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10511 if test -n "$aros_kernel_objdump"; then
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10513 $as_echo "$aros_kernel_objdump" >&6; }
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10516 $as_echo "no" >&6; }
10521 if test "$GCC" = "yes"; then
10522 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10523 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10524 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10526 $as_echo_n "checking for $ac_word... " >&6; }
10527 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10528 $as_echo_n "(cached) " >&6
10530 case $aros_kernel_objdump in
10532 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10536 for as_dir
in `dirname $aros_gcc_objdump`
10539 test -z "$as_dir" && as_dir
=.
10540 for ac_exec_ext
in '' $ac_executable_extensions; do
10541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10542 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10553 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10554 if test -n "$aros_kernel_objdump"; then
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10556 $as_echo "$aros_kernel_objdump" >&6; }
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10559 $as_echo "no" >&6; }
10564 if test "$aros_kernel_objdump" = ""; then
10565 # Extract the first word of "objdump", so it can be a program name with args.
10566 set dummy objdump
; ac_word
=$2
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10568 $as_echo_n "checking for $ac_word... " >&6; }
10569 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10570 $as_echo_n "(cached) " >&6
10572 case $aros_kernel_objdump in
10574 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10578 for as_dir
in $PATH
10581 test -z "$as_dir" && as_dir
=.
10582 for ac_exec_ext
in '' $ac_executable_extensions; do
10583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10584 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10595 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10596 if test -n "$aros_kernel_objdump"; then
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10598 $as_echo "$aros_kernel_objdump" >&6; }
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10601 $as_echo "no" >&6; }
10608 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10609 set dummy
$aros_kernel_objdump; ac_word
=$2
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10611 $as_echo_n "checking for $ac_word... " >&6; }
10612 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10613 $as_echo_n "(cached) " >&6
10615 case $aros_kernel_objdump in
10617 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10621 for as_dir
in $PATH
10624 test -z "$as_dir" && as_dir
=.
10625 for ac_exec_ext
in '' $ac_executable_extensions; do
10626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10627 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10638 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10639 if test -n "$aros_kernel_objdump"; then
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10641 $as_echo "$aros_kernel_objdump" >&6; }
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10644 $as_echo "no" >&6; }
10650 if test "x${crosstools}" != "xyes" ; then
10651 if test "$aros_kernel_objcopy" = ""; then
10652 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10654 if test "$aros_kernel_objdump" = ""; then
10655 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10661 $as_echo_n "checking which target tools to use... " >&6; }
10662 if test "$crosstools" = "yes"; then
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10664 $as_echo "$target_tool_prefix" >&6; }
10665 # We are are building AROS crosstools
10666 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10667 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10668 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10669 orig_target_cpp
="${tmp_tool_prefix}cpp"
10670 orig_target_ld
="${tmp_tool_prefix}ld"
10671 orig_target_as
="${tmp_tool_prefix}as"
10672 orig_target_ar
="${tmp_tool_prefix}ar"
10673 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10674 orig_target_nm
="${tmp_tool_prefix}nm"
10675 orig_target_strip
="${tmp_tool_prefix}strip"
10676 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10677 orig_target_objdump
="${tmp_tool_prefix}objdump"
10679 # Determine whether AROS or ELF tools should be used
10680 if test "$aros_tool_prefix" = "none"; then
10681 aros_tool_prefix
="${elf_tool_prefix}"
10682 crosstools_cxx_target
=tools-crosstools
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10686 $as_echo "$aros_tool_prefix" >&6; }
10687 # We are *not* building AROS crosstools - use the AROS or ELF tools
10689 if test "${aros_tool_prefix}cpp" = ""; then
10690 if test "$cross_compiling" = "yes" ; then
10691 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10692 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10694 $as_echo_n "checking for $ac_word... " >&6; }
10695 if test "${ac_cv_path_orig_target_cpp+set}" = set; then :
10696 $as_echo_n "(cached) " >&6
10698 case $orig_target_cpp in
10700 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10704 for as_dir
in $PATH
10707 test -z "$as_dir" && as_dir
=.
10708 for ac_exec_ext
in '' $ac_executable_extensions; do
10709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10710 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10721 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10722 if test -n "$orig_target_cpp"; then
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10724 $as_echo "$orig_target_cpp" >&6; }
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10727 $as_echo "no" >&6; }
10732 if test "$GCC" = "yes"; then
10733 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10734 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10735 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10737 $as_echo_n "checking for $ac_word... " >&6; }
10738 if test "${ac_cv_path_orig_target_cpp+set}" = set; then :
10739 $as_echo_n "(cached) " >&6
10741 case $orig_target_cpp in
10743 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10747 for as_dir
in `dirname $aros_gcc_cpp`
10750 test -z "$as_dir" && as_dir
=.
10751 for ac_exec_ext
in '' $ac_executable_extensions; do
10752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10753 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10764 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10765 if test -n "$orig_target_cpp"; then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10767 $as_echo "$orig_target_cpp" >&6; }
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10770 $as_echo "no" >&6; }
10775 if test "$orig_target_cpp" = ""; then
10776 # Extract the first word of "cpp", so it can be a program name with args.
10777 set dummy cpp
; ac_word
=$2
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10779 $as_echo_n "checking for $ac_word... " >&6; }
10780 if test "${ac_cv_path_orig_target_cpp+set}" = set; then :
10781 $as_echo_n "(cached) " >&6
10783 case $orig_target_cpp in
10785 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10789 for as_dir
in $PATH
10792 test -z "$as_dir" && as_dir
=.
10793 for ac_exec_ext
in '' $ac_executable_extensions; do
10794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10795 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10806 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10807 if test -n "$orig_target_cpp"; then
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10809 $as_echo "$orig_target_cpp" >&6; }
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10812 $as_echo "no" >&6; }
10819 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10820 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10822 $as_echo_n "checking for $ac_word... " >&6; }
10823 if test "${ac_cv_path_orig_target_cpp+set}" = set; then :
10824 $as_echo_n "(cached) " >&6
10826 case $orig_target_cpp in
10828 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10832 for as_dir
in $PATH
10835 test -z "$as_dir" && as_dir
=.
10836 for ac_exec_ext
in '' $ac_executable_extensions; do
10837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10838 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10849 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10850 if test -n "$orig_target_cpp"; then
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10852 $as_echo "$orig_target_cpp" >&6; }
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10855 $as_echo "no" >&6; }
10861 if test "$orig_target_cpp" = ""; then
10862 as_fn_error
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10865 if test "${aros_tool_prefix}gcc" = ""; then
10866 if test "$cross_compiling" = "yes" ; then
10867 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10868 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10870 $as_echo_n "checking for $ac_word... " >&6; }
10871 if test "${ac_cv_path_orig_target_cc+set}" = set; then :
10872 $as_echo_n "(cached) " >&6
10874 case $orig_target_cc in
10876 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10880 for as_dir
in $PATH
10883 test -z "$as_dir" && as_dir
=.
10884 for ac_exec_ext
in '' $ac_executable_extensions; do
10885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10886 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10897 orig_target_cc
=$ac_cv_path_orig_target_cc
10898 if test -n "$orig_target_cc"; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10900 $as_echo "$orig_target_cc" >&6; }
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10903 $as_echo "no" >&6; }
10908 if test "$GCC" = "yes"; then
10909 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10910 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10911 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10913 $as_echo_n "checking for $ac_word... " >&6; }
10914 if test "${ac_cv_path_orig_target_cc+set}" = set; then :
10915 $as_echo_n "(cached) " >&6
10917 case $orig_target_cc in
10919 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10923 for as_dir
in `dirname $aros_gcc_gcc`
10926 test -z "$as_dir" && as_dir
=.
10927 for ac_exec_ext
in '' $ac_executable_extensions; do
10928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10929 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10940 orig_target_cc
=$ac_cv_path_orig_target_cc
10941 if test -n "$orig_target_cc"; then
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10943 $as_echo "$orig_target_cc" >&6; }
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10946 $as_echo "no" >&6; }
10951 if test "$orig_target_cc" = ""; then
10952 # Extract the first word of "gcc", so it can be a program name with args.
10953 set dummy gcc
; ac_word
=$2
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10955 $as_echo_n "checking for $ac_word... " >&6; }
10956 if test "${ac_cv_path_orig_target_cc+set}" = set; then :
10957 $as_echo_n "(cached) " >&6
10959 case $orig_target_cc in
10961 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10965 for as_dir
in $PATH
10968 test -z "$as_dir" && as_dir
=.
10969 for ac_exec_ext
in '' $ac_executable_extensions; do
10970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10971 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10982 orig_target_cc
=$ac_cv_path_orig_target_cc
10983 if test -n "$orig_target_cc"; then
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10985 $as_echo "$orig_target_cc" >&6; }
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10988 $as_echo "no" >&6; }
10995 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
10996 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10998 $as_echo_n "checking for $ac_word... " >&6; }
10999 if test "${ac_cv_path_orig_target_cc+set}" = set; then :
11000 $as_echo_n "(cached) " >&6
11002 case $orig_target_cc in
11004 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11008 for as_dir
in $PATH
11011 test -z "$as_dir" && as_dir
=.
11012 for ac_exec_ext
in '' $ac_executable_extensions; do
11013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11014 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11025 orig_target_cc
=$ac_cv_path_orig_target_cc
11026 if test -n "$orig_target_cc"; then
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11028 $as_echo "$orig_target_cc" >&6; }
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11031 $as_echo "no" >&6; }
11037 if test "$orig_target_cc" = ""; then
11038 as_fn_error
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11040 if test "x${crosstools_cxx_target}" = "x" ; then
11042 if test "${aros_tool_prefix}g++" = ""; then
11043 if test "$cross_compiling" = "yes" ; then
11044 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11045 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11047 $as_echo_n "checking for $ac_word... " >&6; }
11048 if test "${ac_cv_path_orig_target_cxx+set}" = set; then :
11049 $as_echo_n "(cached) " >&6
11051 case $orig_target_cxx in
11053 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11057 for as_dir
in $PATH
11060 test -z "$as_dir" && as_dir
=.
11061 for ac_exec_ext
in '' $ac_executable_extensions; do
11062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11063 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11074 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11075 if test -n "$orig_target_cxx"; then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11077 $as_echo "$orig_target_cxx" >&6; }
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11080 $as_echo "no" >&6; }
11085 if test "$GCC" = "yes"; then
11086 aros_gcc_g
++=`$CC -print-prog-name=g++`
11087 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11088 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11090 $as_echo_n "checking for $ac_word... " >&6; }
11091 if test "${ac_cv_path_orig_target_cxx+set}" = set; then :
11092 $as_echo_n "(cached) " >&6
11094 case $orig_target_cxx in
11096 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11100 for as_dir
in `dirname $aros_gcc_g++`
11103 test -z "$as_dir" && as_dir
=.
11104 for ac_exec_ext
in '' $ac_executable_extensions; do
11105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11106 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11117 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11118 if test -n "$orig_target_cxx"; then
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11120 $as_echo "$orig_target_cxx" >&6; }
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11123 $as_echo "no" >&6; }
11128 if test "$orig_target_cxx" = ""; then
11129 # Extract the first word of "g++", so it can be a program name with args.
11130 set dummy g
++; ac_word
=$2
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11132 $as_echo_n "checking for $ac_word... " >&6; }
11133 if test "${ac_cv_path_orig_target_cxx+set}" = set; then :
11134 $as_echo_n "(cached) " >&6
11136 case $orig_target_cxx in
11138 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11142 for as_dir
in $PATH
11145 test -z "$as_dir" && as_dir
=.
11146 for ac_exec_ext
in '' $ac_executable_extensions; do
11147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11148 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11159 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11160 if test -n "$orig_target_cxx"; then
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11162 $as_echo "$orig_target_cxx" >&6; }
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11165 $as_echo "no" >&6; }
11172 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11173 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11175 $as_echo_n "checking for $ac_word... " >&6; }
11176 if test "${ac_cv_path_orig_target_cxx+set}" = set; then :
11177 $as_echo_n "(cached) " >&6
11179 case $orig_target_cxx in
11181 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11185 for as_dir
in $PATH
11188 test -z "$as_dir" && as_dir
=.
11189 for ac_exec_ext
in '' $ac_executable_extensions; do
11190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11191 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11202 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11203 if test -n "$orig_target_cxx"; then
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11205 $as_echo "$orig_target_cxx" >&6; }
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11208 $as_echo "no" >&6; }
11214 if test "$orig_target_cxx" = ""; then
11215 as_fn_error
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11219 if test "${aros_tool_prefix}ld" = ""; then
11220 if test "$cross_compiling" = "yes" ; then
11221 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11222 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11224 $as_echo_n "checking for $ac_word... " >&6; }
11225 if test "${ac_cv_path_orig_target_ld+set}" = set; then :
11226 $as_echo_n "(cached) " >&6
11228 case $orig_target_ld in
11230 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11234 for as_dir
in $PATH
11237 test -z "$as_dir" && as_dir
=.
11238 for ac_exec_ext
in '' $ac_executable_extensions; do
11239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11240 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11251 orig_target_ld
=$ac_cv_path_orig_target_ld
11252 if test -n "$orig_target_ld"; then
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11254 $as_echo "$orig_target_ld" >&6; }
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11257 $as_echo "no" >&6; }
11262 if test "$GCC" = "yes"; then
11263 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11264 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11265 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11267 $as_echo_n "checking for $ac_word... " >&6; }
11268 if test "${ac_cv_path_orig_target_ld+set}" = set; then :
11269 $as_echo_n "(cached) " >&6
11271 case $orig_target_ld in
11273 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11277 for as_dir
in `dirname $aros_gcc_gcc`
11280 test -z "$as_dir" && as_dir
=.
11281 for ac_exec_ext
in '' $ac_executable_extensions; do
11282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11283 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11294 orig_target_ld
=$ac_cv_path_orig_target_ld
11295 if test -n "$orig_target_ld"; then
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11297 $as_echo "$orig_target_ld" >&6; }
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11300 $as_echo "no" >&6; }
11305 if test "$orig_target_ld" = ""; then
11306 # Extract the first word of "gcc", so it can be a program name with args.
11307 set dummy gcc
; ac_word
=$2
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11309 $as_echo_n "checking for $ac_word... " >&6; }
11310 if test "${ac_cv_path_orig_target_ld+set}" = set; then :
11311 $as_echo_n "(cached) " >&6
11313 case $orig_target_ld in
11315 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11319 for as_dir
in $PATH
11322 test -z "$as_dir" && as_dir
=.
11323 for ac_exec_ext
in '' $ac_executable_extensions; do
11324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11325 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11336 orig_target_ld
=$ac_cv_path_orig_target_ld
11337 if test -n "$orig_target_ld"; then
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11339 $as_echo "$orig_target_ld" >&6; }
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11342 $as_echo "no" >&6; }
11349 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11350 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11352 $as_echo_n "checking for $ac_word... " >&6; }
11353 if test "${ac_cv_path_orig_target_ld+set}" = set; then :
11354 $as_echo_n "(cached) " >&6
11356 case $orig_target_ld in
11358 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11362 for as_dir
in $PATH
11365 test -z "$as_dir" && as_dir
=.
11366 for ac_exec_ext
in '' $ac_executable_extensions; do
11367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11368 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11379 orig_target_ld
=$ac_cv_path_orig_target_ld
11380 if test -n "$orig_target_ld"; then
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11382 $as_echo "$orig_target_ld" >&6; }
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11385 $as_echo "no" >&6; }
11391 if test "$orig_target_ld" = ""; then
11392 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11395 if test "${aros_tool_prefix}as" = ""; then
11396 if test "$cross_compiling" = "yes" ; then
11397 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11398 set dummy
${target_tool_prefix}as
; ac_word
=$2
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11400 $as_echo_n "checking for $ac_word... " >&6; }
11401 if test "${ac_cv_path_orig_target_as+set}" = set; then :
11402 $as_echo_n "(cached) " >&6
11404 case $orig_target_as in
11406 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11410 for as_dir
in $PATH
11413 test -z "$as_dir" && as_dir
=.
11414 for ac_exec_ext
in '' $ac_executable_extensions; do
11415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11416 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11427 orig_target_as
=$ac_cv_path_orig_target_as
11428 if test -n "$orig_target_as"; then
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11430 $as_echo "$orig_target_as" >&6; }
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11433 $as_echo "no" >&6; }
11438 if test "$GCC" = "yes"; then
11439 aros_gcc_as
=`$CC -print-prog-name=as`
11440 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11441 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11443 $as_echo_n "checking for $ac_word... " >&6; }
11444 if test "${ac_cv_path_orig_target_as+set}" = set; then :
11445 $as_echo_n "(cached) " >&6
11447 case $orig_target_as in
11449 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11453 for as_dir
in `dirname $aros_gcc_as`
11456 test -z "$as_dir" && as_dir
=.
11457 for ac_exec_ext
in '' $ac_executable_extensions; do
11458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11459 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11470 orig_target_as
=$ac_cv_path_orig_target_as
11471 if test -n "$orig_target_as"; then
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11473 $as_echo "$orig_target_as" >&6; }
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11476 $as_echo "no" >&6; }
11481 if test "$orig_target_as" = ""; then
11482 # Extract the first word of "as", so it can be a program name with args.
11483 set dummy as
; ac_word
=$2
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11485 $as_echo_n "checking for $ac_word... " >&6; }
11486 if test "${ac_cv_path_orig_target_as+set}" = set; then :
11487 $as_echo_n "(cached) " >&6
11489 case $orig_target_as in
11491 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11495 for as_dir
in $PATH
11498 test -z "$as_dir" && as_dir
=.
11499 for ac_exec_ext
in '' $ac_executable_extensions; do
11500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11501 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11512 orig_target_as
=$ac_cv_path_orig_target_as
11513 if test -n "$orig_target_as"; then
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11515 $as_echo "$orig_target_as" >&6; }
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11518 $as_echo "no" >&6; }
11525 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11526 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11528 $as_echo_n "checking for $ac_word... " >&6; }
11529 if test "${ac_cv_path_orig_target_as+set}" = set; then :
11530 $as_echo_n "(cached) " >&6
11532 case $orig_target_as in
11534 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11538 for as_dir
in $PATH
11541 test -z "$as_dir" && as_dir
=.
11542 for ac_exec_ext
in '' $ac_executable_extensions; do
11543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11544 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11555 orig_target_as
=$ac_cv_path_orig_target_as
11556 if test -n "$orig_target_as"; then
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11558 $as_echo "$orig_target_as" >&6; }
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11561 $as_echo "no" >&6; }
11567 if test "$orig_target_as" = ""; then
11568 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11571 if test "${aros_tool_prefix}ar" = ""; then
11572 if test "$cross_compiling" = "yes" ; then
11573 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11574 set dummy
${target_tool_prefix}ar; ac_word
=$2
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11576 $as_echo_n "checking for $ac_word... " >&6; }
11577 if test "${ac_cv_path_orig_target_ar+set}" = set; then :
11578 $as_echo_n "(cached) " >&6
11580 case $orig_target_ar in
11582 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11586 for as_dir
in $PATH
11589 test -z "$as_dir" && as_dir
=.
11590 for ac_exec_ext
in '' $ac_executable_extensions; do
11591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11592 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11603 orig_target_ar
=$ac_cv_path_orig_target_ar
11604 if test -n "$orig_target_ar"; then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11606 $as_echo "$orig_target_ar" >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11609 $as_echo "no" >&6; }
11614 if test "$GCC" = "yes"; then
11615 aros_gcc_ar
=`$CC -print-prog-name=ar`
11616 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11617 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11619 $as_echo_n "checking for $ac_word... " >&6; }
11620 if test "${ac_cv_path_orig_target_ar+set}" = set; then :
11621 $as_echo_n "(cached) " >&6
11623 case $orig_target_ar in
11625 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11629 for as_dir
in `dirname $aros_gcc_ar`
11632 test -z "$as_dir" && as_dir
=.
11633 for ac_exec_ext
in '' $ac_executable_extensions; do
11634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11635 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11646 orig_target_ar
=$ac_cv_path_orig_target_ar
11647 if test -n "$orig_target_ar"; then
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11649 $as_echo "$orig_target_ar" >&6; }
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11652 $as_echo "no" >&6; }
11657 if test "$orig_target_ar" = ""; then
11658 # Extract the first word of "ar", so it can be a program name with args.
11659 set dummy
ar; ac_word
=$2
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11661 $as_echo_n "checking for $ac_word... " >&6; }
11662 if test "${ac_cv_path_orig_target_ar+set}" = set; then :
11663 $as_echo_n "(cached) " >&6
11665 case $orig_target_ar in
11667 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11671 for as_dir
in $PATH
11674 test -z "$as_dir" && as_dir
=.
11675 for ac_exec_ext
in '' $ac_executable_extensions; do
11676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11677 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11688 orig_target_ar
=$ac_cv_path_orig_target_ar
11689 if test -n "$orig_target_ar"; then
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11691 $as_echo "$orig_target_ar" >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11694 $as_echo "no" >&6; }
11701 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11702 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11704 $as_echo_n "checking for $ac_word... " >&6; }
11705 if test "${ac_cv_path_orig_target_ar+set}" = set; then :
11706 $as_echo_n "(cached) " >&6
11708 case $orig_target_ar in
11710 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11714 for as_dir
in $PATH
11717 test -z "$as_dir" && as_dir
=.
11718 for ac_exec_ext
in '' $ac_executable_extensions; do
11719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11720 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11731 orig_target_ar
=$ac_cv_path_orig_target_ar
11732 if test -n "$orig_target_ar"; then
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11734 $as_echo "$orig_target_ar" >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737 $as_echo "no" >&6; }
11743 if test "$orig_target_ar" = ""; then
11744 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11747 if test "${aros_tool_prefix}ranlib" = ""; then
11748 if test "$cross_compiling" = "yes" ; then
11749 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11750 set dummy
${target_tool_prefix}ar; ac_word
=$2
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11752 $as_echo_n "checking for $ac_word... " >&6; }
11753 if test "${ac_cv_path_orig_target_ranlib+set}" = set; then :
11754 $as_echo_n "(cached) " >&6
11756 case $orig_target_ranlib in
11758 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11762 for as_dir
in $PATH
11765 test -z "$as_dir" && as_dir
=.
11766 for ac_exec_ext
in '' $ac_executable_extensions; do
11767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11768 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11779 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11780 if test -n "$orig_target_ranlib"; then
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11782 $as_echo "$orig_target_ranlib" >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11785 $as_echo "no" >&6; }
11790 if test "$GCC" = "yes"; then
11791 aros_gcc_ar
=`$CC -print-prog-name=ar`
11792 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11793 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11795 $as_echo_n "checking for $ac_word... " >&6; }
11796 if test "${ac_cv_path_orig_target_ranlib+set}" = set; then :
11797 $as_echo_n "(cached) " >&6
11799 case $orig_target_ranlib in
11801 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11805 for as_dir
in `dirname $aros_gcc_ar`
11808 test -z "$as_dir" && as_dir
=.
11809 for ac_exec_ext
in '' $ac_executable_extensions; do
11810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11811 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11822 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11823 if test -n "$orig_target_ranlib"; then
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11825 $as_echo "$orig_target_ranlib" >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11828 $as_echo "no" >&6; }
11833 if test "$orig_target_ranlib" = ""; then
11834 # Extract the first word of "ar", so it can be a program name with args.
11835 set dummy
ar; ac_word
=$2
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11837 $as_echo_n "checking for $ac_word... " >&6; }
11838 if test "${ac_cv_path_orig_target_ranlib+set}" = set; then :
11839 $as_echo_n "(cached) " >&6
11841 case $orig_target_ranlib in
11843 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11847 for as_dir
in $PATH
11850 test -z "$as_dir" && as_dir
=.
11851 for ac_exec_ext
in '' $ac_executable_extensions; do
11852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11853 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11864 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11865 if test -n "$orig_target_ranlib"; then
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11867 $as_echo "$orig_target_ranlib" >&6; }
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11870 $as_echo "no" >&6; }
11877 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11878 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11880 $as_echo_n "checking for $ac_word... " >&6; }
11881 if test "${ac_cv_path_orig_target_ranlib+set}" = set; then :
11882 $as_echo_n "(cached) " >&6
11884 case $orig_target_ranlib in
11886 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11890 for as_dir
in $PATH
11893 test -z "$as_dir" && as_dir
=.
11894 for ac_exec_ext
in '' $ac_executable_extensions; do
11895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11896 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11907 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11908 if test -n "$orig_target_ranlib"; then
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11910 $as_echo "$orig_target_ranlib" >&6; }
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11913 $as_echo "no" >&6; }
11919 if test "$orig_target_ranlib" = ""; then
11920 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11923 if test "${aros_tool_prefix}nm" = ""; then
11924 if test "$cross_compiling" = "yes" ; then
11925 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11926 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11928 $as_echo_n "checking for $ac_word... " >&6; }
11929 if test "${ac_cv_path_orig_target_nm+set}" = set; then :
11930 $as_echo_n "(cached) " >&6
11932 case $orig_target_nm in
11934 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11938 for as_dir
in $PATH
11941 test -z "$as_dir" && as_dir
=.
11942 for ac_exec_ext
in '' $ac_executable_extensions; do
11943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11944 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11955 orig_target_nm
=$ac_cv_path_orig_target_nm
11956 if test -n "$orig_target_nm"; then
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11958 $as_echo "$orig_target_nm" >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11961 $as_echo "no" >&6; }
11966 if test "$GCC" = "yes"; then
11967 aros_gcc_nm
=`$CC -print-prog-name=nm`
11968 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11969 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11971 $as_echo_n "checking for $ac_word... " >&6; }
11972 if test "${ac_cv_path_orig_target_nm+set}" = set; then :
11973 $as_echo_n "(cached) " >&6
11975 case $orig_target_nm in
11977 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11981 for as_dir
in `dirname $aros_gcc_nm`
11984 test -z "$as_dir" && as_dir
=.
11985 for ac_exec_ext
in '' $ac_executable_extensions; do
11986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11987 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11998 orig_target_nm
=$ac_cv_path_orig_target_nm
11999 if test -n "$orig_target_nm"; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12001 $as_echo "$orig_target_nm" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12009 if test "$orig_target_nm" = ""; then
12010 # Extract the first word of "nm", so it can be a program name with args.
12011 set dummy nm
; ac_word
=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12013 $as_echo_n "checking for $ac_word... " >&6; }
12014 if test "${ac_cv_path_orig_target_nm+set}" = set; then :
12015 $as_echo_n "(cached) " >&6
12017 case $orig_target_nm in
12019 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12023 for as_dir
in $PATH
12026 test -z "$as_dir" && as_dir
=.
12027 for ac_exec_ext
in '' $ac_executable_extensions; do
12028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12029 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12040 orig_target_nm
=$ac_cv_path_orig_target_nm
12041 if test -n "$orig_target_nm"; then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12043 $as_echo "$orig_target_nm" >&6; }
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12046 $as_echo "no" >&6; }
12053 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12054 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12056 $as_echo_n "checking for $ac_word... " >&6; }
12057 if test "${ac_cv_path_orig_target_nm+set}" = set; then :
12058 $as_echo_n "(cached) " >&6
12060 case $orig_target_nm in
12062 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12066 for as_dir
in $PATH
12069 test -z "$as_dir" && as_dir
=.
12070 for ac_exec_ext
in '' $ac_executable_extensions; do
12071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12072 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12083 orig_target_nm
=$ac_cv_path_orig_target_nm
12084 if test -n "$orig_target_nm"; then
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12086 $as_echo "$orig_target_nm" >&6; }
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12089 $as_echo "no" >&6; }
12095 if test "$orig_target_nm" = ""; then
12096 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12099 if test "${aros_tool_prefix}strip" = ""; then
12100 if test "$cross_compiling" = "yes" ; then
12101 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12102 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12104 $as_echo_n "checking for $ac_word... " >&6; }
12105 if test "${ac_cv_path_orig_target_strip+set}" = set; then :
12106 $as_echo_n "(cached) " >&6
12108 case $orig_target_strip in
12110 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12114 for as_dir
in $PATH
12117 test -z "$as_dir" && as_dir
=.
12118 for ac_exec_ext
in '' $ac_executable_extensions; do
12119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12120 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12131 orig_target_strip
=$ac_cv_path_orig_target_strip
12132 if test -n "$orig_target_strip"; then
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12134 $as_echo "$orig_target_strip" >&6; }
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12137 $as_echo "no" >&6; }
12142 if test "$GCC" = "yes"; then
12143 aros_gcc_strip
=`$CC -print-prog-name=strip`
12144 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12145 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12147 $as_echo_n "checking for $ac_word... " >&6; }
12148 if test "${ac_cv_path_orig_target_strip+set}" = set; then :
12149 $as_echo_n "(cached) " >&6
12151 case $orig_target_strip in
12153 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12157 for as_dir
in `dirname $aros_gcc_strip`
12160 test -z "$as_dir" && as_dir
=.
12161 for ac_exec_ext
in '' $ac_executable_extensions; do
12162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12163 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12174 orig_target_strip
=$ac_cv_path_orig_target_strip
12175 if test -n "$orig_target_strip"; then
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12177 $as_echo "$orig_target_strip" >&6; }
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12180 $as_echo "no" >&6; }
12185 if test "$orig_target_strip" = ""; then
12186 # Extract the first word of "strip", so it can be a program name with args.
12187 set dummy strip
; ac_word
=$2
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12189 $as_echo_n "checking for $ac_word... " >&6; }
12190 if test "${ac_cv_path_orig_target_strip+set}" = set; then :
12191 $as_echo_n "(cached) " >&6
12193 case $orig_target_strip in
12195 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12199 for as_dir
in $PATH
12202 test -z "$as_dir" && as_dir
=.
12203 for ac_exec_ext
in '' $ac_executable_extensions; do
12204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12205 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12216 orig_target_strip
=$ac_cv_path_orig_target_strip
12217 if test -n "$orig_target_strip"; then
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12219 $as_echo "$orig_target_strip" >&6; }
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12222 $as_echo "no" >&6; }
12229 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12230 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12232 $as_echo_n "checking for $ac_word... " >&6; }
12233 if test "${ac_cv_path_orig_target_strip+set}" = set; then :
12234 $as_echo_n "(cached) " >&6
12236 case $orig_target_strip in
12238 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12242 for as_dir
in $PATH
12245 test -z "$as_dir" && as_dir
=.
12246 for ac_exec_ext
in '' $ac_executable_extensions; do
12247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12248 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12259 orig_target_strip
=$ac_cv_path_orig_target_strip
12260 if test -n "$orig_target_strip"; then
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12262 $as_echo "$orig_target_strip" >&6; }
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12265 $as_echo "no" >&6; }
12271 if test "$orig_target_strip" = ""; then
12272 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12275 if test "${aros_tool_prefix}objcopy" = ""; then
12276 if test "$cross_compiling" = "yes" ; then
12277 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12278 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12280 $as_echo_n "checking for $ac_word... " >&6; }
12281 if test "${ac_cv_path_orig_target_objcopy+set}" = set; then :
12282 $as_echo_n "(cached) " >&6
12284 case $orig_target_objcopy in
12286 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12290 for as_dir
in $PATH
12293 test -z "$as_dir" && as_dir
=.
12294 for ac_exec_ext
in '' $ac_executable_extensions; do
12295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12296 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12307 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12308 if test -n "$orig_target_objcopy"; then
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12310 $as_echo "$orig_target_objcopy" >&6; }
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12313 $as_echo "no" >&6; }
12318 if test "$GCC" = "yes"; then
12319 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12320 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12321 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12323 $as_echo_n "checking for $ac_word... " >&6; }
12324 if test "${ac_cv_path_orig_target_objcopy+set}" = set; then :
12325 $as_echo_n "(cached) " >&6
12327 case $orig_target_objcopy in
12329 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12333 for as_dir
in `dirname $aros_gcc_objcopy`
12336 test -z "$as_dir" && as_dir
=.
12337 for ac_exec_ext
in '' $ac_executable_extensions; do
12338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12339 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12350 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12351 if test -n "$orig_target_objcopy"; then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12353 $as_echo "$orig_target_objcopy" >&6; }
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12356 $as_echo "no" >&6; }
12361 if test "$orig_target_objcopy" = ""; then
12362 # Extract the first word of "objcopy", so it can be a program name with args.
12363 set dummy objcopy
; ac_word
=$2
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12365 $as_echo_n "checking for $ac_word... " >&6; }
12366 if test "${ac_cv_path_orig_target_objcopy+set}" = set; then :
12367 $as_echo_n "(cached) " >&6
12369 case $orig_target_objcopy in
12371 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12375 for as_dir
in $PATH
12378 test -z "$as_dir" && as_dir
=.
12379 for ac_exec_ext
in '' $ac_executable_extensions; do
12380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12381 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12392 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12393 if test -n "$orig_target_objcopy"; then
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12395 $as_echo "$orig_target_objcopy" >&6; }
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12398 $as_echo "no" >&6; }
12405 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12406 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12408 $as_echo_n "checking for $ac_word... " >&6; }
12409 if test "${ac_cv_path_orig_target_objcopy+set}" = set; then :
12410 $as_echo_n "(cached) " >&6
12412 case $orig_target_objcopy in
12414 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12418 for as_dir
in $PATH
12421 test -z "$as_dir" && as_dir
=.
12422 for ac_exec_ext
in '' $ac_executable_extensions; do
12423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12424 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12435 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12436 if test -n "$orig_target_objcopy"; then
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12438 $as_echo "$orig_target_objcopy" >&6; }
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12441 $as_echo "no" >&6; }
12447 if test "$orig_target_objcopy" = ""; then
12448 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12451 if test "${aros_tool_prefix}objdump" = ""; then
12452 if test "$cross_compiling" = "yes" ; then
12453 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12454 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12456 $as_echo_n "checking for $ac_word... " >&6; }
12457 if test "${ac_cv_path_orig_target_objdump+set}" = set; then :
12458 $as_echo_n "(cached) " >&6
12460 case $orig_target_objdump in
12462 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12466 for as_dir
in $PATH
12469 test -z "$as_dir" && as_dir
=.
12470 for ac_exec_ext
in '' $ac_executable_extensions; do
12471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12472 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12483 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12484 if test -n "$orig_target_objdump"; then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12486 $as_echo "$orig_target_objdump" >&6; }
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12489 $as_echo "no" >&6; }
12494 if test "$GCC" = "yes"; then
12495 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12496 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12497 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12499 $as_echo_n "checking for $ac_word... " >&6; }
12500 if test "${ac_cv_path_orig_target_objdump+set}" = set; then :
12501 $as_echo_n "(cached) " >&6
12503 case $orig_target_objdump in
12505 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12509 for as_dir
in `dirname $aros_gcc_objdump`
12512 test -z "$as_dir" && as_dir
=.
12513 for ac_exec_ext
in '' $ac_executable_extensions; do
12514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12515 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12526 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12527 if test -n "$orig_target_objdump"; then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12529 $as_echo "$orig_target_objdump" >&6; }
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12532 $as_echo "no" >&6; }
12537 if test "$orig_target_objdump" = ""; then
12538 # Extract the first word of "objdump", so it can be a program name with args.
12539 set dummy objdump
; ac_word
=$2
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12541 $as_echo_n "checking for $ac_word... " >&6; }
12542 if test "${ac_cv_path_orig_target_objdump+set}" = set; then :
12543 $as_echo_n "(cached) " >&6
12545 case $orig_target_objdump in
12547 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12551 for as_dir
in $PATH
12554 test -z "$as_dir" && as_dir
=.
12555 for ac_exec_ext
in '' $ac_executable_extensions; do
12556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12557 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12568 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12569 if test -n "$orig_target_objdump"; then
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12571 $as_echo "$orig_target_objdump" >&6; }
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12574 $as_echo "no" >&6; }
12581 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12582 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12584 $as_echo_n "checking for $ac_word... " >&6; }
12585 if test "${ac_cv_path_orig_target_objdump+set}" = set; then :
12586 $as_echo_n "(cached) " >&6
12588 case $orig_target_objdump in
12590 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12594 for as_dir
in $PATH
12597 test -z "$as_dir" && as_dir
=.
12598 for ac_exec_ext
in '' $ac_executable_extensions; do
12599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12600 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12611 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12612 if test -n "$orig_target_objdump"; then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12614 $as_echo "$orig_target_objdump" >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12617 $as_echo "no" >&6; }
12623 if test "$orig_target_objdump" = ""; then
12624 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12628 if test "$kernel_tool_prefix" = "none" ; then
12629 # No kernel tools specified
12630 # Assume target tools == kernel tools with ELF wrapper
12631 aros_kernel_cc
=$orig_target_cc
12632 aros_kernel_cxx
=$orig_target_cxx
12633 aros_kernel_cpp
=$orig_target_cpp
12634 aros_kernel_ld
=$orig_target_ld
12635 aros_kernel_as
=$orig_target_as
12636 aros_kernel_ar
=$orig_target_ar
12637 aros_kernel_ranlib
=$orig_target_ranlib
12638 aros_kernel_nm
=$orig_target_nm
12639 aros_kernel_strip
=$orig_target_strip
12640 aros_kernel_objcopy
=$orig_target_objcopy
12641 aros_kernel_objdump
=$orig_target_objdump
12642 use_kernel_cc_wrapper
=yes
12645 # At this point, all aros_kernel_* and aros_target_*
12646 # tools should be set up correctly
12648 CC
="$aros_kernel_cc $kernel_tool_flags"
12649 CPP
="$aros_kernel_cpp"
12651 #-----------------------------------------------------------------------------
12653 # Disable pointer-signedness warnings if the compiler recognises the option
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12656 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12657 save_cflags
="$CFLAGS"
12658 if test "$crosstools" != "yes" ; then
12659 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12671 if ac_fn_c_try_compile
"$LINENO"; then :
12672 use_no_sign_warning
="yes"
12674 use_no_sign_warning
="no"
12676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12678 # we do know it is supported for the smallest version of gcc we are going to build
12679 # we assume it's also supported by later versions
12680 use_no_sign_warning
=yes
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12683 $as_echo "$use_no_sign_warning" >&6; }
12684 if test "x-$use_no_sign_warning" = "x-yes" ; then
12685 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12687 CFLAGS
="$save_cflags"
12689 #-----------------------------------------------------------------------------
12691 # Find all the tools we need to compile. This could be cross-compiling
12692 # though! If that is the case we use the GNU form of the target and
12693 # simply add this to the front of the binary name. This is rather simple,
12694 # but it should work under most circumstances.
12696 # The default tools are to use the same as the host, but only if the
12697 # host and target CPU are the same. With GCC this is normally enough.
12701 aros_shared_ld
="$aros_host_ld"
12703 aros_target_mkdep
="$aros_host_mkdep"
12705 # The default tools executables to be linked to.
12706 if test "$rescomp" != ""; then
12707 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12708 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12710 $as_echo_n "checking for $ac_word... " >&6; }
12711 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
12712 $as_echo_n "(cached) " >&6
12714 case $aros_kernel_rescomp in
12716 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12720 for as_dir
in $PATH
12723 test -z "$as_dir" && as_dir
=.
12724 for ac_exec_ext
in '' $ac_executable_extensions; do
12725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12726 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12737 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12738 if test -n "$aros_kernel_rescomp"; then
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12740 $as_echo "$aros_kernel_rescomp" >&6; }
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12743 $as_echo "no" >&6; }
12747 if test "$aros_kernel_rescomp" = ""; then
12748 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12752 # Set up the sources for the symlink farm
12753 if test "$crosstools" = "yes"; then
12754 crosstools_target
=tools-crosstools
12757 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12758 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12761 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12762 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12763 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12764 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12765 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12766 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12767 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12769 # aros_cc_pre is a variable that is added to the front of the compiler name
12770 # in the generated aros-gcc shell script. We need this to enable the cache
12771 # to work across cleaned builds. Also, support DISTCC using the correct
12772 # environment variable.
12775 if test "x${DISTCC}" != "x" ; then
12776 if test "x${CCACHE}" != "x" ; then
12777 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12779 aros_cc_pre
="${DISTCC} "
12782 if test "x${CCACHE}" != "x" ; then
12783 aros_cc_pre
="${CCACHE} "
12787 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12789 aros_target_nostdinc_cflags
=-nostdinc
12791 aros_target_nostartup_ldflags
=-nostartfiles
12793 aros_target_nix_ldflags
=-nix
12795 aros_target_detach_ldflags
=-detach
12797 aros_target_nostdlib_ldflags
=-nostdlib
12801 if test "$crosstools" != "yes"; then
12802 if test "$GCC" = "yes"; then
12803 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12806 # We do not know which gcc version we are going to build and what we need to know
12807 # here is different for different versions so this will be set later during the
12808 # build of crosstools.
12809 aros_target_cc_path
=@aros_target_cc_path@
12811 aros_target_cpp
="${prefix}cpp"
12812 aros_target_cc
="${prefix}gcc"
12813 aros_target_cxx
="${prefix}g++"
12814 aros_target_as
="${prefix}as"
12815 aros_target_ld
="${prefix}ld"
12816 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12817 aros_target_objcopy
="${prefix}objcopy"
12818 aros_target_objdump
="${prefix}objdump"
12819 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12820 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12821 aros_target_strip
="${prefix}strip"
12822 aros_plain_nm
="${prefix}nm"
12823 aros_plain_ar
="${prefix}ar"
12825 # Check whether --enable-includes was given.
12826 if test "${enable_includes+set}" = set; then :
12827 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12829 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12833 if test "$aros_kernel_includes" = ""; then
12834 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12835 aros_kernel_includes
="-isystem $aros_target_incl"
12839 if test "$aros_kernel_includes" != "" ; then
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12841 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12842 if test "$aros_kernel_cc_includes" = "" ; then
12843 # Try to guess where the directory is.
12844 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12845 if test -d $aros_kernel_cc_includes; then
12846 # Check if there is also an include-fixed directory and add it
12847 # to kernel compiler's include path as it may contain some of
12848 # the headers we need.
12849 if test -d "$aros_kernel_cc_includes"-fixed; then
12850 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12852 # Check for specific includes directory. Neede for Ubuntu 11.10
12853 if test -d "/usr/include/i386-linux-gnu"; then
12854 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12857 # The directory doesn't exist, we need to do some more work.
12858 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12860 # These are the headers we're looking for.
12861 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12862 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12866 for h
in $headers; do
12867 # Which other headers are needed by each of the above?
12868 deps
=$
(echo "#include <$h>" | \
12869 $aros_kernel_cc -E -M - 2>/dev
/null | \
12870 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12872 # Copy all the needed headers to a directory beneath gendir.
12875 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12876 sed -n "s,^.*/include\(/.*\),\1,p")
12877 ! test -d $dir && mkdir
-p $dir
12878 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12884 $as_echo "$aros_kernel_cc_includes" >&6; }
12885 # Adding -nostdinc to kernel includes as they are always used together.
12886 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12889 if test "$crosstools" != "yes"; then
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12891 $as_echo_n "checking for the target compiler's include path... " >&6; }
12892 if test "$aros_target_cc_includes" = "" ; then
12893 #try to guess where the directory is
12894 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12895 if ! test -d $aros_target_cc_includes; then
12896 #the directory doesn't exist, we need to do some more work
12897 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12899 #these are the headers we're looking for
12900 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12901 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12905 for h
in $headers; do
12906 #which other headers each of the above headers needs?
12907 deps
=$
(echo "#include <$h>" | \
12908 $orig_target_cc -E -M - 2>/dev
/null | \
12909 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12911 #copy all the needed headers to a directory beneath gendir
12914 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12915 sed -n "s,^.*/include\(/.*\),\1,p")
12916 ! test -d $dir && mkdir
-p $dir
12917 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12923 $as_echo "$aros_target_cc_includes" >&6; }
12925 # We do not know which gcc version we are going to build and what we need to know
12926 # here is different for different versions so this will be set later during the
12927 # build of crosstools.
12928 aros_target_cc_includes
=@aros_target_cc_includes@
12932 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12933 # On GCC >= 4.0 -iquote should be used
12937 save_cflags
="$CFLAGS"
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12940 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12941 if test "x-$crosstools" != "x-yes"; then
12942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12943 /* end confdefs.h. */
12953 if ac_fn_c_try_compile
"$LINENO"; then :
12958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12960 # we do know it is supported for the smallest version of gcc we are going to build
12961 # we assume it's also supported by later versions
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12965 $as_echo "$has_iquote" >&6; }
12966 if test "x-$has_iquote" = "x-yes" ; then
12967 host_cflags_iquote
=-iquote
12968 host_cflags_iquote_end
=
12970 host_cflags_iquote
=-I
12971 host_cflags_iquote_end
=-I-
12973 kernel_cflags_iquote
=$host_cflags_iquote
12974 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12975 if test "x-$cross_compiling" = "x-yes"; then
12976 CC
="$aros_kernel_cc"
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12978 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12979 if test "x-$crosstools" != "x-yes"; then
12980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12991 if ac_fn_c_try_compile
"$LINENO"; then :
12992 use_no_stack_protector
="yes"
12994 use_no_stack_protector
="no"
12996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12998 # we do know it is supported for the smallest version of gcc we are going to build
12999 # we assume it's also supported by later versions
13000 use_no_stack_protector
=yes
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13003 $as_echo "$use_no_stack_protector" >&6; }
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13005 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13006 if test "x-$crosstools" != "x-yes"; then
13007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13018 if ac_fn_c_try_compile
"$LINENO"; then :
13023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13025 # we do know it is supported for the smallest version of gcc we are going to build
13026 # we assume it's also supported by later versions
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13030 $as_echo "$has_iquote" >&6; }
13031 if test "x-$has_iquote" = "x-yes" ; then
13032 kernel_cflags_iquote
=-iquote
13033 kernel_cflags_iquote_end
=
13035 kernel_cflags_iquote
=-I
13036 kernel_cflags_iquote_end
=-I-
13039 aros_cflags_iquote
=$kernel_cflags_iquote
13040 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13041 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13042 CC
="$orig_target_cc"
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13044 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13045 if test "x-$crosstools" != "x-yes"; then
13046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13047 /* end confdefs.h. */
13057 if ac_fn_c_try_compile
"$LINENO"; then :
13062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13064 # we do know it is supported for the smallest version of gcc we are going to build
13065 # we assume it's also supported by later versions
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13069 $as_echo "$has_iquote" >&6; }
13070 if test "x-$has_iquote" = "x-yes" ; then
13071 aros_cflags_iquote
=-iquote
13072 aros_cflags_iquote_end
=
13074 aros_cflags_iquote
=-I
13075 aros_cflags_iquote_end
=-I-
13078 if test "x-$use_no_stack_protector" = "x-yes" ; then
13079 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13083 #-----------------------------------------------------------------------------
13085 # Check if the target compiler supports some options used for delinting:
13086 # -Wunused-but-set-variable
13089 # -Wstrict-overflow
13090 # -Wformat-security
13092 if test "x-$crosstools" != "x-yes"; then
13093 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13094 CC
="$orig_target_cc"
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13097 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13098 CFLAGS
=-Wunused-but-set-variable
13099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13110 if ac_fn_c_try_compile
"$LINENO"; then :
13111 aros_unused_but_set_variable
="yes"
13113 aros_unused_but_set_variable
="no"
13115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13117 $as_echo "$aros_unused_but_set_variable" >&6; }
13118 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13119 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13123 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13124 CFLAGS
=-Warray-bounds
13125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13136 if ac_fn_c_try_compile
"$LINENO"; then :
13137 aros_array_bounds
="yes"
13139 aros_array_bounds
="no"
13141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13143 $as_echo "$aros_array_bounds" >&6; }
13144 if test "x-$aros_array_bounds" = "x-yes" ; then
13145 aros_cflags_array_bounds
=-Wno-array-bounds
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13149 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13150 CFLAGS
=-Wenum-compare
13151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13162 if ac_fn_c_try_compile
"$LINENO"; then :
13163 aros_enum_compare
="yes"
13165 aros_enum_compare
="no"
13167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13169 $as_echo "$aros_enum_compare" >&6; }
13170 if test "x-$aros_enum_compare" = "x-yes" ; then
13171 aros_cflags_enum_compare
=-Wno-enum-compare
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13175 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13176 CFLAGS
=-Wstrict-overflow
13177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13188 if ac_fn_c_try_compile
"$LINENO"; then :
13189 aros_strict_overflow
="yes"
13191 aros_strict_overflow
="no"
13193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13195 $as_echo "$aros_strict_overflow" >&6; }
13196 if test "x-$aros_strict_overflow" = "x-yes" ; then
13197 aros_cflags_strict_overflow
=-Wno-strict-overflow
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13201 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13202 CFLAGS
=-Wformat-security
13203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13214 if ac_fn_c_try_compile
"$LINENO"; then :
13215 aros_format_security
="yes"
13217 aros_format_security
="no"
13219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13221 $as_echo "$aros_format_security" >&6; }
13222 if test "x-$aros_format_security" = "x-yes" ; then
13223 aros_cflags_format_security
=-Wno-format-security
13226 # We do not know which gcc version we are going to build and what we need to know
13227 # here is different for different versions so this will be set later during the
13228 # build of crosstools.
13229 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13230 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13231 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13232 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13233 aros_cflags_format_security
=@aros_cflags_format_security@
13236 #-----------------------------------------------------------------------------
13238 # Check if we can explicitly choose older version of symbol hashing
13240 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13241 CC
="$aros_kernel_cc"
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13243 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13245 /* end confdefs.h. */
13255 if ac_fn_c_try_link
"$LINENO"; then :
13256 use_hash_style
="yes"
13258 use_hash_style
="no"
13260 rm -f core conftest.err conftest.
$ac_objext \
13261 conftest
$ac_exeext conftest.
$ac_ext
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13263 $as_echo "$use_hash_style" >&6; }
13264 if test "x-$use_hash_style" = "x-yes" ; then
13265 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13268 CFLAGS
="$save_cflags"
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13279 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13281 # Check whether --with-resolution was given.
13282 if test "${with_resolution+set}" = set; then :
13283 withval
=$with_resolution; resolution
=$withval
13288 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13289 if test "$resolution" = "yes" ; then
13292 if test "$resolution" = "no" ; then
13295 if test "$resolution" != "none" ; then
13296 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13297 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13298 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13301 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13302 aros_cv_default_wbwidth
=$aros_default_wbwidth
13303 aros_cv_default_wbheight
=$aros_default_wbheight
13304 aros_cv_default_wbdepth
=$aros_default_wbdepth
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13307 $as_echo_n "checking if serial debug is enabled... " >&6; }
13309 # Check whether --with-serial-debug was given.
13310 if test "${with_serial_debug+set}" = set; then :
13311 withval
=$with_serial_debug; serial_debug
=$withval
13316 if test "$aros_serial_debug" = 0 ; then
13317 serial_debug_forced
=""
13318 if test "$serial_debug" = "yes" ; then
13321 if test "$serial_debug" = "no" ; then
13322 serial_debug
="none"
13325 serial_debug_forced
="(forced)"
13326 serial_debug
=$aros_serial_debug
13328 if test "$serial_debug" != "none" ; then
13329 aros_serial_debug
=$serial_debug
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13331 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13334 $as_echo "no" >&6; }
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13338 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13339 # Check whether --enable-palm_debug_hack was given.
13340 if test "${enable_palm_debug_hack+set}" = set; then :
13341 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13343 palm_debug_hack
="no"
13346 if test "$palm_debug_hack" = "yes" ; then
13347 aros_palm_debug_hack
="1"
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13350 $as_echo "$palm_debug_hack" >&6; }
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13353 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13354 # Check whether --enable-nesting_supervisor was given.
13355 if test "${enable_nesting_supervisor+set}" = set; then :
13356 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13358 nesting_supervisor
="no"
13361 if test "$nesting_supervisor" = "yes" ; then
13362 aros_nesting_supervisor
="1"
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13365 $as_echo "$nesting_supervisor" >&6; }
13367 if test "$aros_enable_mmu" = "" ; then
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13369 $as_echo_n "checking if MMU support is enabled... " >&6; }
13370 # Check whether --enable-mmu was given.
13371 if test "${enable_mmu+set}" = set; then :
13372 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13374 aros_enable_mmu
="yes"
13377 if test "$aros_enable_mmu" = "" ; then
13378 aros_enable_mmu
="yes"
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13381 $as_echo "$aros_enable_mmu" >&6; }
13383 if test "$aros_enable_mmu" = "no" ; then
13384 aros_enable_mmu
="0"
13386 aros_enable_mmu
="1"
13390 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13392 if test "x-$need_dlopen" != "x-no" ; then
13395 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13396 if test "x$ac_cv_func_dlopen" = x
""yes; then :
13402 if test "x-$have_dl" = "x-no" ; then
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13404 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13405 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13406 $as_echo_n "(cached) " >&6
13408 ac_check_lib_save_LIBS
=$LIBS
13410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13411 /* end confdefs.h. */
13413 /* Override any GCC internal prototype to avoid an error.
13414 Use char because int might match the return type of a GCC
13415 builtin and then its argument prototype would still apply. */
13428 if ac_fn_c_try_link
"$LINENO"; then :
13429 ac_cv_lib_dl_dlopen
=yes
13431 ac_cv_lib_dl_dlopen
=no
13433 rm -f core conftest.err conftest.
$ac_objext \
13434 conftest
$ac_exeext conftest.
$ac_ext
13435 LIBS
=$ac_check_lib_save_LIBS
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13438 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13439 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13441 aros_host_ldflags
="$aros_host_ldflags -ldl"
13447 if test "x-$have_dl" = "x-no" ; then
13448 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
13454 # Check whether --enable-x11_hidd was given.
13455 if test "${enable_x11_hidd+set}" = set; then :
13456 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13458 x11_hidd
="$need_x11"
13461 case "x-$x11_hidd" in
13462 x-yes|x-no|x-auto
) ;;
13463 *) x11_hidd
="$need_x11" ;;
13468 if test "x-$x11_hidd" != "x-no" ; then
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13471 $as_echo_n "checking for X... " >&6; }
13474 # Check whether --with-x was given.
13475 if test "${with_x+set}" = set; then :
13479 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13480 if test "x$with_x" = xno
; then
13481 # The user explicitly disabled X.
13484 case $x_includes,$x_libraries in #(
13485 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
13486 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
13487 $as_echo_n "(cached) " >&6
13489 # One or both of the vars are not set, and there is no cached value.
13490 ac_x_includes
=no ac_x_libraries
=no
13491 rm -f -r conftest.dir
13492 if mkdir conftest.dir
; then
13494 cat >Imakefile
<<'_ACEOF'
13496 @echo incroot='${INCROOT}'
13498 @echo usrlibdir='${USRLIBDIR}'
13500 @echo libdir='${LIBDIR}'
13502 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13503 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13504 for ac_var
in incroot usrlibdir libdir
; do
13505 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13507 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13508 for ac_extension
in a so sl dylib la dll
; do
13509 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13510 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13511 ac_im_usrlibdir
=$ac_im_libdir; break
13514 # Screen out bogus values from the imake configuration. They are
13515 # bogus both because they are the default anyway, and because
13516 # using them would break gcc on systems where it needs fixed includes.
13517 case $ac_im_incroot in
13518 /usr
/include
) ac_x_includes
= ;;
13519 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13521 case $ac_im_usrlibdir in
13522 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13523 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13527 rm -f -r conftest.dir
13530 # Standard set of common directories for X headers.
13531 # Check X11 before X11Rn because it is often a symlink to the current release.
13545 /usr/local/X11/include
13546 /usr/local/X11R7/include
13547 /usr/local/X11R6/include
13548 /usr/local/X11R5/include
13549 /usr/local/X11R4/include
13551 /usr/local/include/X11
13552 /usr/local/include/X11R7
13553 /usr/local/include/X11R6
13554 /usr/local/include/X11R5
13555 /usr/local/include/X11R4
13559 /usr/XFree86/include/X11
13563 /usr/unsupported/include
13564 /usr/athena/include
13565 /usr/local/x11r5/include
13566 /usr/lpp/Xamples/include
13568 /usr/openwin/include
13569 /usr/openwin/share/include'
13571 if test "$ac_x_includes" = no
; then
13572 # Guess where to find include files, by looking for Xlib.h.
13573 # First, try using that file with no special directory specified.
13574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13576 #include <X11/Xlib.h>
13578 if ac_fn_c_try_cpp
"$LINENO"; then :
13579 # We can compile using X headers with no special include directory.
13582 for ac_dir
in $ac_x_header_dirs; do
13583 if test -r "$ac_dir/X11/Xlib.h"; then
13584 ac_x_includes
=$ac_dir
13589 rm -f conftest.err conftest.
$ac_ext
13590 fi # $ac_x_includes = no
13592 if test "$ac_x_libraries" = no
; then
13593 # Check for the libraries.
13594 # See if we find them without any special options.
13595 # Don't add to $LIBS permanently.
13598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13600 #include <X11/Xlib.h>
13609 if ac_fn_c_try_link
"$LINENO"; then :
13611 # We can link X programs with no special library path.
13615 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13617 # Don't even attempt the hair of trying to link an X program!
13618 for ac_extension
in a so sl dylib la dll
; do
13619 if test -r "$ac_dir/libX11.$ac_extension"; then
13620 ac_x_libraries
=$ac_dir
13626 rm -f core conftest.err conftest.
$ac_objext \
13627 conftest
$ac_exeext conftest.
$ac_ext
13628 fi # $ac_x_libraries = no
13630 case $ac_x_includes,$ac_x_libraries in #(
13631 no
,* |
*,no |
*\'*)
13632 # Didn't find X, or a directory has "'" in its name.
13633 ac_cv_have_x
="have_x=no";; #(
13635 # Record where we found X for the cache.
13636 ac_cv_have_x
="have_x=yes\
13637 ac_x_includes='$ac_x_includes'\
13638 ac_x_libraries='$ac_x_libraries'"
13644 eval "$ac_cv_have_x"
13647 if test "$have_x" != yes; then
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13649 $as_echo "$have_x" >&6; }
13652 # If each of the values was on the command line, it overrides each guess.
13653 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13654 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13655 # Update the cache value to reflect the command line values.
13656 ac_cv_have_x
="have_x=yes\
13657 ac_x_includes='$x_includes'\
13658 ac_x_libraries='$x_libraries'"
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13660 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13665 for path
in $x_libraries
13667 x_cflags
="$x_cflags -L$path"
13670 for path
in $x_includes
13672 x_cflags
="$x_cflags -I$path"
13675 if test "x-$no_x" = "x-yes" ; then
13677 if test "x-$x11_hidd" != "x-auto" ; then
13678 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13682 x11_hidd_target
=kernel-x11gfx-kobj
13685 # Check whether --enable-x11_shm was given.
13686 if test "${enable_x11_shm+set}" = set; then :
13687 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13689 x11_hidd_shm
="auto"
13692 case "x-$x11_hidd_shm" in
13693 x-yes|x-no|x-auto
) ;;
13694 *) x11_hidd_shm
="auto" ;;
13699 if test "x-$x11_hidd_shm" != "x-no" ; then
13701 for ac_header
in sys
/ipc.h
13703 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13704 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
13705 cat >>confdefs.h
<<_ACEOF
13706 #define HAVE_SYS_IPC_H 1
13713 for ac_header
in sys
/shm.h
13715 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13716 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
13717 cat >>confdefs.h
<<_ACEOF
13718 #define HAVE_SYS_SHM_H 1
13726 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13728 save_cflags
="$CFLAGS"
13729 CFLAGS
="$CFLAGS $x_cflags"
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13731 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13732 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
13733 $as_echo_n "(cached) " >&6
13735 ac_check_lib_save_LIBS
=$LIBS
13736 LIBS
="-lXext $LIBS"
13737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13740 /* Override any GCC internal prototype to avoid an error.
13741 Use char because int might match the return type of a GCC
13742 builtin and then its argument prototype would still apply. */
13746 char XShmQueryExtension ();
13750 return XShmQueryExtension ();
13755 if ac_fn_c_try_link
"$LINENO"; then :
13756 ac_cv_lib_Xext_XShmQueryExtension
=yes
13758 ac_cv_lib_Xext_XShmQueryExtension
=no
13760 rm -f core conftest.err conftest.
$ac_objext \
13761 conftest
$ac_exeext conftest.
$ac_ext
13762 LIBS
=$ac_check_lib_save_LIBS
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13765 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13766 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
13770 CFLAGS
="$save_cflags"
13774 if test "x-$have_xshm" = "x-yes" ; then
13775 DO_XSHM_SUPPORT
="1"
13776 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13777 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13779 DO_XSHM_SUPPORT
="0"
13783 # Check whether --enable-x11_vidmode was given.
13784 if test "${enable_x11_vidmode+set}" = set; then :
13785 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13787 x11_hidd_vidmode
="auto"
13790 case "x-$x11_hidd_vidmode" in
13791 x-yes|x-no|x-auto
) ;;
13792 *) x11_hidd_vidmode
="auto" ;;
13797 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13799 save_cflags
="$CFLAGS"
13800 CFLAGS
="$CFLAGS $x_cflags"
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13802 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13803 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
13804 $as_echo_n "(cached) " >&6
13806 ac_check_lib_save_LIBS
=$LIBS
13807 LIBS
="-lXxf86vm $LIBS"
13808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13811 /* Override any GCC internal prototype to avoid an error.
13812 Use char because int might match the return type of a GCC
13813 builtin and then its argument prototype would still apply. */
13817 char XF86VidModeQueryExtension ();
13821 return XF86VidModeQueryExtension ();
13826 if ac_fn_c_try_link
"$LINENO"; then :
13827 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13829 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13831 rm -f core conftest.err conftest.
$ac_objext \
13832 conftest
$ac_exeext conftest.
$ac_ext
13833 LIBS
=$ac_check_lib_save_LIBS
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13836 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13837 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
13841 CFLAGS
="$save_cflags"
13844 if test "x-$have_vidmode" = "x-yes" ; then
13845 DO_VIDMODE_SUPPORT
="1"
13846 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13847 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13849 DO_VIDMODE_SUPPORT
="0"
13853 aros_host_x11_includes
=$x_includes
13854 aros_host_x11_libdirs
=$x_libraries
13858 # Check whether --enable-sdl_hidd was given.
13859 if test "${enable_sdl_hidd+set}" = set; then :
13860 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13865 case "x-$sdl_hidd" in
13866 x-yes|x-no|x-auto
) ;;
13867 *) sdl_hidd
="auto" ;;
13870 if test "x-$sdl_hidd" != "x-no" ; then
13873 # Check whether --with-sdl-prefix was given.
13874 if test "${with_sdl_prefix+set}" = set; then :
13875 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13881 # Check whether --with-sdl-exec-prefix was given.
13882 if test "${with_sdl_exec_prefix+set}" = set; then :
13883 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13888 # Check whether --enable-sdltest was given.
13889 if test "${enable_sdltest+set}" = set; then :
13890 enableval
=$enable_sdltest;
13896 if test x
$sdl_exec_prefix != x
; then
13897 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13898 if test x
${SDL_CONFIG+set} != xset
; then
13899 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13902 if test x
$sdl_prefix != x
; then
13903 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13904 if test x
${SDL_CONFIG+set} != xset
; then
13905 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13909 as_save_PATH
="$PATH"
13910 if test "x$prefix" != xNONE
; then
13911 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13913 # Extract the first word of "sdl-config", so it can be a program name with args.
13914 set dummy sdl-config
; ac_word
=$2
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13916 $as_echo_n "checking for $ac_word... " >&6; }
13917 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
13918 $as_echo_n "(cached) " >&6
13920 case $SDL_CONFIG in
13922 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13926 for as_dir
in $PATH
13929 test -z "$as_dir" && as_dir
=.
13930 for ac_exec_ext
in '' $ac_executable_extensions; do
13931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13932 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13940 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13944 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13945 if test -n "$SDL_CONFIG"; then
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13947 $as_echo "$SDL_CONFIG" >&6; }
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13950 $as_echo "no" >&6; }
13954 PATH
="$as_save_PATH"
13955 min_sdl_version
=1.2.10
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13957 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13959 if test "$SDL_CONFIG" = "no" ; then
13962 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
13963 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
13965 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
13966 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13967 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
13968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13969 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13971 if test "x$enable_sdltest" = "xyes" ; then
13972 ac_save_CFLAGS
="$CFLAGS"
13973 ac_save_CXXFLAGS
="$CXXFLAGS"
13974 ac_save_LIBS
="$LIBS"
13975 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13976 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13977 LIBS
="$LIBS $SDL_LIBS"
13979 if test "$cross_compiling" = yes; then :
13980 echo $ac_n "cross compiling; assumed OK... $ac_c"
13982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13986 #include <stdlib.h>
13987 #include <string.h>
13991 my_strdup (char *str)
13997 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13998 strcpy (new_str, str);
14006 int main (int argc, char *argv[])
14008 int major, minor, micro;
14011 /* This hangs on some systems (?)
14012 system ("touch conf.sdltest");
14014 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14016 /* HP/UX 9 (%@#!) writes to sscanf strings */
14017 tmp_version = my_strdup("$min_sdl_version");
14018 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14019 printf("%s, bad version string\n", "$min_sdl_version");
14023 if (($sdl_major_version > major) ||
14024 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14025 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14031 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14032 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14033 printf("*** best to upgrade to the required version.\n");
14034 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14035 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14036 printf("*** config.cache before re-running configure\n");
14043 if ac_fn_c_try_run
"$LINENO"; then :
14048 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14049 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14052 CFLAGS
="$ac_save_CFLAGS"
14053 CXXFLAGS
="$ac_save_CXXFLAGS"
14054 LIBS
="$ac_save_LIBS"
14057 if test "x$no_sdl" = x
; then
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14059 $as_echo "yes" >&6; }
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14063 $as_echo "no" >&6; }
14064 if test "$SDL_CONFIG" = "no" ; then
14065 echo "*** The sdl-config script installed by SDL could not be found"
14066 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14067 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14068 echo "*** full path to sdl-config."
14070 if test -f conf.sdltest
; then
14073 echo "*** Could not run SDL test program, checking why..."
14074 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14075 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14076 LIBS
="$LIBS $SDL_LIBS"
14077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14083 int main(int argc, char *argv[])
14086 #define main K_and_R_C_main
14096 if ac_fn_c_try_link
"$LINENO"; then :
14097 echo "*** The test program compiled, but did not run. This usually means"
14098 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14099 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14100 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14101 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14102 echo "*** is required on your system"
14104 echo "*** If you have an old version installed, it is best to remove it, although"
14105 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14107 echo "*** The test program failed to compile or link. See the file config.log for the"
14108 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14109 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14110 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14112 rm -f core conftest.err conftest.
$ac_objext \
14113 conftest
$ac_exeext conftest.
$ac_ext
14114 CFLAGS
="$ac_save_CFLAGS"
14115 CXXFLAGS
="$ac_save_CXXFLAGS"
14116 LIBS
="$ac_save_LIBS"
14128 if test "x-$have_sdl" != "x-yes" ; then
14130 if test "x-$sdl_hidd" != "x-auto" ; then
14131 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14135 sdl_hidd_target
=kernel-hidd-sdl
14136 aros_host_sdl_cflags
=SDL_CFLAGS
14137 aros_host_sdl_libs
=SDL_LIBS
14141 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14142 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
14147 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14148 oss_library_target
=workbench-libs-oss-unix
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14154 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14155 # Check whether --enable-dbus was given.
14156 if test "${enable_dbus+set}" = set; then :
14157 enableval
=$enable_dbus; dbus
="yes"
14162 if test "$dbus" = "yes" ; then
14164 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14165 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14166 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14167 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14172 $as_echo "$dbus" >&6; }
14174 if test "$use_kernel_cc_wrapper" = "yes" ; then
14175 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14178 if test "${crosstools}" != "yes" ; then
14179 aros_target_toolchain
=no
14181 aros_target_toolchain
=yes
14197 # Compatability with other Amiga-like operation systems
14292 # Delinting target compiler flags
14316 # Native version related
14319 # Palm native version related
14322 # Unix/Hosted version related
14328 # Apple iOS related
14333 # ARM default GCC target related
14358 # Collect-aros stuff: "-ius" to ignore undefined symbols
14361 # C compiler related
14364 case "$aros_flavour" in
14365 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14366 aros_flavour
="emulation" ;;
14367 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14368 aros_flavour
="emulation" ;;
14369 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14370 aros_flavour
="standalone";;
14371 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14372 aros_flavour
="standalone";;
14373 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14374 aros_flavour
="native" ;;
14375 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14376 aros_flavour
="native" ;;
14377 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14378 aros_flavour
="linklib" ;;
14379 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14380 aros_flavour
="palmnative" ;;
14381 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14382 aros_flavour
="mac68knative" ;;
14383 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14384 aros_flavour
="ppcnative" ;;
14387 if test ! -d ${aros_inc_dir} ; then
14388 ${MKDIR} ${aros_inc_dir}
14390 if test ! -d ${aros_geninc_dir} ; then
14391 ${MKDIR} ${aros_geninc_dir}
14393 if test ! -d ${aros_hostcfg_dir} ; then
14394 ${MKDIR} ${aros_hostcfg_dir}
14396 if test ! -d ${aros_targetcfg_dir} ; then
14397 ${MKDIR} ${aros_targetcfg_dir}
14399 if test ! -d ${aros_tools_dir} ; then
14400 ${MKDIR} ${aros_tools_dir}
14402 if test ! -d ${aros_scripts_dir} ; then
14403 ${MKDIR} ${aros_scripts_dir}
14406 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14409 ac_config_commands
="$ac_config_commands compiler_executable"
14411 ac_config_commands
="$ac_config_commands genmf_executable"
14414 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"
14417 cat >confcache
<<\_ACEOF
14418 # This file is a shell script that caches the results of configure
14419 # tests run on this system so they can be shared between configure
14420 # scripts and configure runs, see configure's option --config-cache.
14421 # It is not useful on other systems. If it contains results you don't
14422 # want to keep, you may remove or edit it.
14424 # config.status only pays attention to the cache file if you give it
14425 # the --recheck option to rerun configure.
14427 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14428 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14429 # following values.
14433 # The following way of writing the cache mishandles newlines in values,
14434 # but we know of no workaround that is simple, portable, and efficient.
14435 # So, we kill variables containing newlines.
14436 # Ultrix sh set writes to stderr and can't be redirected directly,
14437 # and sets the high bit in the cache file unless we assign to the vars.
14439 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14440 eval ac_val
=\$
$ac_var
14444 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14448 _ | IFS | as_nl
) ;; #(
14449 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14450 *) { eval $ac_var=; unset $ac_var;} ;;
14456 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14457 *${as_nl}ac_space
=\
*)
14458 # `set' does not quote correctly, so add quotes: double-quote
14459 # substitution turns \\\\ into \\, and sed turns \\ into \.
14462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14465 # `set' quotes correctly as required by POSIX, so do not add quotes.
14466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14477 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14479 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14480 if test -w "$cache_file"; then
14481 test "x$cache_file" != "x/dev/null" &&
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14483 $as_echo "$as_me: updating cache $cache_file" >&6;}
14484 cat confcache
>$cache_file
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14487 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14492 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14493 # Let make expand exec_prefix.
14494 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14496 DEFS
=-DHAVE_CONFIG_H
14500 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14501 # 1. Remove the extension, and $U if already installed.
14502 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14503 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14504 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14505 # will be set to the directory where LIBOBJS objects are built.
14506 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14507 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14509 LIBOBJS
=$ac_libobjs
14511 LTLIBOBJS
=$ac_ltlibobjs
14515 : ${CONFIG_STATUS=./config.status}
14517 ac_clean_files_save
=$ac_clean_files
14518 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14520 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14522 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14524 # Generated by $as_me.
14525 # Run this file to recreate the current configuration.
14526 # Compiler output produced by configure, useful for debugging
14527 # configure, is in config.log if it exists.
14530 ac_cs_recheck=false
14533 SHELL=\${CONFIG_SHELL-$SHELL}
14536 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14537 ## -------------------- ##
14538 ## M4sh Initialization. ##
14539 ## -------------------- ##
14541 # Be more Bourne compatible
14542 DUALCASE
=1; export DUALCASE
# for MKS sh
14543 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14546 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14547 # is contrary to our usage. Disable this feature.
14548 alias -g '${1+"$@"}'='"$@"'
14549 setopt NO_GLOB_SUBST
14551 case `(set -o) 2>/dev/null` in #(
14563 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14564 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14565 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14566 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14567 # Prefer a ksh shell builtin over an external printf program on Solaris,
14568 # but without wasting forks for bash or zsh.
14569 if test -z "$BASH_VERSION$ZSH_VERSION" \
14570 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14571 as_echo='print
-r --'
14572 as_echo_n='print
-rn --'
14573 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14574 as_echo='printf %s
\n'
14575 as_echo_n='printf %s
'
14577 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14578 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14579 as_echo_n='/usr
/ucb
/echo -n'
14581 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14582 as_echo_n_body='eval
14586 expr "X$arg" : "X\\(.*\\)$as_nl";
14587 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14589 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14591 export as_echo_n_body
14592 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14594 export as_echo_body
14595 as_echo='sh
-c $as_echo_body as_echo
'
14598 # The user is always right.
14599 if test "${PATH_SEPARATOR+set}" != set; then
14601 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14602 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14609 # We need space, tab and new line, in precisely that order. Quoting is
14610 # there to prevent editors from complaining about space-tab.
14611 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14612 # splitting by setting IFS to empty value.)
14615 # Find who we are. Look in the path if we contain no directory separator.
14617 *[\\/]* ) as_myself=$0 ;;
14618 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14619 for as_dir in $PATH
14622 test -z "$as_dir" && as_dir=.
14623 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14629 # We did not find ourselves, most probably we were run as `sh COMMAND'
14630 # in which case we are not to be found in the path.
14631 if test "x$as_myself" = x
; then
14634 if test ! -f "$as_myself"; then
14635 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14639 # Unset variables that we do not need and which cause bugs (e.g. in
14640 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14641 # suppresses any "Segmentation fault" message there. '((' could
14642 # trigger a bug in pdksh 5.2.14.
14643 for as_var
in BASH_ENV ENV MAIL MAILPATH
14644 do eval test x\
${$as_var+set} = xset \
14645 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14658 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14661 # as_fn_error ERROR [LINENO LOG_FD]
14662 # ---------------------------------
14663 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14664 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14665 # script with status $?, using 1 if that was 0.
14668 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14670 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14671 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14673 $as_echo "$as_me: error: $1" >&2
14674 as_fn_exit
$as_status
14678 # as_fn_set_status STATUS
14679 # -----------------------
14680 # Set $? to STATUS, without forking.
14681 as_fn_set_status
()
14684 } # as_fn_set_status
14686 # as_fn_exit STATUS
14687 # -----------------
14688 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14692 as_fn_set_status
$1
14698 # Portably unset VAR.
14701 { eval $1=; unset $1;}
14703 as_unset
=as_fn_unset
14704 # as_fn_append VAR VALUE
14705 # ----------------------
14706 # Append the text in VALUE to the end of the definition contained in VAR. Take
14707 # advantage of any shell optimizations that allow amortized linear growth over
14708 # repeated appends, instead of the typical quadratic growth present in naive
14710 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14711 eval 'as_fn_append ()
14722 # as_fn_arith ARG...
14723 # ------------------
14724 # Perform arithmetic evaluation on the ARGs, and store the result in the
14725 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14726 # must be portable across $(()) and expr.
14727 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14728 eval 'as_fn_arith ()
14735 as_val
=`expr "$@" || test $? -eq 1`
14740 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14741 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14747 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14748 as_basename
=basename
14753 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14759 as_me
=`$as_basename -- "$0" ||
14760 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14761 X"$0" : 'X\(//\)$' \| \
14762 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14764 sed '/^.*\/\([^/][^/]*\)\/*$/{
14778 # Avoid depending upon Character Ranges.
14779 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14780 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14781 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14782 as_cr_digits
='0123456789'
14783 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14785 ECHO_C
= ECHO_N
= ECHO_T
=
14786 case `echo -n x` in #(((((
14788 case `echo 'xy\c'` in
14789 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14791 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14798 rm -f conf$$ conf$$.exe conf$$.
file
14799 if test -d conf$$.dir
; then
14800 rm -f conf$$.dir
/conf$$.
file
14803 mkdir conf$$.dir
2>/dev
/null
14805 if (echo >conf$$.
file) 2>/dev
/null
; then
14806 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14808 # ... but there are two gotchas:
14809 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14810 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14811 # In both cases, we have to default to `cp -p'.
14812 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14814 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14822 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14823 rmdir conf$$.dir
2>/dev
/null
14828 # Create "$as_dir" as a directory, including parents if necessary.
14833 -*) as_dir
=.
/$as_dir;;
14835 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14839 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14840 *) as_qdir
=$as_dir;;
14842 as_dirs
="'$as_qdir' $as_dirs"
14843 as_dir
=`$as_dirname -- "$as_dir" ||
14844 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14845 X"$as_dir" : 'X\(//\)[^/]' \| \
14846 X"$as_dir" : 'X\(//\)$' \| \
14847 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14848 $as_echo X"$as_dir" |
14849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14853 /^X\(\/\/\)[^/].*/{
14866 test -d "$as_dir" && break
14868 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14869 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14873 if mkdir
-p .
2>/dev
/null
; then
14874 as_mkdir_p
='mkdir -p "$as_dir"'
14876 test -d .
/-p && rmdir .
/-p
14880 if test -x / >/dev
/null
2>&1; then
14881 as_test_x
='test -x'
14883 if ls -dL / >/dev
/null
2>&1; then
14890 if test -d "$1"; then
14896 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14897 ???[sx]*):;;*)false;;esac;fi
14901 as_executable_p
=$as_test_x
14903 # Sed expression to map a string onto a valid CPP name.
14904 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14906 # Sed expression to map a string onto a valid variable name.
14907 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14911 ## ----------------------------------- ##
14912 ## Main body of $CONFIG_STATUS script. ##
14913 ## ----------------------------------- ##
14915 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14918 # Save the log message, to keep $0 and so on meaningful, and to
14919 # report actual input values of CONFIG_FILES etc. instead of their
14920 # values after options handling.
14922 This file was extended by $as_me, which was
14923 generated by GNU Autoconf 2.65. Invocation command line was
14925 CONFIG_FILES = $CONFIG_FILES
14926 CONFIG_HEADERS = $CONFIG_HEADERS
14927 CONFIG_LINKS = $CONFIG_LINKS
14928 CONFIG_COMMANDS = $CONFIG_COMMANDS
14931 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14936 case $ac_config_files in *"
14937 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14940 case $ac_config_headers in *"
14941 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14946 # Files that config.status was made for.
14947 config_files="$ac_config_files"
14948 config_headers="$ac_config_headers"
14949 config_commands="$ac_config_commands"
14953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14955 \`$as_me' instantiates files and other configuration actions
14956 from templates according to the current configuration. Unless the files
14957 and actions are specified as TAGs, all are instantiated by default.
14959 Usage: $0 [OPTION]... [TAG]...
14961 -h, --help print this help, then exit
14962 -V, --version print version number and configuration settings, then exit
14963 --config print configuration, then exit
14964 -q, --quiet, --silent
14965 do not print progress messages
14966 -d, --debug don't remove temporary files
14967 --recheck update $as_me by reconfiguring in the same conditions
14968 --file=FILE[:TEMPLATE]
14969 instantiate the configuration file FILE
14970 --header=FILE[:TEMPLATE]
14971 instantiate the configuration header FILE
14973 Configuration files:
14976 Configuration headers:
14979 Configuration commands:
14982 Report bugs to the package provider."
14985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14986 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14989 configured by $0, generated by GNU Autoconf 2.65,
14990 with options \\"\$ac_cs_config\\"
14992 Copyright (C) 2009 Free Software Foundation, Inc.
14993 This config.status script is free software; the Free Software Foundation
14994 gives unlimited permission to copy, distribute and modify it."
14998 test -n "\$AWK" || AWK=awk
15001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15002 # The default lists apply if the user does not specify any file.
15008 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15009 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15020 # Handling of the options.
15021 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15023 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15024 $as_echo "$ac_cs_version"; exit ;;
15025 --config |
--confi |
--conf |
--con |
--co |
--c )
15026 $as_echo "$ac_cs_config"; exit ;;
15027 --debug |
--debu |
--deb |
--de |
--d |
-d )
15029 --file |
--fil |
--fi |
--f )
15032 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15034 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15035 ac_need_defaults
=false
;;
15036 --header |
--heade |
--head |
--hea )
15039 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15041 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15042 ac_need_defaults
=false
;;
15044 # Conflict between --help and --header
15045 as_fn_error
"ambiguous option: \`$1'
15046 Try \`$0 --help' for more information.";;
15047 --help |
--hel |
-h )
15048 $as_echo "$ac_cs_usage"; exit ;;
15049 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15050 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15053 # This is an error.
15054 -*) as_fn_error
"unrecognized option: \`$1'
15055 Try \`$0 --help' for more information." ;;
15057 *) as_fn_append ac_config_targets
" $1"
15058 ac_need_defaults
=false
;;
15064 ac_configure_extra_args
=
15066 if $ac_cs_silent; then
15068 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15073 if \$ac_cs_recheck; then
15074 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15076 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15077 CONFIG_SHELL='$SHELL'
15078 export CONFIG_SHELL
15083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15087 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15088 ## Running $as_me. ##
15094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15099 aros_host_exe_suffix=${aros_host_exe_suffix}
15100 aros_tools_dir=${aros_tools_dir}
15101 aros_target_cpu=${aros_target_cpu}
15102 aros_target_arch=${aros_target_arch}
15103 aros_target_suffix=${aros_target_suffix}
15104 orig_target_nm=${orig_target_nm}
15105 orig_target_as=${orig_target_as}
15106 orig_target_ar=${orig_target_ar}
15107 orig_target_ranlib=${orig_target_ranlib}
15108 orig_target_objdump=${orig_target_objdump}
15109 orig_target_objcopy=${orig_target_objcopy}
15110 orig_target_strip=${orig_target_strip}
15111 aros_kernel_ld=${aros_kernel_ld}
15114 aros_tools_dir=${aros_tools_dir}
15119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15121 # Handling of arguments.
15122 for ac_config_target
in $ac_config_targets
15124 case $ac_config_target in
15125 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15126 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15127 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15128 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15129 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15130 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15131 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15132 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15133 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15134 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15135 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15136 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15137 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15138 "${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" ;;
15139 "${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" ;;
15140 "${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" ;;
15141 "${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" ;;
15142 "${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" ;;
15143 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15144 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15145 "${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" ;;
15147 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15152 # If the user did not use the arguments to specify the items to instantiate,
15153 # then the envvar interface is used. Set only those that are not.
15154 # We use the long form for the default assignment because of an extremely
15155 # bizarre bug on SunOS 4.1.3.
15156 if $ac_need_defaults; then
15157 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15158 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15159 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15162 # Have a temporary directory for convenience. Make it in the build tree
15163 # simply because there is no reason against having it here, and in addition,
15164 # creating and moving files from /tmp can sometimes cause problems.
15165 # Hook for its removal unless debugging.
15166 # Note that there is a small window in which the directory will not be cleaned:
15167 # after its creation but before its name has been assigned to `$tmp'.
15171 trap 'exit_status=$?
15172 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15174 trap 'as_fn_exit 1' 1 2 13 15
15176 # Create a (secure) tmp directory for tmp files.
15179 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15180 test -n "$tmp" && test -d "$tmp"
15183 tmp
=.
/conf$$
-$RANDOM
15184 (umask 077 && mkdir
"$tmp")
15185 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15187 # Set up the scripts for CONFIG_FILES section.
15188 # No need to generate them if there are no CONFIG_FILES.
15189 # This happens for instance with `./config.status config.h'.
15190 if test -n "$CONFIG_FILES"; then
15193 ac_cr
=`echo X | tr X '\015'`
15194 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15195 # But we know of no other shell where ac_cr would be empty at this
15196 # point, so we can use a bashism as a fallback.
15197 if test "x$ac_cr" = x
; then
15198 eval ac_cr
=\$
\'\\r
\'
15200 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15201 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15204 ac_cs_awk_cr
=$ac_cr
15207 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15212 echo "cat >conf$$subs.awk <<_ACEOF" &&
15213 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15215 } >conf$$subs.sh ||
15216 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15217 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15219 for ac_last_try in false false false false false :; do
15220 . ./conf$$subs.sh ||
15221 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15223 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15224 if test $ac_delim_n = $ac_delim_num; then
15226 elif $ac_last_try; then
15227 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15229 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15232 rm -f conf$$subs.sh
15234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15235 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15239 s/^/S["/; s
/!.
*/"]=/
15249 s/\(.\{148\}\)..*/\1/
15251 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15256 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15263 s/\(.\{148\}\)..*/\1/
15265 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15269 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15274 ' <conf$$subs.awk | sed '
15279 ' >>$CONFIG_STATUS || ac_write_fail=1
15280 rm -f conf$$subs.awk
15281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15283 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15284 for (key in S) S_is_set[key] = 1
15290 nfields = split(line, field, "@
")
15292 len = length(field[1])
15293 for (i = 2; i < nfields; i++) {
15295 keylen = length(key)
15296 if (S_is_set[key]) {
15298 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15299 len += length(value) + length(field[++i])
15310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15311 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15312 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15315 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15316 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15319 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15320 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15321 # trailing colons and then remove the whole line if VPATH becomes empty
15322 # (actually we leave an empty line to preserve line numbers).
15323 if test "x
$srcdir" = x.; then
15324 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15325 s/:*\$(srcdir):*/:/
15326 s/:*\${srcdir}:*/:/
15328 s/^\([^=]*=[ ]*\):*/\1/
15334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15335 fi # test -n "$CONFIG_FILES"
15337 # Set up the scripts for CONFIG_HEADERS section.
15338 # No need to generate them if there are no CONFIG_HEADERS.
15339 # This happens for instance with `./config.status Makefile'.
15340 if test -n "$CONFIG_HEADERS"; then
15341 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15345 # Transform confdefs.h into an awk script `defines.awk', embedded as
15346 # here-document in config.status, that substitutes the proper values into
15347 # config.h.in to produce config.h.
15349 # Create a delimiter string that does not exist in confdefs.h, to ease
15350 # handling of long lines.
15352 for ac_last_try in false false :; do
15353 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15354 if test -z "$ac_t"; then
15356 elif $ac_last_try; then
15357 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15359 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15363 # For the awk script, D is an array of macro values keyed by name,
15364 # likewise P contains macro parameters if any. Preserve backslash
15365 # newline sequences.
15367 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15369 s/.\{148\}/&'"$ac_delim"'/g
15372 s/^[ ]*#[ ]*define[ ][ ]*/ /
15379 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15381 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15385 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15386 D["\
1"]=" \
3\\\\\\n
"\\/p
15388 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15393 s/.\{148\}/&'"$ac_delim"'/g
15398 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15401 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15403 ' <confdefs.h | sed '
15404 s/'"$ac_delim"'/"\\\
15405 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15408 for (key in D) D_is_set[key] = 1
15411 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15413 split(line, arg, " ")
15414 if (arg[1] == "#") {
15418 defundef
= substr
(arg
[1], 2)
15421 split(mac1
, mac2
, "(") #)
15423 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15424 if (D_is_set
[macro
]) {
15425 # Preserve the white space surrounding the "#".
15426 print prefix
"define", macro P
[macro
] D
[macro
]
15429 # Replace #undef with comments. This is necessary, for example,
15430 # in the case of _POSIX_SOURCE, which is predefined and required
15431 # on some systems where configure will not decide to define it.
15432 if (defundef
== "undef") {
15433 print
"/*", prefix defundef
, macro
, "*/"
15441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15442 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15443 fi # test -n "$CONFIG_HEADERS"
15446 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15451 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15453 case $ac_mode$ac_tag in
15455 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15456 :[FH
]-) ac_tag
=-:-;;
15457 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15474 -) ac_f
="$tmp/stdin";;
15475 *) # Look for the file first in the build tree, then in the source tree
15476 # (if the path is not absolute). The absolute path cannot be DOS-style,
15477 # because $ac_f cannot contain `:'.
15481 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15483 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15485 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15486 as_fn_append ac_file_inputs
" '$ac_f'"
15489 # Let's still pretend it is `configure' which instantiates (i.e., don't
15490 # use $as_me), people would be surprised to read:
15491 # /* config.h. Generated by config.status. */
15492 configure_input
='Generated from '`
15493 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15495 if test x
"$ac_file" != x-
; then
15496 configure_input
="$ac_file. $configure_input"
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15498 $as_echo "$as_me: creating $ac_file" >&6;}
15500 # Neutralize special characters interpreted by sed in replacement strings.
15501 case $configure_input in #(
15502 *\
&* |
*\|
* |
*\\* )
15503 ac_sed_conf_input
=`$as_echo "$configure_input" |
15504 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15505 *) ac_sed_conf_input
=$configure_input;;
15509 *:-:* |
*:-) cat >"$tmp/stdin" \
15510 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15515 ac_dir
=`$as_dirname -- "$ac_file" ||
15516 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15517 X"$ac_file" : 'X\(//\)[^/]' \| \
15518 X"$ac_file" : 'X\(//\)$' \| \
15519 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15520 $as_echo X"$ac_file" |
15521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15525 /^X\(\/\/\)[^/].*/{
15538 as_dir
="$ac_dir"; as_fn_mkdir_p
15542 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15544 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15545 # A ".." for each directory in $ac_dir_suffix.
15546 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15547 case $ac_top_builddir_sub in
15548 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15549 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15552 ac_abs_top_builddir
=$ac_pwd
15553 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15554 # for backward compatibility:
15555 ac_top_builddir
=$ac_top_build_prefix
15558 .
) # We are building in place.
15560 ac_top_srcdir
=$ac_top_builddir_sub
15561 ac_abs_top_srcdir
=$ac_pwd ;;
15562 [\\/]* | ?
:[\\/]* ) # Absolute name.
15563 ac_srcdir
=$srcdir$ac_dir_suffix;
15564 ac_top_srcdir
=$srcdir
15565 ac_abs_top_srcdir
=$srcdir ;;
15566 *) # Relative name.
15567 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15568 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15569 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15571 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15583 # If the template does not know about datarootdir, expand it.
15584 # FIXME: This hack should be removed a few years after 2.60.
15585 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15596 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15597 *datarootdir
*) ac_datarootdir_seen
=yes;;
15598 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15600 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15603 ac_datarootdir_hack='
15604 s&@datadir@&$datadir&g
15605 s&@docdir@&$docdir&g
15606 s&@infodir@&$infodir&g
15607 s&@localedir@&$localedir&g
15608 s&@mandir@&$mandir&g
15609 s&\\\${datarootdir}&$datarootdir&g' ;;
15613 # Neutralize VPATH when `$srcdir' = `.'.
15614 # Shell code in configure.ac might set extrasub.
15615 # FIXME: do we really want to maintain this feature?
15616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15617 ac_sed_extra="$ac_vpsub
15620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15622 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15623 s|@configure_input@|
$ac_sed_conf_input|
;t t
15624 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15625 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15626 s
&@srcdir@
&$ac_srcdir&;t t
15627 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15628 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15629 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15630 s
&@builddir@
&$ac_builddir&;t t
15631 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15632 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15633 $ac_datarootdir_hack
15635 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15636 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15638 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15639 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15640 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15642 which seems to be undefined. Please make sure it is defined." >&5
15643 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15644 which seems to be undefined. Please make sure it is defined." >&2;}
15648 -) cat "$tmp/out" && rm -f "$tmp/out";;
15649 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15651 || as_fn_error "could not create $ac_file" "$LINENO" 5
15657 if test x"$ac_file" != x-; then
15659 $as_echo "/* $configure_input */" \
15660 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15661 } >"$tmp/config.h" \
15662 || as_fn_error "could not create $ac_file" "$LINENO" 5
15663 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15665 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15668 mv "$tmp/config.h" "$ac_file" \
15669 || as_fn_error "could not create $ac_file" "$LINENO" 5
15672 $as_echo "/* $configure_input */" \
15673 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15674 || as_fn_error "could not create -" "$LINENO" 5
15678 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15679 $as_echo "$as_me: executing $ac_file commands" >&6;}
15684 case $ac_file$ac_mode in
15685 "compiler_executable":C)
15686 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15688 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15689 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15693 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15695 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15696 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15697 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15698 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15699 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15700 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15701 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15703 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15705 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15713 ac_clean_files=$ac_clean_files_save
15715 test $ac_write_fail = 0 ||
15716 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15719 # configure is writing to config.log, and then calls config.status.
15720 # config.status does its own redirection, appending to config.log.
15721 # Unfortunately, on DOS this fails, as config.log is still kept open
15722 # by configure, so config.status won't be able to
write to it
; its
15723 # output is simply discarded. So we exec the FD to /dev/null,
15724 # effectively closing config.log, so it can be properly (re)opened and
15725 # appended to by config.status. When coming back to configure, we
15726 # need to make the FD available again.
15727 if test "$no_create" != yes; then
15729 ac_config_status_args
=
15730 test "$silent" = yes &&
15731 ac_config_status_args
="$ac_config_status_args --quiet"
15733 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15735 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15736 # would make configure fail if this is the last instruction.
15737 $ac_cs_success || as_fn_exit $?
15739 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15741 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15746 #XXX compatability...
15747 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15749 if test -n "$aros_shared_cflags" ; then
15750 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15751 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg