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
617 aros_nesting_supervisor
622 aros_host_x11_libdirs
623 aros_host_x11_includes
627 aros_default_wbheight
633 aros_cflags_format_security
634 aros_cflags_strict_overflow
635 aros_cflags_enum_compare
636 aros_cflags_array_bounds
637 aros_cflags_unused_but_set_variable
638 crosstools_cxx_target
640 aros_target_strip_flags
647 aros_kernel_objcflags
666 aros_target_cc_includes
681 aros_target_bootloader
701 aros_amigaos_compliance
707 aros_target_toolchain
716 aros_cflags_iquote_end
718 kernel_cflags_iquote_end
720 host_cflags_iquote_end
722 aros_target_nostdlib_ldflags
723 aros_target_detach_ldflags
724 aros_target_nix_ldflags
725 aros_target_nostartup_ldflags
726 aros_target_nostdinc_cflags
843 program_transform_name
856 enable_option_checking
861 with_kernel_gcc_version
865 enable_target_variant
871 enable_amigaos_compliance
872 with_kernel_toolchain_prefix
873 with_elf_toolchain_prefix
876 with_aros_toolchain_install
888 enable_palm_debug_hack
889 enable_nesting_supervisor
901 ac_precious_vars
='build_alias
917 # Initialize some variables set by options.
919 ac_init_version
=false
920 ac_unrecognized_opts
=
922 # The variables have the same names as the options, with
923 # dashes changed to underlines.
931 program_transform_name
=s
,x
,x
,
939 # Installation directory options.
940 # These are left unexpanded so users can "make install exec_prefix=/foo"
941 # and all the variables that are supposed to be based on exec_prefix
942 # by default will actually change.
943 # Use braces instead of parens because sh, perl, etc. also accept them.
944 # (The list follows the same order as the GNU Coding Standards.)
945 bindir
='${exec_prefix}/bin'
946 sbindir
='${exec_prefix}/sbin'
947 libexecdir
='${exec_prefix}/libexec'
948 datarootdir
='${prefix}/share'
949 datadir
='${datarootdir}'
950 sysconfdir
='${prefix}/etc'
951 sharedstatedir
='${prefix}/com'
952 localstatedir
='${prefix}/var'
953 includedir
='${prefix}/include'
954 oldincludedir
='/usr/include'
955 docdir
='${datarootdir}/doc/${PACKAGE}'
956 infodir
='${datarootdir}/info'
961 libdir
='${exec_prefix}/lib'
962 localedir
='${datarootdir}/locale'
963 mandir
='${datarootdir}/man'
969 # If the previous option needs an argument, assign it.
970 if test -n "$ac_prev"; then
971 eval $ac_prev=\
$ac_option
977 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
981 # Accept the important Cygnus configure options, so we can diagnose typos.
983 case $ac_dashdash$ac_option in
987 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
989 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
992 -build |
--build |
--buil |
--bui |
--bu)
993 ac_prev
=build_alias
;;
994 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
995 build_alias
=$ac_optarg ;;
997 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
998 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
999 ac_prev
=cache_file
;;
1000 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1001 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1002 cache_file
=$ac_optarg ;;
1004 --config-cache |
-C)
1005 cache_file
=config.cache
;;
1007 -datadir |
--datadir |
--datadi |
--datad)
1009 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1010 datadir
=$ac_optarg ;;
1012 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1013 |
--dataroo |
--dataro |
--datar)
1014 ac_prev
=datarootdir
;;
1015 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1016 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1017 datarootdir
=$ac_optarg ;;
1019 -disable-* |
--disable-*)
1020 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error
"invalid feature name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_
$ac_useropt"
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval enable_
$ac_useropt=no
;;
1035 -docdir |
--docdir |
--docdi |
--doc |
--do)
1037 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1038 docdir
=$ac_optarg ;;
1040 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1042 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1043 dvidir
=$ac_optarg ;;
1045 -enable-* |
--enable-*)
1046 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1049 as_fn_error
"invalid feature name: $ac_useropt"
1050 ac_useropt_orig
=$ac_useropt
1051 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "enable_
$ac_useropt"
1056 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057 ac_unrecognized_sep
=', ';;
1059 eval enable_
$ac_useropt=\
$ac_optarg ;;
1061 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1062 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1063 |
--exec |
--exe |
--ex)
1064 ac_prev
=exec_prefix
;;
1065 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1066 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1067 |
--exec=* |
--exe=* |
--ex=*)
1068 exec_prefix
=$ac_optarg ;;
1070 -gas |
--gas |
--ga |
--g)
1071 # Obsolete; use --with-gas.
1074 -help |
--help |
--hel |
--he |
-h)
1075 ac_init_help
=long
;;
1076 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1077 ac_init_help
=recursive
;;
1078 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1079 ac_init_help
=short
;;
1081 -host |
--host |
--hos |
--ho)
1082 ac_prev
=host_alias
;;
1083 -host=* |
--host=* |
--hos=* |
--ho=*)
1084 host_alias
=$ac_optarg ;;
1086 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1088 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1090 htmldir
=$ac_optarg ;;
1092 -includedir |
--includedir |
--includedi |
--included |
--include \
1093 |
--includ |
--inclu |
--incl |
--inc)
1094 ac_prev
=includedir
;;
1095 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1096 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1097 includedir
=$ac_optarg ;;
1099 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1101 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1102 infodir
=$ac_optarg ;;
1104 -libdir |
--libdir |
--libdi |
--libd)
1106 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1107 libdir
=$ac_optarg ;;
1109 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1110 |
--libexe |
--libex |
--libe)
1111 ac_prev
=libexecdir
;;
1112 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1113 |
--libexe=* |
--libex=* |
--libe=*)
1114 libexecdir
=$ac_optarg ;;
1116 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1117 ac_prev
=localedir
;;
1118 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1119 localedir
=$ac_optarg ;;
1121 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1122 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1123 ac_prev
=localstatedir
;;
1124 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1125 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1126 localstatedir
=$ac_optarg ;;
1128 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1130 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1131 mandir
=$ac_optarg ;;
1133 -nfp |
--nfp |
--nf)
1134 # Obsolete; use --without-fp.
1137 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1138 |
--no-cr |
--no-c |
-n)
1141 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1142 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1145 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1146 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1147 |
--oldin |
--oldi |
--old |
--ol |
--o)
1148 ac_prev
=oldincludedir
;;
1149 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1150 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1151 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1152 oldincludedir
=$ac_optarg ;;
1154 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1156 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1157 prefix
=$ac_optarg ;;
1159 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1160 |
--program-pre |
--program-pr |
--program-p)
1161 ac_prev
=program_prefix
;;
1162 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1163 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1164 program_prefix
=$ac_optarg ;;
1166 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1167 |
--program-suf |
--program-su |
--program-s)
1168 ac_prev
=program_suffix
;;
1169 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1170 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1171 program_suffix
=$ac_optarg ;;
1173 -program-transform-name |
--program-transform-name \
1174 |
--program-transform-nam |
--program-transform-na \
1175 |
--program-transform-n |
--program-transform- \
1176 |
--program-transform |
--program-transfor \
1177 |
--program-transfo |
--program-transf \
1178 |
--program-trans |
--program-tran \
1179 |
--progr-tra |
--program-tr |
--program-t)
1180 ac_prev
=program_transform_name
;;
1181 -program-transform-name=* |
--program-transform-name=* \
1182 |
--program-transform-nam=* |
--program-transform-na=* \
1183 |
--program-transform-n=* |
--program-transform-=* \
1184 |
--program-transform=* |
--program-transfor=* \
1185 |
--program-transfo=* |
--program-transf=* \
1186 |
--program-trans=* |
--program-tran=* \
1187 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1188 program_transform_name
=$ac_optarg ;;
1190 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1192 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1193 pdfdir
=$ac_optarg ;;
1195 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1197 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1200 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1201 |
-silent |
--silent |
--silen |
--sile |
--sil)
1204 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1206 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1208 sbindir
=$ac_optarg ;;
1210 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1211 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1212 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1214 ac_prev
=sharedstatedir
;;
1215 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1216 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1217 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1219 sharedstatedir
=$ac_optarg ;;
1221 -site |
--site |
--sit)
1223 -site=* |
--site=* |
--sit=*)
1226 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1228 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1229 srcdir
=$ac_optarg ;;
1231 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1232 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1233 ac_prev
=sysconfdir
;;
1234 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1235 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1236 sysconfdir
=$ac_optarg ;;
1238 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1239 ac_prev
=target_alias
;;
1240 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1241 target_alias
=$ac_optarg ;;
1243 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1246 -version |
--version |
--versio |
--versi |
--vers |
-V)
1247 ac_init_version
=: ;;
1250 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1253 as_fn_error
"invalid package name: $ac_useropt"
1254 ac_useropt_orig
=$ac_useropt
1255 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1260 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261 ac_unrecognized_sep
=', ';;
1263 eval with_
$ac_useropt=\
$ac_optarg ;;
1265 -without-* |
--without-*)
1266 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1269 as_fn_error
"invalid package name: $ac_useropt"
1270 ac_useropt_orig
=$ac_useropt
1271 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1276 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1277 ac_unrecognized_sep
=', ';;
1279 eval with_
$ac_useropt=no
;;
1282 # Obsolete; use --with-x.
1285 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1286 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1287 ac_prev
=x_includes
;;
1288 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1289 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1290 x_includes
=$ac_optarg ;;
1292 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1293 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1294 ac_prev
=x_libraries
;;
1295 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1296 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1297 x_libraries
=$ac_optarg ;;
1299 -*) as_fn_error
"unrecognized option: \`$ac_option'
1300 Try \`$0 --help' for more information."
1304 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 case $ac_envvar in #(
1307 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1308 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1310 eval $ac_envvar=\
$ac_optarg
1311 export $ac_envvar ;;
1314 # FIXME: should be removed in autoconf 3.0.
1315 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1316 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1317 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1318 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1324 if test -n "$ac_prev"; then
1325 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1326 as_fn_error
"missing argument to $ac_option"
1329 if test -n "$ac_unrecognized_opts"; then
1330 case $enable_option_checking in
1332 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1337 # Check all directory arguments for consistency.
1338 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1343 eval ac_val
=\$
$ac_var
1344 # Remove trailing slashes.
1347 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\
$ac_val;;
1350 # Be sure to have absolute directory names.
1352 [\\/$
]* | ?
:[\\/]* ) continue;;
1353 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1355 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1363 target
=$target_alias
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x
; then
1367 if test "x$build_alias" = x
; then
1368 cross_compiling
=maybe
1369 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1370 If a cross compiler is detected then cross compile mode will be used." >&2
1371 elif test "x$build_alias" != "x$host_alias"; then
1377 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1379 test "$silent" = yes && exec 6>/dev
/null
1382 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1383 ac_ls_di
=`ls -di .` &&
1384 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1385 as_fn_error
"working directory cannot be determined"
1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1387 as_fn_error
"pwd does not report name of working directory"
1390 # Find the source files, if location was not specified.
1391 if test -z "$srcdir"; then
1392 ac_srcdir_defaulted
=yes
1393 # Try the directory containing this script, then the parent directory.
1394 ac_confdir
=`$as_dirname -- "$as_myself" ||
1395 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1396 X"$as_myself" : 'X\(//\)[^/]' \| \
1397 X"$as_myself" : 'X\(//\)$' \| \
1398 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1399 $as_echo X"$as_myself" |
1400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1422 ac_srcdir_defaulted
=no
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1426 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1428 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1430 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1432 # When building in place, set srcdir=.
1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
1436 # Remove unnecessary trailing slashes from srcdir.
1437 # Double slashes in file names in object file debugging info
1438 # mess up M-x gdb in Emacs.
1440 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1442 for ac_var
in $ac_precious_vars; do
1443 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1444 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1445 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1446 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1450 # Report the --help message.
1452 if test "$ac_init_help" = "long"; then
1453 # Omit some internal or obsolete options to make the list less imposing.
1454 # This message is too long to be a string in the A/UX 3.1 sh.
1456 \`configure' configures this package to adapt to many kinds of systems.
1458 Usage: $0 [OPTION]... [VAR=VALUE]...
1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1461 VAR=VALUE. See below for descriptions of some of the useful variables.
1463 Defaults for the options are specified in brackets.
1466 -h, --help display this help and exit
1467 --help=short display options specific to this package
1468 --help=recursive display the short help of all the included packages
1469 -V, --version display version information and exit
1470 -q, --quiet, --silent do not print \`checking...' messages
1471 --cache-file=FILE cache test results in FILE [disabled]
1472 -C, --config-cache alias for \`--cache-file=config.cache'
1473 -n, --no-create do not create output files
1474 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1476 Installation directories:
1477 --prefix=PREFIX install architecture-independent files in PREFIX
1478 [$ac_default_prefix]
1479 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1482 By default, \`make install' will install all the files in
1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1485 for instance \`--prefix=\$HOME'.
1487 For better control, use the options below.
1489 Fine tuning of the installation directories:
1490 --bindir=DIR user executables [EPREFIX/bin]
1491 --sbindir=DIR system admin executables [EPREFIX/sbin]
1492 --libexecdir=DIR program executables [EPREFIX/libexec]
1493 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1494 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1495 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1496 --libdir=DIR object code libraries [EPREFIX/lib]
1497 --includedir=DIR C header files [PREFIX/include]
1498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1501 --infodir=DIR info documentation [DATAROOTDIR/info]
1502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1503 --mandir=DIR man documentation [DATAROOTDIR/man]
1504 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1505 --htmldir=DIR html documentation [DOCDIR]
1506 --dvidir=DIR dvi documentation [DOCDIR]
1507 --pdfdir=DIR pdf documentation [DOCDIR]
1508 --psdir=DIR ps documentation [DOCDIR]
1514 --x-includes=DIR X include files are
in DIR
1515 --x-libraries=DIR X library files are
in DIR
1518 --build=BUILD configure
for building on BUILD
[guessed
]
1519 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1523 if test -n "$ac_init_help"; then
1528 --disable-option-checking ignore unrecognized
--enable/--with options
1529 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1530 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1531 --enable-build-type=TYPE
1532 Select the build
type. Available types are
:
1533 personal
, nightly
, snapshot
, milestone
, release. Do
1534 NOT use this option unless you know what you are
1535 doing
! (default
=personal
)
1536 --enable-debug=list Enable different types of debug. Commas or
1537 whitespaces can be used to separate the items
in the
1538 list. Available types of debug are
: all
, none
,
1539 messages
, stack
, mungwall
, modules
, symbols. If no
1540 list is provided
then "all" is assumed.
1542 --enable-distcc Use distcc as a front end to the compiler
1544 --enable-ccache Use ccache as a front end to the compiler
1546 --enable-target-variant=NAME
1547 Enable a specific target variant
(default
=none
)
1548 --enable-amigaos-compliance=VERSION
1549 Enforce userspace AmigaOS compliance to a specific
1550 KickStart version
(default
=none
).
1551 --disable-crosstools Do not build cross-compiler toolchain
1552 --enable-includes=dir Alternative system include directory
1553 --enable-palm-debug-hack
1554 Enable palm debug output hack
in palm native
1556 --enable-nesting-supervisor
1557 Enable nesting supervisor support
in unix
1559 --disable-mmu Disable MMU support
(default
=enabled
)
1560 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1561 --enable-x11-shm use X11 shared memory
(default
=auto
)
1562 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1563 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1564 --disable-sdltest Do not try to compile and run a
test SDL program
1565 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1568 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1569 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1570 --with-kernel-gcc-version=VERSION
1571 Use
host gcc-VERSION
for building AROS
1572 --with-gcc-version=VERSION
1573 Use
host gcc-VERSION
for building AROS
1574 --with-optimization=FLAGS
1575 Use optimization flags FLAGS
(default
=-O2).
1576 --with-paranoia=FLAGS CC flags to
enable paranoia
1577 --with-xcode=PATH Specify XCode path
for iOS targets
1578 (default
=/Developer
).
1579 --with-sdk-version=VERSION
1580 Use iOS SDK version VERSION
(default
=4.1).
1581 --with-sdk=PATH Specify Android SDK path
1582 (default
=$default_android_sdk).
1583 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1584 --with-sdk-version=LEVEL
1585 Use Android SDK
for API LEVEL
(default
=12).
1586 --with-ndk-version=LEVEL
1587 Use Android NDK
for API LEVEL
(default
=9).
1588 --with-kernel-toolchain-prefix=...
1589 Specify crosscompile toolchain prefix
for kernel
1591 --with-elf-toolchain-prefix=...
1592 Specify crosscompile toolchain prefix to wrap
for
1594 --with-aros-toolchain=PREFIX
1595 Specify prebuilt AROS toolchain
1596 --with-aros-toolchain-install=DIR
1597 Where to
install or search
for cross tools binaries
1598 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1599 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1600 --with-float=<spec
> Specify floating point ABI
1601 (default
=$gcc_default_float_abi).
1602 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1603 --with-portssources=DIR Where to download sourcecode
for external ports
1604 --with-bootloader=NAME Use a specific bootloader
1605 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1606 --with-theme=NAME Use a specific GUI Theme
1607 --with-resolution=XRESxYRESxDEPTH
1608 Default resolution of the initial WorkbenchScreen
1609 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1610 --with-x use the X Window System
1611 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1612 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1614 Some influential environment variables
:
1615 CXX C
++ compiler
command
1616 CXXFLAGS C
++ compiler flags
1617 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1618 nonstandard directory
<lib dir
>
1619 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1620 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1621 you have headers
in a nonstandard directory
<include dir
>
1622 CC C compiler
command
1623 CFLAGS C compiler flags
1625 PYTHON the Python interpreter
1626 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1628 Use these variables to override the choices made by
`configure' or to help
1629 it to find libraries and programs with nonstandard names/locations.
1631 Report bugs to the package provider.
1636 if test "$ac_init_help" = "recursive"; then
1637 # If there are subdirs, report their specific --help.
1638 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1639 test -d "$ac_dir" ||
1640 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1648 # A ".." for each directory in $ac_dir_suffix.
1649 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1650 case $ac_top_builddir_sub in
1651 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1655 ac_abs_top_builddir=$ac_pwd
1656 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1657 # for backward compatibility:
1658 ac_top_builddir=$ac_top_build_prefix
1661 .) # We are building in place.
1663 ac_top_srcdir=$ac_top_builddir_sub
1664 ac_abs_top_srcdir=$ac_pwd ;;
1665 [\\/]* | ?:[\\/]* ) # Absolute name.
1666 ac_srcdir=$srcdir$ac_dir_suffix;
1667 ac_top_srcdir=$srcdir
1668 ac_abs_top_srcdir=$srcdir ;;
1670 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1671 ac_top_srcdir=$ac_top_build_prefix$srcdir
1672 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1674 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1676 cd "$ac_dir" || { ac_status=$?; continue; }
1677 # Check for guested configure.
1678 if test -f "$ac_srcdir/configure.gnu"; then
1680 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1681 elif test -f "$ac_srcdir/configure"; then
1683 $SHELL "$ac_srcdir/configure" --help=recursive
1685 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1687 cd "$ac_pwd" || { ac_status=$?; break; }
1691 test -n "$ac_init_help" && exit $ac_status
1692 if $ac_init_version; then
1695 generated by GNU Autoconf 2.65
1697 Copyright (C) 2009 Free Software Foundation, Inc.
1698 This configure script is free software; the Free Software Foundation
1699 gives unlimited permission to copy, distribute and modify it.
1704 ## ------------------------ ##
1705 ## Autoconf initialization. ##
1706 ## ------------------------ ##
1708 # ac_fn_cxx_try_compile LINENO
1709 # ----------------------------
1710 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1711 ac_fn_cxx_try_compile ()
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 rm -f conftest.$ac_objext
1715 if { { ac_try="$ac_compile"
1717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1718 *) ac_try_echo
=$ac_try;;
1720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_compile") 2>conftest.err
1724 if test -s conftest.err
; then
1725 grep -v '^ *+' conftest.err
>conftest.er1
1726 cat conftest.er1
>&5
1727 mv -f conftest.er1 conftest.err
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && {
1731 test -z "$ac_cxx_werror_flag" ||
1732 test ! -s conftest.err
1733 } && test -s conftest.
$ac_objext; then :
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.
$ac_ext >&5
1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1742 as_fn_set_status
$ac_retval
1744 } # ac_fn_cxx_try_compile
1746 # ac_fn_c_try_compile LINENO
1747 # --------------------------
1748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1749 ac_fn_c_try_compile
()
1751 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1752 rm -f conftest.
$ac_objext
1753 if { { ac_try
="$ac_compile"
1755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1756 *) ac_try_echo=$ac_try;;
1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760 (eval "$ac_compile") 2>conftest.err
1762 if test -s conftest.err; then
1763 grep -v '^ *+' conftest.err >conftest.er1
1764 cat conftest.er1 >&5
1765 mv -f conftest.er1 conftest.err
1767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768 test $ac_status = 0; } && {
1769 test -z "$ac_c_werror_flag" ||
1770 test ! -s conftest.err
1771 } && test -s conftest.$ac_objext; then :
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1779 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1780 as_fn_set_status $ac_retval
1782 } # ac_fn_c_try_compile
1784 # ac_fn_c_try_cpp LINENO
1785 # ----------------------
1786 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 if { { ac_try="$ac_cpp conftest.$ac_ext"
1792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1793 *) ac_try_echo
=$ac_try;;
1795 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799 if test -s conftest.err
; then
1800 grep -v '^ *+' conftest.err
>conftest.er1
1801 cat conftest.er1
>&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } >/dev
/null
&& {
1806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.
$ac_ext >&5
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1817 as_fn_set_status
$ac_retval
1821 # ac_fn_c_try_link LINENO
1822 # -----------------------
1823 # Try to link conftest.$ac_ext, and return whether this succeeded.
1826 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1827 rm -f conftest.
$ac_objext conftest
$ac_exeext
1828 if { { ac_try
="$ac_link"
1830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_link") 2>conftest.err
1837 if test -s conftest.err; then
1838 grep -v '^ *+' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && {
1844 test -z "$ac_c_werror_flag" ||
1845 test ! -s conftest.err
1846 } && test -s conftest$ac_exeext && {
1847 test "$cross_compiling" = yes ||
1848 $as_test_x conftest$ac_exeext
1852 $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.$ac_ext >&5
1857 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1858 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1859 # interfere with the next link command; also delete a directory that is
1860 # left behind by Apple's compiler. We do this before executing the actions.
1861 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1862 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863 as_fn_set_status $ac_retval
1865 } # ac_fn_c_try_link
1867 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1868 # -------------------------------------------------------
1869 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1870 # the include files in INCLUDES and setting the cache variable VAR
1872 ac_fn_c_check_header_mongrel ()
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877 $as_echo_n "checking for $2... " >&6; }
1878 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1879 $as_echo_n "(cached) " >&6
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1885 # Is the header compilable?
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1887 $as_echo_n "checking $2 usability... " >&6; }
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1893 if ac_fn_c_try_compile "$LINENO"; then :
1894 ac_header_compiler=yes
1896 ac_header_compiler=no
1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1900 $as_echo "$ac_header_compiler" >&6; }
1902 # Is the header present?
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1904 $as_echo_n "checking $2 presence... " >&6; }
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1909 if ac_fn_c_try_cpp "$LINENO"; then :
1910 ac_header_preproc=yes
1912 ac_header_preproc=no
1914 rm -f conftest.err conftest.$ac_ext
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1916 $as_echo "$ac_header_preproc" >&6; }
1918 # So? What about this header?
1919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1922 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1924 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1928 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1930 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1932 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1934 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940 $as_echo_n "checking for $2... " >&6; }
1941 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1942 $as_echo_n "(cached) " >&6
1944 eval "$3=\$ac_header_compiler"
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1952 } # ac_fn_c_check_header_mongrel
1954 # ac_fn_c_try_run LINENO
1955 # ----------------------
1956 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1957 # that executables *can* be run.
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 if { { ac_try="$ac_link"
1963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1964 *) ac_try_echo
=$ac_try;;
1966 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1967 $as_echo "$ac_try_echo"; } >&5
1968 (eval "$ac_link") 2>&5
1970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1972 { { case "(($ac_try" in
1973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1974 *) ac_try_echo=$ac_try;;
1976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1977 $as_echo "$ac_try_echo"; } >&5
1978 (eval "$ac_try") 2>&5
1980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1981 test $ac_status = 0; }; }; then :
1984 $as_echo "$as_me: program exited with status $ac_status" >&5
1985 $as_echo "$as_me: failed program was:" >&5
1986 sed 's/^/| /' conftest.$ac_ext >&5
1988 ac_retval=$ac_status
1990 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1992 as_fn_set_status $ac_retval
1996 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1997 # -------------------------------------------------------
1998 # Tests whether HEADER exists and can be compiled using the include files in
1999 # INCLUDES, setting the cache variable VAR accordingly.
2000 ac_fn_c_check_header_compile ()
2002 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2004 $as_echo_n "checking for $2... " >&6; }
2005 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2006 $as_echo_n "(cached) " >&6
2008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2013 if ac_fn_c_try_compile "$LINENO"; then :
2018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2025 } # ac_fn_c_check_header_compile
2027 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2028 # ----------------------------------------------------
2029 # Tries to find if the field MEMBER exists in type AGGR, after including
2030 # INCLUDES, setting cache variable VAR accordingly.
2031 ac_fn_c_check_member ()
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2035 $as_echo_n "checking for $2.$3... " >&6; }
2036 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2037 $as_echo_n "(cached) " >&6
2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2052 if ac_fn_c_try_compile "$LINENO"; then :
2055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2056 /* end confdefs.h. */
2062 if (sizeof ac_aggr.$3)
2068 if ac_fn_c_try_compile "$LINENO"; then :
2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079 $as_echo "$ac_res" >&6; }
2080 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2082 } # ac_fn_c_check_member
2084 # ac_fn_c_check_decl LINENO SYMBOL VAR
2085 # ------------------------------------
2086 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2087 ac_fn_c_check_decl ()
2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2091 $as_echo_n "checking whether $2 is declared... " >&6; }
2092 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2093 $as_echo_n "(cached) " >&6
2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h. */
2109 if ac_fn_c_try_compile "$LINENO"; then :
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2121 } # ac_fn_c_check_decl
2123 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2124 # -------------------------------------------
2125 # Tests whether TYPE exists after having included INCLUDES, setting cache
2126 # variable VAR accordingly.
2127 ac_fn_c_check_type ()
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131 $as_echo_n "checking for $2... " >&6; }
2132 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2133 $as_echo_n "(cached) " >&6
2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2148 if ac_fn_c_try_compile "$LINENO"; then :
2149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150 /* end confdefs.h. */
2161 if ac_fn_c_try_compile "$LINENO"; then :
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2172 $as_echo "$ac_res" >&6; }
2173 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2175 } # ac_fn_c_check_type
2177 # ac_fn_c_check_func LINENO FUNC VAR
2178 # ----------------------------------
2179 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2180 ac_fn_c_check_func ()
2182 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2184 $as_echo_n "checking for $2... " >&6; }
2185 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2186 $as_echo_n "(cached) " >&6
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2190 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2192 #define $2 innocuous_$2
2194 /* System header to define __stub macros and hopefully few prototypes,
2195 which can conflict with char $2 (); below.
2196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2197 <limits.h> exists even on freestanding compilers. */
2200 # include <limits.h>
2202 # include <assert.h>
2207 /* Override any GCC internal prototype to avoid an error.
2208 Use char because int might match the return type of a GCC
2209 builtin and then its argument prototype would still apply. */
2214 /* The GNU C library defines this for functions which it implements
2215 to always fail with ENOSYS. Some functions are actually named
2216 something starting with __ and the normal name is an alias. */
2217 #if defined __stub_$2 || defined __stub___$2
2229 if ac_fn_c_try_link "$LINENO"; then :
2234 rm -f core conftest.err conftest.$ac_objext \
2235 conftest$ac_exeext conftest.$ac_ext
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239 $as_echo "$ac_res" >&6; }
2240 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2242 } # ac_fn_c_check_func
2243 cat >config.log <<_ACEOF
2244 This file contains any messages produced by compilers while
2245 running configure, to aid debugging if configure makes a mistake.
2247 It was created by $as_me, which was
2248 generated by GNU Autoconf 2.65. Invocation command line was
2260 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2261 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2262 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2263 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2264 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2266 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2267 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2269 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2270 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2271 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2272 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2273 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2274 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2275 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir=.
2284 $as_echo "PATH: $as_dir"
2300 # Keep a trace of the command line.
2301 # Strip out --no-create and --no-recursion so they do not pile up.
2302 # Strip out --silent because we don't want to record it for future runs.
2303 # Also quote any args containing shell meta-characters.
2304 # Make two passes to allow for proper duplicate-argument suppression.
2308 ac_must_keep_next=false
2314 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2315 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2316 | -silent | --silent | --silen | --sile | --sil)
2319 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2322 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2324 as_fn_append ac_configure_args1 " '$ac_arg'"
2325 if test $ac_must_keep_next = true; then
2326 ac_must_keep_next=false # Got value, back to normal.
2329 *=* | --config-cache | -C | -disable-* | --disable-* \
2330 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2331 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2332 | -with-* | --with-* | -without-* | --without-* | --x)
2333 case "$ac_configure_args0 " in
2334 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2337 -* ) ac_must_keep_next=true ;;
2340 as_fn_append ac_configure_args " '$ac_arg'"
2345 { ac_configure_args0=; unset ac_configure_args0;}
2346 { ac_configure_args1=; unset ac_configure_args1;}
2348 # When interrupted or exit'd, cleanup temporary files, and complete
2349 # config.log. We remove comments because anyway the quotes in there
2350 # would cause problems or look ugly.
2351 # WARNING: Use '\'' to represent an apostrophe within the trap.
2352 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2353 trap 'exit_status=$?
2354 # Save into config.log some information that might help in debugging.
2359 ## ---------------- ##
2360 ## Cache variables. ##
2361 ## ---------------- ##
2364 # The following way of writing the cache mishandles newlines in values,
2366 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2367 eval ac_val=\$$ac_var
2371 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2375 _ | IFS | as_nl) ;; #(
2376 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2377 *) { eval $ac_var=; unset $ac_var;} ;;
2382 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2383 *${as_nl}ac_space=\ *)
2385 "s/'\''/'\''\\\\'\'''\''/g;
2386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2389 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2397 ## ----------------- ##
2398 ## Output variables. ##
2399 ## ----------------- ##
2402 for ac_var in $ac_subst_vars
2404 eval ac_val=\$$ac_var
2406 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2408 $as_echo "$ac_var='\''$ac_val'\''"
2412 if test -n "$ac_subst_files"; then
2414 ## ------------------- ##
2415 ## File substitutions. ##
2416 ## ------------------- ##
2419 for ac_var in $ac_subst_files
2421 eval ac_val=\$$ac_var
2423 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2425 $as_echo "$ac_var='\''$ac_val'\''"
2430 if test -s confdefs.h; then
2440 test "$ac_signal" != 0 &&
2441 $as_echo "$as_me: caught signal $ac_signal"
2442 $as_echo "$as_me: exit $exit_status"
2444 rm -f core *.core core.conftest.* &&
2445 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2448 for ac_signal in 1 2 13 15; do
2449 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2453 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2454 rm -f -r conftest* confdefs.h
2456 $as_echo "/* confdefs.h */" > confdefs.h
2458 # Predefined preprocessor variables.
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_NAME "$PACKAGE_NAME"
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_STRING "$PACKAGE_STRING"
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_URL "$PACKAGE_URL"
2485 # Let the site file select an alternate cache file if it wants to.
2486 # Prefer an explicitly selected file to automatically selected ones.
2489 if test -n "$CONFIG_SITE"; then
2490 ac_site_file1=$CONFIG_SITE
2491 elif test "x$prefix" != xNONE; then
2492 ac_site_file1=$prefix/share/config.site
2493 ac_site_file2=$prefix/etc/config.site
2495 ac_site_file1=$ac_default_prefix/share/config.site
2496 ac_site_file2=$ac_default_prefix/etc/config.site
2498 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2500 test "x$ac_site_file" = xNONE && continue
2501 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2503 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2504 sed 's/^/| /' "$ac_site_file" >&5
2509 if test -r "$cache_file"; then
2510 # Some versions of bash will fail to source /dev/null (special files
2511 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2512 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2514 $as_echo "$as_me: loading cache $cache_file" >&6;}
2516 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2517 *) . "./$cache_file";;
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2522 $as_echo "$as_me: creating cache $cache_file" >&6;}
2526 as_fn_append ac_header_list " stdlib.h"
2527 as_fn_append ac_header_list " unistd.h"
2528 as_fn_append ac_header_list " sys/param.h"
2529 # Check that the precious variables saved in the cache have kept the same
2531 ac_cache_corrupted=false
2532 for ac_var in $ac_precious_vars; do
2533 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2534 eval ac_new_set=\$ac_env_${ac_var}_set
2535 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2536 eval ac_new_val=\$ac_env_${ac_var}_value
2537 case $ac_old_set,$ac_new_set in
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2540 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2541 ac_cache_corrupted=: ;;
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2544 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2545 ac_cache_corrupted=: ;;
2548 if test "x$ac_old_val" != "x$ac_new_val"; then
2549 # differences in whitespace do not lead to failure.
2550 ac_old_val_w=`echo x
$ac_old_val`
2551 ac_new_val_w=`echo x
$ac_new_val`
2552 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2554 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2555 ac_cache_corrupted=:
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2558 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2559 eval $ac_var=\$ac_old_val
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2562 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2564 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2567 # Pass precious variables to config.status.
2568 if test "$ac_new_set" = set; then
2570 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2571 *) ac_arg=$ac_var=$ac_new_val ;;
2573 case " $ac_configure_args " in
2574 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2575 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2579 if $ac_cache_corrupted; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2583 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2584 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2586 ## -------------------- ##
2587 ## Main body of script. ##
2588 ## -------------------- ##
2591 ac_cpp='$CPP $CPPFLAGS'
2592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2599 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2600 for ac_t in install-sh install.sh shtool; do
2601 if test -f "$ac_dir/$ac_t"; then
2603 ac_install_sh="$ac_aux_dir/$ac_t -c"
2608 if test -z "$ac_aux_dir"; then
2609 as_fn_error "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2612 # These three variables are undocumented and unsupported,
2613 # and are intended to be withdrawn in a future Autoconf release.
2614 # They can cause serious problems if a builder's source tree is in a directory
2615 # whose full name contains unusual characters.
2616 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2617 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2618 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2622 # Check what host we are running on.
2623 # If a target is not suggested, we use this one.
2624 # Note that what we call a target, Autoconf calls a host.
2625 # Make sure we can run config.sub.
2626 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2627 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2630 $as_echo_n "checking build system type... " >&6; }
2631 if test "${ac_cv_build+set}" = set; then :
2632 $as_echo_n "(cached) " >&6
2634 ac_build_alias=$build_alias
2635 test "x$ac_build_alias" = x &&
2636 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2637 test "x$ac_build_alias" = x &&
2638 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2639 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2640 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2644 $as_echo "$ac_cv_build" >&6; }
2645 case $ac_cv_build in
2647 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2650 ac_save_IFS=$IFS; IFS='-'
2656 # Remember, the first character of IFS is used to create $*,
2657 # except with old shells:
2660 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2664 $as_echo_n "checking host system type... " >&6; }
2665 if test "${ac_cv_host+set}" = set; then :
2666 $as_echo_n "(cached) " >&6
2668 if test "x$host_alias" = x; then
2669 ac_cv_host=$ac_cv_build
2671 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2672 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2677 $as_echo "$ac_cv_host" >&6; }
2680 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2683 ac_save_IFS=$IFS; IFS='-'
2689 # Remember, the first character of IFS is used to create $*,
2690 # except with old shells:
2693 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2697 # The AROS target is slightly different to the normal GNU style
2698 # format. We don't have the middle part, and we reverse the order
2699 # of the $(CPU) and $(OS) bits.
2701 # Don't strip the version of the target yet, it might be
2702 # useful on some systems.
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2705 $as_echo_n "checking for AROS style target... " >&6; }
2707 if test "$target" = "NONE" ; then
2708 target=$host_os-$host_cpu
2710 if test "$target" = "" ; then
2711 target=$host_os-$host_cpu
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2715 $as_echo "$target" >&6; }
2717 if test "$host_os" = "mingw32" ; then
2721 # Don't know where else to put this...
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2723 $as_echo_n "checking building AROS in... " >&6; }
2724 AROS_BUILDDIR=`${PWDCMD-pwd}`
2725 AROS_BUILDDIR_UNIX=${PWD}
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2727 $as_echo "$AROS_BUILDDIR" >&6; }
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2730 $as_echo_n "checking AROS source in... " >&6; }
2731 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2734 $as_echo "$SRCDIR" >&6; }
2736 # Parse the target field into something useful.
2738 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2739 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2742 # Some debug output, to be removed again.
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2744 $as_echo_n "checking for target system (debug output)... " >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2746 $as_echo "$target_os" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2748 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2750 $as_echo "$target_cpu" >&6; }
2752 aros_default_wbwidth=800
2753 aros_default_wbheight=600
2754 aros_default_wbdepth=4
2757 # The first step is to find the host binaries.
2758 # Check for a compiler.
2759 # Due to a bug in autoconf check for c++ compiler first.
2760 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2762 ac_cpp='$CXXCPP $CPPFLAGS'
2763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2766 if test -z "$CXX"; then
2767 if test -n "$CCC"; then
2770 if test -n "$ac_tool_prefix"; then
2771 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2773 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2774 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if test "${ac_cv_prog_CXX+set}" = set; then :
2778 $as_echo_n "(cached) " >&6
2780 if test -n "$CXX"; then
2781 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir=.
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 if test -n "$CXX"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2803 $as_echo "$CXX" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2810 test -n "$CXX" && break
2813 if test -z "$CXX"; then
2815 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2817 # Extract the first word of "$ac_prog", so it can be a program name with args.
2818 set dummy $ac_prog; ac_word=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$ac_ct_CXX"; then
2825 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir=.
2832 for ac_exec_ext in '' $ac_executable_extensions; do
2833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2834 ac_cv_prog_ac_ct_CXX="$ac_prog"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2845 if test -n "$ac_ct_CXX"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2847 $as_echo "$ac_ct_CXX" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2854 test -n "$ac_ct_CXX" && break
2857 if test "x$ac_ct_CXX" = x; then
2860 case $cross_compiling:$ac_tool_warned in
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2864 ac_tool_warned=yes ;;
2872 # Provide some information about the compiler.
2873 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2876 for ac_option in --version -v -V -qversion; do
2877 { { ac_try="$ac_compiler $ac_option >&5"
2879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2880 *) ac_try_echo
=$ac_try;;
2882 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2883 $as_echo "$ac_try_echo"; } >&5
2884 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2886 if test -s conftest.err
; then
2888 ... rest of stderr output deleted ...
2889 10q' conftest.err
>conftest.er1
2890 cat conftest.er1
>&5
2892 rm -f conftest.er1 conftest.err
2893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894 test $ac_status = 0; }
2897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2908 ac_clean_files_save
=$ac_clean_files
2909 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2910 # Try to create an executable without -o first, disregard a.out.
2911 # It will help us diagnose broken compilers, and finding out an intuition
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2914 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2915 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2917 # The possible output files:
2918 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2921 for ac_file
in $ac_files
2924 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2925 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2930 if { { ac_try
="$ac_link_default"
2932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936 $as_echo "$ac_try_echo"; } >&5
2937 (eval "$ac_link_default") 2>&5
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; }; then :
2941 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2942 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2943 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2944 # so that the user can short-circuit this test for compilers unknown to
2946 for ac_file in $ac_files ''
2948 test -f "$ac_file" || continue
2950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2953 # We found the default executable, but exeext='' is most
2957 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2959 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2961 # We set ac_cv_exeext here because the later test for it is not
2962 # safe: cross compilers may not add the suffix if given an `-o'
2963 # argument, so we may need to know it at that point already.
2964 # Even if this section looks crufty: it has the advantage of
2971 test "$ac_cv_exeext" = no && ac_cv_exeext=
2976 if test -z "$ac_file"; then :
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2979 $as_echo "$as_me: failed program was:" >&5
2980 sed 's
/^
/|
/' conftest.$ac_ext >&5
2982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2983 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2984 { as_fn_set_status 77
2985 as_fn_error "C++ compiler cannot create executables
2986 See \`config.log
' for more details." "$LINENO" 5; }; }
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2989 $as_echo "yes" >&6; }
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2992 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2994 $as_echo "$ac_file" >&6; }
2995 ac_exeext=$ac_cv_exeext
2997 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2998 ac_clean_files=$ac_clean_files_save
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3000 $as_echo_n "checking for suffix of executables... " >&6; }
3001 if { { ac_try="$ac_link"
3003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004 *) ac_try_echo=$ac_try;;
3006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3007 $as_echo "$ac_try_echo"; } >&5
3008 (eval "$ac_link") 2>&5
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3011 test $ac_status = 0; }; then :
3012 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3013 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3014 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3016 for ac_file
in conftest.exe conftest conftest.
*; do
3017 test -f "$ac_file" ||
continue
3019 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3020 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3029 See \`config.log' for more details." "$LINENO" 5; }
3031 rm -f conftest conftest
$ac_cv_exeext
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3033 $as_echo "$ac_cv_exeext" >&6; }
3035 rm -f conftest.
$ac_ext
3036 EXEEXT
=$ac_cv_exeext
3038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3044 FILE *f = fopen ("conftest.out", "w");
3045 return ferror (f) || fclose (f) != 0;
3051 ac_clean_files
="$ac_clean_files conftest.out"
3052 # Check that the compiler produces executables we can run. If not, either
3053 # the compiler is broken, or we cross compile.
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3055 $as_echo_n "checking whether we are cross compiling... " >&6; }
3056 if test "$cross_compiling" != yes; then
3057 { { ac_try
="$ac_link"
3059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3060 *) ac_try_echo=$ac_try;;
3062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3063 $as_echo "$ac_try_echo"; } >&5
3064 (eval "$ac_link") 2>&5
3066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3067 test $ac_status = 0; }
3068 if { ac_try='./conftest$ac_cv_exeext'
3069 { { case "(($ac_try" in
3070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3071 *) ac_try_echo
=$ac_try;;
3073 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074 $as_echo "$ac_try_echo"; } >&5
3075 (eval "$ac_try") 2>&5
3077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078 test $ac_status = 0; }; }; then
3081 if test "$cross_compiling" = maybe
; then
3084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086 as_fn_error
"cannot run C++ compiled programs.
3087 If you meant to cross compile, use \`--host'.
3088 See \`config.log' for more details." "$LINENO" 5; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3093 $as_echo "$cross_compiling" >&6; }
3095 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3096 ac_clean_files
=$ac_clean_files_save
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3098 $as_echo_n "checking for suffix of object files... " >&6; }
3099 if test "${ac_cv_objext+set}" = set; then :
3100 $as_echo_n "(cached) " >&6
3102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3113 rm -f conftest.o conftest.obj
3114 if { { ac_try
="$ac_compile"
3116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_compile") 2>&5
3123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3124 test $ac_status = 0; }; then :
3125 for ac_file in conftest.o conftest.obj conftest.*; do
3126 test -f "$ac_file" || continue;
3128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3129 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3134 $as_echo "$as_me: failed program was:" >&5
3135 sed 's/^/| /' conftest.$ac_ext >&5
3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error "cannot compute suffix of object files
: cannot compile
3140 See \
`config.log' for more details." "$LINENO" 5; }
3142 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3145 $as_echo "$ac_cv_objext" >&6; }
3146 OBJEXT=$ac_cv_objext
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3149 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3150 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3151 $as_echo_n "(cached) " >&6
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3167 if ac_fn_cxx_try_compile "$LINENO"; then :
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3177 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3178 if test $ac_compiler_gnu = yes; then
3183 ac_test_CXXFLAGS=${CXXFLAGS+set}
3184 ac_save_CXXFLAGS=$CXXFLAGS
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3186 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3187 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3188 $as_echo_n "(cached) " >&6
3190 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3191 ac_cxx_werror_flag=yes
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3205 if ac_fn_cxx_try_compile "$LINENO"; then :
3206 ac_cv_prog_cxx_g=yes
3209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3210 /* end confdefs.h. */
3220 if ac_fn_cxx_try_compile "$LINENO"; then :
3223 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3236 if ac_fn_cxx_try_compile "$LINENO"; then :
3237 ac_cv_prog_cxx_g=yes
3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3247 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3248 if test "$ac_test_CXXFLAGS" = set; then
3249 CXXFLAGS=$ac_save_CXXFLAGS
3250 elif test $ac_cv_prog_cxx_g = yes; then
3251 if test "$GXX" = yes; then
3257 if test "$GXX" = yes; then
3264 ac_cpp='$CPP $CPPFLAGS'
3265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3270 ac_cpp='$CPP $CPPFLAGS'
3271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3274 if test -n "$ac_tool_prefix"; then
3275 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3276 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278 $as_echo_n "checking for $ac_word... " >&6; }
3279 if test "${ac_cv_prog_CC+set}" = set; then :
3280 $as_echo_n "(cached) " >&6
3282 if test -n "$CC"; then
3283 ac_cv_prog_CC="$CC" # Let the user override the test.
3285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir=.
3290 for ac_exec_ext in '' $ac_executable_extensions; do
3291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3292 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 if test -n "$CC"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3305 $as_echo "$CC" >&6; }
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3313 if test -z "$ac_cv_prog_CC"; then
3315 # Extract the first word of "gcc", so it can be a program name with args.
3316 set dummy gcc; ac_word=$2
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3318 $as_echo_n "checking for $ac_word... " >&6; }
3319 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3320 $as_echo_n "(cached) " >&6
3322 if test -n "$ac_ct_CC"; then
3323 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 test -z "$as_dir" && as_dir=.
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3332 ac_cv_prog_ac_ct_CC="gcc"
3333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3343 if test -n "$ac_ct_CC"; then
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3345 $as_echo "$ac_ct_CC" >&6; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348 $as_echo "no" >&6; }
3351 if test "x$ac_ct_CC" = x; then
3354 case $cross_compiling:$ac_tool_warned in
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3358 ac_tool_warned=yes ;;
3366 if test -z "$CC"; then
3367 if test -n "$ac_tool_prefix"; then
3368 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3369 set dummy ${ac_tool_prefix}cc; ac_word=$2
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3371 $as_echo_n "checking for $ac_word... " >&6; }
3372 if test "${ac_cv_prog_CC+set}" = set; then :
3373 $as_echo_n "(cached) " >&6
3375 if test -n "$CC"; then
3376 ac_cv_prog_CC="$CC" # Let the user override the test.
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382 test -z "$as_dir" && as_dir=.
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3385 ac_cv_prog_CC="${ac_tool_prefix}cc"
3386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396 if test -n "$CC"; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3398 $as_echo "$CC" >&6; }
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3401 $as_echo "no" >&6; }
3407 if test -z "$CC"; then
3408 # Extract the first word of "cc", so it can be a program name with args.
3409 set dummy cc; ac_word=$2
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3411 $as_echo_n "checking for $ac_word... " >&6; }
3412 if test "${ac_cv_prog_CC+set}" = set; then :
3413 $as_echo_n "(cached) " >&6
3415 if test -n "$CC"; then
3416 ac_cv_prog_CC="$CC" # Let the user override the test.
3419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3423 test -z "$as_dir" && as_dir=.
3424 for ac_exec_ext in '' $ac_executable_extensions; do
3425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3426 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3427 ac_prog_rejected=yes
3431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 if test $ac_prog_rejected = yes; then
3439 # We found a bogon in the path, so make sure we never use it.
3440 set dummy $ac_cv_prog_CC
3442 if test $# != 0; then
3443 # We chose a different compiler from the bogus one.
3444 # However, it has the same basename, so the bogon will be chosen
3445 # first if we set CC to just the basename; use the full file name.
3447 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3453 if test -n "$CC"; then
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3455 $as_echo "$CC" >&6; }
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458 $as_echo "no" >&6; }
3463 if test -z "$CC"; then
3464 if test -n "$ac_tool_prefix"; then
3465 for ac_prog in cl.exe
3467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3468 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3470 $as_echo_n "checking for $ac_word... " >&6; }
3471 if test "${ac_cv_prog_CC+set}" = set; then :
3472 $as_echo_n "(cached) " >&6
3474 if test -n "$CC"; then
3475 ac_cv_prog_CC="$CC" # Let the user override the test.
3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 test -z "$as_dir" && as_dir=.
3482 for ac_exec_ext in '' $ac_executable_extensions; do
3483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3484 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495 if test -n "$CC"; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3497 $as_echo "$CC" >&6; }
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3504 test -n "$CC" && break
3507 if test -z "$CC"; then
3509 for ac_prog in cl.exe
3511 # Extract the first word of "$ac_prog", so it can be a program name with args.
3512 set dummy $ac_prog; ac_word=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3516 $as_echo_n "(cached) " >&6
3518 if test -n "$ac_ct_CC"; then
3519 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 test -z "$as_dir" && as_dir=.
3526 for ac_exec_ext in '' $ac_executable_extensions; do
3527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3528 ac_cv_prog_ac_ct_CC="$ac_prog"
3529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3539 if test -n "$ac_ct_CC"; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3541 $as_echo "$ac_ct_CC" >&6; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3548 test -n "$ac_ct_CC" && break
3551 if test "x$ac_ct_CC" = x; then
3554 case $cross_compiling:$ac_tool_warned in
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3558 ac_tool_warned=yes ;;
3567 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569 as_fn_error "no acceptable C compiler found
in \
$PATH
3570 See \
`config.log' for more details." "$LINENO" 5; }
3572 # Provide some information about the compiler.
3573 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3576 for ac_option in --version -v -V -qversion; do
3577 { { ac_try="$ac_compiler $ac_option >&5"
3579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3580 *) ac_try_echo
=$ac_try;;
3582 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583 $as_echo "$ac_try_echo"; } >&5
3584 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3586 if test -s conftest.err
; then
3588 ... rest of stderr output deleted ...
3589 10q' conftest.err
>conftest.er1
3590 cat conftest.er1
>&5
3592 rm -f conftest.er1 conftest.err
3593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3594 test $ac_status = 0; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3598 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3599 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3600 $as_echo_n "(cached) " >&6
3602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3616 if ac_fn_c_try_compile
"$LINENO"; then :
3621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3622 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3626 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3627 if test $ac_compiler_gnu = yes; then
3632 ac_test_CFLAGS
=${CFLAGS+set}
3633 ac_save_CFLAGS
=$CFLAGS
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3635 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3636 if test "${ac_cv_prog_cc_g+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3639 ac_save_c_werror_flag
=$ac_c_werror_flag
3640 ac_c_werror_flag
=yes
3643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3654 if ac_fn_c_try_compile
"$LINENO"; then :
3658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3669 if ac_fn_c_try_compile
"$LINENO"; then :
3672 ac_c_werror_flag
=$ac_save_c_werror_flag
3674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3685 if ac_fn_c_try_compile
"$LINENO"; then :
3688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3693 ac_c_werror_flag
=$ac_save_c_werror_flag
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3696 $as_echo "$ac_cv_prog_cc_g" >&6; }
3697 if test "$ac_test_CFLAGS" = set; then
3698 CFLAGS
=$ac_save_CFLAGS
3699 elif test $ac_cv_prog_cc_g = yes; then
3700 if test "$GCC" = yes; then
3706 if test "$GCC" = yes; then
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3713 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3714 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3715 $as_echo_n "(cached) " >&6
3717 ac_cv_prog_cc_c89
=no
3719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3720 /* end confdefs.h. */
3723 #include <sys/types.h>
3724 #include <sys/stat.h>
3725 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3726 struct buf { int x; };
3727 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3728 static char *e (p, i)
3734 static char *f (char * (*g) (char **, int), char **p, ...)
3739 s = g (p, va_arg (v,int));
3744 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3745 function prototypes and stuff, but not '\xHH' hex character constants.
3746 These don't provoke an error unfortunately, instead are silently treated
3747 as 'x'. The following induces an error, until -std is added to get
3748 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3749 array size at least. It's necessary to write '\x00'==0 to get something
3750 that's true only with -std. */
3751 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3753 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3754 inside strings and character constants. */
3756 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3758 int test (int i, double x);
3759 struct s1 {int (*f) (int a);};
3760 struct s2 {int (*f) (double a);};
3761 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3767 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3772 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3773 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3775 CC
="$ac_save_CC $ac_arg"
3776 if ac_fn_c_try_compile
"$LINENO"; then :
3777 ac_cv_prog_cc_c89
=$ac_arg
3779 rm -f core conftest.err conftest.
$ac_objext
3780 test "x$ac_cv_prog_cc_c89" != "xno" && break
3782 rm -f conftest.
$ac_ext
3787 case "x$ac_cv_prog_cc_c89" in
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3790 $as_echo "none needed" >&6; } ;;
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3793 $as_echo "unsupported" >&6; } ;;
3795 CC
="$CC $ac_cv_prog_cc_c89"
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3797 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3799 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3804 ac_cpp
='$CPP $CPPFLAGS'
3805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3809 case $ac_cv_prog_cc_stdc in #(
3811 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3814 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3815 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3816 $as_echo_n "(cached) " >&6
3818 ac_cv_prog_cc_c99
=no
3820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3823 #include <stdbool.h>
3828 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3829 #define debug(...) fprintf (stderr, __VA_ARGS__)
3830 #define showlist(...) puts (#__VA_ARGS__)
3831 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3833 test_varargs_macros (void)
3838 debug ("X = %d\n", x);
3839 showlist (The first, second, and third items.);
3840 report (x>y, "x is %d but y is %d", x, y);
3843 // Check long long types.
3844 #define BIG64 18446744073709551615ull
3845 #define BIG32 4294967295ul
3846 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3848 your preprocessor is broken;
3852 your preprocessor is broken;
3854 static long long int bignum = -9223372036854775807LL;
3855 static unsigned long long int ubignum = BIG64;
3857 struct incomplete_array
3865 const wchar_t *name;
3869 typedef const char *ccp;
3872 test_restrict (ccp restrict text)
3874 // See if C++-style comments work.
3875 // Iterate through items via the restricted pointer.
3876 // Also check for declarations in for loops.
3877 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3882 // Check varargs and va_copy.
3884 test_varargs (const char *format, ...)
3887 va_start (args, format);
3889 va_copy (args_copy, args);
3900 str = va_arg (args_copy, const char *);
3903 number = va_arg (args_copy, int);
3906 fnumber = va_arg (args_copy, double);
3921 _Bool success = false;
3924 if (test_restrict ("String literal") == 0)
3926 char *restrict newvar = "Another string";
3929 test_varargs ("s, d' f .", "string", 65, 34.234);
3930 test_varargs_macros ();
3932 // Check flexible array members.
3933 struct incomplete_array *ia =
3934 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3936 for (int i = 0; i < ia->datasize; ++i)
3937 ia->data[i] = i * 1.234;
3939 // Check named initializers.
3940 struct named_init ni = {
3942 .name = L"Test wide string",
3943 .average = 543.34343,
3948 int dynamic_array[ni.number];
3949 dynamic_array[ni.number - 1] = 543;
3951 // work around unused variable warnings
3952 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3953 || dynamic_array[ni.number - 1] != 543);
3959 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
3961 CC
="$ac_save_CC $ac_arg"
3962 if ac_fn_c_try_compile
"$LINENO"; then :
3963 ac_cv_prog_cc_c99
=$ac_arg
3965 rm -f core conftest.err conftest.
$ac_objext
3966 test "x$ac_cv_prog_cc_c99" != "xno" && break
3968 rm -f conftest.
$ac_ext
3973 case "x$ac_cv_prog_cc_c99" in
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3976 $as_echo "none needed" >&6; } ;;
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3979 $as_echo "unsupported" >&6; } ;;
3981 CC
="$CC $ac_cv_prog_cc_c99"
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3983 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3985 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3986 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3989 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3990 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3991 $as_echo_n "(cached) " >&6
3993 ac_cv_prog_cc_c89
=no
3995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3999 #include <sys/types.h>
4000 #include <sys/stat.h>
4001 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4002 struct buf { int x; };
4003 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4004 static char *e (p, i)
4010 static char *f (char * (*g) (char **, int), char **p, ...)
4015 s = g (p, va_arg (v,int));
4020 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4021 function prototypes and stuff, but not '\xHH' hex character constants.
4022 These don't provoke an error unfortunately, instead are silently treated
4023 as 'x'. The following induces an error, until -std is added to get
4024 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4025 array size at least. It's necessary to write '\x00'==0 to get something
4026 that's true only with -std. */
4027 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4029 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4030 inside strings and character constants. */
4032 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4034 int test (int i, double x);
4035 struct s1 {int (*f) (int a);};
4036 struct s2 {int (*f) (double a);};
4037 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4043 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4048 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4049 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4051 CC
="$ac_save_CC $ac_arg"
4052 if ac_fn_c_try_compile
"$LINENO"; then :
4053 ac_cv_prog_cc_c89
=$ac_arg
4055 rm -f core conftest.err conftest.
$ac_objext
4056 test "x$ac_cv_prog_cc_c89" != "xno" && break
4058 rm -f conftest.
$ac_ext
4063 case "x$ac_cv_prog_cc_c89" in
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4066 $as_echo "none needed" >&6; } ;;
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4069 $as_echo "unsupported" >&6; } ;;
4071 CC
="$CC $ac_cv_prog_cc_c89"
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4073 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4075 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4076 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4078 ac_cv_prog_cc_stdc
=no
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4085 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4086 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
4087 $as_echo_n "(cached) " >&6
4090 case $ac_cv_prog_cc_stdc in #(
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4093 $as_echo "unsupported" >&6; } ;; #(
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4096 $as_echo "none needed" >&6; } ;; #(
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4099 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4103 ac_cpp
='$CPP $CPPFLAGS'
4104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4108 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4109 # On Suns, sometimes $CPP names a directory.
4110 if test -n "$CPP" && test -d "$CPP"; then
4113 if test -z "$CPP"; then
4114 if test "${ac_cv_prog_CPP+set}" = set; then :
4115 $as_echo_n "(cached) " >&6
4117 # Double quotes because CPP needs to be expanded
4118 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4121 for ac_c_preproc_warn_flag
in '' yes
4123 # Use a header file that comes with gcc, so configuring glibc
4124 # with a fresh cross-compiler works.
4125 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4126 # <limits.h> exists even on freestanding compilers.
4127 # On the NeXT, cc -E runs the code through the compiler's parser,
4128 # not just through cpp. "Syntax error" is here to catch this case.
4129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4132 # include <limits.h>
4134 # include <assert.h>
4138 if ac_fn_c_try_cpp
"$LINENO"; then :
4141 # Broken: fails on valid input.
4144 rm -f conftest.err conftest.
$ac_ext
4146 # OK, works on sane cases. Now check whether nonexistent headers
4147 # can be detected and how.
4148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4150 #include <ac_nonexistent.h>
4152 if ac_fn_c_try_cpp
"$LINENO"; then :
4153 # Broken: success on invalid input.
4156 # Passes both tests.
4160 rm -f conftest.err conftest.
$ac_ext
4163 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4164 rm -f conftest.err conftest.
$ac_ext
4165 if $ac_preproc_ok; then :
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4178 $as_echo "$CPP" >&6; }
4180 for ac_c_preproc_warn_flag
in '' yes
4182 # Use a header file that comes with gcc, so configuring glibc
4183 # with a fresh cross-compiler works.
4184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4185 # <limits.h> exists even on freestanding compilers.
4186 # On the NeXT, cc -E runs the code through the compiler's parser,
4187 # not just through cpp. "Syntax error" is here to catch this case.
4188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4191 # include <limits.h>
4193 # include <assert.h>
4197 if ac_fn_c_try_cpp
"$LINENO"; then :
4200 # Broken: fails on valid input.
4203 rm -f conftest.err conftest.
$ac_ext
4205 # OK, works on sane cases. Now check whether nonexistent headers
4206 # can be detected and how.
4207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4209 #include <ac_nonexistent.h>
4211 if ac_fn_c_try_cpp
"$LINENO"; then :
4212 # Broken: success on invalid input.
4215 # Passes both tests.
4219 rm -f conftest.err conftest.
$ac_ext
4222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4223 rm -f conftest.err conftest.
$ac_ext
4224 if $ac_preproc_ok; then :
4227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4229 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4230 See \`config.log' for more details." "$LINENO" 5; }
4234 ac_cpp
='$CPP $CPPFLAGS'
4235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4240 # Check for a compatible awk
4241 for ac_prog
in gawk nawk
4243 # Extract the first word of "$ac_prog", so it can be a program name with args.
4244 set dummy
$ac_prog; ac_word
=$2
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4246 $as_echo_n "checking for $ac_word... " >&6; }
4247 if test "${ac_cv_prog_AWK+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4250 if test -n "$AWK"; then
4251 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir
=.
4258 for ac_exec_ext
in '' $ac_executable_extensions; do
4259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4260 ac_cv_prog_AWK
="$ac_prog"
4261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 if test -n "$AWK"; then
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4273 $as_echo "$AWK" >&6; }
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4276 $as_echo "no" >&6; }
4280 test -n "$AWK" && break
4283 if test "$AWK" = ""; then
4284 as_fn_error
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4286 # Extract the first word of "mmake", so it can be a program name with args.
4287 set dummy mmake
; ac_word
=$2
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4289 $as_echo_n "checking for $ac_word... " >&6; }
4290 if test "${ac_cv_prog_MMAKE+set}" = set; then :
4291 $as_echo_n "(cached) " >&6
4293 if test -n "$MMAKE"; then
4294 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4300 test -z "$as_dir" && as_dir
=.
4301 for ac_exec_ext
in '' $ac_executable_extensions; do
4302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4303 ac_cv_prog_MMAKE
="mmake "
4304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4313 MMAKE
=$ac_cv_prog_MMAKE
4314 if test -n "$MMAKE"; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4316 $as_echo "$MMAKE" >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4324 # Perform some default variable assignments. Note all of these will be
4325 # Regenerated from the script, so there is no need to cache them.
4327 aros_host_cpp
="$CPP"
4329 aros_host_cxx
="$CXX"
4330 if test "$GCC" = "yes"; then
4331 aros_gcc_ld
=`$CC -print-prog-name=ld`
4332 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4333 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335 $as_echo_n "checking for $ac_word... " >&6; }
4336 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4337 $as_echo_n "(cached) " >&6
4339 case $aros_host_ld in
4341 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4345 for as_dir
in `dirname $aros_gcc_ld`
4348 test -z "$as_dir" && as_dir
=.
4349 for ac_exec_ext
in '' $ac_executable_extensions; do
4350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4351 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 aros_host_ld
=$ac_cv_path_aros_host_ld
4363 if test -n "$aros_host_ld"; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4365 $as_echo "$aros_host_ld" >&6; }
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4373 if test "$aros_host_ld" = ""; then
4374 # Extract the first word of "ld", so it can be a program name with args.
4375 set dummy ld
; ac_word
=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4379 $as_echo_n "(cached) " >&6
4381 case $aros_host_ld in
4383 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4390 test -z "$as_dir" && as_dir
=.
4391 for ac_exec_ext
in '' $ac_executable_extensions; do
4392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4393 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 aros_host_ld
=$ac_cv_path_aros_host_ld
4405 if test -n "$aros_host_ld"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4407 $as_echo "$aros_host_ld" >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4415 if test "$aros_host_ld" = ""; then
4416 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4418 aros_host_make
="make"
4419 aros_host_cflags
=$CFLAGS
4420 aros_host_cxxflags
=$CXXFLAGS
4421 aros_host_ldflags
=$LDFLAGS
4422 aros_host_debug
="-g -O0"
4423 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4424 aros_host_mkargs
="--no-print-directory"
4425 aros_host_exe_suffix
="$EXEEXT"
4426 aros_host_lib_suffix
=""
4428 # Ignore all compliance, AROS ROMs = 0
4429 # KickStart v1.0 = 30
4430 # KickStart v1.3 = 34
4431 # KickStart v2.0 = 37
4432 # KickStart v3.0 = 39
4433 # KickStart v3.1 = 40
4435 aros_amigaos_compliance
=0
4437 for ac_prog
in aclocal aclocal19 aclocal-1.9
4439 # Extract the first word of "$ac_prog", so it can be a program name with args.
4440 set dummy
$ac_prog; ac_word
=$2
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442 $as_echo_n "checking for $ac_word... " >&6; }
4443 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4444 $as_echo_n "(cached) " >&6
4446 if test -n "$aros_host_aclocal"; then
4447 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir
=.
4454 for ac_exec_ext
in '' $ac_executable_extensions; do
4455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4456 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4467 if test -n "$aros_host_aclocal"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4469 $as_echo "$aros_host_aclocal" >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4476 test -n "$aros_host_aclocal" && break
4479 for ac_prog
in autoconf autoconf259 autoconf253
4481 # Extract the first word of "$ac_prog", so it can be a program name with args.
4482 set dummy
$ac_prog; ac_word
=$2
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484 $as_echo_n "checking for $ac_word... " >&6; }
4485 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4486 $as_echo_n "(cached) " >&6
4488 if test -n "$aros_host_autoconf"; then
4489 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4495 test -z "$as_dir" && as_dir
=.
4496 for ac_exec_ext
in '' $ac_executable_extensions; do
4497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4498 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4509 if test -n "$aros_host_autoconf"; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4511 $as_echo "$aros_host_autoconf" >&6; }
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514 $as_echo "no" >&6; }
4518 test -n "$aros_host_autoconf" && break
4521 for ac_prog
in autoheader autoheader259 autoheader253
4523 # Extract the first word of "$ac_prog", so it can be a program name with args.
4524 set dummy
$ac_prog; ac_word
=$2
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4526 $as_echo_n "checking for $ac_word... " >&6; }
4527 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4530 if test -n "$aros_host_autoheader"; then
4531 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4537 test -z "$as_dir" && as_dir
=.
4538 for ac_exec_ext
in '' $ac_executable_extensions; do
4539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4540 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4551 if test -n "$aros_host_autoheader"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4553 $as_echo "$aros_host_autoheader" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4560 test -n "$aros_host_autoheader" && break
4563 for ac_prog
in automake automake19 automake-1.9
4565 # Extract the first word of "$ac_prog", so it can be a program name with args.
4566 set dummy
$ac_prog; ac_word
=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4572 if test -n "$aros_host_automake"; then
4573 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir
=.
4580 for ac_exec_ext
in '' $ac_executable_extensions; do
4581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582 ac_cv_prog_aros_host_automake
="$ac_prog"
4583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 aros_host_automake
=$ac_cv_prog_aros_host_automake
4593 if test -n "$aros_host_automake"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4595 $as_echo "$aros_host_automake" >&6; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4602 test -n "$aros_host_automake" && break
4606 if test "$aros_host_aclocal" = ""; then
4607 as_fn_error
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4609 if test "$aros_host_automake" = ""; then
4610 as_fn_error
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4613 case "$aros_host_cc" in
4615 aros_host_cc_pipe
="-pipe"
4618 aros_host_cc_pipe
=""
4621 aros_host_cc_pipe
=""
4625 aros_kernel_cc_includes
=""
4626 aros_target_cc_includes
=""
4629 # ----------------------------------------------------------------------------------------
4630 # Host-specific defaults
4632 # This is the main host configuration section. It is where the host
4633 # can change the values of any variables it needs to change. We do
4634 # not look at anything that compiles to the target yet, we'll get
4639 aros_host_arch
="aros"
4640 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4643 aros_host_cpu
="i386"
4646 aros_host_cpu
="x86_64"
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4653 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4654 aros_host_cpu
="$host_cpu"
4660 aros_host_arch
="linux"
4661 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4662 android_build_os
="linux-x86"
4663 android_tool
="android"
4664 default_android_sdk
="/opt/android-sdk-linux_x86"
4667 aros_host_cpu
="i386"
4670 aros_host_cpu
="x86_64"
4673 aros_host_cpu
="m68k"
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4683 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4684 aros_host_cpu
="$host_cpu"
4690 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4691 aros_host_make
="gmake"
4692 aros_host_arch
="freebsd"
4693 aros_host_cpu
="i386"
4695 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4699 aros_object_format
="elf_i386"
4703 aros_object_format
="elf_i386_fbsd"
4710 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4711 aros_host_arch
="darwin"
4713 android_build_os
="darwin-x86"
4714 android_tool
="android"
4715 default_android_sdk
="/android-sdk-mac_x86"
4718 aros_host_cpu
="i386"
4721 aros_host_cpu
="x86_64"
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4728 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4729 aros_host_cpu
="$host_cpu"
4733 aros_host_ldflags
="$aros_host_ldflags -liconv"
4738 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4739 aros_host_make
="gmake"
4740 aros_host_arch
="dragonfly"
4743 aros_host_cpu
="i386"
4746 aros_host_cpu
="x86_64"
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4750 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4751 aros_host_cpu
="$host_cpu"
4757 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4758 aros_host_make
="gmake"
4759 aros_host_arch
="netbsd"
4762 aros_host_cpu
="i386"
4765 aros_host_cpu
="m68k"
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4769 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4770 aros_host_cpu
="$host_cpu"
4773 aros_host_lib_suffix
=".0.0"
4777 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4778 aros_host_make
="gmake"
4779 aros_host_arch
="openbsd"
4782 aros_host_cpu
="i386"
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4786 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4787 aros_host_cpu
="$host_cpu"
4793 aros_host_arch
="solaris"
4794 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4797 aros_host_cpu
="i386"
4800 aros_host_cpu
="sparc"
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4804 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4805 aros_host_cpu
="$host_cpu"
4811 aros_host_arch
="morphos"
4817 aros_host_arch
="amiga"
4823 TOUCH
="/gg/bin/touch"
4826 aros_host_cpu
="m68k"
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4833 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4834 aros_host_cpu
="$host_cpu"
4840 aros_host_arch
="cygwin"
4841 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4843 android_build_os
="windows"
4844 android_tool
="android.bat"
4845 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4849 aros_host_cpu
="i386"
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4853 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4854 aros_host_cpu
="$host_cpu"
4860 aros_host_arch
="mingw32"
4861 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4863 android_build_os
="windows"
4864 android_tool
="android.bat"
4865 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4871 $as_echo_n "checking for Windows native gcc target... " >&6; }
4872 host_cpu
=`gcc -dumpmachine`
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4874 $as_echo "$host_cpu" >&6; }
4881 aros_host_cpu
="i386"
4885 aros_host_cpu
="i386"
4889 aros_host_cpu
="x86_64"
4890 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4895 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4896 aros_host_cpu
="$host_cpu"
4901 as_fn_error
"Unsupported host architecture $host" "$LINENO" 5
4905 # Extract the first word of "ar", so it can be a program name with args.
4906 set dummy
ar; ac_word
=$2
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 $as_echo_n "checking for $ac_word... " >&6; }
4909 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4910 $as_echo_n "(cached) " >&6
4912 if test -n "$aros_host_ar"; then
4913 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir
=.
4920 for ac_exec_ext
in '' $ac_executable_extensions; do
4921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4922 ac_cv_prog_aros_host_ar
="ar cr"
4923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 aros_host_ar
=$ac_cv_prog_aros_host_ar
4933 if test -n "$aros_host_ar"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4935 $as_echo "$aros_host_ar" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4942 if test "$aros_host_ar" = ""; then
4943 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4945 # Extract the first word of "ranlib", so it can be a program name with args.
4946 set dummy ranlib
; ac_word
=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$aros_host_ranlib"; then
4953 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir
=.
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4962 ac_cv_prog_aros_host_ranlib
="ranlib "
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4973 if test -n "$aros_host_ranlib"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4975 $as_echo "$aros_host_ranlib" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4982 if test "$aros_host_ranlib" = ""; then
4983 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4985 # Extract the first word of "strip", so it can be a program name with args.
4986 set dummy strip
; ac_word
=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$aros_host_strip"; then
4993 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5002 ac_cv_prog_aros_host_strip
="strip "
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 aros_host_strip
=$ac_cv_prog_aros_host_strip
5013 if test -n "$aros_host_strip"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5015 $as_echo "$aros_host_strip" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5022 if test "$aros_host_strip" = ""; then
5023 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5026 # Extract the first word of "rm", so it can be a program name with args.
5027 set dummy
rm; ac_word
=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if test "${ac_cv_prog_RM+set}" = set; then :
5031 $as_echo_n "(cached) " >&6
5033 if test -n "$RM"; then
5034 ac_cv_prog_RM
="$RM" # Let the user override the test.
5036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5040 test -z "$as_dir" && as_dir
=.
5041 for ac_exec_ext
in '' $ac_executable_extensions; do
5042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5043 ac_cv_prog_RM
="rm -rf"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 if test -n "$RM"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5056 $as_echo "$RM" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5063 if test "$RM" = ""; then
5064 as_fn_error
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5066 # Extract the first word of "cp", so it can be a program name with args.
5067 set dummy
cp; ac_word
=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if test "${ac_cv_prog_CP+set}" = set; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -n "$CP"; then
5074 ac_cv_prog_CP
="$CP" # Let the user override the test.
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_exec_ext
in '' $ac_executable_extensions; do
5082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 if test -n "$CP"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5096 $as_echo "$CP" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5103 if test "$CP" = ""; then
5104 as_fn_error
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5106 # Extract the first word of "mv", so it can be a program name with args.
5107 set dummy
mv; ac_word
=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if test "${ac_cv_prog_MV+set}" = set; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$MV"; then
5114 ac_cv_prog_MV
="$MV" # Let the user override the test.
5116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir
=.
5121 for ac_exec_ext
in '' $ac_executable_extensions; do
5122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 if test -n "$MV"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5136 $as_echo "$MV" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5143 if test "$MV" = ""; then
5144 as_fn_error
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5146 # Extract the first word of "echo", so it can be a program name with args.
5147 set dummy
echo; ac_word
=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if test "${ac_cv_prog_ECHO+set}" = set; then :
5151 $as_echo_n "(cached) " >&6
5153 if test -n "$ECHO"; then
5154 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5160 test -z "$as_dir" && as_dir
=.
5161 for ac_exec_ext
in '' $ac_executable_extensions; do
5162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5163 ac_cv_prog_ECHO
="echo "
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 ECHO
=$ac_cv_prog_ECHO
5174 if test -n "$ECHO"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5176 $as_echo "$ECHO" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 if test "$ECHO" = ""; then
5184 as_fn_error
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5186 # Extract the first word of "mkdir", so it can be a program name with args.
5187 set dummy mkdir
; ac_word
=$2
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5189 $as_echo_n "checking for $ac_word... " >&6; }
5190 if test "${ac_cv_prog_MKDIR+set}" = set; then :
5191 $as_echo_n "(cached) " >&6
5193 if test -n "$MKDIR"; then
5194 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5200 test -z "$as_dir" && as_dir
=.
5201 for ac_exec_ext
in '' $ac_executable_extensions; do
5202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5203 ac_cv_prog_MKDIR
="mkdir -p"
5204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 MKDIR
=$ac_cv_prog_MKDIR
5214 if test -n "$MKDIR"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5216 $as_echo "$MKDIR" >&6; }
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5223 if test "$MKDIR" = ""; then
5224 as_fn_error
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5226 # Extract the first word of "touch", so it can be a program name with args.
5227 set dummy
touch; ac_word
=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if test "${ac_cv_prog_TOUCH+set}" = set; then :
5231 $as_echo_n "(cached) " >&6
5233 if test -n "$TOUCH"; then
5234 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir
=.
5241 for ac_exec_ext
in '' $ac_executable_extensions; do
5242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243 ac_cv_prog_TOUCH
="touch "
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 TOUCH
=$ac_cv_prog_TOUCH
5254 if test -n "$TOUCH"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5256 $as_echo "$TOUCH" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5263 if test "$TOUCH" = ""; then
5264 as_fn_error
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5266 # Extract the first word of "sort", so it can be a program name with args.
5267 set dummy
sort; ac_word
=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if test "${ac_cv_prog_SORT+set}" = set; then :
5271 $as_echo_n "(cached) " >&6
5273 if test -n "$SORT"; then
5274 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir
=.
5281 for ac_exec_ext
in '' $ac_executable_extensions; do
5282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283 ac_cv_prog_SORT
="sort "
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 SORT
=$ac_cv_prog_SORT
5294 if test -n "$SORT"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5296 $as_echo "$SORT" >&6; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5303 if test "$SORT" = ""; then
5304 as_fn_error
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5306 # Extract the first word of "uniq", so it can be a program name with args.
5307 set dummy
uniq; ac_word
=$2
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; }
5310 if test "${ac_cv_prog_UNIQ+set}" = set; then :
5311 $as_echo_n "(cached) " >&6
5313 if test -n "$UNIQ"; then
5314 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5320 test -z "$as_dir" && as_dir
=.
5321 for ac_exec_ext
in '' $ac_executable_extensions; do
5322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5323 ac_cv_prog_UNIQ
="uniq "
5324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 UNIQ
=$ac_cv_prog_UNIQ
5334 if test -n "$UNIQ"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5336 $as_echo "$UNIQ" >&6; }
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5343 if test "$UNIQ" = ""; then
5344 as_fn_error
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5346 # Extract the first word of "true", so it can be a program name with args.
5347 set dummy true
; ac_word
=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if test "${ac_cv_prog_NOP+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5353 if test -n "$NOP"; then
5354 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5360 test -z "$as_dir" && as_dir
=.
5361 for ac_exec_ext
in '' $ac_executable_extensions; do
5362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5363 ac_cv_prog_NOP
="true "
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 if test -n "$NOP"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5376 $as_echo "$NOP" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5383 if test "$NOP" = ""; then
5384 as_fn_error
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5386 # Extract the first word of "cat", so it can be a program name with args.
5387 set dummy
cat; ac_word
=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if test "${ac_cv_prog_CAT+set}" = set; then :
5391 $as_echo_n "(cached) " >&6
5393 if test -n "$CAT"; then
5394 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5400 test -z "$as_dir" && as_dir
=.
5401 for ac_exec_ext
in '' $ac_executable_extensions; do
5402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5403 ac_cv_prog_CAT
="cat "
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 if test -n "$CAT"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5416 $as_echo "$CAT" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5423 if test "$CAT" = ""; then
5424 as_fn_error
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5426 # Extract the first word of "bison", so it can be a program name with args.
5427 set dummy bison
; ac_word
=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if test "${ac_cv_prog_BISON+set}" = set; then :
5431 $as_echo_n "(cached) " >&6
5433 if test -n "$BISON"; then
5434 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir
=.
5441 for ac_exec_ext
in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_BISON
="bison "
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 BISON
=$ac_cv_prog_BISON
5454 if test -n "$BISON"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5456 $as_echo "$BISON" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5463 if test "$BISON" = ""; then
5464 as_fn_error
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5466 # Extract the first word of "flex", so it can be a program name with args.
5467 set dummy flex
; ac_word
=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if test "${ac_cv_prog_FLEX+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5473 if test -n "$FLEX"; then
5474 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir
=.
5481 for ac_exec_ext
in '' $ac_executable_extensions; do
5482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483 ac_cv_prog_FLEX
="flex "
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 FLEX
=$ac_cv_prog_FLEX
5494 if test -n "$FLEX"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5496 $as_echo "$FLEX" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5503 if test "$FLEX" = ""; then
5504 as_fn_error
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5506 # Extract the first word of "pngtopnm", so it can be a program name with args.
5507 set dummy pngtopnm
; ac_word
=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5511 $as_echo_n "(cached) " >&6
5513 if test -n "$PNGTOPNM"; then
5514 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir
=.
5521 for ac_exec_ext
in '' $ac_executable_extensions; do
5522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5523 ac_cv_prog_PNGTOPNM
="pngtopnm "
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5534 if test -n "$PNGTOPNM"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5536 $as_echo "$PNGTOPNM" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5543 if test "$PNGTOPNM" = ""; then
5544 as_fn_error
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5546 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5547 set dummy ppmtoilbm
; ac_word
=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5551 $as_echo_n "(cached) " >&6
5553 if test -n "$PPMTOILBM"; then
5554 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5560 test -z "$as_dir" && as_dir
=.
5561 for ac_exec_ext
in '' $ac_executable_extensions; do
5562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5563 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5574 if test -n "$PPMTOILBM"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5576 $as_echo "$PPMTOILBM" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5583 if test "$PPMTOILBM" = ""; then
5584 as_fn_error
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5586 # Extract the first word of "sed", so it can be a program name with args.
5587 set dummy
sed; ac_word
=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if test "${ac_cv_prog_SED+set}" = set; then :
5591 $as_echo_n "(cached) " >&6
5593 if test -n "$SED"; then
5594 ac_cv_prog_SED
="$SED" # Let the user override the test.
5596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir
=.
5601 for ac_exec_ext
in '' $ac_executable_extensions; do
5602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5603 ac_cv_prog_SED
="sed "
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 if test -n "$SED"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5616 $as_echo "$SED" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5623 if test "$SED" = ""; then
5624 as_fn_error
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5626 # Extract the first word of "chmod", so it can be a program name with args.
5627 set dummy
chmod; ac_word
=$2
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5629 $as_echo_n "checking for $ac_word... " >&6; }
5630 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5633 if test -n "$CHMOD"; then
5634 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5640 test -z "$as_dir" && as_dir
=.
5641 for ac_exec_ext
in '' $ac_executable_extensions; do
5642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 ac_cv_prog_CHMOD
="chmod "
5644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 CHMOD
=$ac_cv_prog_CHMOD
5654 if test -n "$CHMOD"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5656 $as_echo "$CHMOD" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659 $as_echo "no" >&6; }
5663 if test "$CHMOD" = ""; then
5664 as_fn_error
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5666 # Extract the first word of "patch", so it can be a program name with args.
5667 set dummy
patch; ac_word
=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if test "${ac_cv_prog_PATCH+set}" = set; then :
5671 $as_echo_n "(cached) " >&6
5673 if test -n "$PATCH"; then
5674 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5680 test -z "$as_dir" && as_dir
=.
5681 for ac_exec_ext
in '' $ac_executable_extensions; do
5682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5683 ac_cv_prog_PATCH
="patch "
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 PATCH
=$ac_cv_prog_PATCH
5694 if test -n "$PATCH"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5696 $as_echo "$PATCH" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5703 if test "$PATCH" = ""; then
5704 as_fn_error
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5713 if test -n "$PYTHON"; then
5714 # If the user set $PYTHON, use it and don't search something else.
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5716 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5718 # split strings by '.' and convert to numeric. Append some zeros
5719 # because we need at least 4 digits for the hex conversion.
5720 # map returns an iterator in Python 3.0 and a list in 2.x
5721 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5723 # xrange is not present in Python 3.0 and range returns an iterator
5724 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5725 sys.exit(sys.hexversion < minverhex)"
5726 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5727 ($PYTHON -c "$prog") >&5 2>&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); }; then :
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5732 $as_echo "yes" >&6; }
5734 as_fn_error
"too old" "$LINENO" 5
5736 am_display_PYTHON
=$PYTHON
5738 # Otherwise, try each interpreter until we find one that satisfies
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5741 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5742 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5743 $as_echo_n "(cached) " >&6
5746 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
5747 test "$am_cv_pathless_PYTHON" = none
&& break
5749 # split strings by '.' and convert to numeric. Append some zeros
5750 # because we need at least 4 digits for the hex conversion.
5751 # map returns an iterator in Python 3.0 and a list in 2.x
5752 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5754 # xrange is not present in Python 3.0 and range returns an iterator
5755 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5756 sys.exit(sys.hexversion < minverhex)"
5757 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5758 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); }; then :
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5767 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5768 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5769 if test "$am_cv_pathless_PYTHON" = none
; then
5772 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5773 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if test "${ac_cv_path_PYTHON+set}" = set; then :
5777 $as_echo_n "(cached) " >&6
5781 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5788 test -z "$as_dir" && as_dir
=.
5789 for ac_exec_ext
in '' $ac_executable_extensions; do
5790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5791 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 PYTHON
=$ac_cv_path_PYTHON
5803 if test -n "$PYTHON"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5805 $as_echo "$PYTHON" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5813 am_display_PYTHON
=$am_cv_pathless_PYTHON
5817 if test "$PYTHON" = :; then
5818 as_fn_error
"no suitable Python interpreter found" "$LINENO" 5
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5823 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5824 if test "${am_cv_python_version+set}" = set; then :
5825 $as_echo_n "(cached) " >&6
5827 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5830 $as_echo "$am_cv_python_version" >&6; }
5831 PYTHON_VERSION
=$am_cv_python_version
5835 PYTHON_PREFIX
='${prefix}'
5837 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5842 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5843 if test "${am_cv_python_platform+set}" = set; then :
5844 $as_echo_n "(cached) " >&6
5846 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5849 $as_echo "$am_cv_python_platform" >&6; }
5850 PYTHON_PLATFORM
=$am_cv_python_platform
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5856 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5857 if test "${am_cv_python_pythondir+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5860 if test "x$prefix" = xNONE
5862 am_py_prefix
=$ac_default_prefix
5864 am_py_prefix
=$prefix
5866 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`
5867 case $am_cv_python_pythondir in
5869 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5870 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5873 case $am_py_prefix in
5876 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5884 $as_echo "$am_cv_python_pythondir" >&6; }
5885 pythondir
=$am_cv_python_pythondir
5889 pkgpythondir
=\
${pythondir}/$PACKAGE
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5893 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5894 if test "${am_cv_python_pyexecdir+set}" = set; then :
5895 $as_echo_n "(cached) " >&6
5897 if test "x$exec_prefix" = xNONE
5899 am_py_exec_prefix
=$am_py_prefix
5901 am_py_exec_prefix
=$exec_prefix
5903 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`
5904 case $am_cv_python_pyexecdir in
5905 $am_py_exec_prefix*)
5906 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5907 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5910 case $am_py_exec_prefix in
5913 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5921 $as_echo "$am_cv_python_pyexecdir" >&6; }
5922 pyexecdir
=$am_cv_python_pyexecdir
5926 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5936 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5937 if test "${ac_cv_lib_png_png_read_png+set}" = set; then :
5938 $as_echo_n "(cached) " >&6
5940 ac_check_lib_save_LIBS
=$LIBS
5942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5943 /* end confdefs.h. */
5945 /* Override any GCC internal prototype to avoid an error.
5946 Use char because int might match the return type of a GCC
5947 builtin and then its argument prototype would still apply. */
5951 char png_read_png ();
5955 return png_read_png ();
5960 if ac_fn_c_try_link
"$LINENO"; then :
5961 ac_cv_lib_png_png_read_png
=yes
5963 ac_cv_lib_png_png_read_png
=no
5965 rm -f core conftest.err conftest.
$ac_objext \
5966 conftest
$ac_exeext conftest.
$ac_ext
5967 LIBS
=$ac_check_lib_save_LIBS
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
5970 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
5971 if test "x$ac_cv_lib_png_png_read_png" = x
""yes; then :
5972 cat >>confdefs.h
<<_ACEOF
5973 #define HAVE_LIBPNG 1
5980 if test "$ac_cv_lib_png_png_read_png" = ""; then
5981 as_fn_error
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
5994 # Check for some includes for the X11 HIDD and the kernel
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5997 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5998 if test "${ac_cv_path_GREP+set}" = set; then :
5999 $as_echo_n "(cached) " >&6
6001 if test -z "$GREP"; then
6002 ac_path_GREP_found
=false
6003 # Loop through the user's path and test for each of PROGNAME-LIST
6004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6005 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6008 test -z "$as_dir" && as_dir
=.
6009 for ac_prog
in grep ggrep
; do
6010 for ac_exec_ext
in '' $ac_executable_extensions; do
6011 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6012 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6013 # Check for GNU ac_path_GREP and select it if it is found.
6014 # Check for GNU $ac_path_GREP
6015 case `"$ac_path_GREP" --version 2>&1` in
6017 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6020 $as_echo_n 0123456789 >"conftest.in"
6023 cat "conftest.in" "conftest.in" >"conftest.tmp"
6024 mv "conftest.tmp" "conftest.in"
6025 cp "conftest.in" "conftest.nl"
6026 $as_echo 'GREP' >> "conftest.nl"
6027 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6028 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6029 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6030 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6031 # Best one so far, save it but keep looking for a better one
6032 ac_cv_path_GREP
="$ac_path_GREP"
6033 ac_path_GREP_max
=$ac_count
6035 # 10*(2^10) chars as input seems more than enough
6036 test $ac_count -gt 10 && break
6038 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6041 $ac_path_GREP_found && break 3
6046 if test -z "$ac_cv_path_GREP"; then
6047 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6050 ac_cv_path_GREP
=$GREP
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6055 $as_echo "$ac_cv_path_GREP" >&6; }
6056 GREP
="$ac_cv_path_GREP"
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6060 $as_echo_n "checking for egrep... " >&6; }
6061 if test "${ac_cv_path_EGREP+set}" = set; then :
6062 $as_echo_n "(cached) " >&6
6064 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6065 then ac_cv_path_EGREP
="$GREP -E"
6067 if test -z "$EGREP"; then
6068 ac_path_EGREP_found
=false
6069 # Loop through the user's path and test for each of PROGNAME-LIST
6070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6071 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6074 test -z "$as_dir" && as_dir
=.
6075 for ac_prog
in egrep; do
6076 for ac_exec_ext
in '' $ac_executable_extensions; do
6077 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6078 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6079 # Check for GNU ac_path_EGREP and select it if it is found.
6080 # Check for GNU $ac_path_EGREP
6081 case `"$ac_path_EGREP" --version 2>&1` in
6083 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6086 $as_echo_n 0123456789 >"conftest.in"
6089 cat "conftest.in" "conftest.in" >"conftest.tmp"
6090 mv "conftest.tmp" "conftest.in"
6091 cp "conftest.in" "conftest.nl"
6092 $as_echo 'EGREP' >> "conftest.nl"
6093 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6094 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6095 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6096 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6097 # Best one so far, save it but keep looking for a better one
6098 ac_cv_path_EGREP
="$ac_path_EGREP"
6099 ac_path_EGREP_max
=$ac_count
6101 # 10*(2^10) chars as input seems more than enough
6102 test $ac_count -gt 10 && break
6104 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6107 $ac_path_EGREP_found && break 3
6112 if test -z "$ac_cv_path_EGREP"; then
6113 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6116 ac_cv_path_EGREP
=$EGREP
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6122 $as_echo "$ac_cv_path_EGREP" >&6; }
6123 EGREP
="$ac_cv_path_EGREP"
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6127 $as_echo_n "checking for ANSI C header files... " >&6; }
6128 if test "${ac_cv_header_stdc+set}" = set; then :
6129 $as_echo_n "(cached) " >&6
6131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6132 /* end confdefs.h. */
6146 if ac_fn_c_try_compile
"$LINENO"; then :
6147 ac_cv_header_stdc
=yes
6149 ac_cv_header_stdc
=no
6151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6153 if test $ac_cv_header_stdc = yes; then
6154 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6156 /* end confdefs.h. */
6160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6161 $EGREP "memchr" >/dev
/null
2>&1; then :
6164 ac_cv_header_stdc
=no
6170 if test $ac_cv_header_stdc = yes; then
6171 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6178 $EGREP "free" >/dev
/null
2>&1; then :
6181 ac_cv_header_stdc
=no
6187 if test $ac_cv_header_stdc = yes; then
6188 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6189 if test "$cross_compiling" = yes; then :
6192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6193 /* end confdefs.h. */
6196 #if ((' ' & 0x0FF) == 0x020)
6197 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6198 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6200 # define ISLOWER(c) \
6201 (('a' <= (c) && (c) <= 'i') \
6202 || ('j' <= (c) && (c) <= 'r') \
6203 || ('s' <= (c) && (c) <= 'z'))
6204 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6207 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6212 for (i = 0; i < 256; i++)
6213 if (XOR (islower (i), ISLOWER (i))
6214 || toupper (i) != TOUPPER (i))
6219 if ac_fn_c_try_run
"$LINENO"; then :
6222 ac_cv_header_stdc
=no
6224 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6225 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6231 $as_echo "$ac_cv_header_stdc" >&6; }
6232 if test $ac_cv_header_stdc = yes; then
6234 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6238 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6239 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6240 inttypes.h stdint.h unistd.h
6242 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6243 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6245 eval as_val
=\$
$as_ac_Header
6246 if test "x$as_val" = x
""yes; then :
6247 cat >>confdefs.h
<<_ACEOF
6248 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6256 for ac_header
in sys
/ipc.h sys
/shm.h \
6257 sys
/mmap.h sys
/mman.h sysexits.h \
6258 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6261 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6262 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6263 eval as_val
=\$
$as_ac_Header
6264 if test "x$as_val" = x
""yes; then :
6265 cat >>confdefs.h
<<_ACEOF
6266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6274 for ac_header
in sys
/mount.h
6276 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6278 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
6279 cat >>confdefs.h
<<_ACEOF
6280 #define HAVE_SYS_MOUNT_H 1
6289 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6290 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6292 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6293 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
6294 $as_echo_n "(cached) " >&6
6296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6297 /* end confdefs.h. */
6298 #include <sys/types.h>
6310 if ac_fn_c_try_compile
"$LINENO"; then :
6311 eval "$as_ac_Header=yes"
6313 eval "$as_ac_Header=no"
6315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6317 eval ac_res
=\$
$as_ac_Header
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6319 $as_echo "$ac_res" >&6; }
6320 eval as_val
=\$
$as_ac_Header
6321 if test "x$as_val" = x
""yes; then :
6322 cat >>confdefs.h
<<_ACEOF
6323 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6326 ac_header_dirent
=$ac_hdr; break
6330 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6331 if test $ac_header_dirent = dirent.h
; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6333 $as_echo_n "checking for library containing opendir... " >&6; }
6334 if test "${ac_cv_search_opendir+set}" = set; then :
6335 $as_echo_n "(cached) " >&6
6337 ac_func_search_save_LIBS
=$LIBS
6338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6341 /* Override any GCC internal prototype to avoid an error.
6342 Use char because int might match the return type of a GCC
6343 builtin and then its argument prototype would still apply. */
6356 for ac_lib
in '' dir
; do
6357 if test -z "$ac_lib"; then
6358 ac_res
="none required"
6361 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6363 if ac_fn_c_try_link
"$LINENO"; then :
6364 ac_cv_search_opendir
=$ac_res
6366 rm -f core conftest.err conftest.
$ac_objext \
6368 if test "${ac_cv_search_opendir+set}" = set; then :
6372 if test "${ac_cv_search_opendir+set}" = set; then :
6375 ac_cv_search_opendir
=no
6378 LIBS
=$ac_func_search_save_LIBS
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6381 $as_echo "$ac_cv_search_opendir" >&6; }
6382 ac_res
=$ac_cv_search_opendir
6383 if test "$ac_res" != no
; then :
6384 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6390 $as_echo_n "checking for library containing opendir... " >&6; }
6391 if test "${ac_cv_search_opendir+set}" = set; then :
6392 $as_echo_n "(cached) " >&6
6394 ac_func_search_save_LIBS
=$LIBS
6395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6396 /* end confdefs.h. */
6398 /* Override any GCC internal prototype to avoid an error.
6399 Use char because int might match the return type of a GCC
6400 builtin and then its argument prototype would still apply. */
6413 for ac_lib
in '' x
; do
6414 if test -z "$ac_lib"; then
6415 ac_res
="none required"
6418 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6420 if ac_fn_c_try_link
"$LINENO"; then :
6421 ac_cv_search_opendir
=$ac_res
6423 rm -f core conftest.err conftest.
$ac_objext \
6425 if test "${ac_cv_search_opendir+set}" = set; then :
6429 if test "${ac_cv_search_opendir+set}" = set; then :
6432 ac_cv_search_opendir
=no
6435 LIBS
=$ac_func_search_save_LIBS
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6438 $as_echo "$ac_cv_search_opendir" >&6; }
6439 ac_res
=$ac_cv_search_opendir
6440 if test "$ac_res" != no
; then :
6441 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6448 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6449 if test "${ac_cv_header_stat_broken+set}" = set; then :
6450 $as_echo_n "(cached) " >&6
6452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6454 #include <sys/types.h>
6455 #include <sys/stat.h>
6457 #if defined S_ISBLK && defined S_IFDIR
6458 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6461 #if defined S_ISBLK && defined S_IFCHR
6462 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6465 #if defined S_ISLNK && defined S_IFREG
6466 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6469 #if defined S_ISSOCK && defined S_IFREG
6470 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6474 if ac_fn_c_try_compile
"$LINENO"; then :
6475 ac_cv_header_stat_broken
=no
6477 ac_cv_header_stat_broken
=yes
6479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6482 $as_echo "$ac_cv_header_stat_broken" >&6; }
6483 if test $ac_cv_header_stat_broken = yes; then
6485 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6490 $as_echo_n "checking for ANSI C header files... " >&6; }
6491 if test "${ac_cv_header_stdc+set}" = set; then :
6492 $as_echo_n "(cached) " >&6
6494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6495 /* end confdefs.h. */
6509 if ac_fn_c_try_compile
"$LINENO"; then :
6510 ac_cv_header_stdc
=yes
6512 ac_cv_header_stdc
=no
6514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6516 if test $ac_cv_header_stdc = yes; then
6517 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6524 $EGREP "memchr" >/dev
/null
2>&1; then :
6527 ac_cv_header_stdc
=no
6533 if test $ac_cv_header_stdc = yes; then
6534 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6536 /* end confdefs.h. */
6540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6541 $EGREP "free" >/dev
/null
2>&1; then :
6544 ac_cv_header_stdc
=no
6550 if test $ac_cv_header_stdc = yes; then
6551 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6552 if test "$cross_compiling" = yes; then :
6555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6556 /* end confdefs.h. */
6559 #if ((' ' & 0x0FF) == 0x020)
6560 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6561 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6563 # define ISLOWER(c) \
6564 (('a' <= (c) && (c) <= 'i') \
6565 || ('j' <= (c) && (c) <= 'r') \
6566 || ('s' <= (c) && (c) <= 'z'))
6567 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6570 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6575 for (i = 0; i < 256; i++)
6576 if (XOR (islower (i), ISLOWER (i))
6577 || toupper (i) != TOUPPER (i))
6582 if ac_fn_c_try_run
"$LINENO"; then :
6585 ac_cv_header_stdc
=no
6587 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6588 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6594 $as_echo "$ac_cv_header_stdc" >&6; }
6595 if test $ac_cv_header_stdc = yes; then
6597 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6602 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6603 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6604 $as_echo_n "(cached) " >&6
6606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6607 /* end confdefs.h. */
6608 #include <sys/types.h>
6609 #include <sys/wait.h>
6611 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6614 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6622 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6627 if ac_fn_c_try_compile
"$LINENO"; then :
6628 ac_cv_header_sys_wait_h
=yes
6630 ac_cv_header_sys_wait_h
=no
6632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6635 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6636 if test $ac_cv_header_sys_wait_h = yes; then
6638 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6643 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6644 if test "${ac_cv_header_time+set}" = set; then :
6645 $as_echo_n "(cached) " >&6
6647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6648 /* end confdefs.h. */
6649 #include <sys/types.h>
6650 #include <sys/time.h>
6656 if ((struct tm *) 0)
6662 if ac_fn_c_try_compile
"$LINENO"; then :
6663 ac_cv_header_time
=yes
6665 ac_cv_header_time
=no
6667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6670 $as_echo "$ac_cv_header_time" >&6; }
6671 if test $ac_cv_header_time = yes; then
6673 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6677 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6678 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6680 cat >>confdefs.h
<<_ACEOF
6681 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6685 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6690 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6691 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6693 cat >>confdefs.h
<<_ACEOF
6694 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6698 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6701 case " $LIBOBJS " in
6702 *" fileblocks.$ac_objext "* ) ;;
6703 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6710 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6711 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6713 cat >>confdefs.h
<<_ACEOF
6714 #define HAVE_STRUCT_STAT_ST_RDEV 1
6718 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6724 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6725 if test "${ac_cv_struct_tm+set}" = set; then :
6726 $as_echo_n "(cached) " >&6
6728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6729 /* end confdefs.h. */
6730 #include <sys/types.h>
6737 int *p = &tm.tm_sec;
6743 if ac_fn_c_try_compile
"$LINENO"; then :
6744 ac_cv_struct_tm
=time.h
6746 ac_cv_struct_tm
=sys
/time.h
6748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6751 $as_echo "$ac_cv_struct_tm" >&6; }
6752 if test $ac_cv_struct_tm = sys
/time.h
; then
6754 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6758 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6759 #include <$ac_cv_struct_tm>
6762 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6764 cat >>confdefs.h
<<_ACEOF
6765 #define HAVE_STRUCT_TM_TM_ZONE 1
6771 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6773 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6776 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6778 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6784 cat >>confdefs.h
<<_ACEOF
6785 #define HAVE_DECL_TZNAME $ac_have_decl
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6789 $as_echo_n "checking for tzname... " >&6; }
6790 if test "${ac_cv_var_tzname+set}" = set; then :
6791 $as_echo_n "(cached) " >&6
6793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6794 /* end confdefs.h. */
6796 #if !HAVE_DECL_TZNAME
6797 extern char *tzname[];
6803 return tzname[0][0];
6808 if ac_fn_c_try_link
"$LINENO"; then :
6809 ac_cv_var_tzname
=yes
6813 rm -f core conftest.err conftest.
$ac_objext \
6814 conftest
$ac_exeext conftest.
$ac_ext
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6817 $as_echo "$ac_cv_var_tzname" >&6; }
6818 if test $ac_cv_var_tzname = yes; then
6820 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6825 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6826 if test "x$ac_cv_type_off_t" = x
""yes; then :
6830 cat >>confdefs.h
<<_ACEOF
6831 #define off_t long int
6836 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6837 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6841 cat >>confdefs.h
<<_ACEOF
6847 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6848 if test "x$ac_cv_type_size_t" = x
""yes; then :
6852 cat >>confdefs.h
<<_ACEOF
6853 #define size_t unsigned int
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6859 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6860 if test "${ac_cv_type_uid_t+set}" = set; then :
6861 $as_echo_n "(cached) " >&6
6863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h. */
6865 #include <sys/types.h>
6868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6869 $EGREP "uid_t" >/dev
/null
2>&1; then :
6870 ac_cv_type_uid_t
=yes
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6878 $as_echo "$ac_cv_type_uid_t" >&6; }
6879 if test $ac_cv_type_uid_t = no
; then
6881 $as_echo "#define uid_t int" >>confdefs.h
6884 $as_echo "#define gid_t int" >>confdefs.h
6889 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6890 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6892 cat >>confdefs.h
<<_ACEOF
6893 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6900 # Look for some functions
6901 for ac_func
in getpagesize kqueue statfs statvfs \
6902 clone kse_create rfork_thread thr_create sa_register \
6903 getcontext makecontext setcontext sigaltstack swapcontext
6905 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6906 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6907 eval as_val
=\$
$as_ac_var
6908 if test "x$as_val" = x
""yes; then :
6909 cat >>confdefs.h
<<_ACEOF
6910 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6920 for ac_header
in $ac_header_list
6922 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6923 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6925 eval as_val
=\$
$as_ac_Header
6926 if test "x$as_val" = x
""yes; then :
6927 cat >>confdefs.h
<<_ACEOF
6928 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6942 for ac_func
in getpagesize
6944 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6945 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6946 cat >>confdefs.h
<<_ACEOF
6947 #define HAVE_GETPAGESIZE 1
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6954 $as_echo_n "checking for working mmap... " >&6; }
6955 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6956 $as_echo_n "(cached) " >&6
6958 if test "$cross_compiling" = yes; then :
6959 ac_cv_func_mmap_fixed_mapped
=no
6961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 $ac_includes_default
6964 /* malloc might have been renamed as rpl_malloc. */
6967 /* Thanks to Mike Haertel and Jim Avera for this test.
6968 Here is a matrix of mmap possibilities:
6969 mmap private not fixed
6970 mmap private fixed at somewhere currently unmapped
6971 mmap private fixed at somewhere already mapped
6972 mmap shared not fixed
6973 mmap shared fixed at somewhere currently unmapped
6974 mmap shared fixed at somewhere already mapped
6975 For private mappings, we should verify that changes cannot be read()
6976 back from the file, nor mmap's back from the file at a different
6977 address. (There have been systems where private was not correctly
6978 implemented like the infamous i386 svr4.0, and systems where the
6979 VM page cache was not coherent with the file system buffer cache
6980 like early versions of FreeBSD and possibly contemporary NetBSD.)
6981 For shared mappings, we should conversely verify that changes get
6982 propagated back to all the places they're supposed to be.
6984 Grep wants private fixed already mapped.
6985 The main things grep needs to know about mmap are:
6986 * does it exist and is it safe to write into the mmap'd area
6987 * how to use it (BSD variants) */
6990 #include <sys/mman.h>
6992 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6996 /* This mess was copied from the GNU getpagesize.h. */
6997 #ifndef HAVE_GETPAGESIZE
6998 # ifdef _SC_PAGESIZE
6999 # define getpagesize() sysconf(_SC_PAGESIZE)
7000 # else /* no _SC_PAGESIZE */
7001 # ifdef HAVE_SYS_PARAM_H
7002 # include <sys/param.h>
7003 # ifdef EXEC_PAGESIZE
7004 # define getpagesize() EXEC_PAGESIZE
7005 # else /* no EXEC_PAGESIZE */
7007 # define getpagesize() NBPG * CLSIZE
7010 # endif /* no CLSIZE */
7011 # else /* no NBPG */
7013 # define getpagesize() NBPC
7014 # else /* no NBPC */
7016 # define getpagesize() PAGESIZE
7017 # endif /* PAGESIZE */
7018 # endif /* no NBPC */
7019 # endif /* no NBPG */
7020 # endif /* no EXEC_PAGESIZE */
7021 # else /* no HAVE_SYS_PARAM_H */
7022 # define getpagesize() 8192 /* punt totally */
7023 # endif /* no HAVE_SYS_PARAM_H */
7024 # endif /* no _SC_PAGESIZE */
7026 #endif /* no HAVE_GETPAGESIZE */
7031 char *data, *data2, *data3;
7036 pagesize = getpagesize ();
7038 /* First, make a file with some known garbage in it. */
7039 data = (char *) malloc (pagesize);
7042 for (i = 0; i < pagesize; ++i)
7043 *(data + i) = rand ();
7045 fd = creat ("conftest.mmap", 0600);
7048 if (write (fd, data, pagesize) != pagesize)
7052 /* Next, check that the tail of a page is zero-filled. File must have
7053 non-zero length, otherwise we risk SIGBUS for entire page. */
7054 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7058 if (write (fd2, cdata2, 1) != 1)
7060 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7061 if (data2 == MAP_FAILED)
7063 for (i = 0; i < pagesize; ++i)
7067 if (munmap (data2, pagesize))
7070 /* Next, try to mmap the file at a fixed address which already has
7071 something else allocated at it. If we can, also make sure that
7072 we see the same garbage. */
7073 fd = open ("conftest.mmap", O_RDWR);
7076 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7077 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7079 for (i = 0; i < pagesize; ++i)
7080 if (*(data + i) != *(data2 + i))
7083 /* Finally, make sure that changes to the mapped area do not
7084 percolate back to the file as seen by read(). (This is a bug on
7085 some variants of i386 svr4.0.) */
7086 for (i = 0; i < pagesize; ++i)
7087 *(data2 + i) = *(data2 + i) + 1;
7088 data3 = (char *) malloc (pagesize);
7091 if (read (fd, data3, pagesize) != pagesize)
7093 for (i = 0; i < pagesize; ++i)
7094 if (*(data + i) != *(data3 + i))
7100 if ac_fn_c_try_run
"$LINENO"; then :
7101 ac_cv_func_mmap_fixed_mapped
=yes
7103 ac_cv_func_mmap_fixed_mapped
=no
7105 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7106 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7111 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7112 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7114 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7117 rm -f conftest.mmap conftest.txt
7122 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7123 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7124 aros_config_ldflags
=""
7126 aros_shared_default
=yes
7128 aros_shared_cflags
="-fPIC"
7129 aros_shared_aflags
=""
7130 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7131 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7133 aros_kernel_ar_flags
="cr"
7134 aros_target_ar_flags
="cr"
7135 aros_target_nm_flags
="-C -ul"
7136 aros_target_strip_flags
="--strip-unneeded -R.comment"
7141 aros_target_genmap
="-Wl,-Map -Xlinker"
7143 # Native flavour stuff
7144 aros_serial_debug
="0"
7146 # Palm native flavour stuff
7147 aros_palm_debug_hack
="0"
7149 # Unix flavour stuff
7150 aros_nesting_supervisor
="0"
7152 # Collect-aros stuff: "-ius" to ignore undefined symbols
7153 ignore_undefined_symbols
=""
7155 # Check for X11 by default
7158 #-----------------------------------------------------------------------------
7161 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7162 # it switched on by default, and we use the host compiler, so it compiles AROS
7163 # code with this enabled resulting in link failures as we don't have support
7166 # We use two methods to disable it. For the host compiler (used to compile
7167 # some hosted modules), we test to see if the compiler supports stack
7168 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7169 # work on all platforms.
7171 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7172 # (this is done unconditionally, as it should have no effect on compilers
7173 # without the stack protection feature). This may be specific to the way that
7174 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7175 # strong enough to disable it in a generic way though, so we'll live with it
7176 # until another vendor ships GCC with it enabled in a different way, and deal
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7181 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7182 save_cflags
="$CFLAGS"
7183 CFLAGS
="$CFLAGS -fno-stack-protector"
7184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7185 /* end confdefs.h. */
7195 if ac_fn_c_try_compile
"$LINENO"; then :
7196 use_no_stack_protector
="yes"
7198 use_no_stack_protector
="no"
7200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7202 $as_echo "$use_no_stack_protector" >&6; }
7203 if test "x-$use_no_stack_protector" = "x-yes" ; then
7204 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7206 CFLAGS
="$save_cflags"
7208 #-----------------------------------------------------------------------------
7210 # Disable pointer-signedness warnings if the compiler recognises the option
7211 # (this only works for the host compiler at the moment)
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7214 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7215 save_cflags
="$CFLAGS"
7216 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7228 if ac_fn_c_try_compile
"$LINENO"; then :
7229 use_no_sign_warning
="yes"
7231 use_no_sign_warning
="no"
7233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7235 $as_echo "$use_no_sign_warning" >&6; }
7236 if test "x-$use_no_sign_warning" = "x-yes" ; then
7237 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7239 CFLAGS
="$save_cflags"
7241 #-----------------------------------------------------------------------------
7243 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7246 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7247 save_cflags
="$CFLAGS"
7248 CFLAGS
="$CFLAGS -fgnu89-inline"
7249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7260 if ac_fn_c_try_compile
"$LINENO"; then :
7261 use_gnu89_inline
="yes"
7263 use_gnu89_inline
="no"
7265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7267 $as_echo "$use_gnu89_inline" >&6; }
7268 if test "x-$use_gnu89_inline" = "x-yes" ; then
7269 gnu89_inline
="-fgnu89-inline"
7271 CFLAGS
="$save_cflags"
7273 #-----------------------------------------------------------------------------
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7276 $as_echo_n "checking for type of build... " >&6; }
7277 # Check whether --enable-build_type was given.
7278 if test "${enable_build_type+set}" = set; then :
7279 enableval
=$enable_build_type; build_type
=$enableval
7281 build_type
="personal"
7285 if test "$build_type" = "nightly"; then
7286 build_type_string
="NIGHTLY"
7287 elif test "$build_type" = "snapshot"; then
7288 build_type_string
="SNAPSHOT"
7289 elif test "$build_type" = "milestone"; then
7290 build_type_string
="MILESTONE"
7291 elif test "$build_type" = "release"; then
7292 build_type_string
="RELEASE"
7294 build_type_string
="PERSONAL"
7295 build_type
="personal"
7298 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7301 $as_echo "$build_type" >&6; }
7303 #-----------------------------------------------------------------------------
7304 all_debug_types
="messages stack modules mungwall symbols"
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7307 $as_echo_n "checking which debug types to enable... " >&6; }
7308 # Check whether --enable-debug was given.
7309 if test "${enable_debug+set}" = set; then :
7310 enableval
=$enable_debug; debug
="$enableval"
7316 if test "$debug" = "" -o "$debug" = "no"; then
7318 elif test "$debug" = "yes"; then
7322 if test "$debug" = "all" ; then
7323 debug
="messages stack modules symbols"
7324 for d
in $all_debug_types; do
7325 export aros_
${d}_debug
="1"
7328 for d
in $all_debug_types; do
7329 export aros_
${d}_debug
="0"
7333 if test "$debug" != "none"; then
7334 debug
=`echo $debug | sed s/,/\ /g`
7337 for d2
in $all_debug_types; do
7338 if test "$d2" = "$d"; then
7343 if test "$found" = "0"; then
7344 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7346 export aros_
${d}_debug
="1"
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7351 $as_echo "$debug" >&6; }
7353 if test "$aros_messages_debug" = "1"; then
7354 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7356 aros_messages_debug
=""
7358 if test "$aros_symbols_debug" = "1"; then
7359 aros_symbols_debug
="-g"
7361 aros_symbols_debug
=""
7364 # These are the flags to pass when compiling debugged programs
7365 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7366 aros_debug_aflags
=""
7367 aros_debug_ldflags
="$aros_symbols_debug"
7369 #-----------------------------------------------------------------------------
7370 # Checking for distcc and ccache.
7372 # Always apply the transforms in this particular order. Basically you should
7373 # always run 'ccache distcc compiler' in that order for the best performance.
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7376 $as_echo_n "checking whether to enable distcc... " >&6; }
7377 # Check whether --enable-distcc was given.
7378 if test "${enable_distcc+set}" = set; then :
7379 enableval
=$enable_distcc; distcc
="$enableval"
7384 if test "$distcc" != "" -a "$distcc" != "no"; then
7385 # AC_CHECK_PROG will print out the result in this case
7386 # Extract the first word of "distcc", so it can be a program name with args.
7387 set dummy distcc
; ac_word
=$2
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 $as_echo_n "checking for $ac_word... " >&6; }
7390 if test "${ac_cv_path_DISTCC+set}" = set; then :
7391 $as_echo_n "(cached) " >&6
7395 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7402 test -z "$as_dir" && as_dir
=.
7403 for ac_exec_ext
in '' $ac_executable_extensions; do
7404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7405 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7417 DISTCC
=$ac_cv_path_DISTCC
7418 if test -n "$DISTCC"; then
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7420 $as_echo "$DISTCC" >&6; }
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 $as_echo "no" >&6; }
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7429 $as_echo "no" >&6; }
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7433 $as_echo_n "checking whether to enable ccache... " >&6; }
7434 # Check whether --enable-ccache was given.
7435 if test "${enable_ccache+set}" = set; then :
7436 enableval
=$enable_ccache; ccache
="$enableval"
7441 if test "$ccache" != "" -a "$ccache" != "no"; then
7442 # AC_CHECK_PROG will print out the result in this case
7443 # Extract the first word of "ccache", so it can be a program name with args.
7444 set dummy ccache
; ac_word
=$2
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7446 $as_echo_n "checking for $ac_word... " >&6; }
7447 if test "${ac_cv_prog_CCACHE+set}" = set; then :
7448 $as_echo_n "(cached) " >&6
7450 if test -n "$CCACHE"; then
7451 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7457 test -z "$as_dir" && as_dir
=.
7458 for ac_exec_ext
in '' $ac_executable_extensions; do
7459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7460 ac_cv_prog_CCACHE
="ccache"
7461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7470 CCACHE
=$ac_cv_prog_CCACHE
7471 if test -n "$CCACHE"; then
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7473 $as_echo "$CCACHE" >&6; }
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7476 $as_echo "no" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7485 #-----------------------------------------------------------------------------
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7487 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7489 # Check whether --with-kernel-gcc-version was given.
7490 if test "${with_kernel_gcc_version+set}" = set; then :
7491 withval
=$with_kernel_gcc_version; kernel_tool_version
="-$withval"
7493 kernel_tool_version
=""
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7497 $as_echo "$kernel_tool_version" >&6; }
7499 #-----------------------------------------------------------------------------
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7501 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7503 # Check whether --with-gcc-version was given.
7504 if test "${with_gcc_version+set}" = set; then :
7505 withval
=$with_gcc_version; target_tool_version
="$withval"
7507 target_tool_version
="default"
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7511 $as_echo "$target_tool_version" >&6; }
7513 #-----------------------------------------------------------------------------
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7515 $as_echo_n "checking what optimization flags to use... " >&6; }
7517 # Check whether --with-optimization was given.
7518 if test "${with_optimization+set}" = set; then :
7519 withval
=$with_optimization; optimization
="$withval"
7521 optimization
="unknown"
7524 if test "$optimization" = "unknown"; then
7525 if test "$debug" != "none"; then
7531 aros_config_cflags
="$aros_config_cflags $optimization"
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7533 $as_echo "$optimization" >&6; }
7535 #-----------------------------------------------------------------------------
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7537 $as_echo_n "checking what paranoia flags to use... " >&6; }
7539 # Check whether --with-paranoia was given.
7540 if test "${with_paranoia+set}" = set; then :
7541 withval
=$with_paranoia; paranoia_flags
="$withval"
7543 paranoia_flags
="default"
7546 if test "$paranoia_flags" = "default"; then
7548 else if test "$paranoia_flags" = "yes"; then
7549 paranoia_flags
="-Wall -Werror"
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7552 $as_echo "$paranoia_flags" >&6; }
7553 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7555 #-----------------------------------------------------------------------------
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7557 $as_echo_n "checking what target variant to enable... " >&6; }
7558 # Check whether --enable-target_variant was given.
7559 if test "${enable_target_variant+set}" = set; then :
7560 enableval
=$enable_target_variant; target_variant
=$enableval
7565 if test "$target_variant" = ""; then
7566 aros_target_variant
=""
7567 aros_target_suffix
=""
7570 aros_target_variant
="$target_variant"
7571 aros_target_suffix
="-$target_variant"
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7574 $as_echo "$enableval" >&6; }
7576 #-----------------------------------------------------------------------------
7577 # Target-specific defaults. You can override then on a per-target basis.
7579 # Bootloader name. Currently used by PC target.
7580 target_bootloader
="none"
7582 #-----------------------------------------------------------------------------
7583 # Additional options for some specific targets
7585 case "$aros_target_variant" in
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7588 $as_echo_n "checking XCode path... " >&6; }
7590 # Check whether --with-xcode was given.
7591 if test "${with_xcode+set}" = set; then :
7592 withval
=$with_xcode; aros_xcode_path
="$withval"
7594 aros_xcode_path
="/Developer"
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7598 $as_echo "$aros_xcode_path" >&6; }
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7601 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7603 # Check whether --with-sdk-version was given.
7604 if test "${with_sdk_version+set}" = set; then :
7605 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7607 aros_sdk_version
="4.1"
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7611 $as_echo "$aros_sdk_version" >&6; }
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7617 $as_echo_n "checking Android SDK path... " >&6; }
7619 # Check whether --with-sdk was given.
7620 if test "${with_sdk+set}" = set; then :
7621 withval
=$with_sdk; aros_android_sdk
="$withval"
7623 aros_android_sdk
=$default_android_sdk
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7627 $as_echo "$aros_android_sdk" >&6; }
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7630 $as_echo_n "checking Android NDK path... " >&6; }
7632 # Check whether --with-ndk was given.
7633 if test "${with_ndk+set}" = set; then :
7634 withval
=$with_ndk; aros_android_ndk
="$withval"
7636 aros_android_ndk
="none"
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7640 $as_echo "$aros_android_ndk" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7643 $as_echo_n "checking what Android SDK version to use... " >&6; }
7645 # Check whether --with-sdk-version was given.
7646 if test "${with_sdk_version+set}" = set; then :
7647 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7649 aros_sdk_version
="12"
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7653 $as_echo "$aros_sdk_version" >&6; }
7655 if test "$aros_android_ndk" != "none"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7657 $as_echo_n "checking what Android NDK version to use... " >&6; }
7659 # Check whether --with-ndk-version was given.
7660 if test "${with_ndk_version+set}" = set; then :
7661 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7663 aros_ndk_version
="9"
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7667 $as_echo "$aros_ndk_version" >&6; }
7670 export PATH
="$aros_android_sdk/tools:$PATH"
7671 # Extract the first word of "$android_tool", so it can be a program name with args.
7672 set dummy
$android_tool; ac_word
=$2
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7674 $as_echo_n "checking for $ac_word... " >&6; }
7675 if test "${ac_cv_path_android_tool+set}" = set; then :
7676 $as_echo_n "(cached) " >&6
7678 case $android_tool in
7680 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7687 test -z "$as_dir" && as_dir
=.
7688 for ac_exec_ext
in '' $ac_executable_extensions; do
7689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7690 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7701 android_tool
=$ac_cv_path_android_tool
7702 if test -n "$android_tool"; then
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7704 $as_echo "$android_tool" >&6; }
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7707 $as_echo "no" >&6; }
7711 if test "$android_tool" = ""; then
7712 as_fn_error
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7715 aros_android_level
=android-
$aros_sdk_version
7716 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7717 echo "Platform $aros_android_level is not installed in your SDK"
7718 echo "Use --with-sdk-version=<API level number> to select another platform version"
7719 echo "You can check what plaform versions are installed in your SDK"
7720 echo "by examining contents of $aros_android_sdk/platforms directory"
7721 as_fn_error
"Android platform $aros_android_level is not installed" "$LINENO" 5
7724 # Extract the first word of "ant", so it can be a program name with args.
7725 set dummy ant
; ac_word
=$2
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7727 $as_echo_n "checking for $ac_word... " >&6; }
7728 if test "${ac_cv_path_ant+set}" = set; then :
7729 $as_echo_n "(cached) " >&6
7733 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7740 test -z "$as_dir" && as_dir
=.
7741 for ac_exec_ext
in '' $ac_executable_extensions; do
7742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7743 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755 if test -n "$ant"; then
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7757 $as_echo "$ant" >&6; }
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7760 $as_echo "no" >&6; }
7764 if test "$ant" = ""; then
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7766 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7769 if test "$host_os" = "mingw32"; then
7770 android_tool
="cmd //c $android_tool"
7776 #-----------------------------------------------------------------------------
7777 # External toolchains
7778 kernel_tool_prefix
="none"
7779 aros_tool_prefix
="none"
7780 elf_tool_prefix
="${target_cpu}-elf-"
7782 # This is the target configuration switch.
7783 case "$target_os" in
7785 aros_target_arch
="linux"
7786 aros_target_family
="unix"
7787 case "$target_cpu" in
7789 aros_target_cpu
="m68k"
7790 aros_object_format
="m68kelf"
7791 aros_flavour
="emulcompat"
7792 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7793 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7794 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7795 gcc_target_cpu
="mc68000"
7798 aros_target_cpu
="i386"
7799 aros_object_format
="elf_i386"
7800 aros_flavour
="emulation"
7801 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7802 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7803 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7804 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7805 aros_config_ldflags
="-m32 -march=i486"
7806 aros_kernel_ldflags
="-melf_i386"
7807 aros_default_wbdepth
=8
7808 gcc_target_cpu
="i386"
7809 pci_hidd_target
="hidd-pci-linux"
7810 android_tool_dir_prefix
="x86"
7811 android_tool_prefix
="i686-android-linux"
7812 android_ndk_arch
="x86"
7815 aros_target_cpu
="x86_64"
7816 aros_object_format
="elf_x86_64"
7817 aros_flavour
="emulation"
7818 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7819 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7820 aros_default_wbdepth
=8
7821 pci_hidd_target
="hidd-pci-linux"
7824 aros_target_cpu
="ppc"
7825 aros_object_format
="elf32ppc"
7826 aros_flavour
="emulation"
7827 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7828 aros_default_wbdepth
=8
7829 gcc_target_cpu
="ppc"
7832 # Same as powerpc, but I need this for the nightly build to work again.
7833 # Actually, the nightly should be made working with powerpc target.
7834 # That just was too much work for the moment, another week or two.
7836 aros_target_cpu
="ppc"
7837 aros_object_format
="elf32ppc"
7838 aros_flavour
="emulation"
7839 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7840 aros_default_wbdepth
=8
7841 gcc_target_cpu
="ppc"
7844 aros_target_cpu
="arm"
7846 aros_object_format
="armelf_linux_eabi"
7847 aros_flavour
="emulation"
7848 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7849 gcc_target_cpu
="arm"
7850 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7851 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7852 aros_arch_libs
="-laeabi"
7853 gcc_default_fpu
="vfpv3-d16"
7854 gcc_default_float_abi
="hard"
7855 android_tool_dir_prefix
="arm-linux-androideabi"
7856 android_tool_prefix
="arm-linux-androideabi"
7857 android_ndk_arch
="arm"
7858 kernel_tool_prefix
="arm-linux-gnueabihf-"
7861 aros_target_cpu
="arm"
7862 aros_object_format
="armelf_linux_eabi"
7863 aros_flavour
="emulation"
7864 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7865 gcc_target_cpu
="arm"
7866 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7867 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7868 aros_arch_libs
="-laeabi"
7869 android_tool_dir_prefix
="arm-linux-androideabi"
7870 android_tool_prefix
="arm-linux-androideabi"
7871 android_ndk_arch
="arm"
7872 kernel_tool_prefix
="arm-linux-gnueabi-"
7875 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7878 case "$aros_target_variant" in
7881 if test "$android_ndk_arch" = ""; then
7882 as_fn_error
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7885 aros_default_wbwidth
=320
7886 aros_default_wbheight
=480
7887 if test "$aros_android_ndk" = "none"; then
7888 aros_kernel_cflags
="-mandroid"
7889 aros_kernel_ldflags
="-mandroid"
7892 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7893 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7894 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7895 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7896 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7897 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7900 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7901 # Disable implicit PIC mode
7902 aros_target_cflags
="$aros_target_cflags -fno-pic"
7903 kernel_tool_prefix
="$android_tool_prefix-"
7909 aros_target_arch
="pc"
7910 aros_shared_default
="no"
7911 target_bootloader
="grub2"
7912 case "$target_cpu" in
7914 aros_target_cpu
="i386"
7917 if test "$aros_object_format" = "" ; then
7918 aros_object_format
="elf_i386"
7920 aros_flavour
="standalone"
7921 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7922 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7923 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7924 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7925 aros_config_ldflags
="-m32 -march=i486"
7926 aros_kernel_ldflags
="-melf_i386"
7927 aros_default_wbwidth
=640
7928 aros_default_wbheight
=480
7929 gcc_target_cpu
="i386"
7932 aros_target_cpu
="x86_64"
7934 if test "$aros_object_format" = "" ; then
7935 aros_object_format
="elf_x86_64"
7937 aros_flavour
="standalone"
7938 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7939 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7940 aros_kernel_ldflags
=""
7941 aros_default_wbwidth
=640
7942 aros_default_wbheight
=480
7945 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7951 aros_target_arch
="prep"
7952 aros_shared_default
="no"
7953 aros_target_cpu
="ppc"
7954 aros_object_format
="elf32ppc"
7955 aros_flavour
="ppcnative"
7956 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7957 aros_kernel_ldflags
=""
7958 aros_default_wbwidth
=640
7959 aros_default_wbheight
=480
7960 gcc_target_cpu
="ppc"
7964 aros_target_arch
="freebsd"
7965 aros_target_family
="unix"
7966 aros_target_cpu
="i386"
7967 aros_flavour
="emulation"
7968 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7969 gcc_target_cpu
="i386"
7971 aros_target_strip_flags
="-x"
7975 aros_target_arch
="darwin"
7976 aros_target_family
="unix"
7977 aros_flavour
="emulation"
7978 case "$target_cpu" in
7980 aros_ios_platform
="iPhoneSimulator"
7981 aros_target_cpu
="i386"
7982 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7983 aros_kernel_ldflags
=""
7984 aros_macosx_version
="10.4"
7985 aros_default_wbdepth
=8
7986 gcc_target_cpu
="i386"
7987 aros_object_format
="elf_i386"
7988 aros_kernel_ar_flags
="-cr"
7989 aros_target_strip_flags
="-x"
7990 kernel_tool_flags
="-m32"
7993 aros_target_cpu
="x86_64"
7994 aros_object_format
="elf_x86_64"
7995 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7996 aros_macosx_version
="10.6"
7997 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7998 aros_kernel_cflags
="-m64"
7999 aros_kernel_ldflags
="-m64"
8000 aros_target_cflags
="-mcmodel=large"
8001 aros_default_wbdepth
=8
8003 aros_kernel_ar_flags
="-cr"
8005 aros_kernel_ranlib
="ranlib"
8008 aros_target_cpu
="ppc"
8009 aros_object_format
="elf32ppc"
8010 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8011 aros_kernel_ldflags
=""
8012 aros_macosx_version
="10.0"
8013 aros_default_wbdepth
=8
8014 gcc_target_cpu
="ppc"
8016 aros_kernel_ar_flags
="-cr"
8017 aros_kernel_ld
="ld -arch ppc"
8018 aros_kernel_as
="as -arch ppc"
8019 aros_kernel_ranlib
="ranlib -arch ppc"
8020 aros_kernel_nm
="nm -arch ppc"
8021 aros_kernel_strip
="strip -arch ppc"
8022 kernel_tool_prefix
="powerpc-apple-darwin10-"
8025 aros_ios_platform
="iPhoneOS"
8026 aros_target_cpu
="arm"
8027 aros_object_format
="armelf_linux_eabi"
8028 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8029 aros_arch_libs
="-laeabi"
8030 aros_default_wbdepth
=8
8031 gcc_target_cpu
="arm"
8033 aros_kernel_ar_flags
="-cr"
8034 aros_kernel_ld
="ld -arch arm"
8035 aros_kernel_ranlib
="ranlib -arch arm"
8036 kernel_tool_prefix
="arm-apple-darwin10-"
8037 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8040 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8043 case "$aros_target_variant" in
8045 aros_ios_version
="3.0"
8046 aros_default_wbwidth
=320
8047 aros_default_wbheight
=480
8048 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8049 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8050 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8052 # This is here because it may depend on iOS or SDK version
8053 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8054 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8055 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8058 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8059 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8065 aros_target_arch
="dragonfly"
8066 aros_target_family
="unix"
8067 aros_flavour
="emulation"
8068 case "$target_cpu" in
8070 aros_target_cpu
="i386"
8071 aros_object_format
="elf_i386"
8072 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8075 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8076 aros_target_cpu
="x86_64"
8077 aros_object_format
="elf_x86_64"
8078 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8081 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8087 aros_target_arch
="netbsd"
8088 aros_target_family
="unix"
8089 case "$target_cpu" in
8091 aros_target_cpu
="m68k"
8092 aros_object_format
="m68kelf"
8093 aros_flavour
="emulcompat"
8094 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8095 gcc_target_cpu
="mc68000"
8098 aros_target_cpu
="i386"
8099 aros_object_format
="elf_i386"
8100 aros_flavour
="emulation"
8101 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8102 aros_default_wbdepth
=8
8103 gcc_target_cpu
="i386"
8106 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8109 aros_target_genmap
="-Wl,-M -Xlinker >"
8110 aros_flavour
="emulation"
8111 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8115 aros_target_arch
="openbsd"
8116 aros_target_family
="unix"
8117 case "$target_cpu" in
8119 aros_target_cpu
="i386"
8120 aros_object_format
="elf_i386"
8121 aros_flavour
="emulation"
8122 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8123 gcc_target_cpu
="i386"
8126 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8129 aros_target_genmap
="-Wl,-M -Xlinker >"
8130 aros_target_nm_flags
="-u"
8131 aros_flavour
="emulation"
8135 aros_target_arch
="solaris"
8136 aros_target_family
="unix"
8137 case "$target_cpu" in
8139 aros_target_cpu
="i386"
8140 aros_object_format
="elf_i386"
8141 aros_flavour
="emulation"
8142 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8143 aros_default_wbdepth
=8
8144 gcc_target_cpu
="i386"
8147 aros_target_cpu
="sparc"
8148 aros_object_format
="elf_sparc"
8149 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8150 gcc_target_cpu
="sparc"
8153 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8156 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8157 aros_flavour
="emulation"
8161 aros_target_arch
="morphos"
8162 aros_shared_default
="no"
8163 aros_target_cpu
="ppc"
8164 aros_object_format
="elf_ppc"
8165 aros_flavour
="nativecompat"
8166 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8167 gcc_target_cpu
="ppc"
8171 aros_target_arch
="sam440"
8172 aros_shared_default
="no"
8173 aros_target_cpu
="ppc"
8174 aros_object_format
="elf32ppc"
8175 aros_flavour
="ppcnative"
8176 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8177 aros_kernel_ldflags
=""
8178 aros_default_wbwidth
=1024
8179 aros_default_wbheight
=768
8180 aros_default_wbdepth
=24
8181 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8182 gcc_target_cpu
="powerpc"
8186 aros_target_arch
="efika"
8187 aros_shared_default
="no"
8188 aros_target_cpu
="arm"
8189 aros_object_format
="armelf_linux_eabi"
8190 aros_flavour
="standalone"
8191 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8192 aros_kernel_ldflags
=""
8193 aros_default_wbwidth
=1024
8194 aros_default_wbheight
=600
8195 aros_arch_libs
="-laeabi"
8196 gcc_default_cpu
="armv7-a"
8197 gcc_default_fpu
="vfpv3"
8198 gcc_default_float_abi
="softfp"
8199 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8200 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8204 aros_target_arch
="chrp"
8205 aros_shared_default
="no"
8206 aros_target_cpu
="ppc"
8207 aros_object_format
="elf32ppc"
8208 aros_flavour
="ppcnative"
8209 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8210 aros_kernel_ldflags
=""
8211 aros_default_wbwidth
=640
8212 aros_default_wbheight
=480
8213 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8214 gcc_target_cpu
="powerpc"
8215 case "$aros_target_variant" in
8217 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8223 aros_flavour
="standalone"
8224 aros_target_arch
="raspberrypi"
8225 aros_target_cpu
="arm"
8226 aros_object_format
="armelf_linux_eabi"
8227 aros_shared_default
="no"
8228 aros_arch_libs
="-laeabi"
8230 gcc_default_cpu
="armv6"
8231 gcc_default_cpu_tune
="arm1176jzf-s"
8232 gcc_default_fpu
="vfp"
8233 gcc_default_float_abi
="softfp"
8235 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8236 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8237 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8238 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8239 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8243 aros_target_arch
="amiga"
8244 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8245 aros_shared_default
="no"
8247 case "$target_cpu" in
8249 # Check whether --enable-amigaos_compliance was given.
8250 if test "${enable_amigaos_compliance+set}" = set; then :
8251 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8255 aros_target_cpu
="m68k"
8256 aros_object_format
="m68kelf"
8257 aros_flavour
="standcompat"
8258 gcc_target_cpu
="m68000"
8259 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8260 aros_config_aflags
="$aros_config_aflags"
8261 aros_target_strip_flags
="-R.comment --strip-debug"
8262 aros_default_wbwidth
=640
8263 aros_default_wbheight
=256
8264 aros_default_wbdepth
=2
8268 aros_flavour
="native"
8269 gcc_target_cpu
="ppc"
8272 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8278 aros_target_arch
="mingw32"
8279 aros_shared_default
="no"
8280 aros_flavour
="emulation"
8281 aros_shared_cflags
=""
8282 need_crosstools
="yes"
8285 case "$target_cpu" in
8287 aros_target_cpu
="i386"
8288 aros_object_format
="elf_i386"
8289 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8290 aros_default_wbdepth
=8
8291 gcc_target_cpu
="i386"
8293 kernel_tool_prefix
="i386-mingw32-"
8296 aros_target_cpu
="x86_64"
8297 aros_object_format
="elf_x86_64"
8298 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8299 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8300 aros_default_wbdepth
=8
8301 kernel_tool_prefix
="x86_64-w64-mingw32-"
8304 aros_target_cpu
="arm"
8305 aros_object_format
="armelf_linux_eabi"
8306 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8307 aros_arch_libs
="-laeabi"
8308 aros_default_wbdepth
=8
8309 gcc_target_cpu
="arm"
8310 gcc_default_float_abi
="soft"
8311 kernel_tool_prefix
="arm-mingw32ce-"
8312 aros_default_wbwidth
=160
8313 aros_default_wbheight
=160
8316 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8319 if test $host_os = "cygwin"; then
8320 aros_kernel_cflags
="-mno-cygwin"
8324 aros_target_arch
="pp"
8325 aros_shared_default
="no"
8326 case "$target_cpu" in
8328 aros_target_cpu
="m68k"
8329 aros_object_format
="m68kelf"
8330 aros_flavour
="palmnative"
8331 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8332 aros_default_wbwidth
=160
8333 aros_default_wbheight
=160
8334 aros_default_wbdepth
=1
8335 aros_target_ar_flags
="cru"
8336 aros_compiler_libs
="-lgcc1"
8337 aros_shared_default
=no
8338 aros_shared_cflags
="-fpic"
8339 aros_shared_aflags
=""
8340 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8341 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8342 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8343 aros_debug_aflags
=""
8344 aros_debug_ldflags
="$aros_symbols_debug"
8345 aros_mungwall_debug
="0"
8346 aros_modules_debug
="0"
8347 gcc_target_cpu
="mc68000"
8348 ignore_undefined_symbols
="-ius"
8351 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8357 aros_target_arch
="mac"
8358 aros_shared_default
="no"
8359 case "$target_cpu" in
8361 aros_target_cpu
="m68k"
8362 aros_object_format
="m68kelf"
8363 aros_flavour
="mac68knative"
8364 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8365 aros_default_wbwidth
=512
8366 aros_default_wbheight
=384
8367 aros_default_wbdepth
=8
8368 aros_target_ar_flags
="cru"
8369 aros_compiler_libs
="-lgcc1"
8370 aros_shared_default
=no
8371 aros_shared_cflags
="-fpic"
8372 aros_shared_aflags
=""
8373 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8374 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8375 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8376 aros_debug_aflags
=""
8377 aros_debug_ldflags
="$aros_symbols_debug"
8378 aros_mungwall_debug
="0"
8379 aros_modules_debug
="0"
8380 gcc_target_cpu
="mc68000"
8381 ignore_undefined_symbols
="-ius"
8384 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8390 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
8394 #-----------------------------------------------------------------------------
8395 crosstools_guess
=yes
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8398 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8400 # Check whether --with-kernel-toolchain-prefix was given.
8401 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8402 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8406 $as_echo "$kernel_tool_prefix" >&6; }
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8409 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8411 # Check whether --with-elf-toolchain-prefix was given.
8412 if test "${with_elf_toolchain_prefix+set}" = set; then :
8413 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8418 $as_echo "$elf_tool_prefix" >&6; }
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8421 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8423 # Check whether --with-aros-toolchain was given.
8424 if test "${with_aros_toolchain+set}" = set; then :
8425 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8429 if test "$aros_tool_prefix" = "yes" ; then
8430 aros_tool_prefix
=$aros_target_cpu-aros-
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8433 $as_echo "$aros_tool_prefix" >&6; }
8435 #-----------------------------------------------------------------------------
8436 # Checking if we should build crosstools..
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8438 $as_echo_n "checking whether to build crosstools... " >&6; }
8439 # Check whether --enable-crosstools was given.
8440 if test "${enable_crosstools+set}" = set; then :
8441 enableval
=$enable_crosstools; crosstools
="$enableval"
8443 crosstools
="$crosstools_guess"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8447 $as_echo "$crosstools" >&6; }
8449 if test "${crosstools}" = "yes"; then
8450 if test "${crosstools_guess}" = "no"; then
8451 as_fn_error
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8456 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8458 # Check whether --with-aros-toolchain-install was given.
8459 if test "${with_aros_toolchain_install+set}" = set; then :
8460 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8463 if test "x$aros_toolchain_install" = "x"; then
8464 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8466 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8467 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8470 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8473 # Now process extra architecture-specific options.
8474 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8475 # as well as floating-point ABI.
8476 case "$aros_target_cpu" in
8478 if test "$gcc_default_cpu" = ""; then
8479 gcc_default_cpu
="armv6"
8481 if test "$gcc_default_fpu" = ""; then
8482 gcc_default_fpu
="vfp"
8484 if test "$gcc_default_float_abi" = ""; then
8485 gcc_default_float_abi
="softfp"
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8489 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8491 # Check whether --with-cpu was given.
8492 if test "${with_cpu+set}" = set; then :
8493 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8495 aros_gcc_cpu
=$gcc_default_cpu
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8499 $as_echo "$aros_gcc_cpu" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8502 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8504 # Check whether --with-fpu was given.
8505 if test "${with_fpu+set}" = set; then :
8506 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8508 aros_gcc_fpu
=$gcc_default_fpu
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8512 $as_echo "$aros_gcc_fpu" >&6; }
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8515 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8517 # Check whether --with-float was given.
8518 if test "${with_float+set}" = set; then :
8519 withval
=$with_float; aros_gcc_float_abi
="$withval"
8521 aros_gcc_float_abi
=$gcc_default_float_abi
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8525 $as_echo "$aros_gcc_float_abi" >&6; }
8527 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"
8528 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"
8532 # Some formats need custom ELF specs.
8533 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8534 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8535 elf_specs_in
=config
/${aros_object_format}-specs.
in
8537 elf_specs_in
=config
/elf-specs.
in
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8541 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8543 # Check whether --with-aros-gcc was given.
8544 if test "${with_aros_gcc+set}" = set; then :
8545 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8551 $as_echo "$aros_gcc_version" >&6; }
8553 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8554 # Since we override specs, we may need to put these defines there
8555 if test "$gcc_target_cpu" != ""; then
8556 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8560 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8562 # Check whether --with-portssources was given.
8563 if test "${with_portssources+set}" = set; then :
8564 withval
=$with_portssources; with_portssrcdir
=$withval
8566 with_portssrcdir
="default"
8569 if test "$with_portssrcdir" = "default"; then
8570 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8572 AROS_PORTSSRCDIR
="$with_portssrcdir"
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8575 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8578 $as_echo_n "checking which bootloader to use... " >&6; }
8580 # Check whether --with-bootloader was given.
8581 if test "${with_bootloader+set}" = set; then :
8582 withval
=$with_bootloader; target_bootloader
=$withval
8584 target_bootloader
=$target_bootloader
8587 if test "$target_bootloader" = "none"; then
8588 aros_target_bootloader
=""
8590 aros_target_bootloader
="$target_bootloader"
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8593 $as_echo "$target_bootloader" >&6; }
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8596 $as_echo_n "checking which icon-set to use... " >&6; }
8598 # Check whether --with-iconset was given.
8599 if test "${with_iconset+set}" = set; then :
8600 withval
=$with_iconset; target_iconset
=$withval
8602 target_iconset
="default"
8605 if test "$target_iconset" = "default"; then
8606 aros_target_iconset
="Gorilla"
8607 target_iconset
="default (Gorilla)"
8609 aros_target_iconset
="$target_iconset"
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8612 $as_echo "$target_iconset" >&6; }
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8615 $as_echo_n "checking which GUI Theme to use... " >&6; }
8617 # Check whether --with-theme was given.
8618 if test "${with_theme+set}" = set; then :
8619 withval
=$with_theme; target_guitheme
=$withval
8621 target_guitheme
="default"
8624 if test "$target_guitheme" = "default"; then
8625 aros_target_guitheme
="Ice"
8627 aros_target_guitheme
="$target_guitheme"
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8630 $as_echo "$aros_target_guitheme" >&6; }
8632 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8636 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8640 if test "$aros_host_cpu" == "x86_64" ; then
8641 if test "$aros_target_cpu" == "i386" ; then
8646 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8647 if test "$aros_host_arch" != "$aros_target_arch" ; then
8651 if test "$host_cc_elf" = "no" ; then
8656 if test "$cross_compiling" = "no" ; then
8657 kernel_tool_prefix
=""
8658 if test "$host_cc_elf" = "yes" ; then
8663 #######################################################################
8664 ## Compute what toolchains to use, and their paths ##
8665 #######################################################################
8667 # This takes, as input:
8668 # crosstools {yes,no}
8669 # kernel_tool_version {"",[version]}
8670 # aros_gcc_version {"",[version]}
8671 # kernel_tool_prefix {none,[some-arch-os-]}
8672 # target_tool_prefix ${aros_target_cpu}-aros-
8673 # aros_tool_prefix ${aros_target_cpu}-aros-
8676 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8677 # Where the 'kernel' binaries are located
8678 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8679 # Where the 'target' binaries are located
8680 # (not the symlink farm - that is aros_target_*!)
8683 # if crosstools then
8684 # if kernel_tools_prefix = "no-kernel-prefix-"
8685 # aros_kernel_* = crosstools cc paths
8686 # aros_kernel_cc = elf cc wrapper around crosstools cc
8688 # VALIDATE(${kernel_tools_prefix}*)
8689 # aros_kernel_* = ${kernel_tools_prefix}*
8690 # if ${kernel_tools_prefix}cc is an AROS gcc
8691 # aros_kernel_cc = ${kernel_tools_prefix}cc
8693 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8697 # orig_target_* = aros built crosstools
8698 # orig_target_cc = elf cc wrapper around crosstools cc
8700 # VALIDATE(${kernel_tools_prefix}*)
8702 # orig_target_* = aros_kernel_*
8703 # if aros_kernel_cc is an AROS gcc
8704 # orig_target_cc = aros_kernel_cc
8706 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8710 target_tool_prefix
="${aros_target_cpu}-aros-"
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8713 $as_echo_n "checking which kernel tools... " >&6; }
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8715 $as_echo "$kernel_tool_prefix" >&6; };
8717 if test "$kernel_tool_prefix" = "none" ; then
8718 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8719 as_fn_error
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8722 # Kernel tools required - find them
8723 # Note that 'normally', aros_kernel_* overrides will be
8724 # empty, unless specified in the per-arch sections above.
8725 if test "x$aros_kernel_cpp" = "x"; then
8726 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8729 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8730 if test "$cross_compiling" = "yes" ; then
8731 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8732 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8734 $as_echo_n "checking for $ac_word... " >&6; }
8735 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8736 $as_echo_n "(cached) " >&6
8738 case $aros_kernel_cpp in
8740 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8747 test -z "$as_dir" && as_dir
=.
8748 for ac_exec_ext
in '' $ac_executable_extensions; do
8749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8750 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8761 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8762 if test -n "$aros_kernel_cpp"; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8764 $as_echo "$aros_kernel_cpp" >&6; }
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8767 $as_echo "no" >&6; }
8772 if test "$GCC" = "yes"; then
8773 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8774 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8775 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8777 $as_echo_n "checking for $ac_word... " >&6; }
8778 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8779 $as_echo_n "(cached) " >&6
8781 case $aros_kernel_cpp in
8783 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8787 for as_dir
in `dirname $aros_gcc_cpp`
8790 test -z "$as_dir" && as_dir
=.
8791 for ac_exec_ext
in '' $ac_executable_extensions; do
8792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8793 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8804 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8805 if test -n "$aros_kernel_cpp"; then
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8807 $as_echo "$aros_kernel_cpp" >&6; }
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8810 $as_echo "no" >&6; }
8815 if test "$aros_kernel_cpp" = ""; then
8816 # Extract the first word of "cpp", so it can be a program name with args.
8817 set dummy cpp
; ac_word
=$2
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8819 $as_echo_n "checking for $ac_word... " >&6; }
8820 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8821 $as_echo_n "(cached) " >&6
8823 case $aros_kernel_cpp in
8825 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8832 test -z "$as_dir" && as_dir
=.
8833 for ac_exec_ext
in '' $ac_executable_extensions; do
8834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8835 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8846 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8847 if test -n "$aros_kernel_cpp"; then
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8849 $as_echo "$aros_kernel_cpp" >&6; }
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8852 $as_echo "no" >&6; }
8859 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8860 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8862 $as_echo_n "checking for $ac_word... " >&6; }
8863 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8864 $as_echo_n "(cached) " >&6
8866 case $aros_kernel_cpp in
8868 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8875 test -z "$as_dir" && as_dir
=.
8876 for ac_exec_ext
in '' $ac_executable_extensions; do
8877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8878 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8889 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8890 if test -n "$aros_kernel_cpp"; then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8892 $as_echo "$aros_kernel_cpp" >&6; }
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8895 $as_echo "no" >&6; }
8901 if test "$aros_kernel_cpp" = ""; then
8902 as_fn_error
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8904 if test "x$aros_kernel_cc" = "x"; then
8905 aros_kernel_cc
=${kernel_tool_prefix}gcc
8908 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8909 if test "$cross_compiling" = "yes" ; then
8910 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8911 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8913 $as_echo_n "checking for $ac_word... " >&6; }
8914 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
8915 $as_echo_n "(cached) " >&6
8917 case $aros_kernel_cc in
8919 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8926 test -z "$as_dir" && as_dir
=.
8927 for ac_exec_ext
in '' $ac_executable_extensions; do
8928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8929 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8940 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8941 if test -n "$aros_kernel_cc"; then
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8943 $as_echo "$aros_kernel_cc" >&6; }
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8946 $as_echo "no" >&6; }
8951 if test "$GCC" = "yes"; then
8952 aros_gcc_cc
=`$CC -print-prog-name=cc`
8953 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8954 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8956 $as_echo_n "checking for $ac_word... " >&6; }
8957 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
8958 $as_echo_n "(cached) " >&6
8960 case $aros_kernel_cc in
8962 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8966 for as_dir
in `dirname $aros_gcc_cc`
8969 test -z "$as_dir" && as_dir
=.
8970 for ac_exec_ext
in '' $ac_executable_extensions; do
8971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8972 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8983 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8984 if test -n "$aros_kernel_cc"; then
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8986 $as_echo "$aros_kernel_cc" >&6; }
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989 $as_echo "no" >&6; }
8994 if test "$aros_kernel_cc" = ""; then
8995 # Extract the first word of "cc", so it can be a program name with args.
8996 set dummy cc
; ac_word
=$2
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8998 $as_echo_n "checking for $ac_word... " >&6; }
8999 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
9000 $as_echo_n "(cached) " >&6
9002 case $aros_kernel_cc in
9004 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9011 test -z "$as_dir" && as_dir
=.
9012 for ac_exec_ext
in '' $ac_executable_extensions; do
9013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9014 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9025 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9026 if test -n "$aros_kernel_cc"; then
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9028 $as_echo "$aros_kernel_cc" >&6; }
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9031 $as_echo "no" >&6; }
9038 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9039 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9041 $as_echo_n "checking for $ac_word... " >&6; }
9042 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
9043 $as_echo_n "(cached) " >&6
9045 case $aros_kernel_cc in
9047 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9054 test -z "$as_dir" && as_dir
=.
9055 for ac_exec_ext
in '' $ac_executable_extensions; do
9056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9057 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9068 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9069 if test -n "$aros_kernel_cc"; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9071 $as_echo "$aros_kernel_cc" >&6; }
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9074 $as_echo "no" >&6; }
9080 if test "$aros_kernel_cc" = ""; then
9081 as_fn_error
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9083 if test "x$aros_kernel_cxx" = "x"; then
9084 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9087 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9088 if test "$cross_compiling" = "yes" ; then
9089 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9090 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9092 $as_echo_n "checking for $ac_word... " >&6; }
9093 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
9094 $as_echo_n "(cached) " >&6
9096 case $aros_kernel_cxx in
9098 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9105 test -z "$as_dir" && as_dir
=.
9106 for ac_exec_ext
in '' $ac_executable_extensions; do
9107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9108 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9119 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9120 if test -n "$aros_kernel_cxx"; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9122 $as_echo "$aros_kernel_cxx" >&6; }
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9125 $as_echo "no" >&6; }
9130 if test "$GCC" = "yes"; then
9131 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9132 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9133 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9135 $as_echo_n "checking for $ac_word... " >&6; }
9136 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
9137 $as_echo_n "(cached) " >&6
9139 case $aros_kernel_cxx in
9141 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9145 for as_dir
in `dirname $aros_gcc_cxx`
9148 test -z "$as_dir" && as_dir
=.
9149 for ac_exec_ext
in '' $ac_executable_extensions; do
9150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9151 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9162 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9163 if test -n "$aros_kernel_cxx"; then
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9165 $as_echo "$aros_kernel_cxx" >&6; }
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9168 $as_echo "no" >&6; }
9173 if test "$aros_kernel_cxx" = ""; then
9174 # Extract the first word of "cxx", so it can be a program name with args.
9175 set dummy cxx
; ac_word
=$2
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9177 $as_echo_n "checking for $ac_word... " >&6; }
9178 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
9179 $as_echo_n "(cached) " >&6
9181 case $aros_kernel_cxx in
9183 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9190 test -z "$as_dir" && as_dir
=.
9191 for ac_exec_ext
in '' $ac_executable_extensions; do
9192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9193 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9204 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9205 if test -n "$aros_kernel_cxx"; then
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9207 $as_echo "$aros_kernel_cxx" >&6; }
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9210 $as_echo "no" >&6; }
9217 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9218 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9220 $as_echo_n "checking for $ac_word... " >&6; }
9221 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
9222 $as_echo_n "(cached) " >&6
9224 case $aros_kernel_cxx in
9226 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9233 test -z "$as_dir" && as_dir
=.
9234 for ac_exec_ext
in '' $ac_executable_extensions; do
9235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9236 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9247 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9248 if test -n "$aros_kernel_cxx"; then
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9250 $as_echo "$aros_kernel_cxx" >&6; }
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9253 $as_echo "no" >&6; }
9259 # If it's set, make sure it's really there
9260 if test "x$aros_kernel_cxx" != "x" ; then
9261 if test "$aros_kernel_cxx" = ""; then
9262 as_fn_error
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9266 if test "$aros_kernel_ld" = ""; then
9267 if test "$cross_compiling" = "yes" ; then
9268 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9269 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9271 $as_echo_n "checking for $ac_word... " >&6; }
9272 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9273 $as_echo_n "(cached) " >&6
9275 case $aros_kernel_ld in
9277 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9284 test -z "$as_dir" && as_dir
=.
9285 for ac_exec_ext
in '' $ac_executable_extensions; do
9286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9287 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9298 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9299 if test -n "$aros_kernel_ld"; then
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9301 $as_echo "$aros_kernel_ld" >&6; }
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9304 $as_echo "no" >&6; }
9309 if test "$GCC" = "yes"; then
9310 aros_gcc_ld
=`$CC -print-prog-name=ld`
9311 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9312 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9314 $as_echo_n "checking for $ac_word... " >&6; }
9315 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9316 $as_echo_n "(cached) " >&6
9318 case $aros_kernel_ld in
9320 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9324 for as_dir
in `dirname $aros_gcc_ld`
9327 test -z "$as_dir" && as_dir
=.
9328 for ac_exec_ext
in '' $ac_executable_extensions; do
9329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9330 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9341 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9342 if test -n "$aros_kernel_ld"; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9344 $as_echo "$aros_kernel_ld" >&6; }
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9347 $as_echo "no" >&6; }
9352 if test "$aros_kernel_ld" = ""; then
9353 # Extract the first word of "ld", so it can be a program name with args.
9354 set dummy ld
; ac_word
=$2
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9356 $as_echo_n "checking for $ac_word... " >&6; }
9357 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9358 $as_echo_n "(cached) " >&6
9360 case $aros_kernel_ld in
9362 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9369 test -z "$as_dir" && as_dir
=.
9370 for ac_exec_ext
in '' $ac_executable_extensions; do
9371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9372 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9383 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9384 if test -n "$aros_kernel_ld"; then
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9386 $as_echo "$aros_kernel_ld" >&6; }
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9389 $as_echo "no" >&6; }
9396 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9397 set dummy
$aros_kernel_ld; ac_word
=$2
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9399 $as_echo_n "checking for $ac_word... " >&6; }
9400 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9401 $as_echo_n "(cached) " >&6
9403 case $aros_kernel_ld in
9405 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9412 test -z "$as_dir" && as_dir
=.
9413 for ac_exec_ext
in '' $ac_executable_extensions; do
9414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9415 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9426 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9427 if test -n "$aros_kernel_ld"; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9429 $as_echo "$aros_kernel_ld" >&6; }
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9432 $as_echo "no" >&6; }
9438 if test "$aros_kernel_ld" = ""; then
9439 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9442 if test "$aros_kernel_as" = ""; then
9443 if test "$cross_compiling" = "yes" ; then
9444 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9445 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9447 $as_echo_n "checking for $ac_word... " >&6; }
9448 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9449 $as_echo_n "(cached) " >&6
9451 case $aros_kernel_as in
9453 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9460 test -z "$as_dir" && as_dir
=.
9461 for ac_exec_ext
in '' $ac_executable_extensions; do
9462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9463 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9474 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9475 if test -n "$aros_kernel_as"; then
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9477 $as_echo "$aros_kernel_as" >&6; }
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9480 $as_echo "no" >&6; }
9485 if test "$GCC" = "yes"; then
9486 aros_gcc_as
=`$CC -print-prog-name=as`
9487 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9488 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9490 $as_echo_n "checking for $ac_word... " >&6; }
9491 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9492 $as_echo_n "(cached) " >&6
9494 case $aros_kernel_as in
9496 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9500 for as_dir
in `dirname $aros_gcc_as`
9503 test -z "$as_dir" && as_dir
=.
9504 for ac_exec_ext
in '' $ac_executable_extensions; do
9505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9506 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9517 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9518 if test -n "$aros_kernel_as"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9520 $as_echo "$aros_kernel_as" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9523 $as_echo "no" >&6; }
9528 if test "$aros_kernel_as" = ""; then
9529 # Extract the first word of "as", so it can be a program name with args.
9530 set dummy as
; ac_word
=$2
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9532 $as_echo_n "checking for $ac_word... " >&6; }
9533 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9534 $as_echo_n "(cached) " >&6
9536 case $aros_kernel_as in
9538 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9545 test -z "$as_dir" && as_dir
=.
9546 for ac_exec_ext
in '' $ac_executable_extensions; do
9547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9548 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9559 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9560 if test -n "$aros_kernel_as"; then
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9562 $as_echo "$aros_kernel_as" >&6; }
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9565 $as_echo "no" >&6; }
9572 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9573 set dummy
$aros_kernel_as; ac_word
=$2
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9575 $as_echo_n "checking for $ac_word... " >&6; }
9576 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9577 $as_echo_n "(cached) " >&6
9579 case $aros_kernel_as in
9581 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9588 test -z "$as_dir" && as_dir
=.
9589 for ac_exec_ext
in '' $ac_executable_extensions; do
9590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9591 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9602 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9603 if test -n "$aros_kernel_as"; then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9605 $as_echo "$aros_kernel_as" >&6; }
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9608 $as_echo "no" >&6; }
9614 if test "$aros_kernel_as" = ""; then
9615 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9618 if test "$aros_kernel_ar" = ""; then
9619 if test "$cross_compiling" = "yes" ; then
9620 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9621 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9623 $as_echo_n "checking for $ac_word... " >&6; }
9624 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9625 $as_echo_n "(cached) " >&6
9627 case $aros_kernel_ar in
9629 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9636 test -z "$as_dir" && as_dir
=.
9637 for ac_exec_ext
in '' $ac_executable_extensions; do
9638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9639 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9650 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9651 if test -n "$aros_kernel_ar"; then
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9653 $as_echo "$aros_kernel_ar" >&6; }
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9656 $as_echo "no" >&6; }
9661 if test "$GCC" = "yes"; then
9662 aros_gcc_ar
=`$CC -print-prog-name=ar`
9663 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9664 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9666 $as_echo_n "checking for $ac_word... " >&6; }
9667 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9668 $as_echo_n "(cached) " >&6
9670 case $aros_kernel_ar in
9672 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9676 for as_dir
in `dirname $aros_gcc_ar`
9679 test -z "$as_dir" && as_dir
=.
9680 for ac_exec_ext
in '' $ac_executable_extensions; do
9681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9682 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9693 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9694 if test -n "$aros_kernel_ar"; then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9696 $as_echo "$aros_kernel_ar" >&6; }
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 $as_echo "no" >&6; }
9704 if test "$aros_kernel_ar" = ""; then
9705 # Extract the first word of "ar", so it can be a program name with args.
9706 set dummy
ar; ac_word
=$2
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9708 $as_echo_n "checking for $ac_word... " >&6; }
9709 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9710 $as_echo_n "(cached) " >&6
9712 case $aros_kernel_ar in
9714 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9721 test -z "$as_dir" && as_dir
=.
9722 for ac_exec_ext
in '' $ac_executable_extensions; do
9723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9724 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9735 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9736 if test -n "$aros_kernel_ar"; then
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9738 $as_echo "$aros_kernel_ar" >&6; }
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9741 $as_echo "no" >&6; }
9748 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9749 set dummy
$aros_kernel_ar; ac_word
=$2
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9751 $as_echo_n "checking for $ac_word... " >&6; }
9752 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9753 $as_echo_n "(cached) " >&6
9755 case $aros_kernel_ar in
9757 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9764 test -z "$as_dir" && as_dir
=.
9765 for ac_exec_ext
in '' $ac_executable_extensions; do
9766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9767 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9778 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9779 if test -n "$aros_kernel_ar"; then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9781 $as_echo "$aros_kernel_ar" >&6; }
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9784 $as_echo "no" >&6; }
9790 if test "$aros_kernel_ar" = ""; then
9791 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9794 if test "$aros_kernel_ranlib" = ""; then
9795 if test "$cross_compiling" = "yes" ; then
9796 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9797 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9799 $as_echo_n "checking for $ac_word... " >&6; }
9800 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9801 $as_echo_n "(cached) " >&6
9803 case $aros_kernel_ranlib in
9805 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9812 test -z "$as_dir" && as_dir
=.
9813 for ac_exec_ext
in '' $ac_executable_extensions; do
9814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9815 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9826 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9827 if test -n "$aros_kernel_ranlib"; then
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9829 $as_echo "$aros_kernel_ranlib" >&6; }
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9832 $as_echo "no" >&6; }
9837 if test "$GCC" = "yes"; then
9838 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9839 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9840 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9842 $as_echo_n "checking for $ac_word... " >&6; }
9843 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9844 $as_echo_n "(cached) " >&6
9846 case $aros_kernel_ranlib in
9848 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9852 for as_dir
in `dirname $aros_gcc_ranlib`
9855 test -z "$as_dir" && as_dir
=.
9856 for ac_exec_ext
in '' $ac_executable_extensions; do
9857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9858 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9869 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9870 if test -n "$aros_kernel_ranlib"; then
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9872 $as_echo "$aros_kernel_ranlib" >&6; }
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9875 $as_echo "no" >&6; }
9880 if test "$aros_kernel_ranlib" = ""; then
9881 # Extract the first word of "ranlib", so it can be a program name with args.
9882 set dummy ranlib
; ac_word
=$2
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9884 $as_echo_n "checking for $ac_word... " >&6; }
9885 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9886 $as_echo_n "(cached) " >&6
9888 case $aros_kernel_ranlib in
9890 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9897 test -z "$as_dir" && as_dir
=.
9898 for ac_exec_ext
in '' $ac_executable_extensions; do
9899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9900 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9911 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9912 if test -n "$aros_kernel_ranlib"; then
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9914 $as_echo "$aros_kernel_ranlib" >&6; }
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9917 $as_echo "no" >&6; }
9924 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9925 set dummy
$aros_kernel_ranlib; ac_word
=$2
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9927 $as_echo_n "checking for $ac_word... " >&6; }
9928 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9929 $as_echo_n "(cached) " >&6
9931 case $aros_kernel_ranlib in
9933 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9940 test -z "$as_dir" && as_dir
=.
9941 for ac_exec_ext
in '' $ac_executable_extensions; do
9942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9943 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9954 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9955 if test -n "$aros_kernel_ranlib"; then
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9957 $as_echo "$aros_kernel_ranlib" >&6; }
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9960 $as_echo "no" >&6; }
9966 if test "$aros_kernel_ranlib" = ""; then
9967 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9970 if test "$aros_kernel_nm" = ""; then
9971 if test "$cross_compiling" = "yes" ; then
9972 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9973 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9975 $as_echo_n "checking for $ac_word... " >&6; }
9976 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
9977 $as_echo_n "(cached) " >&6
9979 case $aros_kernel_nm in
9981 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir
=.
9989 for ac_exec_ext
in '' $ac_executable_extensions; do
9990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9991 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10002 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10003 if test -n "$aros_kernel_nm"; then
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10005 $as_echo "$aros_kernel_nm" >&6; }
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10008 $as_echo "no" >&6; }
10013 if test "$GCC" = "yes"; then
10014 aros_gcc_nm
=`$CC -print-prog-name=nm`
10015 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10016 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10018 $as_echo_n "checking for $ac_word... " >&6; }
10019 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
10020 $as_echo_n "(cached) " >&6
10022 case $aros_kernel_nm in
10024 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10028 for as_dir
in `dirname $aros_gcc_nm`
10031 test -z "$as_dir" && as_dir
=.
10032 for ac_exec_ext
in '' $ac_executable_extensions; do
10033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10034 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10045 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10046 if test -n "$aros_kernel_nm"; then
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10048 $as_echo "$aros_kernel_nm" >&6; }
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10051 $as_echo "no" >&6; }
10056 if test "$aros_kernel_nm" = ""; then
10057 # Extract the first word of "nm", so it can be a program name with args.
10058 set dummy nm
; ac_word
=$2
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10060 $as_echo_n "checking for $ac_word... " >&6; }
10061 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
10062 $as_echo_n "(cached) " >&6
10064 case $aros_kernel_nm in
10066 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10070 for as_dir
in $PATH
10073 test -z "$as_dir" && as_dir
=.
10074 for ac_exec_ext
in '' $ac_executable_extensions; do
10075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10076 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10087 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10088 if test -n "$aros_kernel_nm"; then
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10090 $as_echo "$aros_kernel_nm" >&6; }
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10093 $as_echo "no" >&6; }
10100 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10101 set dummy
$aros_kernel_nm; ac_word
=$2
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10103 $as_echo_n "checking for $ac_word... " >&6; }
10104 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
10105 $as_echo_n "(cached) " >&6
10107 case $aros_kernel_nm in
10109 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10113 for as_dir
in $PATH
10116 test -z "$as_dir" && as_dir
=.
10117 for ac_exec_ext
in '' $ac_executable_extensions; do
10118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10119 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10130 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10131 if test -n "$aros_kernel_nm"; then
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10133 $as_echo "$aros_kernel_nm" >&6; }
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10136 $as_echo "no" >&6; }
10142 if test "$aros_kernel_nm" = ""; then
10143 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10146 if test "$aros_kernel_strip" = ""; then
10147 if test "$cross_compiling" = "yes" ; then
10148 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10149 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10151 $as_echo_n "checking for $ac_word... " >&6; }
10152 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10153 $as_echo_n "(cached) " >&6
10155 case $aros_kernel_strip in
10157 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10161 for as_dir
in $PATH
10164 test -z "$as_dir" && as_dir
=.
10165 for ac_exec_ext
in '' $ac_executable_extensions; do
10166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10167 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10178 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10179 if test -n "$aros_kernel_strip"; then
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10181 $as_echo "$aros_kernel_strip" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10184 $as_echo "no" >&6; }
10189 if test "$GCC" = "yes"; then
10190 aros_gcc_strip
=`$CC -print-prog-name=strip`
10191 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10192 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10194 $as_echo_n "checking for $ac_word... " >&6; }
10195 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10198 case $aros_kernel_strip in
10200 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10204 for as_dir
in `dirname $aros_gcc_strip`
10207 test -z "$as_dir" && as_dir
=.
10208 for ac_exec_ext
in '' $ac_executable_extensions; do
10209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10210 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10221 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10222 if test -n "$aros_kernel_strip"; then
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10224 $as_echo "$aros_kernel_strip" >&6; }
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10227 $as_echo "no" >&6; }
10232 if test "$aros_kernel_strip" = ""; then
10233 # Extract the first word of "strip", so it can be a program name with args.
10234 set dummy strip
; ac_word
=$2
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10236 $as_echo_n "checking for $ac_word... " >&6; }
10237 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10238 $as_echo_n "(cached) " >&6
10240 case $aros_kernel_strip in
10242 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10246 for as_dir
in $PATH
10249 test -z "$as_dir" && as_dir
=.
10250 for ac_exec_ext
in '' $ac_executable_extensions; do
10251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10252 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10263 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10264 if test -n "$aros_kernel_strip"; then
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10266 $as_echo "$aros_kernel_strip" >&6; }
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10269 $as_echo "no" >&6; }
10276 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10277 set dummy
$aros_kernel_strip; ac_word
=$2
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10279 $as_echo_n "checking for $ac_word... " >&6; }
10280 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10281 $as_echo_n "(cached) " >&6
10283 case $aros_kernel_strip in
10285 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10289 for as_dir
in $PATH
10292 test -z "$as_dir" && as_dir
=.
10293 for ac_exec_ext
in '' $ac_executable_extensions; do
10294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10295 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10306 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10307 if test -n "$aros_kernel_strip"; then
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10309 $as_echo "$aros_kernel_strip" >&6; }
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10312 $as_echo "no" >&6; }
10318 if test "$aros_kernel_strip" = ""; then
10319 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10322 # Objcopy and objdump are not required for the kernel
10323 # toolchain on many architectures.
10324 # So we'll look for them, but not make them strictly required.
10326 if test "$aros_kernel_objcopy" = ""; then
10327 if test "$cross_compiling" = "yes" ; then
10328 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10329 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10331 $as_echo_n "checking for $ac_word... " >&6; }
10332 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10333 $as_echo_n "(cached) " >&6
10335 case $aros_kernel_objcopy in
10337 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10341 for as_dir
in $PATH
10344 test -z "$as_dir" && as_dir
=.
10345 for ac_exec_ext
in '' $ac_executable_extensions; do
10346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10347 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10358 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10359 if test -n "$aros_kernel_objcopy"; then
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10361 $as_echo "$aros_kernel_objcopy" >&6; }
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10364 $as_echo "no" >&6; }
10369 if test "$GCC" = "yes"; then
10370 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10371 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10372 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10374 $as_echo_n "checking for $ac_word... " >&6; }
10375 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10376 $as_echo_n "(cached) " >&6
10378 case $aros_kernel_objcopy in
10380 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10384 for as_dir
in `dirname $aros_gcc_objcopy`
10387 test -z "$as_dir" && as_dir
=.
10388 for ac_exec_ext
in '' $ac_executable_extensions; do
10389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10390 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10401 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10402 if test -n "$aros_kernel_objcopy"; then
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10404 $as_echo "$aros_kernel_objcopy" >&6; }
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10407 $as_echo "no" >&6; }
10412 if test "$aros_kernel_objcopy" = ""; then
10413 # Extract the first word of "objcopy", so it can be a program name with args.
10414 set dummy objcopy
; ac_word
=$2
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10416 $as_echo_n "checking for $ac_word... " >&6; }
10417 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10418 $as_echo_n "(cached) " >&6
10420 case $aros_kernel_objcopy in
10422 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10426 for as_dir
in $PATH
10429 test -z "$as_dir" && as_dir
=.
10430 for ac_exec_ext
in '' $ac_executable_extensions; do
10431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10432 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10443 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10444 if test -n "$aros_kernel_objcopy"; then
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10446 $as_echo "$aros_kernel_objcopy" >&6; }
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10449 $as_echo "no" >&6; }
10456 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10457 set dummy
$aros_kernel_objcopy; ac_word
=$2
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10459 $as_echo_n "checking for $ac_word... " >&6; }
10460 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10461 $as_echo_n "(cached) " >&6
10463 case $aros_kernel_objcopy in
10465 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10469 for as_dir
in $PATH
10472 test -z "$as_dir" && as_dir
=.
10473 for ac_exec_ext
in '' $ac_executable_extensions; do
10474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10475 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10486 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10487 if test -n "$aros_kernel_objcopy"; then
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10489 $as_echo "$aros_kernel_objcopy" >&6; }
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10492 $as_echo "no" >&6; }
10499 if test "$aros_kernel_objdump" = ""; then
10500 if test "$cross_compiling" = "yes" ; then
10501 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10502 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10504 $as_echo_n "checking for $ac_word... " >&6; }
10505 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10506 $as_echo_n "(cached) " >&6
10508 case $aros_kernel_objdump in
10510 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10514 for as_dir
in $PATH
10517 test -z "$as_dir" && as_dir
=.
10518 for ac_exec_ext
in '' $ac_executable_extensions; do
10519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10520 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10531 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10532 if test -n "$aros_kernel_objdump"; then
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10534 $as_echo "$aros_kernel_objdump" >&6; }
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10537 $as_echo "no" >&6; }
10542 if test "$GCC" = "yes"; then
10543 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10544 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10545 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10547 $as_echo_n "checking for $ac_word... " >&6; }
10548 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10549 $as_echo_n "(cached) " >&6
10551 case $aros_kernel_objdump in
10553 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10557 for as_dir
in `dirname $aros_gcc_objdump`
10560 test -z "$as_dir" && as_dir
=.
10561 for ac_exec_ext
in '' $ac_executable_extensions; do
10562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10563 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10574 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10575 if test -n "$aros_kernel_objdump"; then
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10577 $as_echo "$aros_kernel_objdump" >&6; }
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10580 $as_echo "no" >&6; }
10585 if test "$aros_kernel_objdump" = ""; then
10586 # Extract the first word of "objdump", so it can be a program name with args.
10587 set dummy objdump
; ac_word
=$2
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10589 $as_echo_n "checking for $ac_word... " >&6; }
10590 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10591 $as_echo_n "(cached) " >&6
10593 case $aros_kernel_objdump in
10595 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10599 for as_dir
in $PATH
10602 test -z "$as_dir" && as_dir
=.
10603 for ac_exec_ext
in '' $ac_executable_extensions; do
10604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10605 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10616 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10617 if test -n "$aros_kernel_objdump"; then
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10619 $as_echo "$aros_kernel_objdump" >&6; }
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10622 $as_echo "no" >&6; }
10629 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10630 set dummy
$aros_kernel_objdump; ac_word
=$2
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10632 $as_echo_n "checking for $ac_word... " >&6; }
10633 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10634 $as_echo_n "(cached) " >&6
10636 case $aros_kernel_objdump in
10638 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10642 for as_dir
in $PATH
10645 test -z "$as_dir" && as_dir
=.
10646 for ac_exec_ext
in '' $ac_executable_extensions; do
10647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10648 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10659 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10660 if test -n "$aros_kernel_objdump"; then
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10662 $as_echo "$aros_kernel_objdump" >&6; }
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10665 $as_echo "no" >&6; }
10671 if test "x${crosstools}" != "xyes" ; then
10672 if test "$aros_kernel_objcopy" = ""; then
10673 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10675 if test "$aros_kernel_objdump" = ""; then
10676 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10682 $as_echo_n "checking which target tools to use... " >&6; }
10683 if test "$crosstools" = "yes"; then
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10685 $as_echo "$target_tool_prefix" >&6; }
10686 # We are are building AROS crosstools
10687 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10688 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10689 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10690 orig_target_cpp
="${tmp_tool_prefix}cpp"
10691 orig_target_ld
="${tmp_tool_prefix}ld"
10692 orig_target_as
="${tmp_tool_prefix}as"
10693 orig_target_ar
="${tmp_tool_prefix}ar"
10694 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10695 orig_target_nm
="${tmp_tool_prefix}nm"
10696 orig_target_strip
="${tmp_tool_prefix}strip"
10697 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10698 orig_target_objdump
="${tmp_tool_prefix}objdump"
10700 # Determine whether AROS or ELF tools should be used
10701 if test "$aros_tool_prefix" = "none"; then
10702 aros_tool_prefix
="${elf_tool_prefix}"
10703 crosstools_cxx_target
=tools-crosstools
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10707 $as_echo "$aros_tool_prefix" >&6; }
10708 # We are *not* building AROS crosstools - use the AROS or ELF tools
10710 if test "${aros_tool_prefix}cpp" = ""; then
10711 if test "$cross_compiling" = "yes" ; then
10712 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10713 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10715 $as_echo_n "checking for $ac_word... " >&6; }
10716 if test "${ac_cv_path_orig_target_cpp+set}" = set; then :
10717 $as_echo_n "(cached) " >&6
10719 case $orig_target_cpp in
10721 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10725 for as_dir
in $PATH
10728 test -z "$as_dir" && as_dir
=.
10729 for ac_exec_ext
in '' $ac_executable_extensions; do
10730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10731 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10742 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10743 if test -n "$orig_target_cpp"; then
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10745 $as_echo "$orig_target_cpp" >&6; }
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10748 $as_echo "no" >&6; }
10753 if test "$GCC" = "yes"; then
10754 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10755 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10756 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10758 $as_echo_n "checking for $ac_word... " >&6; }
10759 if test "${ac_cv_path_orig_target_cpp+set}" = set; then :
10760 $as_echo_n "(cached) " >&6
10762 case $orig_target_cpp in
10764 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10768 for as_dir
in `dirname $aros_gcc_cpp`
10771 test -z "$as_dir" && as_dir
=.
10772 for ac_exec_ext
in '' $ac_executable_extensions; do
10773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10774 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10785 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10786 if test -n "$orig_target_cpp"; then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10788 $as_echo "$orig_target_cpp" >&6; }
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10791 $as_echo "no" >&6; }
10796 if test "$orig_target_cpp" = ""; then
10797 # Extract the first word of "cpp", so it can be a program name with args.
10798 set dummy cpp
; ac_word
=$2
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10800 $as_echo_n "checking for $ac_word... " >&6; }
10801 if test "${ac_cv_path_orig_target_cpp+set}" = set; then :
10802 $as_echo_n "(cached) " >&6
10804 case $orig_target_cpp in
10806 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10810 for as_dir
in $PATH
10813 test -z "$as_dir" && as_dir
=.
10814 for ac_exec_ext
in '' $ac_executable_extensions; do
10815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10816 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10827 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10828 if test -n "$orig_target_cpp"; then
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10830 $as_echo "$orig_target_cpp" >&6; }
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10833 $as_echo "no" >&6; }
10840 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10841 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10843 $as_echo_n "checking for $ac_word... " >&6; }
10844 if test "${ac_cv_path_orig_target_cpp+set}" = set; then :
10845 $as_echo_n "(cached) " >&6
10847 case $orig_target_cpp in
10849 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10853 for as_dir
in $PATH
10856 test -z "$as_dir" && as_dir
=.
10857 for ac_exec_ext
in '' $ac_executable_extensions; do
10858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10859 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10870 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10871 if test -n "$orig_target_cpp"; then
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10873 $as_echo "$orig_target_cpp" >&6; }
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10876 $as_echo "no" >&6; }
10882 if test "$orig_target_cpp" = ""; then
10883 as_fn_error
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10886 if test "${aros_tool_prefix}gcc" = ""; then
10887 if test "$cross_compiling" = "yes" ; then
10888 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10889 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10891 $as_echo_n "checking for $ac_word... " >&6; }
10892 if test "${ac_cv_path_orig_target_cc+set}" = set; then :
10893 $as_echo_n "(cached) " >&6
10895 case $orig_target_cc in
10897 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10901 for as_dir
in $PATH
10904 test -z "$as_dir" && as_dir
=.
10905 for ac_exec_ext
in '' $ac_executable_extensions; do
10906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10907 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10918 orig_target_cc
=$ac_cv_path_orig_target_cc
10919 if test -n "$orig_target_cc"; then
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10921 $as_echo "$orig_target_cc" >&6; }
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10924 $as_echo "no" >&6; }
10929 if test "$GCC" = "yes"; then
10930 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10931 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10932 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10934 $as_echo_n "checking for $ac_word... " >&6; }
10935 if test "${ac_cv_path_orig_target_cc+set}" = set; then :
10936 $as_echo_n "(cached) " >&6
10938 case $orig_target_cc in
10940 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10944 for as_dir
in `dirname $aros_gcc_gcc`
10947 test -z "$as_dir" && as_dir
=.
10948 for ac_exec_ext
in '' $ac_executable_extensions; do
10949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10950 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10961 orig_target_cc
=$ac_cv_path_orig_target_cc
10962 if test -n "$orig_target_cc"; then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10964 $as_echo "$orig_target_cc" >&6; }
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10967 $as_echo "no" >&6; }
10972 if test "$orig_target_cc" = ""; then
10973 # Extract the first word of "gcc", so it can be a program name with args.
10974 set dummy gcc
; ac_word
=$2
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10976 $as_echo_n "checking for $ac_word... " >&6; }
10977 if test "${ac_cv_path_orig_target_cc+set}" = set; then :
10978 $as_echo_n "(cached) " >&6
10980 case $orig_target_cc in
10982 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10986 for as_dir
in $PATH
10989 test -z "$as_dir" && as_dir
=.
10990 for ac_exec_ext
in '' $ac_executable_extensions; do
10991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10992 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11003 orig_target_cc
=$ac_cv_path_orig_target_cc
11004 if test -n "$orig_target_cc"; then
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11006 $as_echo "$orig_target_cc" >&6; }
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11009 $as_echo "no" >&6; }
11016 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
11017 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11019 $as_echo_n "checking for $ac_word... " >&6; }
11020 if test "${ac_cv_path_orig_target_cc+set}" = set; then :
11021 $as_echo_n "(cached) " >&6
11023 case $orig_target_cc in
11025 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11029 for as_dir
in $PATH
11032 test -z "$as_dir" && as_dir
=.
11033 for ac_exec_ext
in '' $ac_executable_extensions; do
11034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11035 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11046 orig_target_cc
=$ac_cv_path_orig_target_cc
11047 if test -n "$orig_target_cc"; then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11049 $as_echo "$orig_target_cc" >&6; }
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11052 $as_echo "no" >&6; }
11058 if test "$orig_target_cc" = ""; then
11059 as_fn_error
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11061 if test "x${crosstools_cxx_target}" = "x" ; then
11063 if test "${aros_tool_prefix}g++" = ""; then
11064 if test "$cross_compiling" = "yes" ; then
11065 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11066 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11068 $as_echo_n "checking for $ac_word... " >&6; }
11069 if test "${ac_cv_path_orig_target_cxx+set}" = set; then :
11070 $as_echo_n "(cached) " >&6
11072 case $orig_target_cxx in
11074 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11078 for as_dir
in $PATH
11081 test -z "$as_dir" && as_dir
=.
11082 for ac_exec_ext
in '' $ac_executable_extensions; do
11083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11084 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11095 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11096 if test -n "$orig_target_cxx"; then
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11098 $as_echo "$orig_target_cxx" >&6; }
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11101 $as_echo "no" >&6; }
11106 if test "$GCC" = "yes"; then
11107 aros_gcc_g
++=`$CC -print-prog-name=g++`
11108 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11109 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11111 $as_echo_n "checking for $ac_word... " >&6; }
11112 if test "${ac_cv_path_orig_target_cxx+set}" = set; then :
11113 $as_echo_n "(cached) " >&6
11115 case $orig_target_cxx in
11117 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11121 for as_dir
in `dirname $aros_gcc_g++`
11124 test -z "$as_dir" && as_dir
=.
11125 for ac_exec_ext
in '' $ac_executable_extensions; do
11126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11127 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11138 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11139 if test -n "$orig_target_cxx"; then
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11141 $as_echo "$orig_target_cxx" >&6; }
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11144 $as_echo "no" >&6; }
11149 if test "$orig_target_cxx" = ""; then
11150 # Extract the first word of "g++", so it can be a program name with args.
11151 set dummy g
++; ac_word
=$2
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11153 $as_echo_n "checking for $ac_word... " >&6; }
11154 if test "${ac_cv_path_orig_target_cxx+set}" = set; then :
11155 $as_echo_n "(cached) " >&6
11157 case $orig_target_cxx in
11159 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11163 for as_dir
in $PATH
11166 test -z "$as_dir" && as_dir
=.
11167 for ac_exec_ext
in '' $ac_executable_extensions; do
11168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11169 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11180 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11181 if test -n "$orig_target_cxx"; then
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11183 $as_echo "$orig_target_cxx" >&6; }
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11186 $as_echo "no" >&6; }
11193 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11194 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11196 $as_echo_n "checking for $ac_word... " >&6; }
11197 if test "${ac_cv_path_orig_target_cxx+set}" = set; then :
11198 $as_echo_n "(cached) " >&6
11200 case $orig_target_cxx in
11202 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11206 for as_dir
in $PATH
11209 test -z "$as_dir" && as_dir
=.
11210 for ac_exec_ext
in '' $ac_executable_extensions; do
11211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11212 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11223 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11224 if test -n "$orig_target_cxx"; then
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11226 $as_echo "$orig_target_cxx" >&6; }
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11229 $as_echo "no" >&6; }
11235 if test "$orig_target_cxx" = ""; then
11236 as_fn_error
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11240 if test "${aros_tool_prefix}ld" = ""; then
11241 if test "$cross_compiling" = "yes" ; then
11242 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11243 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11245 $as_echo_n "checking for $ac_word... " >&6; }
11246 if test "${ac_cv_path_orig_target_ld+set}" = set; then :
11247 $as_echo_n "(cached) " >&6
11249 case $orig_target_ld in
11251 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11255 for as_dir
in $PATH
11258 test -z "$as_dir" && as_dir
=.
11259 for ac_exec_ext
in '' $ac_executable_extensions; do
11260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11261 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11272 orig_target_ld
=$ac_cv_path_orig_target_ld
11273 if test -n "$orig_target_ld"; then
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11275 $as_echo "$orig_target_ld" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11278 $as_echo "no" >&6; }
11283 if test "$GCC" = "yes"; then
11284 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11285 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11286 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11288 $as_echo_n "checking for $ac_word... " >&6; }
11289 if test "${ac_cv_path_orig_target_ld+set}" = set; then :
11290 $as_echo_n "(cached) " >&6
11292 case $orig_target_ld in
11294 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11298 for as_dir
in `dirname $aros_gcc_gcc`
11301 test -z "$as_dir" && as_dir
=.
11302 for ac_exec_ext
in '' $ac_executable_extensions; do
11303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11304 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11315 orig_target_ld
=$ac_cv_path_orig_target_ld
11316 if test -n "$orig_target_ld"; then
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11318 $as_echo "$orig_target_ld" >&6; }
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11321 $as_echo "no" >&6; }
11326 if test "$orig_target_ld" = ""; then
11327 # Extract the first word of "gcc", so it can be a program name with args.
11328 set dummy gcc
; ac_word
=$2
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11330 $as_echo_n "checking for $ac_word... " >&6; }
11331 if test "${ac_cv_path_orig_target_ld+set}" = set; then :
11332 $as_echo_n "(cached) " >&6
11334 case $orig_target_ld in
11336 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11340 for as_dir
in $PATH
11343 test -z "$as_dir" && as_dir
=.
11344 for ac_exec_ext
in '' $ac_executable_extensions; do
11345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11346 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11357 orig_target_ld
=$ac_cv_path_orig_target_ld
11358 if test -n "$orig_target_ld"; then
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11360 $as_echo "$orig_target_ld" >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11363 $as_echo "no" >&6; }
11370 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11371 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11373 $as_echo_n "checking for $ac_word... " >&6; }
11374 if test "${ac_cv_path_orig_target_ld+set}" = set; then :
11375 $as_echo_n "(cached) " >&6
11377 case $orig_target_ld in
11379 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11383 for as_dir
in $PATH
11386 test -z "$as_dir" && as_dir
=.
11387 for ac_exec_ext
in '' $ac_executable_extensions; do
11388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11389 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11400 orig_target_ld
=$ac_cv_path_orig_target_ld
11401 if test -n "$orig_target_ld"; then
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11403 $as_echo "$orig_target_ld" >&6; }
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11406 $as_echo "no" >&6; }
11412 if test "$orig_target_ld" = ""; then
11413 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11416 if test "${aros_tool_prefix}as" = ""; then
11417 if test "$cross_compiling" = "yes" ; then
11418 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11419 set dummy
${target_tool_prefix}as
; ac_word
=$2
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11421 $as_echo_n "checking for $ac_word... " >&6; }
11422 if test "${ac_cv_path_orig_target_as+set}" = set; then :
11423 $as_echo_n "(cached) " >&6
11425 case $orig_target_as in
11427 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11431 for as_dir
in $PATH
11434 test -z "$as_dir" && as_dir
=.
11435 for ac_exec_ext
in '' $ac_executable_extensions; do
11436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11437 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11448 orig_target_as
=$ac_cv_path_orig_target_as
11449 if test -n "$orig_target_as"; then
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11451 $as_echo "$orig_target_as" >&6; }
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11454 $as_echo "no" >&6; }
11459 if test "$GCC" = "yes"; then
11460 aros_gcc_as
=`$CC -print-prog-name=as`
11461 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11462 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11464 $as_echo_n "checking for $ac_word... " >&6; }
11465 if test "${ac_cv_path_orig_target_as+set}" = set; then :
11466 $as_echo_n "(cached) " >&6
11468 case $orig_target_as in
11470 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11474 for as_dir
in `dirname $aros_gcc_as`
11477 test -z "$as_dir" && as_dir
=.
11478 for ac_exec_ext
in '' $ac_executable_extensions; do
11479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11480 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11491 orig_target_as
=$ac_cv_path_orig_target_as
11492 if test -n "$orig_target_as"; then
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11494 $as_echo "$orig_target_as" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11497 $as_echo "no" >&6; }
11502 if test "$orig_target_as" = ""; then
11503 # Extract the first word of "as", so it can be a program name with args.
11504 set dummy as
; ac_word
=$2
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11506 $as_echo_n "checking for $ac_word... " >&6; }
11507 if test "${ac_cv_path_orig_target_as+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11510 case $orig_target_as in
11512 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11516 for as_dir
in $PATH
11519 test -z "$as_dir" && as_dir
=.
11520 for ac_exec_ext
in '' $ac_executable_extensions; do
11521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11522 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11533 orig_target_as
=$ac_cv_path_orig_target_as
11534 if test -n "$orig_target_as"; then
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11536 $as_echo "$orig_target_as" >&6; }
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11539 $as_echo "no" >&6; }
11546 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11547 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11549 $as_echo_n "checking for $ac_word... " >&6; }
11550 if test "${ac_cv_path_orig_target_as+set}" = set; then :
11551 $as_echo_n "(cached) " >&6
11553 case $orig_target_as in
11555 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11559 for as_dir
in $PATH
11562 test -z "$as_dir" && as_dir
=.
11563 for ac_exec_ext
in '' $ac_executable_extensions; do
11564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11565 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11576 orig_target_as
=$ac_cv_path_orig_target_as
11577 if test -n "$orig_target_as"; then
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11579 $as_echo "$orig_target_as" >&6; }
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11582 $as_echo "no" >&6; }
11588 if test "$orig_target_as" = ""; then
11589 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11592 if test "${aros_tool_prefix}ar" = ""; then
11593 if test "$cross_compiling" = "yes" ; then
11594 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11595 set dummy
${target_tool_prefix}ar; ac_word
=$2
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11597 $as_echo_n "checking for $ac_word... " >&6; }
11598 if test "${ac_cv_path_orig_target_ar+set}" = set; then :
11599 $as_echo_n "(cached) " >&6
11601 case $orig_target_ar in
11603 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11607 for as_dir
in $PATH
11610 test -z "$as_dir" && as_dir
=.
11611 for ac_exec_ext
in '' $ac_executable_extensions; do
11612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11613 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11624 orig_target_ar
=$ac_cv_path_orig_target_ar
11625 if test -n "$orig_target_ar"; then
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11627 $as_echo "$orig_target_ar" >&6; }
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11630 $as_echo "no" >&6; }
11635 if test "$GCC" = "yes"; then
11636 aros_gcc_ar
=`$CC -print-prog-name=ar`
11637 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11638 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11640 $as_echo_n "checking for $ac_word... " >&6; }
11641 if test "${ac_cv_path_orig_target_ar+set}" = set; then :
11642 $as_echo_n "(cached) " >&6
11644 case $orig_target_ar in
11646 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11650 for as_dir
in `dirname $aros_gcc_ar`
11653 test -z "$as_dir" && as_dir
=.
11654 for ac_exec_ext
in '' $ac_executable_extensions; do
11655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11656 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11667 orig_target_ar
=$ac_cv_path_orig_target_ar
11668 if test -n "$orig_target_ar"; then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11670 $as_echo "$orig_target_ar" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11673 $as_echo "no" >&6; }
11678 if test "$orig_target_ar" = ""; then
11679 # Extract the first word of "ar", so it can be a program name with args.
11680 set dummy
ar; ac_word
=$2
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11682 $as_echo_n "checking for $ac_word... " >&6; }
11683 if test "${ac_cv_path_orig_target_ar+set}" = set; then :
11684 $as_echo_n "(cached) " >&6
11686 case $orig_target_ar in
11688 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11692 for as_dir
in $PATH
11695 test -z "$as_dir" && as_dir
=.
11696 for ac_exec_ext
in '' $ac_executable_extensions; do
11697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11698 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11709 orig_target_ar
=$ac_cv_path_orig_target_ar
11710 if test -n "$orig_target_ar"; then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11712 $as_echo "$orig_target_ar" >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11715 $as_echo "no" >&6; }
11722 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11723 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11725 $as_echo_n "checking for $ac_word... " >&6; }
11726 if test "${ac_cv_path_orig_target_ar+set}" = set; then :
11727 $as_echo_n "(cached) " >&6
11729 case $orig_target_ar in
11731 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11735 for as_dir
in $PATH
11738 test -z "$as_dir" && as_dir
=.
11739 for ac_exec_ext
in '' $ac_executable_extensions; do
11740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11741 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11752 orig_target_ar
=$ac_cv_path_orig_target_ar
11753 if test -n "$orig_target_ar"; then
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11755 $as_echo "$orig_target_ar" >&6; }
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11758 $as_echo "no" >&6; }
11764 if test "$orig_target_ar" = ""; then
11765 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11768 if test "${aros_tool_prefix}ranlib" = ""; then
11769 if test "$cross_compiling" = "yes" ; then
11770 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11771 set dummy
${target_tool_prefix}ar; ac_word
=$2
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11773 $as_echo_n "checking for $ac_word... " >&6; }
11774 if test "${ac_cv_path_orig_target_ranlib+set}" = set; then :
11775 $as_echo_n "(cached) " >&6
11777 case $orig_target_ranlib in
11779 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11783 for as_dir
in $PATH
11786 test -z "$as_dir" && as_dir
=.
11787 for ac_exec_ext
in '' $ac_executable_extensions; do
11788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11789 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11800 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11801 if test -n "$orig_target_ranlib"; then
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11803 $as_echo "$orig_target_ranlib" >&6; }
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11806 $as_echo "no" >&6; }
11811 if test "$GCC" = "yes"; then
11812 aros_gcc_ar
=`$CC -print-prog-name=ar`
11813 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11814 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11816 $as_echo_n "checking for $ac_word... " >&6; }
11817 if test "${ac_cv_path_orig_target_ranlib+set}" = set; then :
11818 $as_echo_n "(cached) " >&6
11820 case $orig_target_ranlib in
11822 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11826 for as_dir
in `dirname $aros_gcc_ar`
11829 test -z "$as_dir" && as_dir
=.
11830 for ac_exec_ext
in '' $ac_executable_extensions; do
11831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11832 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11843 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11844 if test -n "$orig_target_ranlib"; then
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11846 $as_echo "$orig_target_ranlib" >&6; }
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11849 $as_echo "no" >&6; }
11854 if test "$orig_target_ranlib" = ""; then
11855 # Extract the first word of "ar", so it can be a program name with args.
11856 set dummy
ar; ac_word
=$2
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11858 $as_echo_n "checking for $ac_word... " >&6; }
11859 if test "${ac_cv_path_orig_target_ranlib+set}" = set; then :
11860 $as_echo_n "(cached) " >&6
11862 case $orig_target_ranlib in
11864 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11868 for as_dir
in $PATH
11871 test -z "$as_dir" && as_dir
=.
11872 for ac_exec_ext
in '' $ac_executable_extensions; do
11873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11874 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11885 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11886 if test -n "$orig_target_ranlib"; then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11888 $as_echo "$orig_target_ranlib" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11891 $as_echo "no" >&6; }
11898 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11899 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11901 $as_echo_n "checking for $ac_word... " >&6; }
11902 if test "${ac_cv_path_orig_target_ranlib+set}" = set; then :
11903 $as_echo_n "(cached) " >&6
11905 case $orig_target_ranlib in
11907 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11911 for as_dir
in $PATH
11914 test -z "$as_dir" && as_dir
=.
11915 for ac_exec_ext
in '' $ac_executable_extensions; do
11916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11917 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11928 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11929 if test -n "$orig_target_ranlib"; then
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11931 $as_echo "$orig_target_ranlib" >&6; }
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11934 $as_echo "no" >&6; }
11940 if test "$orig_target_ranlib" = ""; then
11941 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11944 if test "${aros_tool_prefix}nm" = ""; then
11945 if test "$cross_compiling" = "yes" ; then
11946 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11947 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11949 $as_echo_n "checking for $ac_word... " >&6; }
11950 if test "${ac_cv_path_orig_target_nm+set}" = set; then :
11951 $as_echo_n "(cached) " >&6
11953 case $orig_target_nm in
11955 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11959 for as_dir
in $PATH
11962 test -z "$as_dir" && as_dir
=.
11963 for ac_exec_ext
in '' $ac_executable_extensions; do
11964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11965 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11976 orig_target_nm
=$ac_cv_path_orig_target_nm
11977 if test -n "$orig_target_nm"; then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11979 $as_echo "$orig_target_nm" >&6; }
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11982 $as_echo "no" >&6; }
11987 if test "$GCC" = "yes"; then
11988 aros_gcc_nm
=`$CC -print-prog-name=nm`
11989 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11990 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11992 $as_echo_n "checking for $ac_word... " >&6; }
11993 if test "${ac_cv_path_orig_target_nm+set}" = set; then :
11994 $as_echo_n "(cached) " >&6
11996 case $orig_target_nm in
11998 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12002 for as_dir
in `dirname $aros_gcc_nm`
12005 test -z "$as_dir" && as_dir
=.
12006 for ac_exec_ext
in '' $ac_executable_extensions; do
12007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12008 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12019 orig_target_nm
=$ac_cv_path_orig_target_nm
12020 if test -n "$orig_target_nm"; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12022 $as_echo "$orig_target_nm" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12030 if test "$orig_target_nm" = ""; then
12031 # Extract the first word of "nm", so it can be a program name with args.
12032 set dummy nm
; ac_word
=$2
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12034 $as_echo_n "checking for $ac_word... " >&6; }
12035 if test "${ac_cv_path_orig_target_nm+set}" = set; then :
12036 $as_echo_n "(cached) " >&6
12038 case $orig_target_nm in
12040 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12044 for as_dir
in $PATH
12047 test -z "$as_dir" && as_dir
=.
12048 for ac_exec_ext
in '' $ac_executable_extensions; do
12049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12050 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12061 orig_target_nm
=$ac_cv_path_orig_target_nm
12062 if test -n "$orig_target_nm"; then
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12064 $as_echo "$orig_target_nm" >&6; }
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12067 $as_echo "no" >&6; }
12074 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12075 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12077 $as_echo_n "checking for $ac_word... " >&6; }
12078 if test "${ac_cv_path_orig_target_nm+set}" = set; then :
12079 $as_echo_n "(cached) " >&6
12081 case $orig_target_nm in
12083 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12087 for as_dir
in $PATH
12090 test -z "$as_dir" && as_dir
=.
12091 for ac_exec_ext
in '' $ac_executable_extensions; do
12092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12093 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12104 orig_target_nm
=$ac_cv_path_orig_target_nm
12105 if test -n "$orig_target_nm"; then
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12107 $as_echo "$orig_target_nm" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12110 $as_echo "no" >&6; }
12116 if test "$orig_target_nm" = ""; then
12117 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12120 if test "${aros_tool_prefix}strip" = ""; then
12121 if test "$cross_compiling" = "yes" ; then
12122 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12123 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12125 $as_echo_n "checking for $ac_word... " >&6; }
12126 if test "${ac_cv_path_orig_target_strip+set}" = set; then :
12127 $as_echo_n "(cached) " >&6
12129 case $orig_target_strip in
12131 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12135 for as_dir
in $PATH
12138 test -z "$as_dir" && as_dir
=.
12139 for ac_exec_ext
in '' $ac_executable_extensions; do
12140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12141 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12152 orig_target_strip
=$ac_cv_path_orig_target_strip
12153 if test -n "$orig_target_strip"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12155 $as_echo "$orig_target_strip" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12163 if test "$GCC" = "yes"; then
12164 aros_gcc_strip
=`$CC -print-prog-name=strip`
12165 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12166 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12168 $as_echo_n "checking for $ac_word... " >&6; }
12169 if test "${ac_cv_path_orig_target_strip+set}" = set; then :
12170 $as_echo_n "(cached) " >&6
12172 case $orig_target_strip in
12174 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12178 for as_dir
in `dirname $aros_gcc_strip`
12181 test -z "$as_dir" && as_dir
=.
12182 for ac_exec_ext
in '' $ac_executable_extensions; do
12183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12184 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12195 orig_target_strip
=$ac_cv_path_orig_target_strip
12196 if test -n "$orig_target_strip"; then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12198 $as_echo "$orig_target_strip" >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12206 if test "$orig_target_strip" = ""; then
12207 # Extract the first word of "strip", so it can be a program name with args.
12208 set dummy strip
; ac_word
=$2
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12210 $as_echo_n "checking for $ac_word... " >&6; }
12211 if test "${ac_cv_path_orig_target_strip+set}" = set; then :
12212 $as_echo_n "(cached) " >&6
12214 case $orig_target_strip in
12216 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12220 for as_dir
in $PATH
12223 test -z "$as_dir" && as_dir
=.
12224 for ac_exec_ext
in '' $ac_executable_extensions; do
12225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12226 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12237 orig_target_strip
=$ac_cv_path_orig_target_strip
12238 if test -n "$orig_target_strip"; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12240 $as_echo "$orig_target_strip" >&6; }
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12243 $as_echo "no" >&6; }
12250 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12251 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12253 $as_echo_n "checking for $ac_word... " >&6; }
12254 if test "${ac_cv_path_orig_target_strip+set}" = set; then :
12255 $as_echo_n "(cached) " >&6
12257 case $orig_target_strip in
12259 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12263 for as_dir
in $PATH
12266 test -z "$as_dir" && as_dir
=.
12267 for ac_exec_ext
in '' $ac_executable_extensions; do
12268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12269 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12280 orig_target_strip
=$ac_cv_path_orig_target_strip
12281 if test -n "$orig_target_strip"; then
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12283 $as_echo "$orig_target_strip" >&6; }
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12286 $as_echo "no" >&6; }
12292 if test "$orig_target_strip" = ""; then
12293 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12296 if test "${aros_tool_prefix}objcopy" = ""; then
12297 if test "$cross_compiling" = "yes" ; then
12298 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12299 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12301 $as_echo_n "checking for $ac_word... " >&6; }
12302 if test "${ac_cv_path_orig_target_objcopy+set}" = set; then :
12303 $as_echo_n "(cached) " >&6
12305 case $orig_target_objcopy in
12307 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12311 for as_dir
in $PATH
12314 test -z "$as_dir" && as_dir
=.
12315 for ac_exec_ext
in '' $ac_executable_extensions; do
12316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12317 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12328 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12329 if test -n "$orig_target_objcopy"; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12331 $as_echo "$orig_target_objcopy" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12339 if test "$GCC" = "yes"; then
12340 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12341 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12342 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12344 $as_echo_n "checking for $ac_word... " >&6; }
12345 if test "${ac_cv_path_orig_target_objcopy+set}" = set; then :
12346 $as_echo_n "(cached) " >&6
12348 case $orig_target_objcopy in
12350 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12354 for as_dir
in `dirname $aros_gcc_objcopy`
12357 test -z "$as_dir" && as_dir
=.
12358 for ac_exec_ext
in '' $ac_executable_extensions; do
12359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12360 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12372 if test -n "$orig_target_objcopy"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12374 $as_echo "$orig_target_objcopy" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12382 if test "$orig_target_objcopy" = ""; then
12383 # Extract the first word of "objcopy", so it can be a program name with args.
12384 set dummy objcopy
; ac_word
=$2
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12386 $as_echo_n "checking for $ac_word... " >&6; }
12387 if test "${ac_cv_path_orig_target_objcopy+set}" = set; then :
12388 $as_echo_n "(cached) " >&6
12390 case $orig_target_objcopy in
12392 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12396 for as_dir
in $PATH
12399 test -z "$as_dir" && as_dir
=.
12400 for ac_exec_ext
in '' $ac_executable_extensions; do
12401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12402 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12413 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12414 if test -n "$orig_target_objcopy"; then
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12416 $as_echo "$orig_target_objcopy" >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12419 $as_echo "no" >&6; }
12426 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12427 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12429 $as_echo_n "checking for $ac_word... " >&6; }
12430 if test "${ac_cv_path_orig_target_objcopy+set}" = set; then :
12431 $as_echo_n "(cached) " >&6
12433 case $orig_target_objcopy in
12435 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12439 for as_dir
in $PATH
12442 test -z "$as_dir" && as_dir
=.
12443 for ac_exec_ext
in '' $ac_executable_extensions; do
12444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12445 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12456 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12457 if test -n "$orig_target_objcopy"; then
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12459 $as_echo "$orig_target_objcopy" >&6; }
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12462 $as_echo "no" >&6; }
12468 if test "$orig_target_objcopy" = ""; then
12469 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12472 if test "${aros_tool_prefix}objdump" = ""; then
12473 if test "$cross_compiling" = "yes" ; then
12474 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12475 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12477 $as_echo_n "checking for $ac_word... " >&6; }
12478 if test "${ac_cv_path_orig_target_objdump+set}" = set; then :
12479 $as_echo_n "(cached) " >&6
12481 case $orig_target_objdump in
12483 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12487 for as_dir
in $PATH
12490 test -z "$as_dir" && as_dir
=.
12491 for ac_exec_ext
in '' $ac_executable_extensions; do
12492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12493 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12504 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12505 if test -n "$orig_target_objdump"; then
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12507 $as_echo "$orig_target_objdump" >&6; }
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12510 $as_echo "no" >&6; }
12515 if test "$GCC" = "yes"; then
12516 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12517 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12518 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12520 $as_echo_n "checking for $ac_word... " >&6; }
12521 if test "${ac_cv_path_orig_target_objdump+set}" = set; then :
12522 $as_echo_n "(cached) " >&6
12524 case $orig_target_objdump in
12526 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12530 for as_dir
in `dirname $aros_gcc_objdump`
12533 test -z "$as_dir" && as_dir
=.
12534 for ac_exec_ext
in '' $ac_executable_extensions; do
12535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12536 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12547 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12548 if test -n "$orig_target_objdump"; then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12550 $as_echo "$orig_target_objdump" >&6; }
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12558 if test "$orig_target_objdump" = ""; then
12559 # Extract the first word of "objdump", so it can be a program name with args.
12560 set dummy objdump
; ac_word
=$2
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12562 $as_echo_n "checking for $ac_word... " >&6; }
12563 if test "${ac_cv_path_orig_target_objdump+set}" = set; then :
12564 $as_echo_n "(cached) " >&6
12566 case $orig_target_objdump in
12568 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12572 for as_dir
in $PATH
12575 test -z "$as_dir" && as_dir
=.
12576 for ac_exec_ext
in '' $ac_executable_extensions; do
12577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12578 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12589 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12590 if test -n "$orig_target_objdump"; then
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12592 $as_echo "$orig_target_objdump" >&6; }
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12595 $as_echo "no" >&6; }
12602 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12603 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12605 $as_echo_n "checking for $ac_word... " >&6; }
12606 if test "${ac_cv_path_orig_target_objdump+set}" = set; then :
12607 $as_echo_n "(cached) " >&6
12609 case $orig_target_objdump in
12611 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12615 for as_dir
in $PATH
12618 test -z "$as_dir" && as_dir
=.
12619 for ac_exec_ext
in '' $ac_executable_extensions; do
12620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12621 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12632 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12633 if test -n "$orig_target_objdump"; then
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12635 $as_echo "$orig_target_objdump" >&6; }
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12638 $as_echo "no" >&6; }
12644 if test "$orig_target_objdump" = ""; then
12645 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12649 if test "$kernel_tool_prefix" = "none" ; then
12650 # No kernel tools specified
12651 # Assume target tools == kernel tools with ELF wrapper
12652 aros_kernel_cc
=$orig_target_cc
12653 aros_kernel_cxx
=$orig_target_cxx
12654 aros_kernel_cpp
=$orig_target_cpp
12655 aros_kernel_ld
=$orig_target_ld
12656 aros_kernel_as
=$orig_target_as
12657 aros_kernel_ar
=$orig_target_ar
12658 aros_kernel_ranlib
=$orig_target_ranlib
12659 aros_kernel_nm
=$orig_target_nm
12660 aros_kernel_strip
=$orig_target_strip
12661 aros_kernel_objcopy
=$orig_target_objcopy
12662 aros_kernel_objdump
=$orig_target_objdump
12663 use_kernel_cc_wrapper
=yes
12666 # At this point, all aros_kernel_* and aros_target_*
12667 # tools should be set up correctly
12669 CC
="$aros_kernel_cc $kernel_tool_flags"
12670 CPP
="$aros_kernel_cpp"
12672 #-----------------------------------------------------------------------------
12674 # Disable pointer-signedness warnings if the compiler recognises the option
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12677 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12678 save_cflags
="$CFLAGS"
12679 if test "$crosstools" != "yes" ; then
12680 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12692 if ac_fn_c_try_compile
"$LINENO"; then :
12693 use_no_sign_warning
="yes"
12695 use_no_sign_warning
="no"
12697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12699 # we do know it is supported for the smallest version of gcc we are going to build
12700 # we assume it's also supported by later versions
12701 use_no_sign_warning
=yes
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12704 $as_echo "$use_no_sign_warning" >&6; }
12705 if test "x-$use_no_sign_warning" = "x-yes" ; then
12706 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12708 CFLAGS
="$save_cflags"
12710 #-----------------------------------------------------------------------------
12712 # Find all the tools we need to compile. This could be cross-compiling
12713 # though! If that is the case we use the GNU form of the target and
12714 # simply add this to the front of the binary name. This is rather simple,
12715 # but it should work under most circumstances.
12717 # The default tools are to use the same as the host, but only if the
12718 # host and target CPU are the same. With GCC this is normally enough.
12722 aros_shared_ld
="$aros_host_ld"
12724 aros_target_mkdep
="$aros_host_mkdep"
12726 # The default tools executables to be linked to.
12727 if test "$rescomp" != ""; then
12728 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12729 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12731 $as_echo_n "checking for $ac_word... " >&6; }
12732 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
12733 $as_echo_n "(cached) " >&6
12735 case $aros_kernel_rescomp in
12737 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12741 for as_dir
in $PATH
12744 test -z "$as_dir" && as_dir
=.
12745 for ac_exec_ext
in '' $ac_executable_extensions; do
12746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12747 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12758 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12759 if test -n "$aros_kernel_rescomp"; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12761 $as_echo "$aros_kernel_rescomp" >&6; }
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764 $as_echo "no" >&6; }
12768 if test "$aros_kernel_rescomp" = ""; then
12769 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12773 # Set up the sources for the symlink farm
12774 if test "$crosstools" = "yes"; then
12775 crosstools_target
=tools-crosstools
12778 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12779 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12782 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12783 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12784 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12785 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12786 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12787 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12788 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12790 # aros_cc_pre is a variable that is added to the front of the compiler name
12791 # in the generated aros-gcc shell script. We need this to enable the cache
12792 # to work across cleaned builds. Also, support DISTCC using the correct
12793 # environment variable.
12796 if test "x${DISTCC}" != "x" ; then
12797 if test "x${CCACHE}" != "x" ; then
12798 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12800 aros_cc_pre
="${DISTCC} "
12803 if test "x${CCACHE}" != "x" ; then
12804 aros_cc_pre
="${CCACHE} "
12808 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12810 aros_target_nostdinc_cflags
=-nostdinc
12812 aros_target_nostartup_ldflags
=-nostartfiles
12814 aros_target_nix_ldflags
=-nix
12816 aros_target_detach_ldflags
=-detach
12818 aros_target_nostdlib_ldflags
=-nostdlib
12822 if test "$crosstools" != "yes"; then
12823 if test "$GCC" = "yes"; then
12824 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12827 # We do not know which gcc version we are going to build and what we need to know
12828 # here is different for different versions so this will be set later during the
12829 # build of crosstools.
12830 aros_target_cc_path
=@aros_target_cc_path@
12832 aros_target_cpp
="${prefix}cpp"
12833 aros_target_cc
="${prefix}gcc"
12834 aros_target_cxx
="${prefix}g++"
12835 aros_target_as
="${prefix}as"
12836 aros_target_ld
="${prefix}ld"
12837 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12838 aros_target_objcopy
="${prefix}objcopy"
12839 aros_target_objdump
="${prefix}objdump"
12840 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12841 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12842 aros_target_strip
="${prefix}strip"
12843 aros_plain_nm
="${prefix}nm"
12844 aros_plain_ar
="${prefix}ar"
12846 # Check whether --enable-includes was given.
12847 if test "${enable_includes+set}" = set; then :
12848 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12850 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12854 if test "$aros_kernel_includes" = ""; then
12855 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12856 aros_kernel_includes
="-isystem $aros_target_incl"
12860 if test "$aros_kernel_includes" != "" ; then
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12862 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12863 if test "$aros_kernel_cc_includes" = "" ; then
12864 # Try to guess where the directory is.
12865 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12866 if test -d $aros_kernel_cc_includes; then
12867 # Check if there is also an include-fixed directory and add it
12868 # to kernel compiler's include path as it may contain some of
12869 # the headers we need.
12870 if test -d "$aros_kernel_cc_includes"-fixed; then
12871 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12873 # Check for specific includes directory. Neede for Ubuntu 11.10
12874 if test -d "/usr/include/i386-linux-gnu"; then
12875 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12878 # The directory doesn't exist, we need to do some more work.
12879 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12881 # These are the headers we're looking for.
12882 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12883 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12887 for h
in $headers; do
12888 # Which other headers are needed by each of the above?
12889 deps
=$
(echo "#include <$h>" | \
12890 $aros_kernel_cc -E -M - 2>/dev
/null | \
12891 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12893 # Copy all the needed headers to a directory beneath gendir.
12896 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12897 sed -n "s,^.*/include\(/.*\),\1,p")
12898 ! test -d $dir && mkdir
-p $dir
12899 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12905 $as_echo "$aros_kernel_cc_includes" >&6; }
12906 # Adding -nostdinc to kernel includes as they are always used together.
12907 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12910 if test "$crosstools" != "yes"; then
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12912 $as_echo_n "checking for the target compiler's include path... " >&6; }
12913 if test "$aros_target_cc_includes" = "" ; then
12914 #try to guess where the directory is
12915 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12916 if ! test -d $aros_target_cc_includes; then
12917 #the directory doesn't exist, we need to do some more work
12918 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12920 #these are the headers we're looking for
12921 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12922 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12926 for h
in $headers; do
12927 #which other headers each of the above headers needs?
12928 deps
=$
(echo "#include <$h>" | \
12929 $orig_target_cc -E -M - 2>/dev
/null | \
12930 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12932 #copy all the needed headers to a directory beneath gendir
12935 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12936 sed -n "s,^.*/include\(/.*\),\1,p")
12937 ! test -d $dir && mkdir
-p $dir
12938 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12944 $as_echo "$aros_target_cc_includes" >&6; }
12946 # We do not know which gcc version we are going to build and what we need to know
12947 # here is different for different versions so this will be set later during the
12948 # build of crosstools.
12949 aros_target_cc_includes
=@aros_target_cc_includes@
12953 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12954 # On GCC >= 4.0 -iquote should be used
12958 save_cflags
="$CFLAGS"
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12961 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12962 if test "x-$crosstools" != "x-yes"; then
12963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12974 if ac_fn_c_try_compile
"$LINENO"; then :
12979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12981 # we do know it is supported for the smallest version of gcc we are going to build
12982 # we assume it's also supported by later versions
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12986 $as_echo "$has_iquote" >&6; }
12987 if test "x-$has_iquote" = "x-yes" ; then
12988 host_cflags_iquote
=-iquote
12989 host_cflags_iquote_end
=
12991 host_cflags_iquote
=-I
12992 host_cflags_iquote_end
=-I-
12994 kernel_cflags_iquote
=$host_cflags_iquote
12995 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12996 if test "x-$cross_compiling" = "x-yes"; then
12997 CC
="$aros_kernel_cc"
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12999 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13000 if test "x-$crosstools" != "x-yes"; then
13001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13002 /* end confdefs.h. */
13012 if ac_fn_c_try_compile
"$LINENO"; then :
13013 use_no_stack_protector
="yes"
13015 use_no_stack_protector
="no"
13017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13019 # we do know it is supported for the smallest version of gcc we are going to build
13020 # we assume it's also supported by later versions
13021 use_no_stack_protector
=yes
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13024 $as_echo "$use_no_stack_protector" >&6; }
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13026 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13027 if test "x-$crosstools" != "x-yes"; then
13028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13039 if ac_fn_c_try_compile
"$LINENO"; then :
13044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13046 # we do know it is supported for the smallest version of gcc we are going to build
13047 # we assume it's also supported by later versions
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13051 $as_echo "$has_iquote" >&6; }
13052 if test "x-$has_iquote" = "x-yes" ; then
13053 kernel_cflags_iquote
=-iquote
13054 kernel_cflags_iquote_end
=
13056 kernel_cflags_iquote
=-I
13057 kernel_cflags_iquote_end
=-I-
13060 aros_cflags_iquote
=$kernel_cflags_iquote
13061 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13062 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13063 CC
="$orig_target_cc"
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13065 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13066 if test "x-$crosstools" != "x-yes"; then
13067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13078 if ac_fn_c_try_compile
"$LINENO"; then :
13083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13085 # we do know it is supported for the smallest version of gcc we are going to build
13086 # we assume it's also supported by later versions
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13090 $as_echo "$has_iquote" >&6; }
13091 if test "x-$has_iquote" = "x-yes" ; then
13092 aros_cflags_iquote
=-iquote
13093 aros_cflags_iquote_end
=
13095 aros_cflags_iquote
=-I
13096 aros_cflags_iquote_end
=-I-
13099 if test "x-$use_no_stack_protector" = "x-yes" ; then
13100 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13104 #-----------------------------------------------------------------------------
13106 # Check if the target compiler supports some options used for delinting:
13107 # -Wunused-but-set-variable
13110 # -Wstrict-overflow
13111 # -Wformat-security
13113 if test "x-$crosstools" != "x-yes"; then
13114 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13115 CC
="$orig_target_cc"
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13118 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13119 CFLAGS
=-Wunused-but-set-variable
13120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13131 if ac_fn_c_try_compile
"$LINENO"; then :
13132 aros_unused_but_set_variable
="yes"
13134 aros_unused_but_set_variable
="no"
13136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13138 $as_echo "$aros_unused_but_set_variable" >&6; }
13139 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13140 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13144 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13145 CFLAGS
=-Warray-bounds
13146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13157 if ac_fn_c_try_compile
"$LINENO"; then :
13158 aros_array_bounds
="yes"
13160 aros_array_bounds
="no"
13162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13164 $as_echo "$aros_array_bounds" >&6; }
13165 if test "x-$aros_array_bounds" = "x-yes" ; then
13166 aros_cflags_array_bounds
=-Wno-array-bounds
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13170 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13171 CFLAGS
=-Wenum-compare
13172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13183 if ac_fn_c_try_compile
"$LINENO"; then :
13184 aros_enum_compare
="yes"
13186 aros_enum_compare
="no"
13188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13190 $as_echo "$aros_enum_compare" >&6; }
13191 if test "x-$aros_enum_compare" = "x-yes" ; then
13192 aros_cflags_enum_compare
=-Wno-enum-compare
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13196 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13197 CFLAGS
=-Wstrict-overflow
13198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13199 /* end confdefs.h. */
13209 if ac_fn_c_try_compile
"$LINENO"; then :
13210 aros_strict_overflow
="yes"
13212 aros_strict_overflow
="no"
13214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13216 $as_echo "$aros_strict_overflow" >&6; }
13217 if test "x-$aros_strict_overflow" = "x-yes" ; then
13218 aros_cflags_strict_overflow
=-Wno-strict-overflow
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13222 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13223 CFLAGS
=-Wformat-security
13224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13225 /* end confdefs.h. */
13235 if ac_fn_c_try_compile
"$LINENO"; then :
13236 aros_format_security
="yes"
13238 aros_format_security
="no"
13240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13242 $as_echo "$aros_format_security" >&6; }
13243 if test "x-$aros_format_security" = "x-yes" ; then
13244 aros_cflags_format_security
=-Wno-format-security
13247 # We do not know which gcc version we are going to build and what we need to know
13248 # here is different for different versions so this will be set later during the
13249 # build of crosstools.
13250 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13251 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13252 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13253 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13254 aros_cflags_format_security
=@aros_cflags_format_security@
13257 #-----------------------------------------------------------------------------
13259 # Check if we can explicitly choose older version of symbol hashing
13261 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13262 CC
="$aros_kernel_cc"
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13264 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13276 if ac_fn_c_try_link
"$LINENO"; then :
13277 use_hash_style
="yes"
13279 use_hash_style
="no"
13281 rm -f core conftest.err conftest.
$ac_objext \
13282 conftest
$ac_exeext conftest.
$ac_ext
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13284 $as_echo "$use_hash_style" >&6; }
13285 if test "x-$use_hash_style" = "x-yes" ; then
13286 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13289 CFLAGS
="$save_cflags"
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13300 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13302 # Check whether --with-resolution was given.
13303 if test "${with_resolution+set}" = set; then :
13304 withval
=$with_resolution; resolution
=$withval
13309 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13310 if test "$resolution" = "yes" ; then
13313 if test "$resolution" = "no" ; then
13316 if test "$resolution" != "none" ; then
13317 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13318 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13319 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13322 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13323 aros_cv_default_wbwidth
=$aros_default_wbwidth
13324 aros_cv_default_wbheight
=$aros_default_wbheight
13325 aros_cv_default_wbdepth
=$aros_default_wbdepth
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13328 $as_echo_n "checking if serial debug is enabled... " >&6; }
13330 # Check whether --with-serial-debug was given.
13331 if test "${with_serial_debug+set}" = set; then :
13332 withval
=$with_serial_debug; serial_debug
=$withval
13337 if test "$aros_serial_debug" = 0 ; then
13338 serial_debug_forced
=""
13339 if test "$serial_debug" = "yes" ; then
13342 if test "$serial_debug" = "no" ; then
13343 serial_debug
="none"
13346 serial_debug_forced
="(forced)"
13347 serial_debug
=$aros_serial_debug
13349 if test "$serial_debug" != "none" ; then
13350 aros_serial_debug
=$serial_debug
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13352 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13355 $as_echo "no" >&6; }
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13359 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13360 # Check whether --enable-palm_debug_hack was given.
13361 if test "${enable_palm_debug_hack+set}" = set; then :
13362 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13364 palm_debug_hack
="no"
13367 if test "$palm_debug_hack" = "yes" ; then
13368 aros_palm_debug_hack
="1"
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13371 $as_echo "$palm_debug_hack" >&6; }
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13374 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13375 # Check whether --enable-nesting_supervisor was given.
13376 if test "${enable_nesting_supervisor+set}" = set; then :
13377 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13379 nesting_supervisor
="no"
13382 if test "$nesting_supervisor" = "yes" ; then
13383 aros_nesting_supervisor
="1"
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13386 $as_echo "$nesting_supervisor" >&6; }
13388 if test "$aros_enable_mmu" = "" ; then
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13390 $as_echo_n "checking if MMU support is enabled... " >&6; }
13391 # Check whether --enable-mmu was given.
13392 if test "${enable_mmu+set}" = set; then :
13393 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13395 aros_enable_mmu
="yes"
13398 if test "$aros_enable_mmu" = "" ; then
13399 aros_enable_mmu
="yes"
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13402 $as_echo "$aros_enable_mmu" >&6; }
13404 if test "$aros_enable_mmu" = "no" ; then
13405 aros_enable_mmu
="0"
13407 aros_enable_mmu
="1"
13411 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13413 if test "x-$need_dlopen" != "x-no" ; then
13416 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13417 if test "x$ac_cv_func_dlopen" = x
""yes; then :
13423 if test "x-$have_dl" = "x-no" ; then
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13425 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13427 $as_echo_n "(cached) " >&6
13429 ac_check_lib_save_LIBS
=$LIBS
13431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13434 /* Override any GCC internal prototype to avoid an error.
13435 Use char because int might match the return type of a GCC
13436 builtin and then its argument prototype would still apply. */
13449 if ac_fn_c_try_link
"$LINENO"; then :
13450 ac_cv_lib_dl_dlopen
=yes
13452 ac_cv_lib_dl_dlopen
=no
13454 rm -f core conftest.err conftest.
$ac_objext \
13455 conftest
$ac_exeext conftest.
$ac_ext
13456 LIBS
=$ac_check_lib_save_LIBS
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13459 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13460 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13462 aros_host_ldflags
="$aros_host_ldflags -ldl"
13468 if test "x-$have_dl" = "x-no" ; then
13469 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
13475 # Check whether --enable-x11_hidd was given.
13476 if test "${enable_x11_hidd+set}" = set; then :
13477 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13479 x11_hidd
="$need_x11"
13482 case "x-$x11_hidd" in
13483 x-yes|x-no|x-auto
) ;;
13484 *) x11_hidd
="$need_x11" ;;
13489 if test "x-$x11_hidd" != "x-no" ; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13492 $as_echo_n "checking for X... " >&6; }
13495 # Check whether --with-x was given.
13496 if test "${with_x+set}" = set; then :
13500 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13501 if test "x$with_x" = xno
; then
13502 # The user explicitly disabled X.
13505 case $x_includes,$x_libraries in #(
13506 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
13507 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
13508 $as_echo_n "(cached) " >&6
13510 # One or both of the vars are not set, and there is no cached value.
13511 ac_x_includes
=no ac_x_libraries
=no
13512 rm -f -r conftest.dir
13513 if mkdir conftest.dir
; then
13515 cat >Imakefile
<<'_ACEOF'
13517 @echo incroot='${INCROOT}'
13519 @echo usrlibdir='${USRLIBDIR}'
13521 @echo libdir='${LIBDIR}'
13523 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13524 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13525 for ac_var
in incroot usrlibdir libdir
; do
13526 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13528 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13529 for ac_extension
in a so sl dylib la dll
; do
13530 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13531 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13532 ac_im_usrlibdir
=$ac_im_libdir; break
13535 # Screen out bogus values from the imake configuration. They are
13536 # bogus both because they are the default anyway, and because
13537 # using them would break gcc on systems where it needs fixed includes.
13538 case $ac_im_incroot in
13539 /usr
/include
) ac_x_includes
= ;;
13540 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13542 case $ac_im_usrlibdir in
13543 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13544 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13548 rm -f -r conftest.dir
13551 # Standard set of common directories for X headers.
13552 # Check X11 before X11Rn because it is often a symlink to the current release.
13566 /usr/local/X11/include
13567 /usr/local/X11R7/include
13568 /usr/local/X11R6/include
13569 /usr/local/X11R5/include
13570 /usr/local/X11R4/include
13572 /usr/local/include/X11
13573 /usr/local/include/X11R7
13574 /usr/local/include/X11R6
13575 /usr/local/include/X11R5
13576 /usr/local/include/X11R4
13580 /usr/XFree86/include/X11
13584 /usr/unsupported/include
13585 /usr/athena/include
13586 /usr/local/x11r5/include
13587 /usr/lpp/Xamples/include
13589 /usr/openwin/include
13590 /usr/openwin/share/include'
13592 if test "$ac_x_includes" = no
; then
13593 # Guess where to find include files, by looking for Xlib.h.
13594 # First, try using that file with no special directory specified.
13595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 #include <X11/Xlib.h>
13599 if ac_fn_c_try_cpp
"$LINENO"; then :
13600 # We can compile using X headers with no special include directory.
13603 for ac_dir
in $ac_x_header_dirs; do
13604 if test -r "$ac_dir/X11/Xlib.h"; then
13605 ac_x_includes
=$ac_dir
13610 rm -f conftest.err conftest.
$ac_ext
13611 fi # $ac_x_includes = no
13613 if test "$ac_x_libraries" = no
; then
13614 # Check for the libraries.
13615 # See if we find them without any special options.
13616 # Don't add to $LIBS permanently.
13619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13621 #include <X11/Xlib.h>
13630 if ac_fn_c_try_link
"$LINENO"; then :
13632 # We can link X programs with no special library path.
13636 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13638 # Don't even attempt the hair of trying to link an X program!
13639 for ac_extension
in a so sl dylib la dll
; do
13640 if test -r "$ac_dir/libX11.$ac_extension"; then
13641 ac_x_libraries
=$ac_dir
13647 rm -f core conftest.err conftest.
$ac_objext \
13648 conftest
$ac_exeext conftest.
$ac_ext
13649 fi # $ac_x_libraries = no
13651 case $ac_x_includes,$ac_x_libraries in #(
13652 no
,* |
*,no |
*\'*)
13653 # Didn't find X, or a directory has "'" in its name.
13654 ac_cv_have_x
="have_x=no";; #(
13656 # Record where we found X for the cache.
13657 ac_cv_have_x
="have_x=yes\
13658 ac_x_includes='$ac_x_includes'\
13659 ac_x_libraries='$ac_x_libraries'"
13665 eval "$ac_cv_have_x"
13668 if test "$have_x" != yes; then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13670 $as_echo "$have_x" >&6; }
13673 # If each of the values was on the command line, it overrides each guess.
13674 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13675 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13676 # Update the cache value to reflect the command line values.
13677 ac_cv_have_x
="have_x=yes\
13678 ac_x_includes='$x_includes'\
13679 ac_x_libraries='$x_libraries'"
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13681 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13686 for path
in $x_libraries
13688 x_cflags
="$x_cflags -L$path"
13691 for path
in $x_includes
13693 x_cflags
="$x_cflags -I$path"
13696 if test "x-$no_x" = "x-yes" ; then
13698 if test "x-$x11_hidd" != "x-auto" ; then
13699 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13703 x11_hidd_target
=kernel-x11gfx-kobj
13706 # Check whether --enable-x11_shm was given.
13707 if test "${enable_x11_shm+set}" = set; then :
13708 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13710 x11_hidd_shm
="auto"
13713 case "x-$x11_hidd_shm" in
13714 x-yes|x-no|x-auto
) ;;
13715 *) x11_hidd_shm
="auto" ;;
13720 if test "x-$x11_hidd_shm" != "x-no" ; then
13722 for ac_header
in sys
/ipc.h
13724 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13725 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
13726 cat >>confdefs.h
<<_ACEOF
13727 #define HAVE_SYS_IPC_H 1
13734 for ac_header
in sys
/shm.h
13736 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13737 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
13738 cat >>confdefs.h
<<_ACEOF
13739 #define HAVE_SYS_SHM_H 1
13747 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13749 save_cflags
="$CFLAGS"
13750 CFLAGS
="$CFLAGS $x_cflags"
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13752 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13753 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
13754 $as_echo_n "(cached) " >&6
13756 ac_check_lib_save_LIBS
=$LIBS
13757 LIBS
="-lXext $LIBS"
13758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13761 /* Override any GCC internal prototype to avoid an error.
13762 Use char because int might match the return type of a GCC
13763 builtin and then its argument prototype would still apply. */
13767 char XShmQueryExtension ();
13771 return XShmQueryExtension ();
13776 if ac_fn_c_try_link
"$LINENO"; then :
13777 ac_cv_lib_Xext_XShmQueryExtension
=yes
13779 ac_cv_lib_Xext_XShmQueryExtension
=no
13781 rm -f core conftest.err conftest.
$ac_objext \
13782 conftest
$ac_exeext conftest.
$ac_ext
13783 LIBS
=$ac_check_lib_save_LIBS
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13786 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13787 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
13791 CFLAGS
="$save_cflags"
13795 if test "x-$have_xshm" = "x-yes" ; then
13796 DO_XSHM_SUPPORT
="1"
13797 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13798 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13800 DO_XSHM_SUPPORT
="0"
13804 # Check whether --enable-x11_vidmode was given.
13805 if test "${enable_x11_vidmode+set}" = set; then :
13806 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13808 x11_hidd_vidmode
="auto"
13811 case "x-$x11_hidd_vidmode" in
13812 x-yes|x-no|x-auto
) ;;
13813 *) x11_hidd_vidmode
="auto" ;;
13818 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13820 save_cflags
="$CFLAGS"
13821 CFLAGS
="$CFLAGS $x_cflags"
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13823 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13824 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
13825 $as_echo_n "(cached) " >&6
13827 ac_check_lib_save_LIBS
=$LIBS
13828 LIBS
="-lXxf86vm $LIBS"
13829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13832 /* Override any GCC internal prototype to avoid an error.
13833 Use char because int might match the return type of a GCC
13834 builtin and then its argument prototype would still apply. */
13838 char XF86VidModeQueryExtension ();
13842 return XF86VidModeQueryExtension ();
13847 if ac_fn_c_try_link
"$LINENO"; then :
13848 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13850 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13852 rm -f core conftest.err conftest.
$ac_objext \
13853 conftest
$ac_exeext conftest.
$ac_ext
13854 LIBS
=$ac_check_lib_save_LIBS
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13857 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13858 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
13862 CFLAGS
="$save_cflags"
13865 if test "x-$have_vidmode" = "x-yes" ; then
13866 DO_VIDMODE_SUPPORT
="1"
13867 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13868 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13870 DO_VIDMODE_SUPPORT
="0"
13874 aros_host_x11_includes
=$x_includes
13875 aros_host_x11_libdirs
=$x_libraries
13879 # Check whether --enable-sdl_hidd was given.
13880 if test "${enable_sdl_hidd+set}" = set; then :
13881 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13886 case "x-$sdl_hidd" in
13887 x-yes|x-no|x-auto
) ;;
13888 *) sdl_hidd
="auto" ;;
13891 if test "x-$sdl_hidd" != "x-no" ; then
13894 # Check whether --with-sdl-prefix was given.
13895 if test "${with_sdl_prefix+set}" = set; then :
13896 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13902 # Check whether --with-sdl-exec-prefix was given.
13903 if test "${with_sdl_exec_prefix+set}" = set; then :
13904 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13909 # Check whether --enable-sdltest was given.
13910 if test "${enable_sdltest+set}" = set; then :
13911 enableval
=$enable_sdltest;
13917 if test x
$sdl_exec_prefix != x
; then
13918 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13919 if test x
${SDL_CONFIG+set} != xset
; then
13920 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13923 if test x
$sdl_prefix != x
; then
13924 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13925 if test x
${SDL_CONFIG+set} != xset
; then
13926 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13930 as_save_PATH
="$PATH"
13931 if test "x$prefix" != xNONE
; then
13932 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13934 # Extract the first word of "sdl-config", so it can be a program name with args.
13935 set dummy sdl-config
; ac_word
=$2
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13937 $as_echo_n "checking for $ac_word... " >&6; }
13938 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
13939 $as_echo_n "(cached) " >&6
13941 case $SDL_CONFIG in
13943 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13947 for as_dir
in $PATH
13950 test -z "$as_dir" && as_dir
=.
13951 for ac_exec_ext
in '' $ac_executable_extensions; do
13952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13953 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13961 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13965 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13966 if test -n "$SDL_CONFIG"; then
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13968 $as_echo "$SDL_CONFIG" >&6; }
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971 $as_echo "no" >&6; }
13975 PATH
="$as_save_PATH"
13976 min_sdl_version
=1.2.10
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13978 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13980 if test "$SDL_CONFIG" = "no" ; then
13983 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
13984 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
13986 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
13987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13988 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
13989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13990 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13992 if test "x$enable_sdltest" = "xyes" ; then
13993 ac_save_CFLAGS
="$CFLAGS"
13994 ac_save_CXXFLAGS
="$CXXFLAGS"
13995 ac_save_LIBS
="$LIBS"
13996 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13997 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13998 LIBS
="$LIBS $SDL_LIBS"
14000 if test "$cross_compiling" = yes; then :
14001 echo $ac_n "cross compiling; assumed OK... $ac_c"
14003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14007 #include <stdlib.h>
14008 #include <string.h>
14012 my_strdup (char *str)
14018 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14019 strcpy (new_str, str);
14027 int main (int argc, char *argv[])
14029 int major, minor, micro;
14032 /* This hangs on some systems (?)
14033 system ("touch conf.sdltest");
14035 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14037 /* HP/UX 9 (%@#!) writes to sscanf strings */
14038 tmp_version = my_strdup("$min_sdl_version");
14039 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14040 printf("%s, bad version string\n", "$min_sdl_version");
14044 if (($sdl_major_version > major) ||
14045 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14046 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14052 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14053 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14054 printf("*** best to upgrade to the required version.\n");
14055 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14056 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14057 printf("*** config.cache before re-running configure\n");
14064 if ac_fn_c_try_run
"$LINENO"; then :
14069 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14070 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14073 CFLAGS
="$ac_save_CFLAGS"
14074 CXXFLAGS
="$ac_save_CXXFLAGS"
14075 LIBS
="$ac_save_LIBS"
14078 if test "x$no_sdl" = x
; then
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14080 $as_echo "yes" >&6; }
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14084 $as_echo "no" >&6; }
14085 if test "$SDL_CONFIG" = "no" ; then
14086 echo "*** The sdl-config script installed by SDL could not be found"
14087 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14088 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14089 echo "*** full path to sdl-config."
14091 if test -f conf.sdltest
; then
14094 echo "*** Could not run SDL test program, checking why..."
14095 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14096 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14097 LIBS
="$LIBS $SDL_LIBS"
14098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14104 int main(int argc, char *argv[])
14107 #define main K_and_R_C_main
14117 if ac_fn_c_try_link
"$LINENO"; then :
14118 echo "*** The test program compiled, but did not run. This usually means"
14119 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14120 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14121 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14122 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14123 echo "*** is required on your system"
14125 echo "*** If you have an old version installed, it is best to remove it, although"
14126 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14128 echo "*** The test program failed to compile or link. See the file config.log for the"
14129 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14130 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14131 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14133 rm -f core conftest.err conftest.
$ac_objext \
14134 conftest
$ac_exeext conftest.
$ac_ext
14135 CFLAGS
="$ac_save_CFLAGS"
14136 CXXFLAGS
="$ac_save_CXXFLAGS"
14137 LIBS
="$ac_save_LIBS"
14149 if test "x-$have_sdl" != "x-yes" ; then
14151 if test "x-$sdl_hidd" != "x-auto" ; then
14152 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14156 sdl_hidd_target
=kernel-hidd-sdl
14157 aros_host_sdl_cflags
=SDL_CFLAGS
14158 aros_host_sdl_libs
=SDL_LIBS
14162 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14163 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
14168 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14169 oss_library_target
=workbench-libs-oss-unix
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14175 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14176 # Check whether --enable-dbus was given.
14177 if test "${enable_dbus+set}" = set; then :
14178 enableval
=$enable_dbus; dbus
="yes"
14183 if test "$dbus" = "yes" ; then
14185 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14186 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14187 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14188 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14193 $as_echo "$dbus" >&6; }
14195 if test "$use_kernel_cc_wrapper" = "yes" ; then
14196 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14199 if test "${crosstools}" != "yes" ; then
14200 aros_target_toolchain
=no
14202 aros_target_toolchain
=yes
14218 # Compatability with other Amiga-like operation systems
14313 # Delinting target compiler flags
14337 # Native version related
14340 # Palm native version related
14343 # Unix/Hosted version related
14349 # Apple iOS related
14354 # ARM default GCC target related
14380 # Collect-aros stuff: "-ius" to ignore undefined symbols
14383 # C compiler related
14386 case "$aros_flavour" in
14387 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14388 aros_flavour
="emulation" ;;
14389 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14390 aros_flavour
="emulation" ;;
14391 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14392 aros_flavour
="standalone";;
14393 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14394 aros_flavour
="standalone";;
14395 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14396 aros_flavour
="native" ;;
14397 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14398 aros_flavour
="native" ;;
14399 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14400 aros_flavour
="linklib" ;;
14401 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14402 aros_flavour
="palmnative" ;;
14403 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14404 aros_flavour
="mac68knative" ;;
14405 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14406 aros_flavour
="ppcnative" ;;
14409 if test ! -d ${aros_inc_dir} ; then
14410 ${MKDIR} ${aros_inc_dir}
14412 if test ! -d ${aros_geninc_dir} ; then
14413 ${MKDIR} ${aros_geninc_dir}
14415 if test ! -d ${aros_hostcfg_dir} ; then
14416 ${MKDIR} ${aros_hostcfg_dir}
14418 if test ! -d ${aros_targetcfg_dir} ; then
14419 ${MKDIR} ${aros_targetcfg_dir}
14421 if test ! -d ${aros_tools_dir} ; then
14422 ${MKDIR} ${aros_tools_dir}
14424 if test ! -d ${aros_scripts_dir} ; then
14425 ${MKDIR} ${aros_scripts_dir}
14428 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14431 ac_config_commands
="$ac_config_commands compiler_executable"
14433 ac_config_commands
="$ac_config_commands genmf_executable"
14436 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"
14439 cat >confcache
<<\_ACEOF
14440 # This file is a shell script that caches the results of configure
14441 # tests run on this system so they can be shared between configure
14442 # scripts and configure runs, see configure's option --config-cache.
14443 # It is not useful on other systems. If it contains results you don't
14444 # want to keep, you may remove or edit it.
14446 # config.status only pays attention to the cache file if you give it
14447 # the --recheck option to rerun configure.
14449 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14450 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14451 # following values.
14455 # The following way of writing the cache mishandles newlines in values,
14456 # but we know of no workaround that is simple, portable, and efficient.
14457 # So, we kill variables containing newlines.
14458 # Ultrix sh set writes to stderr and can't be redirected directly,
14459 # and sets the high bit in the cache file unless we assign to the vars.
14461 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14462 eval ac_val
=\$
$ac_var
14466 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14467 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14470 _ | IFS | as_nl
) ;; #(
14471 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14472 *) { eval $ac_var=; unset $ac_var;} ;;
14478 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14479 *${as_nl}ac_space
=\
*)
14480 # `set' does not quote correctly, so add quotes: double-quote
14481 # substitution turns \\\\ into \\, and sed turns \\ into \.
14484 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14487 # `set' quotes correctly as required by POSIX, so do not add quotes.
14488 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14499 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14501 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14502 if test -w "$cache_file"; then
14503 test "x$cache_file" != "x/dev/null" &&
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14505 $as_echo "$as_me: updating cache $cache_file" >&6;}
14506 cat confcache
>$cache_file
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14509 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14514 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14515 # Let make expand exec_prefix.
14516 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14518 DEFS
=-DHAVE_CONFIG_H
14522 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14523 # 1. Remove the extension, and $U if already installed.
14524 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14525 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14526 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14527 # will be set to the directory where LIBOBJS objects are built.
14528 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14529 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14531 LIBOBJS
=$ac_libobjs
14533 LTLIBOBJS
=$ac_ltlibobjs
14537 : ${CONFIG_STATUS=./config.status}
14539 ac_clean_files_save
=$ac_clean_files
14540 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14542 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14544 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14546 # Generated by $as_me.
14547 # Run this file to recreate the current configuration.
14548 # Compiler output produced by configure, useful for debugging
14549 # configure, is in config.log if it exists.
14552 ac_cs_recheck=false
14555 SHELL=\${CONFIG_SHELL-$SHELL}
14558 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14559 ## -------------------- ##
14560 ## M4sh Initialization. ##
14561 ## -------------------- ##
14563 # Be more Bourne compatible
14564 DUALCASE
=1; export DUALCASE
# for MKS sh
14565 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14568 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14569 # is contrary to our usage. Disable this feature.
14570 alias -g '${1+"$@"}'='"$@"'
14571 setopt NO_GLOB_SUBST
14573 case `(set -o) 2>/dev/null` in #(
14585 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14586 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14588 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14589 # Prefer a ksh shell builtin over an external printf program on Solaris,
14590 # but without wasting forks for bash or zsh.
14591 if test -z "$BASH_VERSION$ZSH_VERSION" \
14592 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14593 as_echo='print
-r --'
14594 as_echo_n='print
-rn --'
14595 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14596 as_echo='printf %s
\n'
14597 as_echo_n='printf %s
'
14599 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14600 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14601 as_echo_n='/usr
/ucb
/echo -n'
14603 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14604 as_echo_n_body='eval
14608 expr "X$arg" : "X\\(.*\\)$as_nl";
14609 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14611 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14613 export as_echo_n_body
14614 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14616 export as_echo_body
14617 as_echo='sh
-c $as_echo_body as_echo
'
14620 # The user is always right.
14621 if test "${PATH_SEPARATOR+set}" != set; then
14623 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14624 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14631 # We need space, tab and new line, in precisely that order. Quoting is
14632 # there to prevent editors from complaining about space-tab.
14633 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14634 # splitting by setting IFS to empty value.)
14637 # Find who we are. Look in the path if we contain no directory separator.
14639 *[\\/]* ) as_myself=$0 ;;
14640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14641 for as_dir in $PATH
14644 test -z "$as_dir" && as_dir=.
14645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14651 # We did not find ourselves, most probably we were run as `sh COMMAND'
14652 # in which case we are not to be found in the path.
14653 if test "x$as_myself" = x
; then
14656 if test ! -f "$as_myself"; then
14657 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14661 # Unset variables that we do not need and which cause bugs (e.g. in
14662 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14663 # suppresses any "Segmentation fault" message there. '((' could
14664 # trigger a bug in pdksh 5.2.14.
14665 for as_var
in BASH_ENV ENV MAIL MAILPATH
14666 do eval test x\
${$as_var+set} = xset \
14667 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14680 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14683 # as_fn_error ERROR [LINENO LOG_FD]
14684 # ---------------------------------
14685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14687 # script with status $?, using 1 if that was 0.
14690 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14692 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14693 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14695 $as_echo "$as_me: error: $1" >&2
14696 as_fn_exit
$as_status
14700 # as_fn_set_status STATUS
14701 # -----------------------
14702 # Set $? to STATUS, without forking.
14703 as_fn_set_status
()
14706 } # as_fn_set_status
14708 # as_fn_exit STATUS
14709 # -----------------
14710 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14714 as_fn_set_status
$1
14720 # Portably unset VAR.
14723 { eval $1=; unset $1;}
14725 as_unset
=as_fn_unset
14726 # as_fn_append VAR VALUE
14727 # ----------------------
14728 # Append the text in VALUE to the end of the definition contained in VAR. Take
14729 # advantage of any shell optimizations that allow amortized linear growth over
14730 # repeated appends, instead of the typical quadratic growth present in naive
14732 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14733 eval 'as_fn_append ()
14744 # as_fn_arith ARG...
14745 # ------------------
14746 # Perform arithmetic evaluation on the ARGs, and store the result in the
14747 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14748 # must be portable across $(()) and expr.
14749 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14750 eval 'as_fn_arith ()
14757 as_val
=`expr "$@" || test $? -eq 1`
14762 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14763 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14769 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14770 as_basename
=basename
14775 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14781 as_me
=`$as_basename -- "$0" ||
14782 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14783 X"$0" : 'X\(//\)$' \| \
14784 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14786 sed '/^.*\/\([^/][^/]*\)\/*$/{
14800 # Avoid depending upon Character Ranges.
14801 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14802 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14803 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14804 as_cr_digits
='0123456789'
14805 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14807 ECHO_C
= ECHO_N
= ECHO_T
=
14808 case `echo -n x` in #(((((
14810 case `echo 'xy\c'` in
14811 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14813 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14820 rm -f conf$$ conf$$.exe conf$$.
file
14821 if test -d conf$$.dir
; then
14822 rm -f conf$$.dir
/conf$$.
file
14825 mkdir conf$$.dir
2>/dev
/null
14827 if (echo >conf$$.
file) 2>/dev
/null
; then
14828 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14830 # ... but there are two gotchas:
14831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14833 # In both cases, we have to default to `cp -p'.
14834 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14836 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14844 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14845 rmdir conf$$.dir
2>/dev
/null
14850 # Create "$as_dir" as a directory, including parents if necessary.
14855 -*) as_dir
=.
/$as_dir;;
14857 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14861 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14862 *) as_qdir
=$as_dir;;
14864 as_dirs
="'$as_qdir' $as_dirs"
14865 as_dir
=`$as_dirname -- "$as_dir" ||
14866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14867 X"$as_dir" : 'X\(//\)[^/]' \| \
14868 X"$as_dir" : 'X\(//\)$' \| \
14869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14870 $as_echo X"$as_dir" |
14871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14875 /^X\(\/\/\)[^/].*/{
14888 test -d "$as_dir" && break
14890 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14891 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14895 if mkdir
-p .
2>/dev
/null
; then
14896 as_mkdir_p
='mkdir -p "$as_dir"'
14898 test -d .
/-p && rmdir .
/-p
14902 if test -x / >/dev
/null
2>&1; then
14903 as_test_x
='test -x'
14905 if ls -dL / >/dev
/null
2>&1; then
14912 if test -d "$1"; then
14918 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14919 ???[sx]*):;;*)false;;esac;fi
14923 as_executable_p
=$as_test_x
14925 # Sed expression to map a string onto a valid CPP name.
14926 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14928 # Sed expression to map a string onto a valid variable name.
14929 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14933 ## ----------------------------------- ##
14934 ## Main body of $CONFIG_STATUS script. ##
14935 ## ----------------------------------- ##
14937 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14940 # Save the log message, to keep $0 and so on meaningful, and to
14941 # report actual input values of CONFIG_FILES etc. instead of their
14942 # values after options handling.
14944 This file was extended by $as_me, which was
14945 generated by GNU Autoconf 2.65. Invocation command line was
14947 CONFIG_FILES = $CONFIG_FILES
14948 CONFIG_HEADERS = $CONFIG_HEADERS
14949 CONFIG_LINKS = $CONFIG_LINKS
14950 CONFIG_COMMANDS = $CONFIG_COMMANDS
14953 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14958 case $ac_config_files in *"
14959 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14962 case $ac_config_headers in *"
14963 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14968 # Files that config.status was made for.
14969 config_files="$ac_config_files"
14970 config_headers="$ac_config_headers"
14971 config_commands="$ac_config_commands"
14975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14977 \`$as_me' instantiates files and other configuration actions
14978 from templates according to the current configuration. Unless the files
14979 and actions are specified as TAGs, all are instantiated by default.
14981 Usage: $0 [OPTION]... [TAG]...
14983 -h, --help print this help, then exit
14984 -V, --version print version number and configuration settings, then exit
14985 --config print configuration, then exit
14986 -q, --quiet, --silent
14987 do not print progress messages
14988 -d, --debug don't remove temporary files
14989 --recheck update $as_me by reconfiguring in the same conditions
14990 --file=FILE[:TEMPLATE]
14991 instantiate the configuration file FILE
14992 --header=FILE[:TEMPLATE]
14993 instantiate the configuration header FILE
14995 Configuration files:
14998 Configuration headers:
15001 Configuration commands:
15004 Report bugs to the package provider."
15007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15008 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15011 configured by $0, generated by GNU Autoconf 2.65,
15012 with options \\"\$ac_cs_config\\"
15014 Copyright (C) 2009 Free Software Foundation, Inc.
15015 This config.status script is free software; the Free Software Foundation
15016 gives unlimited permission to copy, distribute and modify it."
15020 test -n "\$AWK" || AWK=awk
15023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15024 # The default lists apply if the user does not specify any file.
15030 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15031 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15042 # Handling of the options.
15043 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15045 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15046 $as_echo "$ac_cs_version"; exit ;;
15047 --config |
--confi |
--conf |
--con |
--co |
--c )
15048 $as_echo "$ac_cs_config"; exit ;;
15049 --debug |
--debu |
--deb |
--de |
--d |
-d )
15051 --file |
--fil |
--fi |
--f )
15054 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15056 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15057 ac_need_defaults
=false
;;
15058 --header |
--heade |
--head |
--hea )
15061 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15063 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15064 ac_need_defaults
=false
;;
15066 # Conflict between --help and --header
15067 as_fn_error
"ambiguous option: \`$1'
15068 Try \`$0 --help' for more information.";;
15069 --help |
--hel |
-h )
15070 $as_echo "$ac_cs_usage"; exit ;;
15071 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15072 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15075 # This is an error.
15076 -*) as_fn_error
"unrecognized option: \`$1'
15077 Try \`$0 --help' for more information." ;;
15079 *) as_fn_append ac_config_targets
" $1"
15080 ac_need_defaults
=false
;;
15086 ac_configure_extra_args
=
15088 if $ac_cs_silent; then
15090 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15095 if \$ac_cs_recheck; then
15096 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15098 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15099 CONFIG_SHELL='$SHELL'
15100 export CONFIG_SHELL
15105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15109 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15110 ## Running $as_me. ##
15116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15121 aros_host_exe_suffix=${aros_host_exe_suffix}
15122 aros_tools_dir=${aros_tools_dir}
15123 aros_target_cpu=${aros_target_cpu}
15124 aros_target_arch=${aros_target_arch}
15125 aros_target_suffix=${aros_target_suffix}
15126 orig_target_nm=${orig_target_nm}
15127 orig_target_as=${orig_target_as}
15128 orig_target_ar=${orig_target_ar}
15129 orig_target_ranlib=${orig_target_ranlib}
15130 orig_target_objdump=${orig_target_objdump}
15131 orig_target_objcopy=${orig_target_objcopy}
15132 orig_target_strip=${orig_target_strip}
15133 aros_kernel_ld=${aros_kernel_ld}
15136 aros_tools_dir=${aros_tools_dir}
15141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15143 # Handling of arguments.
15144 for ac_config_target
in $ac_config_targets
15146 case $ac_config_target in
15147 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15148 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15149 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15150 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15151 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15152 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15153 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15154 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15155 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15156 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15157 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15158 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15159 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15160 "${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" ;;
15161 "${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" ;;
15162 "${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" ;;
15163 "${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" ;;
15164 "${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" ;;
15165 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15166 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15167 "${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" ;;
15169 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15174 # If the user did not use the arguments to specify the items to instantiate,
15175 # then the envvar interface is used. Set only those that are not.
15176 # We use the long form for the default assignment because of an extremely
15177 # bizarre bug on SunOS 4.1.3.
15178 if $ac_need_defaults; then
15179 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15180 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15181 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15184 # Have a temporary directory for convenience. Make it in the build tree
15185 # simply because there is no reason against having it here, and in addition,
15186 # creating and moving files from /tmp can sometimes cause problems.
15187 # Hook for its removal unless debugging.
15188 # Note that there is a small window in which the directory will not be cleaned:
15189 # after its creation but before its name has been assigned to `$tmp'.
15193 trap 'exit_status=$?
15194 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15196 trap 'as_fn_exit 1' 1 2 13 15
15198 # Create a (secure) tmp directory for tmp files.
15201 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15202 test -n "$tmp" && test -d "$tmp"
15205 tmp
=.
/conf$$
-$RANDOM
15206 (umask 077 && mkdir
"$tmp")
15207 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15209 # Set up the scripts for CONFIG_FILES section.
15210 # No need to generate them if there are no CONFIG_FILES.
15211 # This happens for instance with `./config.status config.h'.
15212 if test -n "$CONFIG_FILES"; then
15215 ac_cr
=`echo X | tr X '\015'`
15216 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15217 # But we know of no other shell where ac_cr would be empty at this
15218 # point, so we can use a bashism as a fallback.
15219 if test "x$ac_cr" = x
; then
15220 eval ac_cr
=\$
\'\\r
\'
15222 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15223 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15226 ac_cs_awk_cr
=$ac_cr
15229 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15234 echo "cat >conf$$subs.awk <<_ACEOF" &&
15235 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15237 } >conf$$subs.sh ||
15238 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15239 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15241 for ac_last_try in false false false false false :; do
15242 . ./conf$$subs.sh ||
15243 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15245 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15246 if test $ac_delim_n = $ac_delim_num; then
15248 elif $ac_last_try; then
15249 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15251 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15254 rm -f conf$$subs.sh
15256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15257 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15261 s/^/S["/; s
/!.
*/"]=/
15271 s/\(.\{148\}\)..*/\1/
15273 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15278 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15285 s/\(.\{148\}\)..*/\1/
15287 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15291 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15296 ' <conf$$subs.awk | sed '
15301 ' >>$CONFIG_STATUS || ac_write_fail=1
15302 rm -f conf$$subs.awk
15303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15305 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15306 for (key in S) S_is_set[key] = 1
15312 nfields = split(line, field, "@
")
15314 len = length(field[1])
15315 for (i = 2; i < nfields; i++) {
15317 keylen = length(key)
15318 if (S_is_set[key]) {
15320 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15321 len += length(value) + length(field[++i])
15332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15333 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15334 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15337 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15338 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15341 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15342 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15343 # trailing colons and then remove the whole line if VPATH becomes empty
15344 # (actually we leave an empty line to preserve line numbers).
15345 if test "x
$srcdir" = x.; then
15346 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15347 s/:*\$(srcdir):*/:/
15348 s/:*\${srcdir}:*/:/
15350 s/^\([^=]*=[ ]*\):*/\1/
15356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15357 fi # test -n "$CONFIG_FILES"
15359 # Set up the scripts for CONFIG_HEADERS section.
15360 # No need to generate them if there are no CONFIG_HEADERS.
15361 # This happens for instance with `./config.status Makefile'.
15362 if test -n "$CONFIG_HEADERS"; then
15363 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15367 # Transform confdefs.h into an awk script `defines.awk', embedded as
15368 # here-document in config.status, that substitutes the proper values into
15369 # config.h.in to produce config.h.
15371 # Create a delimiter string that does not exist in confdefs.h, to ease
15372 # handling of long lines.
15374 for ac_last_try in false false :; do
15375 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15376 if test -z "$ac_t"; then
15378 elif $ac_last_try; then
15379 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15381 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15385 # For the awk script, D is an array of macro values keyed by name,
15386 # likewise P contains macro parameters if any. Preserve backslash
15387 # newline sequences.
15389 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15391 s/.\{148\}/&'"$ac_delim"'/g
15394 s/^[ ]*#[ ]*define[ ][ ]*/ /
15401 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15403 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15407 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15408 D["\
1"]=" \
3\\\\\\n
"\\/p
15410 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15415 s/.\{148\}/&'"$ac_delim"'/g
15420 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15423 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15425 ' <confdefs.h | sed '
15426 s/'"$ac_delim"'/"\\\
15427 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15430 for (key in D) D_is_set[key] = 1
15433 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15435 split(line, arg, " ")
15436 if (arg[1] == "#") {
15440 defundef
= substr
(arg
[1], 2)
15443 split(mac1
, mac2
, "(") #)
15445 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15446 if (D_is_set
[macro
]) {
15447 # Preserve the white space surrounding the "#".
15448 print prefix
"define", macro P
[macro
] D
[macro
]
15451 # Replace #undef with comments. This is necessary, for example,
15452 # in the case of _POSIX_SOURCE, which is predefined and required
15453 # on some systems where configure will not decide to define it.
15454 if (defundef
== "undef") {
15455 print
"/*", prefix defundef
, macro
, "*/"
15463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15464 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15465 fi # test -n "$CONFIG_HEADERS"
15468 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15473 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15475 case $ac_mode$ac_tag in
15477 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15478 :[FH
]-) ac_tag
=-:-;;
15479 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15496 -) ac_f
="$tmp/stdin";;
15497 *) # Look for the file first in the build tree, then in the source tree
15498 # (if the path is not absolute). The absolute path cannot be DOS-style,
15499 # because $ac_f cannot contain `:'.
15503 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15505 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15507 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15508 as_fn_append ac_file_inputs
" '$ac_f'"
15511 # Let's still pretend it is `configure' which instantiates (i.e., don't
15512 # use $as_me), people would be surprised to read:
15513 # /* config.h. Generated by config.status. */
15514 configure_input
='Generated from '`
15515 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15517 if test x
"$ac_file" != x-
; then
15518 configure_input
="$ac_file. $configure_input"
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15520 $as_echo "$as_me: creating $ac_file" >&6;}
15522 # Neutralize special characters interpreted by sed in replacement strings.
15523 case $configure_input in #(
15524 *\
&* |
*\|
* |
*\\* )
15525 ac_sed_conf_input
=`$as_echo "$configure_input" |
15526 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15527 *) ac_sed_conf_input
=$configure_input;;
15531 *:-:* |
*:-) cat >"$tmp/stdin" \
15532 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15537 ac_dir
=`$as_dirname -- "$ac_file" ||
15538 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15539 X"$ac_file" : 'X\(//\)[^/]' \| \
15540 X"$ac_file" : 'X\(//\)$' \| \
15541 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15542 $as_echo X"$ac_file" |
15543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15547 /^X\(\/\/\)[^/].*/{
15560 as_dir
="$ac_dir"; as_fn_mkdir_p
15564 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15566 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15567 # A ".." for each directory in $ac_dir_suffix.
15568 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15569 case $ac_top_builddir_sub in
15570 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15571 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15574 ac_abs_top_builddir
=$ac_pwd
15575 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15576 # for backward compatibility:
15577 ac_top_builddir
=$ac_top_build_prefix
15580 .
) # We are building in place.
15582 ac_top_srcdir
=$ac_top_builddir_sub
15583 ac_abs_top_srcdir
=$ac_pwd ;;
15584 [\\/]* | ?
:[\\/]* ) # Absolute name.
15585 ac_srcdir
=$srcdir$ac_dir_suffix;
15586 ac_top_srcdir
=$srcdir
15587 ac_abs_top_srcdir
=$srcdir ;;
15588 *) # Relative name.
15589 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15590 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15591 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15593 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15605 # If the template does not know about datarootdir, expand it.
15606 # FIXME: This hack should be removed a few years after 2.60.
15607 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15618 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15619 *datarootdir
*) ac_datarootdir_seen
=yes;;
15620 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15622 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15625 ac_datarootdir_hack='
15626 s&@datadir@&$datadir&g
15627 s&@docdir@&$docdir&g
15628 s&@infodir@&$infodir&g
15629 s&@localedir@&$localedir&g
15630 s&@mandir@&$mandir&g
15631 s&\\\${datarootdir}&$datarootdir&g' ;;
15635 # Neutralize VPATH when `$srcdir' = `.'.
15636 # Shell code in configure.ac might set extrasub.
15637 # FIXME: do we really want to maintain this feature?
15638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15639 ac_sed_extra="$ac_vpsub
15642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15644 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15645 s|@configure_input@|
$ac_sed_conf_input|
;t t
15646 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15647 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15648 s
&@srcdir@
&$ac_srcdir&;t t
15649 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15650 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15651 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15652 s
&@builddir@
&$ac_builddir&;t t
15653 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15654 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15655 $ac_datarootdir_hack
15657 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15658 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15660 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15661 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15662 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15664 which seems to be undefined. Please make sure it is defined." >&5
15665 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15666 which seems to be undefined. Please make sure it is defined." >&2;}
15670 -) cat "$tmp/out" && rm -f "$tmp/out";;
15671 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15673 || as_fn_error "could not create $ac_file" "$LINENO" 5
15679 if test x"$ac_file" != x-; then
15681 $as_echo "/* $configure_input */" \
15682 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15683 } >"$tmp/config.h" \
15684 || as_fn_error "could not create $ac_file" "$LINENO" 5
15685 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15687 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15690 mv "$tmp/config.h" "$ac_file" \
15691 || as_fn_error "could not create $ac_file" "$LINENO" 5
15694 $as_echo "/* $configure_input */" \
15695 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15696 || as_fn_error "could not create -" "$LINENO" 5
15700 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15701 $as_echo "$as_me: executing $ac_file commands" >&6;}
15706 case $ac_file$ac_mode in
15707 "compiler_executable":C)
15708 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15710 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15711 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15715 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15717 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15718 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15719 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15720 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15721 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15722 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15723 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15725 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15727 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15735 ac_clean_files=$ac_clean_files_save
15737 test $ac_write_fail = 0 ||
15738 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15741 # configure is writing to config.log, and then calls config.status.
15742 # config.status does its own redirection, appending to config.log.
15743 # Unfortunately, on DOS this fails, as config.log is still kept open
15744 # by configure, so config.status won't be able to
write to it
; its
15745 # output is simply discarded. So we exec the FD to /dev/null,
15746 # effectively closing config.log, so it can be properly (re)opened and
15747 # appended to by config.status. When coming back to configure, we
15748 # need to make the FD available again.
15749 if test "$no_create" != yes; then
15751 ac_config_status_args
=
15752 test "$silent" = yes &&
15753 ac_config_status_args
="$ac_config_status_args --quiet"
15755 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15757 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15758 # would make configure fail if this is the last instruction.
15759 $ac_cs_success || as_fn_exit $?
15761 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15763 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15768 #XXX compatability...
15769 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15771 if test -n "$aros_shared_cflags" ; then
15772 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15773 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg