2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 ac_unique_file
="mmakefile"
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
603 ac_subst_vars
='LTLIBOBJS
605 ignore_undefined_symbols
617 gcc_default_float_abi
624 aros_nesting_supervisor
629 aros_host_x11_libdirs
630 aros_host_x11_includes
634 aros_default_wbheight
640 aros_cflags_format_security
641 aros_cflags_strict_overflow
642 aros_cflags_enum_compare
643 aros_cflags_array_bounds
644 aros_cflags_unused_but_set_variable
645 crosstools_cxx_target
647 aros_target_strip_flags
654 aros_kernel_objcflags
673 aros_target_cc_includes
688 aros_target_bootloader
708 aros_amigaos_compliance
714 aros_target_toolchain
723 aros_cflags_iquote_end
725 kernel_cflags_iquote_end
727 host_cflags_iquote_end
729 aros_target_nostdlib_ldflags
730 aros_target_detach_ldflags
731 aros_target_nix_ldflags
732 aros_target_nostartup_ldflags
733 aros_target_nostdinc_cflags
850 program_transform_name
863 enable_option_checking
868 with_kernel_gcc_version
872 enable_target_variant
878 enable_amigaos_compliance
879 with_kernel_toolchain_prefix
880 with_elf_toolchain_prefix
883 with_aros_toolchain_install
895 enable_palm_debug_hack
896 enable_nesting_supervisor
908 ac_precious_vars
='build_alias
924 # Initialize some variables set by options.
926 ac_init_version
=false
927 ac_unrecognized_opts
=
929 # The variables have the same names as the options, with
930 # dashes changed to underlines.
938 program_transform_name
=s
,x
,x
,
946 # Installation directory options.
947 # These are left unexpanded so users can "make install exec_prefix=/foo"
948 # and all the variables that are supposed to be based on exec_prefix
949 # by default will actually change.
950 # Use braces instead of parens because sh, perl, etc. also accept them.
951 # (The list follows the same order as the GNU Coding Standards.)
952 bindir
='${exec_prefix}/bin'
953 sbindir
='${exec_prefix}/sbin'
954 libexecdir
='${exec_prefix}/libexec'
955 datarootdir
='${prefix}/share'
956 datadir
='${datarootdir}'
957 sysconfdir
='${prefix}/etc'
958 sharedstatedir
='${prefix}/com'
959 localstatedir
='${prefix}/var'
960 includedir
='${prefix}/include'
961 oldincludedir
='/usr/include'
962 docdir
='${datarootdir}/doc/${PACKAGE}'
963 infodir
='${datarootdir}/info'
968 libdir
='${exec_prefix}/lib'
969 localedir
='${datarootdir}/locale'
970 mandir
='${datarootdir}/man'
976 # If the previous option needs an argument, assign it.
977 if test -n "$ac_prev"; then
978 eval $ac_prev=\
$ac_option
984 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
989 # Accept the important Cygnus configure options, so we can diagnose typos.
991 case $ac_dashdash$ac_option in
995 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
997 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1000 -build |
--build |
--buil |
--bui |
--bu)
1001 ac_prev
=build_alias
;;
1002 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1003 build_alias
=$ac_optarg ;;
1005 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1006 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1007 ac_prev
=cache_file
;;
1008 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1009 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1010 cache_file
=$ac_optarg ;;
1012 --config-cache |
-C)
1013 cache_file
=config.cache
;;
1015 -datadir |
--datadir |
--datadi |
--datad)
1017 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1018 datadir
=$ac_optarg ;;
1020 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1021 |
--dataroo |
--dataro |
--datar)
1022 ac_prev
=datarootdir
;;
1023 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1024 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1025 datarootdir
=$ac_optarg ;;
1027 -disable-* |
--disable-*)
1028 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1031 as_fn_error $?
"invalid feature name: $ac_useropt"
1032 ac_useropt_orig
=$ac_useropt
1033 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1036 "enable_
$ac_useropt"
1038 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1039 ac_unrecognized_sep
=', ';;
1041 eval enable_
$ac_useropt=no
;;
1043 -docdir |
--docdir |
--docdi |
--doc |
--do)
1045 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1046 docdir
=$ac_optarg ;;
1048 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1050 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1051 dvidir
=$ac_optarg ;;
1053 -enable-* |
--enable-*)
1054 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1057 as_fn_error $?
"invalid feature name: $ac_useropt"
1058 ac_useropt_orig
=$ac_useropt
1059 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1062 "enable_
$ac_useropt"
1064 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1065 ac_unrecognized_sep
=', ';;
1067 eval enable_
$ac_useropt=\
$ac_optarg ;;
1069 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1070 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1071 |
--exec |
--exe |
--ex)
1072 ac_prev
=exec_prefix
;;
1073 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1074 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1075 |
--exec=* |
--exe=* |
--ex=*)
1076 exec_prefix
=$ac_optarg ;;
1078 -gas |
--gas |
--ga |
--g)
1079 # Obsolete; use --with-gas.
1082 -help |
--help |
--hel |
--he |
-h)
1083 ac_init_help
=long
;;
1084 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1085 ac_init_help
=recursive
;;
1086 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1087 ac_init_help
=short
;;
1089 -host |
--host |
--hos |
--ho)
1090 ac_prev
=host_alias
;;
1091 -host=* |
--host=* |
--hos=* |
--ho=*)
1092 host_alias
=$ac_optarg ;;
1094 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1096 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1098 htmldir
=$ac_optarg ;;
1100 -includedir |
--includedir |
--includedi |
--included |
--include \
1101 |
--includ |
--inclu |
--incl |
--inc)
1102 ac_prev
=includedir
;;
1103 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1104 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1105 includedir
=$ac_optarg ;;
1107 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1109 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1110 infodir
=$ac_optarg ;;
1112 -libdir |
--libdir |
--libdi |
--libd)
1114 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1115 libdir
=$ac_optarg ;;
1117 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1118 |
--libexe |
--libex |
--libe)
1119 ac_prev
=libexecdir
;;
1120 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1121 |
--libexe=* |
--libex=* |
--libe=*)
1122 libexecdir
=$ac_optarg ;;
1124 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1125 ac_prev
=localedir
;;
1126 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1127 localedir
=$ac_optarg ;;
1129 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1130 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1131 ac_prev
=localstatedir
;;
1132 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1133 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1134 localstatedir
=$ac_optarg ;;
1136 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1138 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1139 mandir
=$ac_optarg ;;
1141 -nfp |
--nfp |
--nf)
1142 # Obsolete; use --without-fp.
1145 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1146 |
--no-cr |
--no-c |
-n)
1149 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1150 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1153 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1154 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1155 |
--oldin |
--oldi |
--old |
--ol |
--o)
1156 ac_prev
=oldincludedir
;;
1157 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1158 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1159 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1160 oldincludedir
=$ac_optarg ;;
1162 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1164 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1165 prefix
=$ac_optarg ;;
1167 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1168 |
--program-pre |
--program-pr |
--program-p)
1169 ac_prev
=program_prefix
;;
1170 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1171 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1172 program_prefix
=$ac_optarg ;;
1174 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1175 |
--program-suf |
--program-su |
--program-s)
1176 ac_prev
=program_suffix
;;
1177 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1178 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1179 program_suffix
=$ac_optarg ;;
1181 -program-transform-name |
--program-transform-name \
1182 |
--program-transform-nam |
--program-transform-na \
1183 |
--program-transform-n |
--program-transform- \
1184 |
--program-transform |
--program-transfor \
1185 |
--program-transfo |
--program-transf \
1186 |
--program-trans |
--program-tran \
1187 |
--progr-tra |
--program-tr |
--program-t)
1188 ac_prev
=program_transform_name
;;
1189 -program-transform-name=* |
--program-transform-name=* \
1190 |
--program-transform-nam=* |
--program-transform-na=* \
1191 |
--program-transform-n=* |
--program-transform-=* \
1192 |
--program-transform=* |
--program-transfor=* \
1193 |
--program-transfo=* |
--program-transf=* \
1194 |
--program-trans=* |
--program-tran=* \
1195 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1196 program_transform_name
=$ac_optarg ;;
1198 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1200 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1201 pdfdir
=$ac_optarg ;;
1203 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1205 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1208 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1209 |
-silent |
--silent |
--silen |
--sile |
--sil)
1212 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1214 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1216 sbindir
=$ac_optarg ;;
1218 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1219 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1220 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1222 ac_prev
=sharedstatedir
;;
1223 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1224 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1225 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1227 sharedstatedir
=$ac_optarg ;;
1229 -site |
--site |
--sit)
1231 -site=* |
--site=* |
--sit=*)
1234 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1236 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1237 srcdir
=$ac_optarg ;;
1239 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1240 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1241 ac_prev
=sysconfdir
;;
1242 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1243 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1244 sysconfdir
=$ac_optarg ;;
1246 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1247 ac_prev
=target_alias
;;
1248 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1249 target_alias
=$ac_optarg ;;
1251 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1254 -version |
--version |
--versio |
--versi |
--vers |
-V)
1255 ac_init_version
=: ;;
1258 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1261 as_fn_error $?
"invalid package name: $ac_useropt"
1262 ac_useropt_orig
=$ac_useropt
1263 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1268 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1269 ac_unrecognized_sep
=', ';;
1271 eval with_
$ac_useropt=\
$ac_optarg ;;
1273 -without-* |
--without-*)
1274 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1277 as_fn_error $?
"invalid package name: $ac_useropt"
1278 ac_useropt_orig
=$ac_useropt
1279 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280 case $ac_user_opts in
1284 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1285 ac_unrecognized_sep
=', ';;
1287 eval with_
$ac_useropt=no
;;
1290 # Obsolete; use --with-x.
1293 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1294 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1295 ac_prev
=x_includes
;;
1296 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1297 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1298 x_includes
=$ac_optarg ;;
1300 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1301 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1302 ac_prev
=x_libraries
;;
1303 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1304 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1305 x_libraries
=$ac_optarg ;;
1307 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1308 Try \`$0 --help' for more information"
1312 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1313 # Reject names that are not valid shell variable names.
1314 case $ac_envvar in #(
1315 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1316 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1318 eval $ac_envvar=\
$ac_optarg
1319 export $ac_envvar ;;
1322 # FIXME: should be removed in autoconf 3.0.
1323 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1325 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1326 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1332 if test -n "$ac_prev"; then
1333 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1334 as_fn_error $?
"missing argument to $ac_option"
1337 if test -n "$ac_unrecognized_opts"; then
1338 case $enable_option_checking in
1340 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1341 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1345 # Check all directory arguments for consistency.
1346 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1347 datadir sysconfdir sharedstatedir localstatedir includedir \
1348 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1349 libdir localedir mandir
1351 eval ac_val
=\$
$ac_var
1352 # Remove trailing slashes.
1355 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1356 eval $ac_var=\
$ac_val;;
1358 # Be sure to have absolute directory names.
1360 [\\/$
]* | ?
:[\\/]* ) continue;;
1361 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1363 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1366 # There might be people who depend on the old broken behavior: `$host'
1367 # used to hold the argument of --host etc.
1368 # FIXME: To remove some day.
1371 target
=$target_alias
1373 # FIXME: To remove some day.
1374 if test "x$host_alias" != x
; then
1375 if test "x$build_alias" = x
; then
1376 cross_compiling
=maybe
1377 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1378 If a cross compiler is detected then cross compile mode will be used" >&2
1379 elif test "x$build_alias" != "x$host_alias"; then
1385 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1387 test "$silent" = yes && exec 6>/dev
/null
1390 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1391 ac_ls_di
=`ls -di .` &&
1392 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1393 as_fn_error $?
"working directory cannot be determined"
1394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1395 as_fn_error $?
"pwd does not report name of working directory"
1398 # Find the source files, if location was not specified.
1399 if test -z "$srcdir"; then
1400 ac_srcdir_defaulted
=yes
1401 # Try the directory containing this script, then the parent directory.
1402 ac_confdir
=`$as_dirname -- "$as_myself" ||
1403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404 X"$as_myself" : 'X\(//\)[^/]' \| \
1405 X"$as_myself" : 'X\(//\)$' \| \
1406 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407 $as_echo X"$as_myself" |
1408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1430 ac_srcdir_defaulted
=no
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1433 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1434 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1436 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1438 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1448 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1450 for ac_var
in $ac_precious_vars; do
1451 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1452 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1453 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1454 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1458 # Report the --help message.
1460 if test "$ac_init_help" = "long"; then
1461 # Omit some internal or obsolete options to make the list less imposing.
1462 # This message is too long to be a string in the A/UX 3.1 sh.
1464 \`configure' configures this package to adapt to many kinds of systems.
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE. See below for descriptions of some of the useful variables.
1471 Defaults for the options are specified in brackets.
1474 -h, --help display this help and exit
1475 --help=short display options specific to this package
1476 --help=recursive display the short help of all the included packages
1477 -V, --version display version information and exit
1478 -q, --quiet, --silent do not print \`checking ...' messages
1479 --cache-file=FILE cache test results in FILE [disabled]
1480 -C, --config-cache alias for \`--cache-file=config.cache'
1481 -n, --no-create do not create output files
1482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1495 For better control, use the options below.
1497 Fine tuning of the installation directories:
1498 --bindir=DIR user executables [EPREFIX/bin]
1499 --sbindir=DIR system admin executables [EPREFIX/sbin]
1500 --libexecdir=DIR program executables [EPREFIX/libexec]
1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1513 --htmldir=DIR html documentation [DOCDIR]
1514 --dvidir=DIR dvi documentation [DOCDIR]
1515 --pdfdir=DIR pdf documentation [DOCDIR]
1516 --psdir=DIR ps documentation [DOCDIR]
1522 --x-includes=DIR X include files are
in DIR
1523 --x-libraries=DIR X library files are
in DIR
1526 --build=BUILD configure
for building on BUILD
[guessed
]
1527 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1531 if test -n "$ac_init_help"; then
1536 --disable-option-checking ignore unrecognized
--enable/--with options
1537 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1538 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1539 --enable-build-type=TYPE
1540 Select the build
type. Available types are
:
1541 personal
, nightly
, snapshot
, milestone
, release. Do
1542 NOT use this option unless you know what you are
1543 doing
! (default
=personal
)
1544 --enable-debug=list Enable different types of debug. Commas or
1545 whitespaces can be used to separate the items
in the
1546 list. Available types of debug are
: all
, none
,
1547 messages
, stack
, mungwall
, modules
, symbols. If no
1548 list is provided
then "all" is assumed.
1550 --enable-distcc Use distcc as a front end to the compiler
1552 --enable-ccache Use ccache as a front end to the compiler
1554 --enable-target-variant=NAME
1555 Enable a specific target variant
(default
=none
)
1556 --enable-amigaos-compliance=VERSION
1557 Enforce userspace AmigaOS compliance to a specific
1558 KickStart version
(default
=none
).
1559 --disable-crosstools Do not build cross-compiler toolchain
1560 --enable-includes=dir Alternative system include directory
1561 --enable-palm-debug-hack
1562 Enable palm debug output hack
in palm native
1564 --enable-nesting-supervisor
1565 Enable nesting supervisor support
in unix
1567 --disable-mmu Disable MMU support
(default
=enabled
)
1568 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1569 --enable-x11-shm use X11 shared memory
(default
=auto
)
1570 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1571 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1572 --disable-sdltest Do not try to compile and run a
test SDL program
1573 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1576 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1577 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1578 --with-kernel-gcc-version=VERSION
1579 Use
host gcc-VERSION
for building AROS
1580 --with-gcc-version=VERSION
1581 Use
host gcc-VERSION
for building AROS
1582 --with-optimization=FLAGS
1583 Use optimization flags FLAGS
(default
=-O2).
1584 --with-paranoia=FLAGS CC flags to
enable paranoia
1585 --with-xcode=PATH Specify XCode path
for iOS targets
1586 (default
=/Developer
).
1587 --with-sdk-version=VERSION
1588 Use iOS SDK version VERSION
(default
=4.1).
1589 --with-sdk=PATH Specify Android SDK path
1590 (default
=$default_android_sdk).
1591 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1592 --with-sdk-version=LEVEL
1593 Use Android SDK
for API LEVEL
(default
=12).
1594 --with-ndk-version=LEVEL
1595 Use Android NDK
for API LEVEL
(default
=9).
1596 --with-kernel-toolchain-prefix=...
1597 Specify crosscompile toolchain prefix
for kernel
1599 --with-elf-toolchain-prefix=...
1600 Specify crosscompile toolchain prefix to wrap
for
1602 --with-aros-toolchain=PREFIX
1603 Specify prebuilt AROS toolchain
1604 --with-aros-toolchain-install=DIR
1605 Where to
install or search
for cross tools binaries
1606 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1607 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1608 --with-float=<spec
> Specify floating point ABI
1609 (default
=$gcc_default_float_abi).
1610 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1611 --with-portssources=DIR Where to download sourcecode
for external ports
1612 --with-bootloader=NAME Use a specific bootloader
1613 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1614 --with-theme=NAME Use a specific GUI Theme
1615 --with-resolution=XRESxYRESxDEPTH
1616 Default resolution of the initial WorkbenchScreen
1617 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1618 --with-x use the X Window System
1619 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1620 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1622 Some influential environment variables
:
1623 CC C compiler
command
1624 CFLAGS C compiler flags
1625 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1626 nonstandard directory
<lib dir
>
1627 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1628 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1629 you have headers
in a nonstandard directory
<include dir
>
1630 CXX C
++ compiler
command
1631 CXXFLAGS C
++ compiler flags
1633 PYTHON the Python interpreter
1634 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1636 Use these variables to override the choices made by
`configure' or to help
1637 it to find libraries and programs with nonstandard names/locations.
1639 Report bugs to the package provider.
1644 if test "$ac_init_help" = "recursive"; then
1645 # If there are subdirs, report their specific --help.
1646 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1647 test -d "$ac_dir" ||
1648 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1656 # A ".." for each directory in $ac_dir_suffix.
1657 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1658 case $ac_top_builddir_sub in
1659 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1660 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1663 ac_abs_top_builddir=$ac_pwd
1664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1665 # for backward compatibility:
1666 ac_top_builddir=$ac_top_build_prefix
1669 .) # We are building in place.
1671 ac_top_srcdir=$ac_top_builddir_sub
1672 ac_abs_top_srcdir=$ac_pwd ;;
1673 [\\/]* | ?:[\\/]* ) # Absolute name.
1674 ac_srcdir=$srcdir$ac_dir_suffix;
1675 ac_top_srcdir=$srcdir
1676 ac_abs_top_srcdir=$srcdir ;;
1678 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1679 ac_top_srcdir=$ac_top_build_prefix$srcdir
1680 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1684 cd "$ac_dir" || { ac_status=$?; continue; }
1685 # Check for guested configure.
1686 if test -f "$ac_srcdir/configure.gnu"; then
1688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1689 elif test -f "$ac_srcdir/configure"; then
1691 $SHELL "$ac_srcdir/configure" --help=recursive
1693 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1695 cd "$ac_pwd" || { ac_status=$?; break; }
1699 test -n "$ac_init_help" && exit $ac_status
1700 if $ac_init_version; then
1703 generated by GNU Autoconf 2.68
1705 Copyright (C) 2010 Free Software Foundation, Inc.
1706 This configure script is free software; the Free Software Foundation
1707 gives unlimited permission to copy, distribute and modify it.
1712 ## ------------------------ ##
1713 ## Autoconf initialization. ##
1714 ## ------------------------ ##
1716 # ac_fn_c_try_compile LINENO
1717 # --------------------------
1718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_c_try_compile ()
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 rm -f conftest.$ac_objext
1723 if { { ac_try="$ac_compile"
1725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1726 *) ac_try_echo
=$ac_try;;
1728 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_compile") 2>conftest.err
1732 if test -s conftest.err
; then
1733 grep -v '^ *+' conftest.err
>conftest.er1
1734 cat conftest.er1
>&5
1735 mv -f conftest.er1 conftest.err
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && {
1739 test -z "$ac_c_werror_flag" ||
1740 test ! -s conftest.err
1741 } && test -s conftest.
$ac_objext; then :
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.
$ac_ext >&5
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status
$ac_retval
1752 } # ac_fn_c_try_compile
1754 # ac_fn_cxx_try_compile LINENO
1755 # ----------------------------
1756 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_cxx_try_compile
()
1759 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1760 rm -f conftest.
$ac_objext
1761 if { { ac_try
="$ac_compile"
1763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_compile") 2>conftest.err
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && {
1777 test -z "$ac_cxx_werror_flag" ||
1778 test ! -s conftest.err
1779 } && test -s conftest.$ac_objext; then :
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status $ac_retval
1790 } # ac_fn_cxx_try_compile
1792 # ac_fn_c_try_cpp LINENO
1793 # ----------------------
1794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_cpp conftest.$ac_ext"
1800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1801 *) ac_try_echo
=$ac_try;;
1803 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1807 if test -s conftest.err
; then
1808 grep -v '^ *+' conftest.err
>conftest.er1
1809 cat conftest.er1
>&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } > conftest.i
&& {
1814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.
$ac_ext >&5
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status
$ac_retval
1829 # ac_fn_c_try_link LINENO
1830 # -----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded.
1834 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1835 rm -f conftest.
$ac_objext conftest
$ac_exeext
1836 if { { ac_try
="$ac_link"
1838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>conftest.err
1845 if test -s conftest.err; then
1846 grep -v '^ *+' conftest.err >conftest.er1
1847 cat conftest.er1 >&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_c_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest$ac_exeext && {
1855 test "$cross_compiling" = yes ||
1856 $as_test_x conftest$ac_exeext
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1867 # interfere with the next link command; also delete a directory that is
1868 # left behind by Apple's compiler. We do this before executing the actions.
1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 as_fn_set_status $ac_retval
1873 } # ac_fn_c_try_link
1875 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1876 # -------------------------------------------------------
1877 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1878 # the include files in INCLUDES and setting the cache variable VAR
1880 ac_fn_c_check_header_mongrel ()
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 if eval \${$3+:} false; then :
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if eval \${$3+:} false; then :
1887 $as_echo_n "(cached) " >&6
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1893 # Is the header compilable?
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1895 $as_echo_n "checking $2 usability... " >&6; }
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 ac_header_compiler=yes
1904 ac_header_compiler=no
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1908 $as_echo "$ac_header_compiler" >&6; }
1910 # Is the header present?
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1912 $as_echo_n "checking $2 presence... " >&6; }
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1917 if ac_fn_c_try_cpp "$LINENO"; then :
1918 ac_header_preproc=yes
1920 ac_header_preproc=no
1922 rm -f conftest.err conftest.i conftest.$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1924 $as_echo "$ac_header_preproc" >&6; }
1926 # So? What about this header?
1927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1930 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1932 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1936 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1938 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1940 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1942 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1944 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if eval \${$3+:} false; then :
1950 $as_echo_n "(cached) " >&6
1952 eval "$3=\$ac_header_compiler"
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 $as_echo "$ac_res" >&6; }
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960 } # ac_fn_c_check_header_mongrel
1962 # ac_fn_c_try_run LINENO
1963 # ----------------------
1964 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1965 # that executables *can* be run.
1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969 if { { ac_try="$ac_link"
1971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1972 *) ac_try_echo
=$ac_try;;
1974 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1975 $as_echo "$ac_try_echo"; } >&5
1976 (eval "$ac_link") 2>&5
1978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1979 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1980 { { case "(($ac_try" in
1981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1982 *) ac_try_echo=$ac_try;;
1984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1985 $as_echo "$ac_try_echo"; } >&5
1986 (eval "$ac_try") 2>&5
1988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1989 test $ac_status = 0; }; }; then :
1992 $as_echo "$as_me: program exited with status $ac_status" >&5
1993 $as_echo "$as_me: failed program was:" >&5
1994 sed 's/^/| /' conftest.$ac_ext >&5
1996 ac_retval=$ac_status
1998 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000 as_fn_set_status $ac_retval
2004 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2005 # -------------------------------------------------------
2006 # Tests whether HEADER exists and can be compiled using the include files in
2007 # INCLUDES, setting the cache variable VAR accordingly.
2008 ac_fn_c_check_header_compile ()
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012 $as_echo_n "checking for $2... " >&6; }
2013 if eval \${$3+:} false; then :
2014 $as_echo_n "(cached) " >&6
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2021 if ac_fn_c_try_compile "$LINENO"; then :
2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2030 $as_echo "$ac_res" >&6; }
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 } # ac_fn_c_check_header_compile
2035 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2036 # ----------------------------------------------------
2037 # Tries to find if the field MEMBER exists in type AGGR, after including
2038 # INCLUDES, setting cache variable VAR accordingly.
2039 ac_fn_c_check_member ()
2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2043 $as_echo_n "checking for $2.$3... " >&6; }
2044 if eval \${$4+:} false; then :
2045 $as_echo_n "(cached) " >&6
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2060 if ac_fn_c_try_compile "$LINENO"; then :
2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2070 if (sizeof ac_aggr.$3)
2076 if ac_fn_c_try_compile "$LINENO"; then :
2081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090 } # ac_fn_c_check_member
2092 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2093 # ---------------------------------------------
2094 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2096 ac_fn_c_check_decl ()
2098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2099 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2100 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2102 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2103 if eval \${$3+:} false; then :
2104 $as_echo_n "(cached) " >&6
2106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2112 #ifndef $as_decl_name
2114 (void) $as_decl_use;
2116 (void) $as_decl_name;
2124 if ac_fn_c_try_compile "$LINENO"; then :
2129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2133 $as_echo "$ac_res" >&6; }
2134 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2136 } # ac_fn_c_check_decl
2138 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2139 # -------------------------------------------
2140 # Tests whether TYPE exists after having included INCLUDES, setting cache
2141 # variable VAR accordingly.
2142 ac_fn_c_check_type ()
2144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2146 $as_echo_n "checking for $2... " >&6; }
2147 if eval \${$3+:} false; then :
2148 $as_echo_n "(cached) " >&6
2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2163 if ac_fn_c_try_compile "$LINENO"; then :
2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2165 /* end confdefs.h. */
2176 if ac_fn_c_try_compile "$LINENO"; then :
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187 $as_echo "$ac_res" >&6; }
2188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2190 } # ac_fn_c_check_type
2192 # ac_fn_c_check_func LINENO FUNC VAR
2193 # ----------------------------------
2194 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2195 ac_fn_c_check_func ()
2197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2199 $as_echo_n "checking for $2... " >&6; }
2200 if eval \${$3+:} false; then :
2201 $as_echo_n "(cached) " >&6
2203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2204 /* end confdefs.h. */
2205 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2207 #define $2 innocuous_$2
2209 /* System header to define __stub macros and hopefully few prototypes,
2210 which can conflict with char $2 (); below.
2211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2212 <limits.h> exists even on freestanding compilers. */
2215 # include <limits.h>
2217 # include <assert.h>
2222 /* Override any GCC internal prototype to avoid an error.
2223 Use char because int might match the return type of a GCC
2224 builtin and then its argument prototype would still apply. */
2229 /* The GNU C library defines this for functions which it implements
2230 to always fail with ENOSYS. Some functions are actually named
2231 something starting with __ and the normal name is an alias. */
2232 #if defined __stub_$2 || defined __stub___$2
2244 if ac_fn_c_try_link "$LINENO"; then :
2249 rm -f core conftest.err conftest.$ac_objext \
2250 conftest$ac_exeext conftest.$ac_ext
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2254 $as_echo "$ac_res" >&6; }
2255 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2257 } # ac_fn_c_check_func
2258 cat >config.log <<_ACEOF
2259 This file contains any messages produced by compilers while
2260 running configure, to aid debugging if configure makes a mistake.
2262 It was created by $as_me, which was
2263 generated by GNU Autoconf 2.68. Invocation command line was
2275 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2276 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2277 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2278 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2279 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2281 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2282 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2284 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2285 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2286 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2287 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2288 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2289 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2290 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir=.
2299 $as_echo "PATH: $as_dir"
2315 # Keep a trace of the command line.
2316 # Strip out --no-create and --no-recursion so they do not pile up.
2317 # Strip out --silent because we don't want to record it for future runs.
2318 # Also quote any args containing shell meta-characters.
2319 # Make two passes to allow for proper duplicate-argument suppression.
2323 ac_must_keep_next=false
2329 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2330 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2331 | -silent | --silent | --silen | --sile | --sil)
2334 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2337 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2339 as_fn_append ac_configure_args1 " '$ac_arg'"
2340 if test $ac_must_keep_next = true; then
2341 ac_must_keep_next=false # Got value, back to normal.
2344 *=* | --config-cache | -C | -disable-* | --disable-* \
2345 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2346 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2347 | -with-* | --with-* | -without-* | --without-* | --x)
2348 case "$ac_configure_args0 " in
2349 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2352 -* ) ac_must_keep_next=true ;;
2355 as_fn_append ac_configure_args " '$ac_arg'"
2360 { ac_configure_args0=; unset ac_configure_args0;}
2361 { ac_configure_args1=; unset ac_configure_args1;}
2363 # When interrupted or exit'd, cleanup temporary files, and complete
2364 # config.log. We remove comments because anyway the quotes in there
2365 # would cause problems or look ugly.
2366 # WARNING: Use '\'' to represent an apostrophe within the trap.
2367 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2368 trap 'exit_status=$?
2369 # Save into config.log some information that might help in debugging.
2373 $as_echo "## ---------------- ##
2374 ## Cache variables. ##
2375 ## ---------------- ##"
2377 # The following way of writing the cache mishandles newlines in values,
2379 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2380 eval ac_val=\$$ac_var
2384 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2385 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2388 _ | IFS | as_nl) ;; #(
2389 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2390 *) { eval $ac_var=; unset $ac_var;} ;;
2395 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2396 *${as_nl}ac_space=\ *)
2398 "s/'\''/'\''\\\\'\'''\''/g;
2399 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2402 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2409 $as_echo "## ----------------- ##
2410 ## Output variables. ##
2411 ## ----------------- ##"
2413 for ac_var in $ac_subst_vars
2415 eval ac_val=\$$ac_var
2417 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2419 $as_echo "$ac_var='\''$ac_val'\''"
2423 if test -n "$ac_subst_files"; then
2424 $as_echo "## ------------------- ##
2425 ## File substitutions. ##
2426 ## ------------------- ##"
2428 for ac_var in $ac_subst_files
2430 eval ac_val=\$$ac_var
2432 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2434 $as_echo "$ac_var='\''$ac_val'\''"
2439 if test -s confdefs.h; then
2440 $as_echo "## ----------- ##
2447 test "$ac_signal" != 0 &&
2448 $as_echo "$as_me: caught signal $ac_signal"
2449 $as_echo "$as_me: exit $exit_status"
2451 rm -f core *.core core.conftest.* &&
2452 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2455 for ac_signal in 1 2 13 15; do
2456 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2460 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2461 rm -f -r conftest* confdefs.h
2463 $as_echo "/* confdefs.h */" > confdefs.h
2465 # Predefined preprocessor variables.
2467 cat >>confdefs.h <<_ACEOF
2468 #define PACKAGE_NAME "$PACKAGE_NAME"
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_STRING "$PACKAGE_STRING"
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2487 cat >>confdefs.h <<_ACEOF
2488 #define PACKAGE_URL "$PACKAGE_URL"
2492 # Let the site file select an alternate cache file if it wants to.
2493 # Prefer an explicitly selected file to automatically selected ones.
2496 if test -n "$CONFIG_SITE"; then
2497 # We do not want a PATH search for config.site.
2498 case $CONFIG_SITE in #((
2499 -*) ac_site_file1=./$CONFIG_SITE;;
2500 */*) ac_site_file1=$CONFIG_SITE;;
2501 *) ac_site_file1=./$CONFIG_SITE;;
2503 elif test "x$prefix" != xNONE; then
2504 ac_site_file1=$prefix/share/config.site
2505 ac_site_file2=$prefix/etc/config.site
2507 ac_site_file1=$ac_default_prefix/share/config.site
2508 ac_site_file2=$ac_default_prefix/etc/config.site
2510 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2512 test "x$ac_site_file" = xNONE && continue
2513 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2515 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2516 sed 's/^/| /' "$ac_site_file" >&5
2518 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2520 as_fn_error $? "failed to load site
script $ac_site_file
2521 See \
`config.log' for more details" "$LINENO" 5; }
2525 if test -r "$cache_file"; then
2526 # Some versions of bash will fail to source /dev/null (special files
2527 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2528 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2530 $as_echo "$as_me: loading cache $cache_file" >&6;}
2532 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2533 *) . "./$cache_file";;
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2538 $as_echo "$as_me: creating cache $cache_file" >&6;}
2542 as_fn_append ac_header_list " stdlib.h"
2543 as_fn_append ac_header_list " unistd.h"
2544 as_fn_append ac_header_list " sys/param.h"
2545 # Check that the precious variables saved in the cache have kept the same
2547 ac_cache_corrupted=false
2548 for ac_var in $ac_precious_vars; do
2549 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2550 eval ac_new_set=\$ac_env_${ac_var}_set
2551 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2552 eval ac_new_val=\$ac_env_${ac_var}_value
2553 case $ac_old_set,$ac_new_set in
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2556 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2557 ac_cache_corrupted=: ;;
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2560 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2561 ac_cache_corrupted=: ;;
2564 if test "x$ac_old_val" != "x$ac_new_val"; then
2565 # differences in whitespace do not lead to failure.
2566 ac_old_val_w=`echo x
$ac_old_val`
2567 ac_new_val_w=`echo x
$ac_new_val`
2568 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2570 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2571 ac_cache_corrupted=:
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2574 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2575 eval $ac_var=\$ac_old_val
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2578 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2580 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2583 # Pass precious variables to config.status.
2584 if test "$ac_new_set" = set; then
2586 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2587 *) ac_arg=$ac_var=$ac_new_val ;;
2589 case " $ac_configure_args " in
2590 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2591 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2595 if $ac_cache_corrupted; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2599 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2600 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2602 ## -------------------- ##
2603 ## Main body of script. ##
2604 ## -------------------- ##
2607 ac_cpp='$CPP $CPPFLAGS'
2608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2615 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2616 if test -f "$ac_dir/install-sh"; then
2618 ac_install_sh="$ac_aux_dir/install-sh -c"
2620 elif test -f "$ac_dir/install.sh"; then
2622 ac_install_sh="$ac_aux_dir/install.sh -c"
2624 elif test -f "$ac_dir/shtool"; then
2626 ac_install_sh="$ac_aux_dir/shtool install -c"
2630 if test -z "$ac_aux_dir"; then
2631 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2634 # These three variables are undocumented and unsupported,
2635 # and are intended to be withdrawn in a future Autoconf release.
2636 # They can cause serious problems if a builder's source tree is in a directory
2637 # whose full name contains unusual characters.
2638 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2639 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2640 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2644 # Check what host we are running on.
2645 # If a target is not suggested, we use this one.
2646 # Note that what we call a target, Autoconf calls a host.
2647 # Make sure we can run config.sub.
2648 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2649 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2652 $as_echo_n "checking build system type... " >&6; }
2653 if ${ac_cv_build+:} false; then :
2654 $as_echo_n "(cached) " >&6
2656 ac_build_alias=$build_alias
2657 test "x$ac_build_alias" = x &&
2658 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2659 test "x$ac_build_alias" = x &&
2660 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2661 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2662 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2666 $as_echo "$ac_cv_build" >&6; }
2667 case $ac_cv_build in
2669 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2672 ac_save_IFS=$IFS; IFS='-'
2678 # Remember, the first character of IFS is used to create $*,
2679 # except with old shells:
2682 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2686 $as_echo_n "checking host system type... " >&6; }
2687 if ${ac_cv_host+:} false; then :
2688 $as_echo_n "(cached) " >&6
2690 if test "x$host_alias" = x; then
2691 ac_cv_host=$ac_cv_build
2693 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2694 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2699 $as_echo "$ac_cv_host" >&6; }
2702 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2705 ac_save_IFS=$IFS; IFS='-'
2711 # Remember, the first character of IFS is used to create $*,
2712 # except with old shells:
2715 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2719 # The AROS target is slightly different to the normal GNU style
2720 # format. We don't have the middle part, and we reverse the order
2721 # of the $(CPU) and $(OS) bits.
2723 # Don't strip the version of the target yet, it might be
2724 # useful on some systems.
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2727 $as_echo_n "checking for AROS style target... " >&6; }
2729 if test "$target" = "NONE" ; then
2730 target=$host_os-$host_cpu
2732 if test "$target" = "" ; then
2733 target=$host_os-$host_cpu
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2737 $as_echo "$target" >&6; }
2739 if test "$host_os" = "mingw32" ; then
2743 # Don't know where else to put this...
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2745 $as_echo_n "checking building AROS in... " >&6; }
2746 AROS_BUILDDIR=`${PWDCMD-pwd}`
2747 AROS_BUILDDIR_UNIX=${PWD}
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2749 $as_echo "$AROS_BUILDDIR" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2752 $as_echo_n "checking AROS source in... " >&6; }
2753 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2756 $as_echo "$SRCDIR" >&6; }
2758 # Parse the target field into something useful.
2760 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2761 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2764 # Some debug output, to be removed again.
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2766 $as_echo_n "checking for target system (debug output)... " >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2768 $as_echo "$target_os" >&6; }
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2770 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2772 $as_echo "$target_cpu" >&6; }
2774 aros_default_wbwidth=800
2775 aros_default_wbheight=600
2776 aros_default_wbdepth=4
2779 # The first step is to find the host binaries.
2780 # Check for a compiler.
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2786 if test -n "$ac_tool_prefix"; then
2787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2788 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2790 $as_echo_n "checking for $ac_word... " >&6; }
2791 if ${ac_cv_prog_CC+:} false; then :
2792 $as_echo_n "(cached) " >&6
2794 if test -n "$CC"; then
2795 ac_cv_prog_CC="$CC" # Let the user override the test.
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir=.
2802 for ac_exec_ext in '' $ac_executable_extensions; do
2803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2804 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 if test -n "$CC"; then
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2817 $as_echo "$CC" >&6; }
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2820 $as_echo "no" >&6; }
2825 if test -z "$ac_cv_prog_CC"; then
2827 # Extract the first word of "gcc", so it can be a program name with args.
2828 set dummy gcc; ac_word=$2
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830 $as_echo_n "checking for $ac_word... " >&6; }
2831 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2832 $as_echo_n "(cached) " >&6
2834 if test -n "$ac_ct_CC"; then
2835 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir=.
2842 for ac_exec_ext in '' $ac_executable_extensions; do
2843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844 ac_cv_prog_ac_ct_CC="gcc"
2845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2855 if test -n "$ac_ct_CC"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2857 $as_echo "$ac_ct_CC" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2863 if test "x$ac_ct_CC" = x; then
2866 case $cross_compiling:$ac_tool_warned in
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2870 ac_tool_warned=yes ;;
2878 if test -z "$CC"; then
2879 if test -n "$ac_tool_prefix"; then
2880 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2881 set dummy ${ac_tool_prefix}cc; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_CC+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$CC"; then
2888 ac_cv_prog_CC="$CC" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897 ac_cv_prog_CC="${ac_tool_prefix}cc"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 if test -n "$CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2910 $as_echo "$CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2919 if test -z "$CC"; then
2920 # Extract the first word of "cc", so it can be a program name with args.
2921 set dummy cc; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_CC+:} false; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC="$CC" # Let the user override the test.
2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir=.
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2939 ac_prog_rejected=yes
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 if test $ac_prog_rejected = yes; then
2951 # We found a bogon in the path, so make sure we never use it.
2952 set dummy $ac_cv_prog_CC
2954 if test $# != 0; then
2955 # We chose a different compiler from the bogus one.
2956 # However, it has the same basename, so the bogon will be chosen
2957 # first if we set CC to just the basename; use the full file name.
2959 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2965 if test -n "$CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 $as_echo "$CC" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2975 if test -z "$CC"; then
2976 if test -n "$ac_tool_prefix"; then
2977 for ac_prog in cl.exe
2979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_CC+:} false; then :
2984 $as_echo_n "(cached) " >&6
2986 if test -n "$CC"; then
2987 ac_cv_prog_CC="$CC" # Let the user override the test.
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2996 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 if test -n "$CC"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3009 $as_echo "$CC" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3016 test -n "$CC" && break
3019 if test -z "$CC"; then
3021 for ac_prog in cl.exe
3023 # Extract the first word of "$ac_prog", so it can be a program name with args.
3024 set dummy $ac_prog; ac_word=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$ac_ct_CC"; then
3031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3040 ac_cv_prog_ac_ct_CC="$ac_prog"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3051 if test -n "$ac_ct_CC"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3053 $as_echo "$ac_ct_CC" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3060 test -n "$ac_ct_CC" && break
3063 if test "x$ac_ct_CC" = x; then
3066 case $cross_compiling:$ac_tool_warned in
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3070 ac_tool_warned=yes ;;
3079 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3082 See \
`config.log' for more details" "$LINENO" 5; }
3084 # Provide some information about the compiler.
3085 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3088 for ac_option in --version -v -V -qversion; do
3089 { { ac_try="$ac_compiler $ac_option >&5"
3091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3092 *) ac_try_echo
=$ac_try;;
3094 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095 $as_echo "$ac_try_echo"; } >&5
3096 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3098 if test -s conftest.err
; then
3100 ... rest of stderr output deleted ...
3101 10q' conftest.err
>conftest.er1
3102 cat conftest.er1
>&5
3104 rm -f conftest.er1 conftest.err
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }
3109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3120 ac_clean_files_save
=$ac_clean_files
3121 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3122 # Try to create an executable without -o first, disregard a.out.
3123 # It will help us diagnose broken compilers, and finding out an intuition
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3126 $as_echo_n "checking whether the C compiler works... " >&6; }
3127 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3129 # The possible output files:
3130 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3133 for ac_file
in $ac_files
3136 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3137 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3142 if { { ac_try
="$ac_link_default"
3144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_link_default") 2>&5
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }; then :
3153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3154 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3156 # so that the user can short-circuit this test for compilers unknown to
3158 for ac_file in $ac_files ''
3160 test -f "$ac_file" || continue
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3165 # We found the default executable, but exeext='' is most
3169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3171 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3173 # We set ac_cv_exeext here because the later test for it is not
3174 # safe: cross compilers may not add the suffix if given an `-o'
3175 # argument, so we may need to know it at that point already.
3176 # Even if this section looks crufty: it has the advantage of
3183 test "$ac_cv_exeext" = no && ac_cv_exeext=
3188 if test -z "$ac_file"; then :
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 $as_echo "$as_me: failed program was:" >&5
3192 sed 's
/^
/|
/' conftest.$ac_ext >&5
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3196 as_fn_error 77 "C compiler cannot create executables
3197 See \`config.log
' for more details" "$LINENO" 5; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200 $as_echo "yes" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3203 $as_echo_n "checking for C compiler default output file name... " >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3205 $as_echo "$ac_file" >&6; }
3206 ac_exeext=$ac_cv_exeext
3208 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3209 ac_clean_files=$ac_clean_files_save
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3211 $as_echo_n "checking for suffix of executables... " >&6; }
3212 if { { ac_try="$ac_link"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_link") 2>&5
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }; then :
3223 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3224 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3225 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3227 for ac_file
in conftest.exe conftest conftest.
*; do
3228 test -f "$ac_file" ||
continue
3230 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3231 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3240 See \`config.log' for more details" "$LINENO" 5; }
3242 rm -f conftest conftest
$ac_cv_exeext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3244 $as_echo "$ac_cv_exeext" >&6; }
3246 rm -f conftest.
$ac_ext
3247 EXEEXT
=$ac_cv_exeext
3249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3255 FILE *f = fopen ("conftest.out", "w");
3256 return ferror (f) || fclose (f) != 0;
3262 ac_clean_files
="$ac_clean_files conftest.out"
3263 # Check that the compiler produces executables we can run. If not, either
3264 # the compiler is broken, or we cross compile.
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3266 $as_echo_n "checking whether we are cross compiling... " >&6; }
3267 if test "$cross_compiling" != yes; then
3268 { { ac_try
="$ac_link"
3270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_link") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }
3279 if { ac_try='./conftest$ac_cv_exeext'
3280 { { case "(($ac_try" in
3281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3282 *) ac_try_echo
=$ac_try;;
3284 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285 $as_echo "$ac_try_echo"; } >&5
3286 (eval "$ac_try") 2>&5
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }; }; then
3292 if test "$cross_compiling" = maybe
; then
3295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $?
"cannot run C compiled programs.
3298 If you meant to cross compile, use \`--host'.
3299 See \`config.log' for more details" "$LINENO" 5; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3304 $as_echo "$cross_compiling" >&6; }
3306 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3307 ac_clean_files
=$ac_clean_files_save
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3309 $as_echo_n "checking for suffix of object files... " >&6; }
3310 if ${ac_cv_objext+:} false
; then :
3311 $as_echo_n "(cached) " >&6
3313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3324 rm -f conftest.o conftest.obj
3325 if { { ac_try
="$ac_compile"
3327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_compile") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; then :
3336 for ac_file in conftest.o conftest.obj conftest.*; do
3337 test -f "$ac_file" || continue;
3339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3340 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3345 $as_echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3351 See \
`config.log' for more details" "$LINENO" 5; }
3353 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3356 $as_echo "$ac_cv_objext" >&6; }
3357 OBJEXT=$ac_cv_objext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3360 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3361 if ${ac_cv_c_compiler_gnu+:} false; then :
3362 $as_echo_n "(cached) " >&6
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3378 if ac_fn_c_try_compile "$LINENO"; then :
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3388 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3389 if test $ac_compiler_gnu = yes; then
3394 ac_test_CFLAGS=${CFLAGS+set}
3395 ac_save_CFLAGS=$CFLAGS
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3397 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3398 if ${ac_cv_prog_cc_g+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 ac_save_c_werror_flag=$ac_c_werror_flag
3402 ac_c_werror_flag=yes
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3416 if ac_fn_c_try_compile "$LINENO"; then :
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3431 if ac_fn_c_try_compile "$LINENO"; then :
3434 ac_c_werror_flag=$ac_save_c_werror_flag
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3447 if ac_fn_c_try_compile "$LINENO"; then :
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 ac_c_werror_flag=$ac_save_c_werror_flag
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3458 $as_echo "$ac_cv_prog_cc_g" >&6; }
3459 if test "$ac_test_CFLAGS" = set; then
3460 CFLAGS=$ac_save_CFLAGS
3461 elif test $ac_cv_prog_cc_g = yes; then
3462 if test "$GCC" = yes; then
3468 if test "$GCC" = yes; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3475 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3476 if ${ac_cv_prog_cc_c89+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 ac_cv_prog_cc_c89=no
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3485 #include <sys/types.h>
3486 #include <sys/stat.h>
3487 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3488 struct buf { int x; };
3489 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3490 static char *e (p, i)
3496 static char *f (char * (*g) (char **, int), char **p, ...)
3501 s = g (p, va_arg (v,int));
3506 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3507 function prototypes and stuff, but not '\xHH' hex character constants.
3508 These don't provoke an error unfortunately, instead are silently treated
3509 as 'x'. The following induces an error, until -std is added to get
3510 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3511 array size at least. It's necessary to write '\x00'==0 to get something
3512 that's true only with -std. */
3513 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3515 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3516 inside strings and character constants. */
3518 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3520 int test (int i, double x);
3521 struct s1 {int (*f) (int a);};
3522 struct s2 {int (*f) (double a);};
3523 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3529 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3534 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3535 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3537 CC="$ac_save_CC $ac_arg"
3538 if ac_fn_c_try_compile "$LINENO"; then :
3539 ac_cv_prog_cc_c89=$ac_arg
3541 rm -f core conftest.err conftest.$ac_objext
3542 test "x$ac_cv_prog_cc_c89" != "xno" && break
3544 rm -f conftest.$ac_ext
3549 case "x$ac_cv_prog_cc_c89" in
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3552 $as_echo "none needed" >&6; } ;;
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3555 $as_echo "unsupported" >&6; } ;;
3557 CC="$CC $ac_cv_prog_cc_c89"
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3559 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3561 if test "x$ac_cv_prog_cc_c89" != xno; then :
3566 ac_cpp='$CPP $CPPFLAGS'
3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3571 case $ac_cv_prog_cc_stdc in #(
3573 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3576 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3577 if ${ac_cv_prog_cc_c99+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 ac_cv_prog_cc_c99=no
3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3585 #include <stdbool.h>
3590 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3591 #define debug(...) fprintf (stderr, __VA_ARGS__)
3592 #define showlist(...) puts (#__VA_ARGS__)
3593 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3595 test_varargs_macros (void)
3600 debug ("X = %d\n", x);
3601 showlist (The first, second, and third items.);
3602 report (x>y, "x is %d but y is %d", x, y);
3605 // Check long long types.
3606 #define BIG64 18446744073709551615ull
3607 #define BIG32 4294967295ul
3608 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3610 your preprocessor is broken;
3614 your preprocessor is broken;
3616 static long long int bignum = -9223372036854775807LL;
3617 static unsigned long long int ubignum = BIG64;
3619 struct incomplete_array
3627 const wchar_t *name;
3631 typedef const char *ccp;
3634 test_restrict (ccp restrict text)
3636 // See if C++-style comments work.
3637 // Iterate through items via the restricted pointer.
3638 // Also check for declarations in for loops.
3639 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3644 // Check varargs and va_copy.
3646 test_varargs (const char *format, ...)
3649 va_start (args, format);
3651 va_copy (args_copy, args);
3662 str = va_arg (args_copy, const char *);
3665 number = va_arg (args_copy, int);
3668 fnumber = va_arg (args_copy, double);
3683 _Bool success = false;
3686 if (test_restrict ("String literal") == 0)
3688 char *restrict newvar = "Another string";
3691 test_varargs ("s, d' f .", "string", 65, 34.234);
3692 test_varargs_macros ();
3694 // Check flexible array members.
3695 struct incomplete_array *ia =
3696 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3698 for (int i = 0; i < ia->datasize; ++i)
3699 ia->data[i] = i * 1.234;
3701 // Check named initializers.
3702 struct named_init ni = {
3704 .name = L"Test wide string",
3705 .average = 543.34343,
3710 int dynamic_array[ni.number];
3711 dynamic_array[ni.number - 1] = 543;
3713 // work around unused variable warnings
3714 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3715 || dynamic_array[ni.number - 1] != 543);
3721 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3723 CC="$ac_save_CC $ac_arg"
3724 if ac_fn_c_try_compile "$LINENO"; then :
3725 ac_cv_prog_cc_c99=$ac_arg
3727 rm -f core conftest.err conftest.$ac_objext
3728 test "x$ac_cv_prog_cc_c99" != "xno" && break
3730 rm -f conftest.$ac_ext
3735 case "x$ac_cv_prog_cc_c99" in
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3738 $as_echo "none needed" >&6; } ;;
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3741 $as_echo "unsupported" >&6; } ;;
3743 CC="$CC $ac_cv_prog_cc_c99"
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3745 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3747 if test "x$ac_cv_prog_cc_c99" != xno; then :
3748 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3751 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3752 if ${ac_cv_prog_cc_c89+:} false; then :
3753 $as_echo_n "(cached) " >&6
3755 ac_cv_prog_cc_c89=no
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3761 #include <sys/types.h>
3762 #include <sys/stat.h>
3763 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3764 struct buf { int x; };
3765 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3766 static char *e (p, i)
3772 static char *f (char * (*g) (char **, int), char **p, ...)
3777 s = g (p, va_arg (v,int));
3782 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3783 function prototypes and stuff, but not '\xHH' hex character constants.
3784 These don't provoke an error unfortunately, instead are silently treated
3785 as 'x'. The following induces an error, until -std is added to get
3786 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3787 array size at least. It's necessary to write '\x00'==0 to get something
3788 that's true only with -std. */
3789 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3791 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3792 inside strings and character constants. */
3794 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3796 int test (int i, double x);
3797 struct s1 {int (*f) (int a);};
3798 struct s2 {int (*f) (double a);};
3799 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3805 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3810 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3811 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3813 CC="$ac_save_CC $ac_arg"
3814 if ac_fn_c_try_compile "$LINENO"; then :
3815 ac_cv_prog_cc_c89=$ac_arg
3817 rm -f core conftest.err conftest.$ac_objext
3818 test "x$ac_cv_prog_cc_c89" != "xno" && break
3820 rm -f conftest.$ac_ext
3825 case "x$ac_cv_prog_cc_c89" in
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3828 $as_echo "none needed" >&6; } ;;
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3831 $as_echo "unsupported" >&6; } ;;
3833 CC="$CC $ac_cv_prog_cc_c89"
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3835 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3837 if test "x$ac_cv_prog_cc_c89" != xno; then :
3838 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3840 ac_cv_prog_cc_stdc=no
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3847 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3848 if ${ac_cv_prog_cc_stdc+:} false; then :
3849 $as_echo_n "(cached) " >&6
3852 case $ac_cv_prog_cc_stdc in #(
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3855 $as_echo "unsupported" >&6; } ;; #(
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3858 $as_echo "none needed" >&6; } ;; #(
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3861 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3865 ac_cpp='$CXXCPP $CPPFLAGS'
3866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3869 if test -z "$CXX"; then
3870 if test -n "$CCC"; then
3873 if test -n "$ac_tool_prefix"; then
3874 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3876 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if ${ac_cv_prog_CXX+:} false; then :
3881 $as_echo_n "(cached) " >&6
3883 if test -n "$CXX"; then
3884 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 test -z "$as_dir" && as_dir=.
3891 for ac_exec_ext in '' $ac_executable_extensions; do
3892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3893 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 if test -n "$CXX"; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3906 $as_echo "$CXX" >&6; }
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3909 $as_echo "no" >&6; }
3913 test -n "$CXX" && break
3916 if test -z "$CXX"; then
3918 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3920 # Extract the first word of "$ac_prog", so it can be a program name with args.
3921 set dummy $ac_prog; ac_word=$2
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3925 $as_echo_n "(cached) " >&6
3927 if test -n "$ac_ct_CXX"; then
3928 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir=.
3935 for ac_exec_ext in '' $ac_executable_extensions; do
3936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3937 ac_cv_prog_ac_ct_CXX="$ac_prog"
3938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3948 if test -n "$ac_ct_CXX"; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3950 $as_echo "$ac_ct_CXX" >&6; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 $as_echo "no" >&6; }
3957 test -n "$ac_ct_CXX" && break
3960 if test "x$ac_ct_CXX" = x; then
3963 case $cross_compiling:$ac_tool_warned in
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3967 ac_tool_warned=yes ;;
3975 # Provide some information about the compiler.
3976 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3979 for ac_option in --version -v -V -qversion; do
3980 { { ac_try="$ac_compiler $ac_option >&5"
3982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3983 *) ac_try_echo
=$ac_try;;
3985 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3986 $as_echo "$ac_try_echo"; } >&5
3987 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3989 if test -s conftest.err
; then
3991 ... rest of stderr output deleted ...
3992 10q' conftest.err
>conftest.er1
3993 cat conftest.er1
>&5
3995 rm -f conftest.er1 conftest.err
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4001 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4002 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4003 $as_echo_n "(cached) " >&6
4005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4019 if ac_fn_cxx_try_compile
"$LINENO"; then :
4024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4025 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4029 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4030 if test $ac_compiler_gnu = yes; then
4035 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4036 ac_save_CXXFLAGS
=$CXXFLAGS
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4038 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4039 if ${ac_cv_prog_cxx_g+:} false
; then :
4040 $as_echo_n "(cached) " >&6
4042 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4043 ac_cxx_werror_flag
=yes
4046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4057 if ac_fn_cxx_try_compile
"$LINENO"; then :
4058 ac_cv_prog_cxx_g
=yes
4061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4072 if ac_fn_cxx_try_compile
"$LINENO"; then :
4075 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4088 if ac_fn_cxx_try_compile
"$LINENO"; then :
4089 ac_cv_prog_cxx_g
=yes
4091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4096 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4099 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4100 if test "$ac_test_CXXFLAGS" = set; then
4101 CXXFLAGS
=$ac_save_CXXFLAGS
4102 elif test $ac_cv_prog_cxx_g = yes; then
4103 if test "$GXX" = yes; then
4109 if test "$GXX" = yes; then
4116 ac_cpp
='$CPP $CPPFLAGS'
4117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4122 ac_cpp
='$CPP $CPPFLAGS'
4123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4127 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4128 # On Suns, sometimes $CPP names a directory.
4129 if test -n "$CPP" && test -d "$CPP"; then
4132 if test -z "$CPP"; then
4133 if ${ac_cv_prog_CPP+:} false
; then :
4134 $as_echo_n "(cached) " >&6
4136 # Double quotes because CPP needs to be expanded
4137 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4140 for ac_c_preproc_warn_flag
in '' yes
4142 # Use a header file that comes with gcc, so configuring glibc
4143 # with a fresh cross-compiler works.
4144 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4145 # <limits.h> exists even on freestanding compilers.
4146 # On the NeXT, cc -E runs the code through the compiler's parser,
4147 # not just through cpp. "Syntax error" is here to catch this case.
4148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4151 # include <limits.h>
4153 # include <assert.h>
4157 if ac_fn_c_try_cpp
"$LINENO"; then :
4160 # Broken: fails on valid input.
4163 rm -f conftest.err conftest.i conftest.
$ac_ext
4165 # OK, works on sane cases. Now check whether nonexistent headers
4166 # can be detected and how.
4167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4169 #include <ac_nonexistent.h>
4171 if ac_fn_c_try_cpp
"$LINENO"; then :
4172 # Broken: success on invalid input.
4175 # Passes both tests.
4179 rm -f conftest.err conftest.i conftest.
$ac_ext
4182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4183 rm -f conftest.i conftest.err conftest.
$ac_ext
4184 if $ac_preproc_ok; then :
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4197 $as_echo "$CPP" >&6; }
4199 for ac_c_preproc_warn_flag
in '' yes
4201 # Use a header file that comes with gcc, so configuring glibc
4202 # with a fresh cross-compiler works.
4203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4204 # <limits.h> exists even on freestanding compilers.
4205 # On the NeXT, cc -E runs the code through the compiler's parser,
4206 # not just through cpp. "Syntax error" is here to catch this case.
4207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4210 # include <limits.h>
4212 # include <assert.h>
4216 if ac_fn_c_try_cpp
"$LINENO"; then :
4219 # Broken: fails on valid input.
4222 rm -f conftest.err conftest.i conftest.
$ac_ext
4224 # OK, works on sane cases. Now check whether nonexistent headers
4225 # can be detected and how.
4226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4228 #include <ac_nonexistent.h>
4230 if ac_fn_c_try_cpp
"$LINENO"; then :
4231 # Broken: success on invalid input.
4234 # Passes both tests.
4238 rm -f conftest.err conftest.i conftest.
$ac_ext
4241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4242 rm -f conftest.i conftest.err conftest.
$ac_ext
4243 if $ac_preproc_ok; then :
4246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4248 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4249 See \`config.log' for more details" "$LINENO" 5; }
4253 ac_cpp
='$CPP $CPPFLAGS'
4254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4259 # Check for a compatible awk
4260 for ac_prog
in gawk nawk
4262 # Extract the first word of "$ac_prog", so it can be a program name with args.
4263 set dummy
$ac_prog; ac_word
=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if ${ac_cv_prog_AWK+:} false
; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$AWK"; then
4270 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_exec_ext
in '' $ac_executable_extensions; do
4278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4279 ac_cv_prog_AWK
="$ac_prog"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 if test -n "$AWK"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4292 $as_echo "$AWK" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4299 test -n "$AWK" && break
4302 if test "$AWK" = ""; then
4303 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4305 # Extract the first word of "mmake", so it can be a program name with args.
4306 set dummy mmake
; ac_word
=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_MMAKE+:} false
; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$MMAKE"; then
4313 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir
=.
4320 for ac_exec_ext
in '' $ac_executable_extensions; do
4321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4322 ac_cv_prog_MMAKE
="mmake "
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 MMAKE
=$ac_cv_prog_MMAKE
4333 if test -n "$MMAKE"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4335 $as_echo "$MMAKE" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4343 # Perform some default variable assignments. Note all of these will be
4344 # Regenerated from the script, so there is no need to cache them.
4346 aros_host_cpp
="$CPP"
4348 aros_host_cxx
="$CXX"
4349 if test "$GCC" = "yes"; then
4350 aros_gcc_ld
=`$CC -print-prog-name=ld`
4351 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4352 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_path_aros_host_ld+:} false
; then :
4356 $as_echo_n "(cached) " >&6
4358 case $aros_host_ld in
4360 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4364 for as_dir
in `dirname $aros_gcc_ld`
4367 test -z "$as_dir" && as_dir
=.
4368 for ac_exec_ext
in '' $ac_executable_extensions; do
4369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4370 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 aros_host_ld
=$ac_cv_path_aros_host_ld
4382 if test -n "$aros_host_ld"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4384 $as_echo "$aros_host_ld" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4392 if test "$aros_host_ld" = ""; then
4393 # Extract the first word of "ld", so it can be a program name with args.
4394 set dummy ld
; ac_word
=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if ${ac_cv_path_aros_host_ld+:} false
; then :
4398 $as_echo_n "(cached) " >&6
4400 case $aros_host_ld in
4402 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir
=.
4410 for ac_exec_ext
in '' $ac_executable_extensions; do
4411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4412 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 aros_host_ld
=$ac_cv_path_aros_host_ld
4424 if test -n "$aros_host_ld"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4426 $as_echo "$aros_host_ld" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4434 if test "$aros_host_ld" = ""; then
4435 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4437 aros_host_make
="make"
4438 aros_host_cflags
=$CFLAGS
4439 aros_host_cxxflags
=$CXXFLAGS
4440 aros_host_ldflags
=$LDFLAGS
4441 aros_host_debug
="-g -O0"
4442 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4443 aros_host_mkargs
="--no-print-directory"
4444 aros_host_exe_suffix
="$EXEEXT"
4445 aros_host_lib_suffix
=""
4447 # Ignore all compliance, AROS ROMs = 0
4448 # KickStart v1.0 = 30
4449 # KickStart v1.3 = 34
4450 # KickStart v2.0 = 37
4451 # KickStart v3.0 = 39
4452 # KickStart v3.1 = 40
4454 aros_amigaos_compliance
=0
4456 for ac_prog
in aclocal aclocal19 aclocal-1.9
4458 # Extract the first word of "$ac_prog", so it can be a program name with args.
4459 set dummy
$ac_prog; ac_word
=$2
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4461 $as_echo_n "checking for $ac_word... " >&6; }
4462 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4463 $as_echo_n "(cached) " >&6
4465 if test -n "$aros_host_aclocal"; then
4466 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4472 test -z "$as_dir" && as_dir
=.
4473 for ac_exec_ext
in '' $ac_executable_extensions; do
4474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4475 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4485 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4486 if test -n "$aros_host_aclocal"; then
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4488 $as_echo "$aros_host_aclocal" >&6; }
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4495 test -n "$aros_host_aclocal" && break
4498 for ac_prog
in autoconf autoconf259 autoconf253
4500 # Extract the first word of "$ac_prog", so it can be a program name with args.
4501 set dummy
$ac_prog; ac_word
=$2
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4503 $as_echo_n "checking for $ac_word... " >&6; }
4504 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4505 $as_echo_n "(cached) " >&6
4507 if test -n "$aros_host_autoconf"; then
4508 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4514 test -z "$as_dir" && as_dir
=.
4515 for ac_exec_ext
in '' $ac_executable_extensions; do
4516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4517 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4528 if test -n "$aros_host_autoconf"; then
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4530 $as_echo "$aros_host_autoconf" >&6; }
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4533 $as_echo "no" >&6; }
4537 test -n "$aros_host_autoconf" && break
4540 for ac_prog
in autoheader autoheader259 autoheader253
4542 # Extract the first word of "$ac_prog", so it can be a program name with args.
4543 set dummy
$ac_prog; ac_word
=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4547 $as_echo_n "(cached) " >&6
4549 if test -n "$aros_host_autoheader"; then
4550 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_exec_ext
in '' $ac_executable_extensions; do
4558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4559 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4570 if test -n "$aros_host_autoheader"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4572 $as_echo "$aros_host_autoheader" >&6; }
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 test -n "$aros_host_autoheader" && break
4582 for ac_prog
in automake automake19 automake-1.9
4584 # Extract the first word of "$ac_prog", so it can be a program name with args.
4585 set dummy
$ac_prog; ac_word
=$2
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4587 $as_echo_n "checking for $ac_word... " >&6; }
4588 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4589 $as_echo_n "(cached) " >&6
4591 if test -n "$aros_host_automake"; then
4592 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4598 test -z "$as_dir" && as_dir
=.
4599 for ac_exec_ext
in '' $ac_executable_extensions; do
4600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4601 ac_cv_prog_aros_host_automake
="$ac_prog"
4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 aros_host_automake
=$ac_cv_prog_aros_host_automake
4612 if test -n "$aros_host_automake"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4614 $as_echo "$aros_host_automake" >&6; }
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4621 test -n "$aros_host_automake" && break
4625 if test "$aros_host_aclocal" = ""; then
4626 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4628 if test "$aros_host_automake" = ""; then
4629 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4632 case "$aros_host_cc" in
4634 aros_host_cc_pipe
="-pipe"
4637 aros_host_cc_pipe
=""
4640 aros_host_cc_pipe
=""
4644 aros_kernel_cc_includes
=""
4645 aros_target_cc_includes
=""
4648 # ----------------------------------------------------------------------------------------
4649 # Host-specific defaults
4651 # This is the main host configuration section. It is where the host
4652 # can change the values of any variables it needs to change. We do
4653 # not look at anything that compiles to the target yet, we'll get
4658 aros_host_arch
="aros"
4659 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4662 aros_host_cpu
="i386"
4665 aros_host_cpu
="x86_64"
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4672 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4673 aros_host_cpu
="$host_cpu"
4679 aros_host_arch
="linux"
4680 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4681 android_build_os
="linux-x86"
4682 android_tool
="android"
4683 default_android_sdk
="/opt/android-sdk-linux_x86"
4686 aros_host_cpu
="i386"
4689 aros_host_cpu
="x86_64"
4692 aros_host_cpu
="m68k"
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4702 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4703 aros_host_cpu
="$host_cpu"
4709 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4710 aros_host_make
="gmake"
4711 aros_host_arch
="freebsd"
4712 aros_host_cpu
="i386"
4714 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4718 aros_object_format
="elf_i386"
4722 aros_object_format
="elf_i386_fbsd"
4729 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4730 aros_host_arch
="darwin"
4732 android_build_os
="darwin-x86"
4733 android_tool
="android"
4734 default_android_sdk
="/android-sdk-mac_x86"
4737 aros_host_cpu
="i386"
4740 aros_host_cpu
="x86_64"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4747 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4748 aros_host_cpu
="$host_cpu"
4752 aros_host_ldflags
="$aros_host_ldflags -liconv"
4757 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4758 aros_host_make
="gmake"
4759 aros_host_arch
="dragonfly"
4762 aros_host_cpu
="i386"
4765 aros_host_cpu
="x86_64"
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4769 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4770 aros_host_cpu
="$host_cpu"
4776 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4777 aros_host_make
="gmake"
4778 aros_host_arch
="netbsd"
4781 aros_host_cpu
="i386"
4784 aros_host_cpu
="m68k"
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4788 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4789 aros_host_cpu
="$host_cpu"
4792 aros_host_lib_suffix
=".0.0"
4796 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4797 aros_host_make
="gmake"
4798 aros_host_arch
="openbsd"
4801 aros_host_cpu
="i386"
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4805 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4806 aros_host_cpu
="$host_cpu"
4812 aros_host_arch
="solaris"
4813 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4816 aros_host_cpu
="i386"
4819 aros_host_cpu
="sparc"
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4823 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4824 aros_host_cpu
="$host_cpu"
4830 aros_host_arch
="morphos"
4836 aros_host_arch
="amiga"
4842 TOUCH
="/gg/bin/touch"
4845 aros_host_cpu
="m68k"
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4852 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4853 aros_host_cpu
="$host_cpu"
4859 aros_host_arch
="cygwin"
4860 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4862 android_build_os
="windows"
4863 android_tool
="android.bat"
4864 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4868 aros_host_cpu
="i386"
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4872 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4873 aros_host_cpu
="$host_cpu"
4879 aros_host_arch
="mingw32"
4880 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4882 android_build_os
="windows"
4883 android_tool
="android.bat"
4884 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4890 $as_echo_n "checking for Windows native gcc target... " >&6; }
4891 host_cpu
=`gcc -dumpmachine`
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4893 $as_echo "$host_cpu" >&6; }
4900 aros_host_cpu
="i386"
4904 aros_host_cpu
="i386"
4908 aros_host_cpu
="x86_64"
4909 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4914 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4915 aros_host_cpu
="$host_cpu"
4920 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4924 # Extract the first word of "ar", so it can be a program name with args.
4925 set dummy
ar; ac_word
=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$aros_host_ar"; then
4932 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_aros_host_ar
="ar cr"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 aros_host_ar
=$ac_cv_prog_aros_host_ar
4952 if test -n "$aros_host_ar"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4954 $as_echo "$aros_host_ar" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4961 if test "$aros_host_ar" = ""; then
4962 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4964 # Extract the first word of "ranlib", so it can be a program name with args.
4965 set dummy ranlib
; ac_word
=$2
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 $as_echo_n "checking for $ac_word... " >&6; }
4968 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4969 $as_echo_n "(cached) " >&6
4971 if test -n "$aros_host_ranlib"; then
4972 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4978 test -z "$as_dir" && as_dir
=.
4979 for ac_exec_ext
in '' $ac_executable_extensions; do
4980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981 ac_cv_prog_aros_host_ranlib
="ranlib "
4982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4992 if test -n "$aros_host_ranlib"; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4994 $as_echo "$aros_host_ranlib" >&6; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997 $as_echo "no" >&6; }
5001 if test "$aros_host_ranlib" = ""; then
5002 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5004 # Extract the first word of "strip", so it can be a program name with args.
5005 set dummy strip
; ac_word
=$2
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 $as_echo_n "checking for $ac_word... " >&6; }
5008 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5009 $as_echo_n "(cached) " >&6
5011 if test -n "$aros_host_strip"; then
5012 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir
=.
5019 for ac_exec_ext
in '' $ac_executable_extensions; do
5020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5021 ac_cv_prog_aros_host_strip
="strip "
5022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 aros_host_strip
=$ac_cv_prog_aros_host_strip
5032 if test -n "$aros_host_strip"; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5034 $as_echo "$aros_host_strip" >&6; }
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5041 if test "$aros_host_strip" = ""; then
5042 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5045 # Extract the first word of "rm", so it can be a program name with args.
5046 set dummy
rm; ac_word
=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if ${ac_cv_prog_RM+:} false
; then :
5050 $as_echo_n "(cached) " >&6
5052 if test -n "$RM"; then
5053 ac_cv_prog_RM
="$RM" # Let the user override the test.
5055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5059 test -z "$as_dir" && as_dir
=.
5060 for ac_exec_ext
in '' $ac_executable_extensions; do
5061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5062 ac_cv_prog_RM
="rm -rf"
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 if test -n "$RM"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5075 $as_echo "$RM" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5082 if test "$RM" = ""; then
5083 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5085 # Extract the first word of "cp", so it can be a program name with args.
5086 set dummy
cp; ac_word
=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_prog_CP+:} false
; then :
5090 $as_echo_n "(cached) " >&6
5092 if test -n "$CP"; then
5093 ac_cv_prog_CP
="$CP" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 if test -n "$CP"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5115 $as_echo "$CP" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5122 if test "$CP" = ""; then
5123 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5125 # Extract the first word of "mv", so it can be a program name with args.
5126 set dummy
mv; ac_word
=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_MV+:} false
; then :
5130 $as_echo_n "(cached) " >&6
5132 if test -n "$MV"; then
5133 ac_cv_prog_MV
="$MV" # Let the user override the test.
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 if test -n "$MV"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5155 $as_echo "$MV" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5162 if test "$MV" = ""; then
5163 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5165 # Extract the first word of "echo", so it can be a program name with args.
5166 set dummy
echo; ac_word
=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if ${ac_cv_prog_ECHO+:} false
; then :
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$ECHO"; then
5173 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182 ac_cv_prog_ECHO
="echo "
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 ECHO
=$ac_cv_prog_ECHO
5193 if test -n "$ECHO"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5195 $as_echo "$ECHO" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5202 if test "$ECHO" = ""; then
5203 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5205 # Extract the first word of "mkdir", so it can be a program name with args.
5206 set dummy mkdir
; ac_word
=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_MKDIR+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$MKDIR"; then
5213 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir
=.
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5222 ac_cv_prog_MKDIR
="mkdir -p"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 MKDIR
=$ac_cv_prog_MKDIR
5233 if test -n "$MKDIR"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5235 $as_echo "$MKDIR" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 if test "$MKDIR" = ""; then
5243 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5245 # Extract the first word of "touch", so it can be a program name with args.
5246 set dummy
touch; ac_word
=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_TOUCH+:} false
; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$TOUCH"; then
5253 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5262 ac_cv_prog_TOUCH
="touch "
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 TOUCH
=$ac_cv_prog_TOUCH
5273 if test -n "$TOUCH"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5275 $as_echo "$TOUCH" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5282 if test "$TOUCH" = ""; then
5283 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5285 # Extract the first word of "sort", so it can be a program name with args.
5286 set dummy
sort; ac_word
=$2
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5288 $as_echo_n "checking for $ac_word... " >&6; }
5289 if ${ac_cv_prog_SORT+:} false
; then :
5290 $as_echo_n "(cached) " >&6
5292 if test -n "$SORT"; then
5293 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir
=.
5300 for ac_exec_ext
in '' $ac_executable_extensions; do
5301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5302 ac_cv_prog_SORT
="sort "
5303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 SORT
=$ac_cv_prog_SORT
5313 if test -n "$SORT"; then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5315 $as_echo "$SORT" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 $as_echo "no" >&6; }
5322 if test "$SORT" = ""; then
5323 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5325 # Extract the first word of "uniq", so it can be a program name with args.
5326 set dummy
uniq; ac_word
=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328 $as_echo_n "checking for $ac_word... " >&6; }
5329 if ${ac_cv_prog_UNIQ+:} false
; then :
5330 $as_echo_n "(cached) " >&6
5332 if test -n "$UNIQ"; then
5333 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir
=.
5340 for ac_exec_ext
in '' $ac_executable_extensions; do
5341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342 ac_cv_prog_UNIQ
="uniq "
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 UNIQ
=$ac_cv_prog_UNIQ
5353 if test -n "$UNIQ"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5355 $as_echo "$UNIQ" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5362 if test "$UNIQ" = ""; then
5363 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5365 # Extract the first word of "true", so it can be a program name with args.
5366 set dummy true
; ac_word
=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_NOP+:} false
; then :
5370 $as_echo_n "(cached) " >&6
5372 if test -n "$NOP"; then
5373 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir
=.
5380 for ac_exec_ext
in '' $ac_executable_extensions; do
5381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382 ac_cv_prog_NOP
="true "
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 if test -n "$NOP"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5395 $as_echo "$NOP" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5402 if test "$NOP" = ""; then
5403 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5405 # Extract the first word of "cat", so it can be a program name with args.
5406 set dummy
cat; ac_word
=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_CAT+:} false
; then :
5410 $as_echo_n "(cached) " >&6
5412 if test -n "$CAT"; then
5413 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir
=.
5420 for ac_exec_ext
in '' $ac_executable_extensions; do
5421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5422 ac_cv_prog_CAT
="cat "
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 if test -n "$CAT"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5435 $as_echo "$CAT" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5442 if test "$CAT" = ""; then
5443 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5445 # Extract the first word of "bison", so it can be a program name with args.
5446 set dummy bison
; ac_word
=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_BISON+:} false
; then :
5450 $as_echo_n "(cached) " >&6
5452 if test -n "$BISON"; then
5453 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5459 test -z "$as_dir" && as_dir
=.
5460 for ac_exec_ext
in '' $ac_executable_extensions; do
5461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5462 ac_cv_prog_BISON
="bison "
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 BISON
=$ac_cv_prog_BISON
5473 if test -n "$BISON"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5475 $as_echo "$BISON" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5482 if test "$BISON" = ""; then
5483 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5485 # Extract the first word of "flex", so it can be a program name with args.
5486 set dummy flex
; ac_word
=$2
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 $as_echo_n "checking for $ac_word... " >&6; }
5489 if ${ac_cv_prog_FLEX+:} false
; then :
5490 $as_echo_n "(cached) " >&6
5492 if test -n "$FLEX"; then
5493 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5499 test -z "$as_dir" && as_dir
=.
5500 for ac_exec_ext
in '' $ac_executable_extensions; do
5501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5502 ac_cv_prog_FLEX
="flex "
5503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 FLEX
=$ac_cv_prog_FLEX
5513 if test -n "$FLEX"; then
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5515 $as_echo "$FLEX" >&6; }
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5518 $as_echo "no" >&6; }
5522 if test "$FLEX" = ""; then
5523 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5525 # Extract the first word of "pngtopnm", so it can be a program name with args.
5526 set dummy pngtopnm
; ac_word
=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5530 $as_echo_n "(cached) " >&6
5532 if test -n "$PNGTOPNM"; then
5533 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir
=.
5540 for ac_exec_ext
in '' $ac_executable_extensions; do
5541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5542 ac_cv_prog_PNGTOPNM
="pngtopnm "
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5553 if test -n "$PNGTOPNM"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5555 $as_echo "$PNGTOPNM" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5562 if test "$PNGTOPNM" = ""; then
5563 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5565 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5566 set dummy ppmtoilbm
; ac_word
=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5570 $as_echo_n "(cached) " >&6
5572 if test -n "$PPMTOILBM"; then
5573 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5579 test -z "$as_dir" && as_dir
=.
5580 for ac_exec_ext
in '' $ac_executable_extensions; do
5581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5582 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5593 if test -n "$PPMTOILBM"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5595 $as_echo "$PPMTOILBM" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5602 if test "$PPMTOILBM" = ""; then
5603 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5605 # Extract the first word of "sed", so it can be a program name with args.
5606 set dummy
sed; ac_word
=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if ${ac_cv_prog_SED+:} false
; then :
5610 $as_echo_n "(cached) " >&6
5612 if test -n "$SED"; then
5613 ac_cv_prog_SED
="$SED" # Let the user override the test.
5615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir
=.
5620 for ac_exec_ext
in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_SED
="sed "
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 if test -n "$SED"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5635 $as_echo "$SED" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5642 if test "$SED" = ""; then
5643 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5645 # Extract the first word of "chmod", so it can be a program name with args.
5646 set dummy
chmod; ac_word
=$2
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5648 $as_echo_n "checking for $ac_word... " >&6; }
5649 if ${ac_cv_prog_CHMOD+:} false
; then :
5650 $as_echo_n "(cached) " >&6
5652 if test -n "$CHMOD"; then
5653 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir
=.
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_CHMOD
="chmod "
5663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 CHMOD
=$ac_cv_prog_CHMOD
5673 if test -n "$CHMOD"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5675 $as_echo "$CHMOD" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678 $as_echo "no" >&6; }
5682 if test "$CHMOD" = ""; then
5683 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5685 # Extract the first word of "patch", so it can be a program name with args.
5686 set dummy
patch; ac_word
=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_PATCH+:} false
; then :
5690 $as_echo_n "(cached) " >&6
5692 if test -n "$PATCH"; then
5693 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5702 ac_cv_prog_PATCH
="patch "
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 PATCH
=$ac_cv_prog_PATCH
5713 if test -n "$PATCH"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5715 $as_echo "$PATCH" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5722 if test "$PATCH" = ""; then
5723 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5732 if test -n "$PYTHON"; then
5733 # If the user set $PYTHON, use it and don't search something else.
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5735 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5737 # split strings by '.' and convert to numeric. Append some zeros
5738 # because we need at least 4 digits for the hex conversion.
5739 # map returns an iterator in Python 3.0 and a list in 2.x
5740 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5742 # xrange is not present in Python 3.0 and range returns an iterator
5743 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5744 sys.exit(sys.hexversion < minverhex)"
5745 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5746 ($PYTHON -c "$prog") >&5 2>&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }; then :
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5751 $as_echo "yes" >&6; }
5753 as_fn_error $?
"too old" "$LINENO" 5
5755 am_display_PYTHON
=$PYTHON
5757 # Otherwise, try each interpreter until we find one that satisfies
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5760 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5761 if ${am_cv_pathless_PYTHON+:} false
; then :
5762 $as_echo_n "(cached) " >&6
5765 for am_cv_pathless_PYTHON
in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none
; do
5766 test "$am_cv_pathless_PYTHON" = none
&& break
5768 # split strings by '.' and convert to numeric. Append some zeros
5769 # because we need at least 4 digits for the hex conversion.
5770 # map returns an iterator in Python 3.0 and a list in 2.x
5771 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5773 # xrange is not present in Python 3.0 and range returns an iterator
5774 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5775 sys.exit(sys.hexversion < minverhex)"
5776 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5777 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; then :
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5786 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5787 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5788 if test "$am_cv_pathless_PYTHON" = none
; then
5791 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5792 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if ${ac_cv_path_PYTHON+:} false
; then :
5796 $as_echo_n "(cached) " >&6
5800 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir
=.
5808 for ac_exec_ext
in '' $ac_executable_extensions; do
5809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5810 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 PYTHON
=$ac_cv_path_PYTHON
5822 if test -n "$PYTHON"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5824 $as_echo "$PYTHON" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5832 am_display_PYTHON
=$am_cv_pathless_PYTHON
5836 if test "$PYTHON" = :; then
5837 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5842 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5843 if ${am_cv_python_version+:} false
; then :
5844 $as_echo_n "(cached) " >&6
5846 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5849 $as_echo "$am_cv_python_version" >&6; }
5850 PYTHON_VERSION
=$am_cv_python_version
5854 PYTHON_PREFIX
='${prefix}'
5856 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5861 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5862 if ${am_cv_python_platform+:} false
; then :
5863 $as_echo_n "(cached) " >&6
5865 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5868 $as_echo "$am_cv_python_platform" >&6; }
5869 PYTHON_PLATFORM
=$am_cv_python_platform
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5875 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5876 if ${am_cv_python_pythondir+:} false
; then :
5877 $as_echo_n "(cached) " >&6
5879 if test "x$prefix" = xNONE
5881 am_py_prefix
=$ac_default_prefix
5883 am_py_prefix
=$prefix
5885 am_cv_python_pythondir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
5886 case $am_cv_python_pythondir in
5888 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5889 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5892 case $am_py_prefix in
5895 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5903 $as_echo "$am_cv_python_pythondir" >&6; }
5904 pythondir
=$am_cv_python_pythondir
5908 pkgpythondir
=\
${pythondir}/$PACKAGE
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5912 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5913 if ${am_cv_python_pyexecdir+:} false
; then :
5914 $as_echo_n "(cached) " >&6
5916 if test "x$exec_prefix" = xNONE
5918 am_py_exec_prefix
=$am_py_prefix
5920 am_py_exec_prefix
=$exec_prefix
5922 am_cv_python_pyexecdir
=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
5923 case $am_cv_python_pyexecdir in
5924 $am_py_exec_prefix*)
5925 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5926 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5929 case $am_py_exec_prefix in
5932 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5940 $as_echo "$am_cv_python_pyexecdir" >&6; }
5941 pyexecdir
=$am_cv_python_pyexecdir
5945 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5955 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5956 if ${ac_cv_lib_png_png_read_png+:} false
; then :
5957 $as_echo_n "(cached) " >&6
5959 ac_check_lib_save_LIBS
=$LIBS
5961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5962 /* end confdefs.h. */
5964 /* Override any GCC internal prototype to avoid an error.
5965 Use char because int might match the return type of a GCC
5966 builtin and then its argument prototype would still apply. */
5970 char png_read_png ();
5974 return png_read_png ();
5979 if ac_fn_c_try_link
"$LINENO"; then :
5980 ac_cv_lib_png_png_read_png
=yes
5982 ac_cv_lib_png_png_read_png
=no
5984 rm -f core conftest.err conftest.
$ac_objext \
5985 conftest
$ac_exeext conftest.
$ac_ext
5986 LIBS
=$ac_check_lib_save_LIBS
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
5989 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
5990 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
5991 cat >>confdefs.h
<<_ACEOF
5992 #define HAVE_LIBPNG 1
5998 as_fn_error $?
"libpng development files missing" "$LINENO" 5
6012 # Check for some includes for the X11 HIDD and the kernel
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6015 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6016 if ${ac_cv_path_GREP+:} false
; then :
6017 $as_echo_n "(cached) " >&6
6019 if test -z "$GREP"; then
6020 ac_path_GREP_found
=false
6021 # Loop through the user's path and test for each of PROGNAME-LIST
6022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6023 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6026 test -z "$as_dir" && as_dir
=.
6027 for ac_prog
in grep ggrep
; do
6028 for ac_exec_ext
in '' $ac_executable_extensions; do
6029 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6030 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6031 # Check for GNU ac_path_GREP and select it if it is found.
6032 # Check for GNU $ac_path_GREP
6033 case `"$ac_path_GREP" --version 2>&1` in
6035 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6038 $as_echo_n 0123456789 >"conftest.in"
6041 cat "conftest.in" "conftest.in" >"conftest.tmp"
6042 mv "conftest.tmp" "conftest.in"
6043 cp "conftest.in" "conftest.nl"
6044 $as_echo 'GREP' >> "conftest.nl"
6045 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6046 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6047 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6048 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6049 # Best one so far, save it but keep looking for a better one
6050 ac_cv_path_GREP
="$ac_path_GREP"
6051 ac_path_GREP_max
=$ac_count
6053 # 10*(2^10) chars as input seems more than enough
6054 test $ac_count -gt 10 && break
6056 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6059 $ac_path_GREP_found && break 3
6064 if test -z "$ac_cv_path_GREP"; then
6065 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6068 ac_cv_path_GREP
=$GREP
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6073 $as_echo "$ac_cv_path_GREP" >&6; }
6074 GREP
="$ac_cv_path_GREP"
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6078 $as_echo_n "checking for egrep... " >&6; }
6079 if ${ac_cv_path_EGREP+:} false
; then :
6080 $as_echo_n "(cached) " >&6
6082 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6083 then ac_cv_path_EGREP
="$GREP -E"
6085 if test -z "$EGREP"; then
6086 ac_path_EGREP_found
=false
6087 # Loop through the user's path and test for each of PROGNAME-LIST
6088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6089 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6092 test -z "$as_dir" && as_dir
=.
6093 for ac_prog
in egrep; do
6094 for ac_exec_ext
in '' $ac_executable_extensions; do
6095 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6096 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6097 # Check for GNU ac_path_EGREP and select it if it is found.
6098 # Check for GNU $ac_path_EGREP
6099 case `"$ac_path_EGREP" --version 2>&1` in
6101 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6104 $as_echo_n 0123456789 >"conftest.in"
6107 cat "conftest.in" "conftest.in" >"conftest.tmp"
6108 mv "conftest.tmp" "conftest.in"
6109 cp "conftest.in" "conftest.nl"
6110 $as_echo 'EGREP' >> "conftest.nl"
6111 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6112 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6113 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6114 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6115 # Best one so far, save it but keep looking for a better one
6116 ac_cv_path_EGREP
="$ac_path_EGREP"
6117 ac_path_EGREP_max
=$ac_count
6119 # 10*(2^10) chars as input seems more than enough
6120 test $ac_count -gt 10 && break
6122 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6125 $ac_path_EGREP_found && break 3
6130 if test -z "$ac_cv_path_EGREP"; then
6131 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6134 ac_cv_path_EGREP
=$EGREP
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6140 $as_echo "$ac_cv_path_EGREP" >&6; }
6141 EGREP
="$ac_cv_path_EGREP"
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6145 $as_echo_n "checking for ANSI C header files... " >&6; }
6146 if ${ac_cv_header_stdc+:} false
; then :
6147 $as_echo_n "(cached) " >&6
6149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6150 /* end confdefs.h. */
6164 if ac_fn_c_try_compile
"$LINENO"; then :
6165 ac_cv_header_stdc
=yes
6167 ac_cv_header_stdc
=no
6169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6171 if test $ac_cv_header_stdc = yes; then
6172 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6179 $EGREP "memchr" >/dev
/null
2>&1; then :
6182 ac_cv_header_stdc
=no
6188 if test $ac_cv_header_stdc = yes; then
6189 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6196 $EGREP "free" >/dev
/null
2>&1; then :
6199 ac_cv_header_stdc
=no
6205 if test $ac_cv_header_stdc = yes; then
6206 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6207 if test "$cross_compiling" = yes; then :
6210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6211 /* end confdefs.h. */
6214 #if ((' ' & 0x0FF) == 0x020)
6215 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6216 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6218 # define ISLOWER(c) \
6219 (('a' <= (c) && (c) <= 'i') \
6220 || ('j' <= (c) && (c) <= 'r') \
6221 || ('s' <= (c) && (c) <= 'z'))
6222 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6225 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6230 for (i = 0; i < 256; i++)
6231 if (XOR (islower (i), ISLOWER (i))
6232 || toupper (i) != TOUPPER (i))
6237 if ac_fn_c_try_run
"$LINENO"; then :
6240 ac_cv_header_stdc
=no
6242 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6243 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6249 $as_echo "$ac_cv_header_stdc" >&6; }
6250 if test $ac_cv_header_stdc = yes; then
6252 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6256 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6257 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6258 inttypes.h stdint.h unistd.h
6260 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6261 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6263 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6264 cat >>confdefs.h
<<_ACEOF
6265 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6273 for ac_header
in sys
/ipc.h sys
/shm.h \
6274 sys
/mmap.h sys
/mman.h sysexits.h \
6275 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6278 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6279 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6280 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6281 cat >>confdefs.h
<<_ACEOF
6282 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6290 for ac_header
in sys
/mount.h
6292 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6294 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6295 cat >>confdefs.h
<<_ACEOF
6296 #define HAVE_SYS_MOUNT_H 1
6305 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6306 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6308 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6309 if eval \
${$as_ac_Header+:} false
; then :
6310 $as_echo_n "(cached) " >&6
6312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6314 #include <sys/types.h>
6326 if ac_fn_c_try_compile
"$LINENO"; then :
6327 eval "$as_ac_Header=yes"
6329 eval "$as_ac_Header=no"
6331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6333 eval ac_res
=\$
$as_ac_Header
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6335 $as_echo "$ac_res" >&6; }
6336 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6337 cat >>confdefs.h
<<_ACEOF
6338 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6341 ac_header_dirent
=$ac_hdr; break
6345 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6346 if test $ac_header_dirent = dirent.h
; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6348 $as_echo_n "checking for library containing opendir... " >&6; }
6349 if ${ac_cv_search_opendir+:} false
; then :
6350 $as_echo_n "(cached) " >&6
6352 ac_func_search_save_LIBS
=$LIBS
6353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6356 /* Override any GCC internal prototype to avoid an error.
6357 Use char because int might match the return type of a GCC
6358 builtin and then its argument prototype would still apply. */
6371 for ac_lib
in '' dir
; do
6372 if test -z "$ac_lib"; then
6373 ac_res
="none required"
6376 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6378 if ac_fn_c_try_link
"$LINENO"; then :
6379 ac_cv_search_opendir
=$ac_res
6381 rm -f core conftest.err conftest.
$ac_objext \
6383 if ${ac_cv_search_opendir+:} false
; then :
6387 if ${ac_cv_search_opendir+:} false
; then :
6390 ac_cv_search_opendir
=no
6393 LIBS
=$ac_func_search_save_LIBS
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6396 $as_echo "$ac_cv_search_opendir" >&6; }
6397 ac_res
=$ac_cv_search_opendir
6398 if test "$ac_res" != no
; then :
6399 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6405 $as_echo_n "checking for library containing opendir... " >&6; }
6406 if ${ac_cv_search_opendir+:} false
; then :
6407 $as_echo_n "(cached) " >&6
6409 ac_func_search_save_LIBS
=$LIBS
6410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h. */
6413 /* Override any GCC internal prototype to avoid an error.
6414 Use char because int might match the return type of a GCC
6415 builtin and then its argument prototype would still apply. */
6428 for ac_lib
in '' x
; do
6429 if test -z "$ac_lib"; then
6430 ac_res
="none required"
6433 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6435 if ac_fn_c_try_link
"$LINENO"; then :
6436 ac_cv_search_opendir
=$ac_res
6438 rm -f core conftest.err conftest.
$ac_objext \
6440 if ${ac_cv_search_opendir+:} false
; then :
6444 if ${ac_cv_search_opendir+:} false
; then :
6447 ac_cv_search_opendir
=no
6450 LIBS
=$ac_func_search_save_LIBS
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6453 $as_echo "$ac_cv_search_opendir" >&6; }
6454 ac_res
=$ac_cv_search_opendir
6455 if test "$ac_res" != no
; then :
6456 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6463 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6464 if ${ac_cv_header_stat_broken+:} false
; then :
6465 $as_echo_n "(cached) " >&6
6467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6469 #include <sys/types.h>
6470 #include <sys/stat.h>
6472 #if defined S_ISBLK && defined S_IFDIR
6473 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6476 #if defined S_ISBLK && defined S_IFCHR
6477 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6480 #if defined S_ISLNK && defined S_IFREG
6481 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6484 #if defined S_ISSOCK && defined S_IFREG
6485 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6489 if ac_fn_c_try_compile
"$LINENO"; then :
6490 ac_cv_header_stat_broken
=no
6492 ac_cv_header_stat_broken
=yes
6494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6497 $as_echo "$ac_cv_header_stat_broken" >&6; }
6498 if test $ac_cv_header_stat_broken = yes; then
6500 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6505 $as_echo_n "checking for ANSI C header files... " >&6; }
6506 if ${ac_cv_header_stdc+:} false
; then :
6507 $as_echo_n "(cached) " >&6
6509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6510 /* end confdefs.h. */
6524 if ac_fn_c_try_compile
"$LINENO"; then :
6525 ac_cv_header_stdc
=yes
6527 ac_cv_header_stdc
=no
6529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6531 if test $ac_cv_header_stdc = yes; then
6532 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6534 /* end confdefs.h. */
6538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6539 $EGREP "memchr" >/dev
/null
2>&1; then :
6542 ac_cv_header_stdc
=no
6548 if test $ac_cv_header_stdc = yes; then
6549 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6551 /* end confdefs.h. */
6555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6556 $EGREP "free" >/dev
/null
2>&1; then :
6559 ac_cv_header_stdc
=no
6565 if test $ac_cv_header_stdc = yes; then
6566 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6567 if test "$cross_compiling" = yes; then :
6570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6574 #if ((' ' & 0x0FF) == 0x020)
6575 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6576 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6578 # define ISLOWER(c) \
6579 (('a' <= (c) && (c) <= 'i') \
6580 || ('j' <= (c) && (c) <= 'r') \
6581 || ('s' <= (c) && (c) <= 'z'))
6582 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6585 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6590 for (i = 0; i < 256; i++)
6591 if (XOR (islower (i), ISLOWER (i))
6592 || toupper (i) != TOUPPER (i))
6597 if ac_fn_c_try_run
"$LINENO"; then :
6600 ac_cv_header_stdc
=no
6602 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6603 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6609 $as_echo "$ac_cv_header_stdc" >&6; }
6610 if test $ac_cv_header_stdc = yes; then
6612 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6617 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6618 if ${ac_cv_header_sys_wait_h+:} false
; then :
6619 $as_echo_n "(cached) " >&6
6621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6623 #include <sys/types.h>
6624 #include <sys/wait.h>
6626 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6629 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6637 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6642 if ac_fn_c_try_compile
"$LINENO"; then :
6643 ac_cv_header_sys_wait_h
=yes
6645 ac_cv_header_sys_wait_h
=no
6647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6650 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6651 if test $ac_cv_header_sys_wait_h = yes; then
6653 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6658 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6659 if ${ac_cv_header_time+:} false
; then :
6660 $as_echo_n "(cached) " >&6
6662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6663 /* end confdefs.h. */
6664 #include <sys/types.h>
6665 #include <sys/time.h>
6671 if ((struct tm *) 0)
6677 if ac_fn_c_try_compile
"$LINENO"; then :
6678 ac_cv_header_time
=yes
6680 ac_cv_header_time
=no
6682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6685 $as_echo "$ac_cv_header_time" >&6; }
6686 if test $ac_cv_header_time = yes; then
6688 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6692 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6693 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6695 cat >>confdefs.h
<<_ACEOF
6696 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6700 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6705 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6706 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6708 cat >>confdefs.h
<<_ACEOF
6709 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6713 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6716 case " $LIBOBJS " in
6717 *" fileblocks.$ac_objext "* ) ;;
6718 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6725 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6726 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6728 cat >>confdefs.h
<<_ACEOF
6729 #define HAVE_STRUCT_STAT_ST_RDEV 1
6733 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6739 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6740 if ${ac_cv_struct_tm+:} false
; then :
6741 $as_echo_n "(cached) " >&6
6743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6745 #include <sys/types.h>
6752 int *p = &tm.tm_sec;
6758 if ac_fn_c_try_compile
"$LINENO"; then :
6759 ac_cv_struct_tm
=time.h
6761 ac_cv_struct_tm
=sys
/time.h
6763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6766 $as_echo "$ac_cv_struct_tm" >&6; }
6767 if test $ac_cv_struct_tm = sys
/time.h
; then
6769 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6773 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6774 #include <$ac_cv_struct_tm>
6777 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6779 cat >>confdefs.h
<<_ACEOF
6780 #define HAVE_STRUCT_TM_TM_ZONE 1
6786 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6788 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6791 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6793 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6799 cat >>confdefs.h
<<_ACEOF
6800 #define HAVE_DECL_TZNAME $ac_have_decl
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6804 $as_echo_n "checking for tzname... " >&6; }
6805 if ${ac_cv_var_tzname+:} false
; then :
6806 $as_echo_n "(cached) " >&6
6808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6809 /* end confdefs.h. */
6811 #if !HAVE_DECL_TZNAME
6812 extern char *tzname[];
6818 return tzname[0][0];
6823 if ac_fn_c_try_link
"$LINENO"; then :
6824 ac_cv_var_tzname
=yes
6828 rm -f core conftest.err conftest.
$ac_objext \
6829 conftest
$ac_exeext conftest.
$ac_ext
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6832 $as_echo "$ac_cv_var_tzname" >&6; }
6833 if test $ac_cv_var_tzname = yes; then
6835 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6840 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6841 if test "x$ac_cv_type_off_t" = xyes
; then :
6845 cat >>confdefs.h
<<_ACEOF
6846 #define off_t long int
6851 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6852 if test "x$ac_cv_type_pid_t" = xyes
; then :
6856 cat >>confdefs.h
<<_ACEOF
6862 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6863 if test "x$ac_cv_type_size_t" = xyes
; then :
6867 cat >>confdefs.h
<<_ACEOF
6868 #define size_t unsigned int
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6874 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6875 if ${ac_cv_type_uid_t+:} false
; then :
6876 $as_echo_n "(cached) " >&6
6878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */
6880 #include <sys/types.h>
6883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6884 $EGREP "uid_t" >/dev
/null
2>&1; then :
6885 ac_cv_type_uid_t
=yes
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6893 $as_echo "$ac_cv_type_uid_t" >&6; }
6894 if test $ac_cv_type_uid_t = no
; then
6896 $as_echo "#define uid_t int" >>confdefs.h
6899 $as_echo "#define gid_t int" >>confdefs.h
6904 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6905 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6907 cat >>confdefs.h
<<_ACEOF
6908 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6915 # Look for some functions
6916 for ac_func
in getpagesize kqueue statfs statvfs \
6917 clone kse_create rfork_thread thr_create sa_register \
6918 getcontext makecontext setcontext sigaltstack swapcontext
6920 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6921 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6922 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6923 cat >>confdefs.h
<<_ACEOF
6924 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6934 for ac_header
in $ac_header_list
6936 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6939 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6940 cat >>confdefs.h
<<_ACEOF
6941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6955 for ac_func
in getpagesize
6957 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6958 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6959 cat >>confdefs.h
<<_ACEOF
6960 #define HAVE_GETPAGESIZE 1
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6967 $as_echo_n "checking for working mmap... " >&6; }
6968 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6969 $as_echo_n "(cached) " >&6
6971 if test "$cross_compiling" = yes; then :
6972 ac_cv_func_mmap_fixed_mapped
=no
6974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6975 /* end confdefs.h. */
6976 $ac_includes_default
6977 /* malloc might have been renamed as rpl_malloc. */
6980 /* Thanks to Mike Haertel and Jim Avera for this test.
6981 Here is a matrix of mmap possibilities:
6982 mmap private not fixed
6983 mmap private fixed at somewhere currently unmapped
6984 mmap private fixed at somewhere already mapped
6985 mmap shared not fixed
6986 mmap shared fixed at somewhere currently unmapped
6987 mmap shared fixed at somewhere already mapped
6988 For private mappings, we should verify that changes cannot be read()
6989 back from the file, nor mmap's back from the file at a different
6990 address. (There have been systems where private was not correctly
6991 implemented like the infamous i386 svr4.0, and systems where the
6992 VM page cache was not coherent with the file system buffer cache
6993 like early versions of FreeBSD and possibly contemporary NetBSD.)
6994 For shared mappings, we should conversely verify that changes get
6995 propagated back to all the places they're supposed to be.
6997 Grep wants private fixed already mapped.
6998 The main things grep needs to know about mmap are:
6999 * does it exist and is it safe to write into the mmap'd area
7000 * how to use it (BSD variants) */
7003 #include <sys/mman.h>
7005 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7009 /* This mess was copied from the GNU getpagesize.h. */
7010 #ifndef HAVE_GETPAGESIZE
7011 # ifdef _SC_PAGESIZE
7012 # define getpagesize() sysconf(_SC_PAGESIZE)
7013 # else /* no _SC_PAGESIZE */
7014 # ifdef HAVE_SYS_PARAM_H
7015 # include <sys/param.h>
7016 # ifdef EXEC_PAGESIZE
7017 # define getpagesize() EXEC_PAGESIZE
7018 # else /* no EXEC_PAGESIZE */
7020 # define getpagesize() NBPG * CLSIZE
7023 # endif /* no CLSIZE */
7024 # else /* no NBPG */
7026 # define getpagesize() NBPC
7027 # else /* no NBPC */
7029 # define getpagesize() PAGESIZE
7030 # endif /* PAGESIZE */
7031 # endif /* no NBPC */
7032 # endif /* no NBPG */
7033 # endif /* no EXEC_PAGESIZE */
7034 # else /* no HAVE_SYS_PARAM_H */
7035 # define getpagesize() 8192 /* punt totally */
7036 # endif /* no HAVE_SYS_PARAM_H */
7037 # endif /* no _SC_PAGESIZE */
7039 #endif /* no HAVE_GETPAGESIZE */
7044 char *data, *data2, *data3;
7049 pagesize = getpagesize ();
7051 /* First, make a file with some known garbage in it. */
7052 data = (char *) malloc (pagesize);
7055 for (i = 0; i < pagesize; ++i)
7056 *(data + i) = rand ();
7058 fd = creat ("conftest.mmap", 0600);
7061 if (write (fd, data, pagesize) != pagesize)
7065 /* Next, check that the tail of a page is zero-filled. File must have
7066 non-zero length, otherwise we risk SIGBUS for entire page. */
7067 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7071 if (write (fd2, cdata2, 1) != 1)
7073 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7074 if (data2 == MAP_FAILED)
7076 for (i = 0; i < pagesize; ++i)
7080 if (munmap (data2, pagesize))
7083 /* Next, try to mmap the file at a fixed address which already has
7084 something else allocated at it. If we can, also make sure that
7085 we see the same garbage. */
7086 fd = open ("conftest.mmap", O_RDWR);
7089 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7090 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7092 for (i = 0; i < pagesize; ++i)
7093 if (*(data + i) != *(data2 + i))
7096 /* Finally, make sure that changes to the mapped area do not
7097 percolate back to the file as seen by read(). (This is a bug on
7098 some variants of i386 svr4.0.) */
7099 for (i = 0; i < pagesize; ++i)
7100 *(data2 + i) = *(data2 + i) + 1;
7101 data3 = (char *) malloc (pagesize);
7104 if (read (fd, data3, pagesize) != pagesize)
7106 for (i = 0; i < pagesize; ++i)
7107 if (*(data + i) != *(data3 + i))
7113 if ac_fn_c_try_run
"$LINENO"; then :
7114 ac_cv_func_mmap_fixed_mapped
=yes
7116 ac_cv_func_mmap_fixed_mapped
=no
7118 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7119 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7124 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7125 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7127 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7130 rm -f conftest.mmap conftest.txt
7135 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7136 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7137 aros_config_ldflags
=""
7139 aros_shared_default
=yes
7141 aros_shared_cflags
="-fPIC"
7142 aros_shared_aflags
=""
7143 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7144 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7146 aros_kernel_ar_flags
="cr"
7147 aros_target_ar_flags
="cr"
7148 aros_target_nm_flags
="-C -ul"
7149 aros_target_strip_flags
="--strip-unneeded -R.comment"
7154 aros_target_genmap
="-Wl,-Map -Xlinker"
7156 # Native flavour stuff
7157 aros_serial_debug
="0"
7159 # Palm native flavour stuff
7160 aros_palm_debug_hack
="0"
7162 # Unix flavour stuff
7163 aros_nesting_supervisor
="0"
7165 # Collect-aros stuff: "-ius" to ignore undefined symbols
7166 ignore_undefined_symbols
=""
7168 # Check for X11 by default
7171 #-----------------------------------------------------------------------------
7174 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7175 # it switched on by default, and we use the host compiler, so it compiles AROS
7176 # code with this enabled resulting in link failures as we don't have support
7179 # We use two methods to disable it. For the host compiler (used to compile
7180 # some hosted modules), we test to see if the compiler supports stack
7181 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7182 # work on all platforms.
7184 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7185 # (this is done unconditionally, as it should have no effect on compilers
7186 # without the stack protection feature). This may be specific to the way that
7187 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7188 # strong enough to disable it in a generic way though, so we'll live with it
7189 # until another vendor ships GCC with it enabled in a different way, and deal
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7194 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7195 save_cflags
="$CFLAGS"
7196 CFLAGS
="$CFLAGS -fno-stack-protector"
7197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7208 if ac_fn_c_try_compile
"$LINENO"; then :
7209 use_no_stack_protector
="yes"
7211 use_no_stack_protector
="no"
7213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7215 $as_echo "$use_no_stack_protector" >&6; }
7216 if test "x-$use_no_stack_protector" = "x-yes" ; then
7217 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7219 CFLAGS
="$save_cflags"
7221 #-----------------------------------------------------------------------------
7223 # Disable pointer-signedness warnings if the compiler recognises the option
7224 # (this only works for the host compiler at the moment)
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7227 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7228 save_cflags
="$CFLAGS"
7229 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7241 if ac_fn_c_try_compile
"$LINENO"; then :
7242 use_no_sign_warning
="yes"
7244 use_no_sign_warning
="no"
7246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7248 $as_echo "$use_no_sign_warning" >&6; }
7249 if test "x-$use_no_sign_warning" = "x-yes" ; then
7250 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7252 CFLAGS
="$save_cflags"
7254 #-----------------------------------------------------------------------------
7256 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7259 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7260 save_cflags
="$CFLAGS"
7261 CFLAGS
="$CFLAGS -fgnu89-inline"
7262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7263 /* end confdefs.h. */
7273 if ac_fn_c_try_compile
"$LINENO"; then :
7274 use_gnu89_inline
="yes"
7276 use_gnu89_inline
="no"
7278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7280 $as_echo "$use_gnu89_inline" >&6; }
7281 if test "x-$use_gnu89_inline" = "x-yes" ; then
7282 gnu89_inline
="-fgnu89-inline"
7284 CFLAGS
="$save_cflags"
7286 #-----------------------------------------------------------------------------
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7289 $as_echo_n "checking for type of build... " >&6; }
7290 # Check whether --enable-build_type was given.
7291 if test "${enable_build_type+set}" = set; then :
7292 enableval
=$enable_build_type; build_type
=$enableval
7294 build_type
="personal"
7298 if test "$build_type" = "nightly"; then
7299 build_type_string
="NIGHTLY"
7300 elif test "$build_type" = "snapshot"; then
7301 build_type_string
="SNAPSHOT"
7302 elif test "$build_type" = "milestone"; then
7303 build_type_string
="MILESTONE"
7304 elif test "$build_type" = "release"; then
7305 build_type_string
="RELEASE"
7307 build_type_string
="PERSONAL"
7308 build_type
="personal"
7311 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7314 $as_echo "$build_type" >&6; }
7316 #-----------------------------------------------------------------------------
7317 all_debug_types
="messages stack modules mungwall symbols"
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7320 $as_echo_n "checking which debug types to enable... " >&6; }
7321 # Check whether --enable-debug was given.
7322 if test "${enable_debug+set}" = set; then :
7323 enableval
=$enable_debug; debug
="$enableval"
7329 if test "$debug" = "" -o "$debug" = "no"; then
7331 elif test "$debug" = "yes"; then
7335 if test "$debug" = "all" ; then
7336 debug
="messages stack modules symbols"
7337 for d
in $all_debug_types; do
7338 export aros_
${d}_debug
="1"
7341 for d
in $all_debug_types; do
7342 export aros_
${d}_debug
="0"
7346 if test "$debug" != "none"; then
7347 debug
=`echo $debug | sed s/,/\ /g`
7350 for d2
in $all_debug_types; do
7351 if test "$d2" = "$d"; then
7356 if test "$found" = "0"; then
7357 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7359 export aros_
${d}_debug
="1"
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7364 $as_echo "$debug" >&6; }
7366 if test "$aros_messages_debug" = "1"; then
7367 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7369 aros_messages_debug
=""
7371 if test "$aros_symbols_debug" = "1"; then
7372 aros_symbols_debug
="-g"
7374 aros_symbols_debug
=""
7377 # These are the flags to pass when compiling debugged programs
7378 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7379 aros_debug_aflags
=""
7380 aros_debug_ldflags
="$aros_symbols_debug"
7382 #-----------------------------------------------------------------------------
7383 # Checking for distcc and ccache.
7385 # Always apply the transforms in this particular order. Basically you should
7386 # always run 'ccache distcc compiler' in that order for the best performance.
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7389 $as_echo_n "checking whether to enable distcc... " >&6; }
7390 # Check whether --enable-distcc was given.
7391 if test "${enable_distcc+set}" = set; then :
7392 enableval
=$enable_distcc; distcc
="$enableval"
7397 if test "$distcc" != "" -a "$distcc" != "no"; then
7398 # AC_CHECK_PROG will print out the result in this case
7399 # Extract the first word of "distcc", so it can be a program name with args.
7400 set dummy distcc
; ac_word
=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if ${ac_cv_path_DISTCC+:} false
; then :
7404 $as_echo_n "(cached) " >&6
7408 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir
=.
7416 for ac_exec_ext
in '' $ac_executable_extensions; do
7417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7430 DISTCC
=$ac_cv_path_DISTCC
7431 if test -n "$DISTCC"; then
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7433 $as_echo "$DISTCC" >&6; }
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7436 $as_echo "no" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7446 $as_echo_n "checking whether to enable ccache... " >&6; }
7447 # Check whether --enable-ccache was given.
7448 if test "${enable_ccache+set}" = set; then :
7449 enableval
=$enable_ccache; ccache
="$enableval"
7454 if test "$ccache" != "" -a "$ccache" != "no"; then
7455 # AC_CHECK_PROG will print out the result in this case
7456 # Extract the first word of "ccache", so it can be a program name with args.
7457 set dummy ccache
; ac_word
=$2
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7459 $as_echo_n "checking for $ac_word... " >&6; }
7460 if ${ac_cv_prog_CCACHE+:} false
; then :
7461 $as_echo_n "(cached) " >&6
7463 if test -n "$CCACHE"; then
7464 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7470 test -z "$as_dir" && as_dir
=.
7471 for ac_exec_ext
in '' $ac_executable_extensions; do
7472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7473 ac_cv_prog_CCACHE
="ccache"
7474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483 CCACHE
=$ac_cv_prog_CCACHE
7484 if test -n "$CCACHE"; then
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7486 $as_echo "$CCACHE" >&6; }
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7489 $as_echo "no" >&6; }
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7495 $as_echo "no" >&6; }
7498 #-----------------------------------------------------------------------------
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7500 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7502 # Check whether --with-kernel-gcc-version was given.
7503 if test "${with_kernel_gcc_version+set}" = set; then :
7504 withval
=$with_kernel_gcc_version; kernel_tool_version
="-$withval"
7506 kernel_tool_version
="default"
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7510 $as_echo "$kernel_tool_version" >&6; }
7512 #-----------------------------------------------------------------------------
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7514 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7516 # Check whether --with-gcc-version was given.
7517 if test "${with_gcc_version+set}" = set; then :
7518 withval
=$with_gcc_version; target_tool_version
="$withval"
7520 target_tool_version
="default"
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7524 $as_echo "$target_tool_version" >&6; }
7526 #-----------------------------------------------------------------------------
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7528 $as_echo_n "checking what optimization flags to use... " >&6; }
7530 # Check whether --with-optimization was given.
7531 if test "${with_optimization+set}" = set; then :
7532 withval
=$with_optimization; optimization
="$withval"
7534 optimization
="unknown"
7537 if test "$optimization" = "unknown"; then
7538 if test "$debug" != "none"; then
7544 aros_config_cflags
="$aros_config_cflags $optimization"
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7546 $as_echo "$optimization" >&6; }
7548 #-----------------------------------------------------------------------------
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7550 $as_echo_n "checking what paranoia flags to use... " >&6; }
7552 # Check whether --with-paranoia was given.
7553 if test "${with_paranoia+set}" = set; then :
7554 withval
=$with_paranoia; paranoia_flags
="$withval"
7556 paranoia_flags
="default"
7559 if test "$paranoia_flags" = "default"; then
7561 else if test "$paranoia_flags" = "yes"; then
7562 paranoia_flags
="-Wall -Werror"
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7565 $as_echo "$paranoia_flags" >&6; }
7566 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7568 #-----------------------------------------------------------------------------
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7570 $as_echo_n "checking what target variant to enable... " >&6; }
7571 # Check whether --enable-target_variant was given.
7572 if test "${enable_target_variant+set}" = set; then :
7573 enableval
=$enable_target_variant; target_variant
=$enableval
7578 if test "$target_variant" = ""; then
7579 aros_target_variant
=""
7580 aros_target_suffix
=""
7583 aros_target_variant
="$target_variant"
7584 aros_target_suffix
="-$target_variant"
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7587 $as_echo "$enableval" >&6; }
7589 #-----------------------------------------------------------------------------
7590 # Target-specific defaults. You can override then on a per-target basis.
7592 # Bootloader name. Currently used by PC target.
7593 target_bootloader
="none"
7595 #-----------------------------------------------------------------------------
7596 # Additional options for some specific targets
7598 case "$aros_target_variant" in
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7601 $as_echo_n "checking XCode path... " >&6; }
7603 # Check whether --with-xcode was given.
7604 if test "${with_xcode+set}" = set; then :
7605 withval
=$with_xcode; aros_xcode_path
="$withval"
7607 aros_xcode_path
="/Developer"
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7611 $as_echo "$aros_xcode_path" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7614 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7616 # Check whether --with-sdk-version was given.
7617 if test "${with_sdk_version+set}" = set; then :
7618 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7620 aros_sdk_version
="4.1"
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7624 $as_echo "$aros_sdk_version" >&6; }
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7630 $as_echo_n "checking Android SDK path... " >&6; }
7632 # Check whether --with-sdk was given.
7633 if test "${with_sdk+set}" = set; then :
7634 withval
=$with_sdk; aros_android_sdk
="$withval"
7636 aros_android_sdk
=$default_android_sdk
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7640 $as_echo "$aros_android_sdk" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7643 $as_echo_n "checking Android NDK path... " >&6; }
7645 # Check whether --with-ndk was given.
7646 if test "${with_ndk+set}" = set; then :
7647 withval
=$with_ndk; aros_android_ndk
="$withval"
7649 aros_android_ndk
="none"
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7653 $as_echo "$aros_android_ndk" >&6; }
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7656 $as_echo_n "checking what Android SDK version to use... " >&6; }
7658 # Check whether --with-sdk-version was given.
7659 if test "${with_sdk_version+set}" = set; then :
7660 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7662 aros_sdk_version
="12"
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7666 $as_echo "$aros_sdk_version" >&6; }
7668 if test "$aros_android_ndk" != "none"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7670 $as_echo_n "checking what Android NDK version to use... " >&6; }
7672 # Check whether --with-ndk-version was given.
7673 if test "${with_ndk_version+set}" = set; then :
7674 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7676 aros_ndk_version
="9"
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7680 $as_echo "$aros_ndk_version" >&6; }
7683 export PATH
="$aros_android_sdk/tools:$PATH"
7684 # Extract the first word of "$android_tool", so it can be a program name with args.
7685 set dummy
$android_tool; ac_word
=$2
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7687 $as_echo_n "checking for $ac_word... " >&6; }
7688 if ${ac_cv_path_android_tool+:} false
; then :
7689 $as_echo_n "(cached) " >&6
7691 case $android_tool in
7693 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7700 test -z "$as_dir" && as_dir
=.
7701 for ac_exec_ext
in '' $ac_executable_extensions; do
7702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7703 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7714 android_tool
=$ac_cv_path_android_tool
7715 if test -n "$android_tool"; then
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7717 $as_echo "$android_tool" >&6; }
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7720 $as_echo "no" >&6; }
7724 if test "$android_tool" = ""; then
7725 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7728 aros_android_level
=android-
$aros_sdk_version
7729 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7730 echo "Platform $aros_android_level is not installed in your SDK"
7731 echo "Use --with-sdk-version=<API level number> to select another platform version"
7732 echo "You can check what plaform versions are installed in your SDK"
7733 echo "by examining contents of $aros_android_sdk/platforms directory"
7734 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7737 # Extract the first word of "ant", so it can be a program name with args.
7738 set dummy ant
; ac_word
=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7740 $as_echo_n "checking for $ac_word... " >&6; }
7741 if ${ac_cv_path_ant+:} false
; then :
7742 $as_echo_n "(cached) " >&6
7746 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir
=.
7754 for ac_exec_ext
in '' $ac_executable_extensions; do
7755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7756 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7768 if test -n "$ant"; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7770 $as_echo "$ant" >&6; }
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7773 $as_echo "no" >&6; }
7777 if test "$ant" = ""; then
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7779 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7782 if test "$host_os" = "mingw32"; then
7783 android_tool
="cmd //c $android_tool"
7789 #-----------------------------------------------------------------------------
7790 # External toolchains
7791 kernel_tool_prefix
="none"
7792 aros_tool_prefix
="none"
7793 elf_tool_prefix
="${target_cpu}-elf-"
7795 # This is the target configuration switch.
7796 case "$target_os" in
7798 aros_target_arch
="linux"
7799 aros_target_family
="unix"
7800 case "$target_cpu" in
7802 aros_target_cpu
="m68k"
7803 aros_object_format
="m68kelf"
7804 aros_flavour
="emulcompat"
7805 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7806 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7807 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7808 gcc_target_cpu
="mc68000"
7811 aros_target_cpu
="i386"
7812 aros_object_format
="elf_i386"
7813 aros_flavour
="emulation"
7814 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7815 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7816 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7817 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7818 aros_config_ldflags
="-m32 -march=i486"
7819 aros_kernel_ldflags
="-melf_i386"
7820 aros_default_wbdepth
=8
7821 gcc_target_cpu
="i386"
7822 pci_hidd_target
="hidd-pci-linux"
7823 android_tool_dir_prefix
="x86"
7824 android_tool_prefix
="i686-android-linux"
7825 android_ndk_arch
="x86"
7828 aros_target_cpu
="x86_64"
7829 aros_object_format
="elf_x86_64"
7830 aros_flavour
="emulation"
7831 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7832 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7833 aros_default_wbdepth
=8
7834 pci_hidd_target
="hidd-pci-linux"
7837 aros_target_cpu
="ppc"
7838 aros_object_format
="elf32ppc"
7839 aros_flavour
="emulation"
7840 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7841 aros_default_wbdepth
=8
7842 gcc_target_cpu
="ppc"
7845 # Same as powerpc, but I need this for the nightly build to work again.
7846 # Actually, the nightly should be made working with powerpc target.
7847 # That just was too much work for the moment, another week or two.
7849 aros_target_cpu
="ppc"
7850 aros_object_format
="elf32ppc"
7851 aros_flavour
="emulation"
7852 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7853 aros_default_wbdepth
=8
7854 gcc_target_cpu
="ppc"
7857 aros_target_cpu
="arm"
7859 aros_object_format
="armelf_linux_eabi"
7860 aros_flavour
="emulation"
7861 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7862 gcc_target_cpu
="arm"
7863 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7864 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7865 aros_arch_libs
="-laeabi"
7866 gcc_default_fpu
="vfpv3-d16"
7867 gcc_default_float_abi
="hard"
7868 android_tool_dir_prefix
="arm-linux-androideabi"
7869 android_tool_prefix
="arm-linux-androideabi"
7870 android_ndk_arch
="arm"
7871 kernel_tool_prefix
="arm-linux-gnueabihf-"
7874 aros_target_cpu
="arm"
7875 aros_object_format
="armelf_linux_eabi"
7876 aros_flavour
="emulation"
7877 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7878 gcc_target_cpu
="arm"
7879 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7880 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7881 aros_arch_libs
="-laeabi"
7882 android_tool_dir_prefix
="arm-linux-androideabi"
7883 android_tool_prefix
="arm-linux-androideabi"
7884 android_ndk_arch
="arm"
7885 kernel_tool_prefix
="arm-linux-gnueabi-"
7888 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7891 case "$aros_target_variant" in
7894 if test "$android_ndk_arch" = ""; then
7895 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7898 aros_default_wbwidth
=320
7899 aros_default_wbheight
=480
7900 if test "$aros_android_ndk" = "none"; then
7901 aros_kernel_cflags
="-mandroid"
7902 aros_kernel_ldflags
="-mandroid"
7905 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7906 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7907 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7908 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7909 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7910 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7913 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7914 # Disable implicit PIC mode
7915 aros_target_cflags
="$aros_target_cflags -fno-pic"
7916 kernel_tool_prefix
="$android_tool_prefix-"
7922 aros_target_arch
="pc"
7923 aros_shared_default
="no"
7924 target_bootloader
="grub2"
7925 case "$target_cpu" in
7927 aros_target_cpu
="i386"
7930 if test "$aros_object_format" = "" ; then
7931 aros_object_format
="elf_i386"
7933 aros_flavour
="standalone"
7934 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7935 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7936 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7937 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7938 aros_config_ldflags
="-m32 -march=i486"
7939 aros_kernel_ldflags
="-melf_i386"
7940 aros_default_wbwidth
=640
7941 aros_default_wbheight
=480
7942 gcc_target_cpu
="i386"
7945 aros_target_cpu
="x86_64"
7947 if test "$aros_object_format" = "" ; then
7948 aros_object_format
="elf_x86_64"
7950 aros_flavour
="standalone"
7951 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7952 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7953 aros_kernel_ldflags
=""
7954 aros_default_wbwidth
=640
7955 aros_default_wbheight
=480
7958 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7964 aros_target_arch
="prep"
7965 aros_shared_default
="no"
7966 aros_target_cpu
="ppc"
7967 aros_object_format
="elf32ppc"
7968 aros_flavour
="ppcnative"
7969 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7970 aros_kernel_ldflags
=""
7971 aros_default_wbwidth
=640
7972 aros_default_wbheight
=480
7973 gcc_target_cpu
="ppc"
7977 aros_target_arch
="freebsd"
7978 aros_target_family
="unix"
7979 aros_target_cpu
="i386"
7980 aros_flavour
="emulation"
7981 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7982 gcc_target_cpu
="i386"
7984 aros_target_strip_flags
="-x"
7988 aros_target_arch
="darwin"
7989 aros_target_family
="unix"
7990 aros_flavour
="emulation"
7991 case "$target_cpu" in
7993 aros_ios_platform
="iPhoneSimulator"
7994 aros_target_cpu
="i386"
7995 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7996 aros_kernel_ldflags
=""
7997 aros_macosx_version
="10.4"
7998 aros_default_wbdepth
=8
7999 gcc_target_cpu
="i386"
8000 aros_object_format
="elf_i386"
8001 aros_kernel_ar_flags
="-cr"
8002 aros_target_strip_flags
="-x"
8003 kernel_tool_flags
="-m32"
8006 aros_target_cpu
="x86_64"
8007 aros_object_format
="elf_x86_64"
8008 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8009 aros_macosx_version
="10.6"
8010 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8011 aros_kernel_cflags
="-m64"
8012 aros_kernel_ldflags
="-m64"
8013 aros_target_cflags
="-mcmodel=large"
8014 aros_default_wbdepth
=8
8016 aros_kernel_ar_flags
="-cr"
8018 aros_kernel_ranlib
="ranlib"
8021 aros_target_cpu
="ppc"
8022 aros_object_format
="elf32ppc"
8023 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8024 aros_kernel_ldflags
=""
8025 aros_macosx_version
="10.0"
8026 aros_default_wbdepth
=8
8027 gcc_target_cpu
="ppc"
8029 aros_kernel_ar_flags
="-cr"
8030 aros_kernel_ld
="ld -arch ppc"
8031 aros_kernel_as
="as -arch ppc"
8032 aros_kernel_ranlib
="ranlib -arch ppc"
8033 aros_kernel_nm
="nm -arch ppc"
8034 aros_kernel_strip
="strip -arch ppc"
8035 kernel_tool_prefix
="powerpc-apple-darwin10-"
8038 aros_ios_platform
="iPhoneOS"
8039 aros_target_cpu
="arm"
8040 aros_object_format
="armelf_linux_eabi"
8041 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8042 aros_arch_libs
="-laeabi"
8043 aros_default_wbdepth
=8
8044 gcc_target_cpu
="arm"
8046 aros_kernel_ar_flags
="-cr"
8047 aros_kernel_ld
="ld -arch arm"
8048 aros_kernel_ranlib
="ranlib -arch arm"
8049 kernel_tool_prefix
="arm-apple-darwin10-"
8050 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8053 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8056 case "$aros_target_variant" in
8058 aros_ios_version
="3.0"
8059 aros_default_wbwidth
=320
8060 aros_default_wbheight
=480
8061 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8062 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8063 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8065 # This is here because it may depend on iOS or SDK version
8066 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8067 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8068 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8071 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8072 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8078 aros_target_arch
="dragonfly"
8079 aros_target_family
="unix"
8080 aros_flavour
="emulation"
8081 case "$target_cpu" in
8083 aros_target_cpu
="i386"
8084 aros_object_format
="elf_i386"
8085 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8088 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8089 aros_target_cpu
="x86_64"
8090 aros_object_format
="elf_x86_64"
8091 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8094 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8100 aros_target_arch
="netbsd"
8101 aros_target_family
="unix"
8102 case "$target_cpu" in
8104 aros_target_cpu
="m68k"
8105 aros_object_format
="m68kelf"
8106 aros_flavour
="emulcompat"
8107 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8108 gcc_target_cpu
="mc68000"
8111 aros_target_cpu
="i386"
8112 aros_object_format
="elf_i386"
8113 aros_flavour
="emulation"
8114 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8115 aros_default_wbdepth
=8
8116 gcc_target_cpu
="i386"
8119 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8122 aros_target_genmap
="-Wl,-M -Xlinker >"
8123 aros_flavour
="emulation"
8124 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8128 aros_target_arch
="openbsd"
8129 aros_target_family
="unix"
8130 case "$target_cpu" in
8132 aros_target_cpu
="i386"
8133 aros_object_format
="elf_i386"
8134 aros_flavour
="emulation"
8135 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8136 gcc_target_cpu
="i386"
8139 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8142 aros_target_genmap
="-Wl,-M -Xlinker >"
8143 aros_target_nm_flags
="-u"
8144 aros_flavour
="emulation"
8148 aros_target_arch
="solaris"
8149 aros_target_family
="unix"
8150 case "$target_cpu" in
8152 aros_target_cpu
="i386"
8153 aros_object_format
="elf_i386"
8154 aros_flavour
="emulation"
8155 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8156 aros_default_wbdepth
=8
8157 gcc_target_cpu
="i386"
8160 aros_target_cpu
="sparc"
8161 aros_object_format
="elf_sparc"
8162 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8163 gcc_target_cpu
="sparc"
8166 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8169 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8170 aros_flavour
="emulation"
8174 aros_target_arch
="morphos"
8175 aros_shared_default
="no"
8176 aros_target_cpu
="ppc"
8177 aros_object_format
="elf_ppc"
8178 aros_flavour
="nativecompat"
8179 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8180 gcc_target_cpu
="ppc"
8184 aros_target_arch
="sam440"
8185 aros_shared_default
="no"
8186 aros_target_cpu
="ppc"
8187 aros_object_format
="elf32ppc"
8188 aros_flavour
="ppcnative"
8189 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8190 aros_kernel_ldflags
=""
8191 aros_default_wbwidth
=1024
8192 aros_default_wbheight
=768
8193 aros_default_wbdepth
=24
8194 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8195 gcc_target_cpu
="powerpc"
8199 aros_target_arch
="efika"
8200 aros_shared_default
="no"
8201 aros_target_cpu
="arm"
8202 aros_object_format
="armelf_linux_eabi"
8203 aros_flavour
="standalone"
8204 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8205 aros_kernel_ldflags
=""
8206 aros_default_wbwidth
=1024
8207 aros_default_wbheight
=600
8208 aros_arch_libs
="-laeabi"
8209 gcc_default_cpu
="armv7-a"
8210 gcc_default_fpu
="vfpv3"
8211 gcc_default_float_abi
="softfp"
8212 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8213 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8217 aros_target_arch
="chrp"
8218 aros_shared_default
="no"
8219 aros_target_cpu
="ppc"
8220 aros_object_format
="elf32ppc"
8221 aros_flavour
="ppcnative"
8222 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8223 aros_kernel_ldflags
=""
8224 aros_default_wbwidth
=640
8225 aros_default_wbheight
=480
8226 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8227 gcc_target_cpu
="powerpc"
8228 case "$aros_target_variant" in
8230 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8236 aros_target_arch
="amiga"
8237 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8238 aros_shared_default
="no"
8240 case "$target_cpu" in
8242 # Check whether --enable-amigaos_compliance was given.
8243 if test "${enable_amigaos_compliance+set}" = set; then :
8244 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8248 aros_target_cpu
="m68k"
8249 aros_object_format
="m68kelf"
8250 aros_flavour
="standcompat"
8251 gcc_target_cpu
="m68000"
8252 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8253 aros_config_aflags
="$aros_config_aflags"
8254 aros_target_strip_flags
="-R.comment --strip-debug"
8255 aros_default_wbwidth
=640
8256 aros_default_wbheight
=256
8257 aros_default_wbdepth
=2
8261 aros_flavour
="native"
8262 gcc_target_cpu
="ppc"
8265 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8271 aros_target_arch
="mingw32"
8272 aros_shared_default
="no"
8273 aros_flavour
="emulation"
8274 aros_shared_cflags
=""
8275 need_crosstools
="yes"
8278 case "$target_cpu" in
8280 aros_target_cpu
="i386"
8281 aros_object_format
="elf_i386"
8282 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8283 aros_default_wbdepth
=8
8284 gcc_target_cpu
="i386"
8286 kernel_tool_prefix
="i386-mingw32-"
8289 aros_target_cpu
="x86_64"
8290 aros_object_format
="elf_x86_64"
8291 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8292 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8293 aros_default_wbdepth
=8
8294 kernel_tool_prefix
="x86_64-w64-mingw32-"
8297 aros_target_cpu
="arm"
8298 aros_object_format
="armelf_linux_eabi"
8299 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8300 aros_arch_libs
="-laeabi"
8301 aros_default_wbdepth
=8
8302 gcc_target_cpu
="arm"
8303 gcc_default_float_abi
="soft"
8304 kernel_tool_prefix
="arm-mingw32ce-"
8305 aros_default_wbwidth
=160
8306 aros_default_wbheight
=160
8309 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8312 if test $host_os = "cygwin"; then
8313 aros_kernel_cflags
="-mno-cygwin"
8317 aros_target_arch
="pp"
8318 aros_shared_default
="no"
8319 case "$target_cpu" in
8321 aros_target_cpu
="m68k"
8322 aros_object_format
="m68kelf"
8323 aros_flavour
="palmnative"
8324 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8325 aros_default_wbwidth
=160
8326 aros_default_wbheight
=160
8327 aros_default_wbdepth
=1
8328 aros_target_ar_flags
="cru"
8329 aros_compiler_libs
="-lgcc1"
8330 aros_shared_default
=no
8331 aros_shared_cflags
="-fpic"
8332 aros_shared_aflags
=""
8333 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8334 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8335 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8336 aros_debug_aflags
=""
8337 aros_debug_ldflags
="$aros_symbols_debug"
8338 aros_mungwall_debug
="0"
8339 aros_modules_debug
="0"
8340 gcc_target_cpu
="mc68000"
8341 ignore_undefined_symbols
="-ius"
8344 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8350 aros_target_arch
="mac"
8351 aros_shared_default
="no"
8352 case "$target_cpu" in
8354 aros_target_cpu
="m68k"
8355 aros_object_format
="m68kelf"
8356 aros_flavour
="mac68knative"
8357 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8358 aros_default_wbwidth
=512
8359 aros_default_wbheight
=384
8360 aros_default_wbdepth
=8
8361 aros_target_ar_flags
="cru"
8362 aros_compiler_libs
="-lgcc1"
8363 aros_shared_default
=no
8364 aros_shared_cflags
="-fpic"
8365 aros_shared_aflags
=""
8366 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8367 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8368 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8369 aros_debug_aflags
=""
8370 aros_debug_ldflags
="$aros_symbols_debug"
8371 aros_mungwall_debug
="0"
8372 aros_modules_debug
="0"
8373 gcc_target_cpu
="mc68000"
8374 ignore_undefined_symbols
="-ius"
8377 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8383 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8387 #-----------------------------------------------------------------------------
8388 crosstools_guess
=yes
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8391 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8393 # Check whether --with-kernel-toolchain-prefix was given.
8394 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8395 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8399 $as_echo "$kernel_tool_prefix" >&6; }
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8402 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8404 # Check whether --with-elf-toolchain-prefix was given.
8405 if test "${with_elf_toolchain_prefix+set}" = set; then :
8406 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8411 $as_echo "$elf_tool_prefix" >&6; }
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8414 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8416 # Check whether --with-aros-toolchain was given.
8417 if test "${with_aros_toolchain+set}" = set; then :
8418 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8422 if test "$aros_tool_prefix" = "yes" ; then
8423 aros_tool_prefix
=$aros_target_cpu-aros-
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8426 $as_echo "$aros_tool_prefix" >&6; }
8428 #-----------------------------------------------------------------------------
8429 # Checking if we should build crosstools..
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8431 $as_echo_n "checking whether to build crosstools... " >&6; }
8432 # Check whether --enable-crosstools was given.
8433 if test "${enable_crosstools+set}" = set; then :
8434 enableval
=$enable_crosstools; crosstools
="$enableval"
8436 crosstools
="$crosstools_guess"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8440 $as_echo "$crosstools" >&6; }
8442 if test "${crosstools}" = "yes"; then
8443 if test "${crosstools_guess}" = "no"; then
8444 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8449 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8451 # Check whether --with-aros-toolchain-install was given.
8452 if test "${with_aros_toolchain_install+set}" = set; then :
8453 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8456 if test "x$aros_toolchain_install" = "x"; then
8457 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8459 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8460 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8463 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8466 # Now process extra architecture-specific options.
8467 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8468 # as well as floating-point ABI.
8469 case "$aros_target_cpu" in
8471 if test "$gcc_default_cpu" = ""; then
8472 gcc_default_cpu
="armv6"
8474 if test "$gcc_default_fpu" = ""; then
8475 gcc_default_fpu
="vfp"
8477 if test "$gcc_default_float_abi" = ""; then
8478 gcc_default_float_abi
="softfp"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8482 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8484 # Check whether --with-cpu was given.
8485 if test "${with_cpu+set}" = set; then :
8486 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8488 aros_gcc_cpu
=$gcc_default_cpu
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8492 $as_echo "$aros_gcc_cpu" >&6; }
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8495 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8497 # Check whether --with-fpu was given.
8498 if test "${with_fpu+set}" = set; then :
8499 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8501 aros_gcc_fpu
=$gcc_default_fpu
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8505 $as_echo "$aros_gcc_fpu" >&6; }
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8508 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8510 # Check whether --with-float was given.
8511 if test "${with_float+set}" = set; then :
8512 withval
=$with_float; aros_gcc_float_abi
="$withval"
8514 aros_gcc_float_abi
=$gcc_default_float_abi
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8518 $as_echo "$aros_gcc_float_abi" >&6; }
8520 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"
8521 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"
8525 # Some formats need custom ELF specs.
8526 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8527 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8528 elf_specs_in
=config
/${aros_object_format}-specs.
in
8530 elf_specs_in
=config
/elf-specs.
in
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8534 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8536 # Check whether --with-aros-gcc was given.
8537 if test "${with_aros_gcc+set}" = set; then :
8538 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8544 $as_echo "$aros_gcc_version" >&6; }
8546 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8547 # Since we override specs, we may need to put these defines there
8548 if test "$gcc_target_cpu" != ""; then
8549 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8553 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8555 # Check whether --with-portssources was given.
8556 if test "${with_portssources+set}" = set; then :
8557 withval
=$with_portssources; with_portssrcdir
=$withval
8559 with_portssrcdir
="default"
8562 if test "$with_portssrcdir" = "default"; then
8563 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8565 AROS_PORTSSRCDIR
="$with_portssrcdir"
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8568 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8571 $as_echo_n "checking which bootloader to use... " >&6; }
8573 # Check whether --with-bootloader was given.
8574 if test "${with_bootloader+set}" = set; then :
8575 withval
=$with_bootloader; target_bootloader
=$withval
8577 target_bootloader
=$target_bootloader
8580 if test "$target_bootloader" = "none"; then
8581 aros_target_bootloader
=""
8583 aros_target_bootloader
="$target_bootloader"
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8586 $as_echo "$target_bootloader" >&6; }
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8589 $as_echo_n "checking which icon-set to use... " >&6; }
8591 # Check whether --with-iconset was given.
8592 if test "${with_iconset+set}" = set; then :
8593 withval
=$with_iconset; target_iconset
=$withval
8595 target_iconset
="default"
8598 if test "$target_iconset" = "default"; then
8599 aros_target_iconset
="Gorilla"
8600 target_iconset
="default (Gorilla)"
8602 aros_target_iconset
="$target_iconset"
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8605 $as_echo "$target_iconset" >&6; }
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8608 $as_echo_n "checking which GUI Theme to use... " >&6; }
8610 # Check whether --with-theme was given.
8611 if test "${with_theme+set}" = set; then :
8612 withval
=$with_theme; target_guitheme
=$withval
8614 target_guitheme
="default"
8617 if test "$target_guitheme" = "default"; then
8618 aros_target_guitheme
="Ice"
8620 aros_target_guitheme
="$target_guitheme"
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8623 $as_echo "$aros_target_guitheme" >&6; }
8625 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8629 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8633 if test "$aros_host_cpu" == "x86_64" ; then
8634 if test "$aros_target_cpu" == "i386" ; then
8639 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8640 if test "$aros_host_arch" != "$aros_target_arch" ; then
8644 if test "$host_cc_elf" = "no" ; then
8649 if test "$cross_compiling" = "no" ; then
8650 kernel_tool_prefix
=""
8651 if test "$host_cc_elf" = "yes" ; then
8656 #######################################################################
8657 ## Compute what toolchains to use, and their paths ##
8658 #######################################################################
8660 # This takes, as input:
8661 # crosstools {yes,no}
8662 # aros_gcc_version {default,[version]}
8663 # kernel_tool_prefix {none,[some-arch-os-]}
8664 # aros_tool_prefix ${target_cpu}-aros-
8667 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8668 # Where the 'kernel' binaries are located
8669 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8670 # Where the 'target' binaries are located
8671 # (not the symlink farm - that is aros_target_*!)
8674 # if crosstools then
8675 # if kernel_tools_prefix = "no-kernel-prefix-"
8676 # aros_kernel_* = crosstools cc paths
8677 # aros_kernel_cc = elf cc wrapper around crosstools cc
8679 # VALIDATE(${kernel_tools_prefix}*)
8680 # aros_kernel_* = ${kernel_tools_prefix}*
8681 # if ${kernel_tools_prefix}cc is an AROS gcc
8682 # aros_kernel_cc = ${kernel_tools_prefix}cc
8684 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8688 # orig_target_* = aros built crosstools
8689 # orig_target_cc = elf cc wrapper around crosstools cc
8691 # VALIDATE(${kernel_tools_prefix}*)
8693 # orig_target_* = aros_kernel_*
8694 # if aros_kernel_cc is an AROS gcc
8695 # orig_target_cc = aros_kernel_cc
8697 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8701 target_tool_prefix
="${target_cpu}-aros-"
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8704 $as_echo_n "checking which kernel tools... " >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8706 $as_echo "$kernel_tool_prefix" >&6; };
8708 if test "$kernel_tool_prefix" = "none" ; then
8709 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8710 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8713 # Kernel tools required - find them
8714 # Note that 'normally', aros_kernel_* overrides will
8715 # empty, unless specified in the per-arch sections above.
8716 if test "x$aros_kernel_cpp" = "x"; then
8717 aros_kernel_cpp
=${kernel_tool_prefix}cpp
8720 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8721 if test "$cross_compiling" = "yes" ; then
8722 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8723 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8725 $as_echo_n "checking for $ac_word... " >&6; }
8726 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8727 $as_echo_n "(cached) " >&6
8729 case $aros_kernel_cpp in
8731 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8738 test -z "$as_dir" && as_dir
=.
8739 for ac_exec_ext
in '' $ac_executable_extensions; do
8740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8741 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8752 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8753 if test -n "$aros_kernel_cpp"; then
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8755 $as_echo "$aros_kernel_cpp" >&6; }
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8758 $as_echo "no" >&6; }
8763 if test "$GCC" = "yes"; then
8764 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8765 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8766 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8768 $as_echo_n "checking for $ac_word... " >&6; }
8769 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8770 $as_echo_n "(cached) " >&6
8772 case $aros_kernel_cpp in
8774 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8778 for as_dir
in `dirname $aros_gcc_cpp`
8781 test -z "$as_dir" && as_dir
=.
8782 for ac_exec_ext
in '' $ac_executable_extensions; do
8783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8784 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8795 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8796 if test -n "$aros_kernel_cpp"; then
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8798 $as_echo "$aros_kernel_cpp" >&6; }
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8801 $as_echo "no" >&6; }
8806 if test "$aros_kernel_cpp" = ""; then
8807 # Extract the first word of "cpp", so it can be a program name with args.
8808 set dummy cpp
; ac_word
=$2
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8810 $as_echo_n "checking for $ac_word... " >&6; }
8811 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8812 $as_echo_n "(cached) " >&6
8814 case $aros_kernel_cpp in
8816 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8823 test -z "$as_dir" && as_dir
=.
8824 for ac_exec_ext
in '' $ac_executable_extensions; do
8825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8826 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8837 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8838 if test -n "$aros_kernel_cpp"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8840 $as_echo "$aros_kernel_cpp" >&6; }
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8843 $as_echo "no" >&6; }
8850 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
8851 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8853 $as_echo_n "checking for $ac_word... " >&6; }
8854 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8855 $as_echo_n "(cached) " >&6
8857 case $aros_kernel_cpp in
8859 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8866 test -z "$as_dir" && as_dir
=.
8867 for ac_exec_ext
in '' $ac_executable_extensions; do
8868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8869 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8880 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8881 if test -n "$aros_kernel_cpp"; then
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8883 $as_echo "$aros_kernel_cpp" >&6; }
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8886 $as_echo "no" >&6; }
8892 if test "$aros_kernel_cpp" = ""; then
8893 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8895 if test "x$aros_kernel_cc" = "x"; then
8896 aros_kernel_cc
=${kernel_tool_prefix}gcc
8899 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
8900 if test "$cross_compiling" = "yes" ; then
8901 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8902 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8904 $as_echo_n "checking for $ac_word... " >&6; }
8905 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8906 $as_echo_n "(cached) " >&6
8908 case $aros_kernel_cc in
8910 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8917 test -z "$as_dir" && as_dir
=.
8918 for ac_exec_ext
in '' $ac_executable_extensions; do
8919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8920 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8931 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8932 if test -n "$aros_kernel_cc"; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8934 $as_echo "$aros_kernel_cc" >&6; }
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8937 $as_echo "no" >&6; }
8942 if test "$GCC" = "yes"; then
8943 aros_gcc_cc
=`$CC -print-prog-name=cc`
8944 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8945 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8947 $as_echo_n "checking for $ac_word... " >&6; }
8948 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8949 $as_echo_n "(cached) " >&6
8951 case $aros_kernel_cc in
8953 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8957 for as_dir
in `dirname $aros_gcc_cc`
8960 test -z "$as_dir" && as_dir
=.
8961 for ac_exec_ext
in '' $ac_executable_extensions; do
8962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8963 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8974 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8975 if test -n "$aros_kernel_cc"; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8977 $as_echo "$aros_kernel_cc" >&6; }
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8980 $as_echo "no" >&6; }
8985 if test "$aros_kernel_cc" = ""; then
8986 # Extract the first word of "cc", so it can be a program name with args.
8987 set dummy cc
; ac_word
=$2
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8989 $as_echo_n "checking for $ac_word... " >&6; }
8990 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8991 $as_echo_n "(cached) " >&6
8993 case $aros_kernel_cc in
8995 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9002 test -z "$as_dir" && as_dir
=.
9003 for ac_exec_ext
in '' $ac_executable_extensions; do
9004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9005 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9016 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9017 if test -n "$aros_kernel_cc"; then
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9019 $as_echo "$aros_kernel_cc" >&6; }
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9022 $as_echo "no" >&6; }
9029 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9030 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9032 $as_echo_n "checking for $ac_word... " >&6; }
9033 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9034 $as_echo_n "(cached) " >&6
9036 case $aros_kernel_cc in
9038 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9045 test -z "$as_dir" && as_dir
=.
9046 for ac_exec_ext
in '' $ac_executable_extensions; do
9047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9048 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9059 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9060 if test -n "$aros_kernel_cc"; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9062 $as_echo "$aros_kernel_cc" >&6; }
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9065 $as_echo "no" >&6; }
9071 if test "$aros_kernel_cc" = ""; then
9072 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9074 if test "x$aros_kernel_cxx" = "x"; then
9075 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9078 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9079 if test "$cross_compiling" = "yes" ; then
9080 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9081 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9083 $as_echo_n "checking for $ac_word... " >&6; }
9084 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9085 $as_echo_n "(cached) " >&6
9087 case $aros_kernel_cxx in
9089 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9096 test -z "$as_dir" && as_dir
=.
9097 for ac_exec_ext
in '' $ac_executable_extensions; do
9098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9099 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9110 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9111 if test -n "$aros_kernel_cxx"; then
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9113 $as_echo "$aros_kernel_cxx" >&6; }
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9116 $as_echo "no" >&6; }
9121 if test "$GCC" = "yes"; then
9122 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9123 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9124 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9126 $as_echo_n "checking for $ac_word... " >&6; }
9127 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9128 $as_echo_n "(cached) " >&6
9130 case $aros_kernel_cxx in
9132 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9136 for as_dir
in `dirname $aros_gcc_cxx`
9139 test -z "$as_dir" && as_dir
=.
9140 for ac_exec_ext
in '' $ac_executable_extensions; do
9141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9142 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9153 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9154 if test -n "$aros_kernel_cxx"; then
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9156 $as_echo "$aros_kernel_cxx" >&6; }
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9159 $as_echo "no" >&6; }
9164 if test "$aros_kernel_cxx" = ""; then
9165 # Extract the first word of "cxx", so it can be a program name with args.
9166 set dummy cxx
; ac_word
=$2
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9168 $as_echo_n "checking for $ac_word... " >&6; }
9169 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9170 $as_echo_n "(cached) " >&6
9172 case $aros_kernel_cxx in
9174 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9181 test -z "$as_dir" && as_dir
=.
9182 for ac_exec_ext
in '' $ac_executable_extensions; do
9183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9184 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9195 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9196 if test -n "$aros_kernel_cxx"; then
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9198 $as_echo "$aros_kernel_cxx" >&6; }
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9201 $as_echo "no" >&6; }
9208 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9209 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9211 $as_echo_n "checking for $ac_word... " >&6; }
9212 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9213 $as_echo_n "(cached) " >&6
9215 case $aros_kernel_cxx in
9217 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9224 test -z "$as_dir" && as_dir
=.
9225 for ac_exec_ext
in '' $ac_executable_extensions; do
9226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9227 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9238 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9239 if test -n "$aros_kernel_cxx"; then
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9241 $as_echo "$aros_kernel_cxx" >&6; }
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9244 $as_echo "no" >&6; }
9250 # If it's set, make sure it's really there
9251 if test "x$aros_kernel_cxx" != "x" ; then
9252 if test "$aros_kernel_cxx" = ""; then
9253 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9257 if test "$aros_kernel_ld" = ""; then
9258 if test "$cross_compiling" = "yes" ; then
9259 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9260 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9262 $as_echo_n "checking for $ac_word... " >&6; }
9263 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9264 $as_echo_n "(cached) " >&6
9266 case $aros_kernel_ld in
9268 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9275 test -z "$as_dir" && as_dir
=.
9276 for ac_exec_ext
in '' $ac_executable_extensions; do
9277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9278 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9289 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9290 if test -n "$aros_kernel_ld"; then
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9292 $as_echo "$aros_kernel_ld" >&6; }
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9295 $as_echo "no" >&6; }
9300 if test "$GCC" = "yes"; then
9301 aros_gcc_ld
=`$CC -print-prog-name=ld`
9302 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9303 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9305 $as_echo_n "checking for $ac_word... " >&6; }
9306 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9307 $as_echo_n "(cached) " >&6
9309 case $aros_kernel_ld in
9311 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9315 for as_dir
in `dirname $aros_gcc_ld`
9318 test -z "$as_dir" && as_dir
=.
9319 for ac_exec_ext
in '' $ac_executable_extensions; do
9320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9321 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9332 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9333 if test -n "$aros_kernel_ld"; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9335 $as_echo "$aros_kernel_ld" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 $as_echo "no" >&6; }
9343 if test "$aros_kernel_ld" = ""; then
9344 # Extract the first word of "ld", so it can be a program name with args.
9345 set dummy ld
; ac_word
=$2
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9347 $as_echo_n "checking for $ac_word... " >&6; }
9348 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9349 $as_echo_n "(cached) " >&6
9351 case $aros_kernel_ld in
9353 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9360 test -z "$as_dir" && as_dir
=.
9361 for ac_exec_ext
in '' $ac_executable_extensions; do
9362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9363 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9374 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9375 if test -n "$aros_kernel_ld"; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9377 $as_echo "$aros_kernel_ld" >&6; }
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9380 $as_echo "no" >&6; }
9387 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9388 set dummy
$aros_kernel_ld; ac_word
=$2
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9390 $as_echo_n "checking for $ac_word... " >&6; }
9391 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9392 $as_echo_n "(cached) " >&6
9394 case $aros_kernel_ld in
9396 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9403 test -z "$as_dir" && as_dir
=.
9404 for ac_exec_ext
in '' $ac_executable_extensions; do
9405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9406 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9417 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9418 if test -n "$aros_kernel_ld"; then
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9420 $as_echo "$aros_kernel_ld" >&6; }
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9423 $as_echo "no" >&6; }
9429 if test "$aros_kernel_ld" = ""; then
9430 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9433 if test "$aros_kernel_as" = ""; then
9434 if test "$cross_compiling" = "yes" ; then
9435 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9436 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9438 $as_echo_n "checking for $ac_word... " >&6; }
9439 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9440 $as_echo_n "(cached) " >&6
9442 case $aros_kernel_as in
9444 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9451 test -z "$as_dir" && as_dir
=.
9452 for ac_exec_ext
in '' $ac_executable_extensions; do
9453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9454 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9465 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9466 if test -n "$aros_kernel_as"; then
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9468 $as_echo "$aros_kernel_as" >&6; }
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9471 $as_echo "no" >&6; }
9476 if test "$GCC" = "yes"; then
9477 aros_gcc_as
=`$CC -print-prog-name=as`
9478 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9479 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9481 $as_echo_n "checking for $ac_word... " >&6; }
9482 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9483 $as_echo_n "(cached) " >&6
9485 case $aros_kernel_as in
9487 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9491 for as_dir
in `dirname $aros_gcc_as`
9494 test -z "$as_dir" && as_dir
=.
9495 for ac_exec_ext
in '' $ac_executable_extensions; do
9496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9497 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9508 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9509 if test -n "$aros_kernel_as"; then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9511 $as_echo "$aros_kernel_as" >&6; }
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9514 $as_echo "no" >&6; }
9519 if test "$aros_kernel_as" = ""; then
9520 # Extract the first word of "as", so it can be a program name with args.
9521 set dummy as
; ac_word
=$2
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9523 $as_echo_n "checking for $ac_word... " >&6; }
9524 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9525 $as_echo_n "(cached) " >&6
9527 case $aros_kernel_as in
9529 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9536 test -z "$as_dir" && as_dir
=.
9537 for ac_exec_ext
in '' $ac_executable_extensions; do
9538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9539 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9550 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9551 if test -n "$aros_kernel_as"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9553 $as_echo "$aros_kernel_as" >&6; }
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 $as_echo "no" >&6; }
9563 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9564 set dummy
$aros_kernel_as; ac_word
=$2
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9566 $as_echo_n "checking for $ac_word... " >&6; }
9567 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9568 $as_echo_n "(cached) " >&6
9570 case $aros_kernel_as in
9572 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9579 test -z "$as_dir" && as_dir
=.
9580 for ac_exec_ext
in '' $ac_executable_extensions; do
9581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9582 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9593 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9594 if test -n "$aros_kernel_as"; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9596 $as_echo "$aros_kernel_as" >&6; }
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9599 $as_echo "no" >&6; }
9605 if test "$aros_kernel_as" = ""; then
9606 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9609 if test "$aros_kernel_ar" = ""; then
9610 if test "$cross_compiling" = "yes" ; then
9611 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9612 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9614 $as_echo_n "checking for $ac_word... " >&6; }
9615 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9616 $as_echo_n "(cached) " >&6
9618 case $aros_kernel_ar in
9620 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9627 test -z "$as_dir" && as_dir
=.
9628 for ac_exec_ext
in '' $ac_executable_extensions; do
9629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9630 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9641 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9642 if test -n "$aros_kernel_ar"; then
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9644 $as_echo "$aros_kernel_ar" >&6; }
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9647 $as_echo "no" >&6; }
9652 if test "$GCC" = "yes"; then
9653 aros_gcc_ar
=`$CC -print-prog-name=ar`
9654 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9655 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9657 $as_echo_n "checking for $ac_word... " >&6; }
9658 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9659 $as_echo_n "(cached) " >&6
9661 case $aros_kernel_ar in
9663 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9667 for as_dir
in `dirname $aros_gcc_ar`
9670 test -z "$as_dir" && as_dir
=.
9671 for ac_exec_ext
in '' $ac_executable_extensions; do
9672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9673 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9684 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9685 if test -n "$aros_kernel_ar"; then
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9687 $as_echo "$aros_kernel_ar" >&6; }
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9690 $as_echo "no" >&6; }
9695 if test "$aros_kernel_ar" = ""; then
9696 # Extract the first word of "ar", so it can be a program name with args.
9697 set dummy
ar; ac_word
=$2
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9699 $as_echo_n "checking for $ac_word... " >&6; }
9700 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9701 $as_echo_n "(cached) " >&6
9703 case $aros_kernel_ar in
9705 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9712 test -z "$as_dir" && as_dir
=.
9713 for ac_exec_ext
in '' $ac_executable_extensions; do
9714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9715 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9726 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9727 if test -n "$aros_kernel_ar"; then
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9729 $as_echo "$aros_kernel_ar" >&6; }
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9732 $as_echo "no" >&6; }
9739 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9740 set dummy
$aros_kernel_ar; ac_word
=$2
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9742 $as_echo_n "checking for $ac_word... " >&6; }
9743 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9744 $as_echo_n "(cached) " >&6
9746 case $aros_kernel_ar in
9748 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9755 test -z "$as_dir" && as_dir
=.
9756 for ac_exec_ext
in '' $ac_executable_extensions; do
9757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9758 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9769 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9770 if test -n "$aros_kernel_ar"; then
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9772 $as_echo "$aros_kernel_ar" >&6; }
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9775 $as_echo "no" >&6; }
9781 if test "$aros_kernel_ar" = ""; then
9782 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9785 if test "$aros_kernel_ranlib" = ""; then
9786 if test "$cross_compiling" = "yes" ; then
9787 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9788 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9790 $as_echo_n "checking for $ac_word... " >&6; }
9791 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9792 $as_echo_n "(cached) " >&6
9794 case $aros_kernel_ranlib in
9796 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9803 test -z "$as_dir" && as_dir
=.
9804 for ac_exec_ext
in '' $ac_executable_extensions; do
9805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9806 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9817 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9818 if test -n "$aros_kernel_ranlib"; then
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9820 $as_echo "$aros_kernel_ranlib" >&6; }
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9823 $as_echo "no" >&6; }
9828 if test "$GCC" = "yes"; then
9829 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9830 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9831 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9833 $as_echo_n "checking for $ac_word... " >&6; }
9834 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9835 $as_echo_n "(cached) " >&6
9837 case $aros_kernel_ranlib in
9839 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9843 for as_dir
in `dirname $aros_gcc_ranlib`
9846 test -z "$as_dir" && as_dir
=.
9847 for ac_exec_ext
in '' $ac_executable_extensions; do
9848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9849 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9860 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9861 if test -n "$aros_kernel_ranlib"; then
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9863 $as_echo "$aros_kernel_ranlib" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9866 $as_echo "no" >&6; }
9871 if test "$aros_kernel_ranlib" = ""; then
9872 # Extract the first word of "ranlib", so it can be a program name with args.
9873 set dummy ranlib
; ac_word
=$2
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9875 $as_echo_n "checking for $ac_word... " >&6; }
9876 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9877 $as_echo_n "(cached) " >&6
9879 case $aros_kernel_ranlib in
9881 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9888 test -z "$as_dir" && as_dir
=.
9889 for ac_exec_ext
in '' $ac_executable_extensions; do
9890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9891 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9902 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9903 if test -n "$aros_kernel_ranlib"; then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9905 $as_echo "$aros_kernel_ranlib" >&6; }
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9908 $as_echo "no" >&6; }
9915 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9916 set dummy
$aros_kernel_ranlib; ac_word
=$2
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9918 $as_echo_n "checking for $ac_word... " >&6; }
9919 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9920 $as_echo_n "(cached) " >&6
9922 case $aros_kernel_ranlib in
9924 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9931 test -z "$as_dir" && as_dir
=.
9932 for ac_exec_ext
in '' $ac_executable_extensions; do
9933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9934 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9945 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9946 if test -n "$aros_kernel_ranlib"; then
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9948 $as_echo "$aros_kernel_ranlib" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9951 $as_echo "no" >&6; }
9957 if test "$aros_kernel_ranlib" = ""; then
9958 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9961 if test "$aros_kernel_nm" = ""; then
9962 if test "$cross_compiling" = "yes" ; then
9963 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9964 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9966 $as_echo_n "checking for $ac_word... " >&6; }
9967 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9968 $as_echo_n "(cached) " >&6
9970 case $aros_kernel_nm in
9972 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9979 test -z "$as_dir" && as_dir
=.
9980 for ac_exec_ext
in '' $ac_executable_extensions; do
9981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9982 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9993 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9994 if test -n "$aros_kernel_nm"; then
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9996 $as_echo "$aros_kernel_nm" >&6; }
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9999 $as_echo "no" >&6; }
10004 if test "$GCC" = "yes"; then
10005 aros_gcc_nm
=`$CC -print-prog-name=nm`
10006 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10007 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10009 $as_echo_n "checking for $ac_word... " >&6; }
10010 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10011 $as_echo_n "(cached) " >&6
10013 case $aros_kernel_nm in
10015 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10019 for as_dir
in `dirname $aros_gcc_nm`
10022 test -z "$as_dir" && as_dir
=.
10023 for ac_exec_ext
in '' $ac_executable_extensions; do
10024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10025 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10036 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10037 if test -n "$aros_kernel_nm"; then
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10039 $as_echo "$aros_kernel_nm" >&6; }
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10042 $as_echo "no" >&6; }
10047 if test "$aros_kernel_nm" = ""; then
10048 # Extract the first word of "nm", so it can be a program name with args.
10049 set dummy nm
; ac_word
=$2
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10051 $as_echo_n "checking for $ac_word... " >&6; }
10052 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10053 $as_echo_n "(cached) " >&6
10055 case $aros_kernel_nm in
10057 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10061 for as_dir
in $PATH
10064 test -z "$as_dir" && as_dir
=.
10065 for ac_exec_ext
in '' $ac_executable_extensions; do
10066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10067 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10078 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10079 if test -n "$aros_kernel_nm"; then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10081 $as_echo "$aros_kernel_nm" >&6; }
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10084 $as_echo "no" >&6; }
10091 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10092 set dummy
$aros_kernel_nm; ac_word
=$2
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10094 $as_echo_n "checking for $ac_word... " >&6; }
10095 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10096 $as_echo_n "(cached) " >&6
10098 case $aros_kernel_nm in
10100 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10104 for as_dir
in $PATH
10107 test -z "$as_dir" && as_dir
=.
10108 for ac_exec_ext
in '' $ac_executable_extensions; do
10109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10110 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10122 if test -n "$aros_kernel_nm"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10124 $as_echo "$aros_kernel_nm" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10127 $as_echo "no" >&6; }
10133 if test "$aros_kernel_nm" = ""; then
10134 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10137 if test "$aros_kernel_strip" = ""; then
10138 if test "$cross_compiling" = "yes" ; then
10139 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10140 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10142 $as_echo_n "checking for $ac_word... " >&6; }
10143 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10144 $as_echo_n "(cached) " >&6
10146 case $aros_kernel_strip in
10148 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10152 for as_dir
in $PATH
10155 test -z "$as_dir" && as_dir
=.
10156 for ac_exec_ext
in '' $ac_executable_extensions; do
10157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10158 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10169 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10170 if test -n "$aros_kernel_strip"; then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10172 $as_echo "$aros_kernel_strip" >&6; }
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10175 $as_echo "no" >&6; }
10180 if test "$GCC" = "yes"; then
10181 aros_gcc_strip
=`$CC -print-prog-name=strip`
10182 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10183 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10185 $as_echo_n "checking for $ac_word... " >&6; }
10186 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10187 $as_echo_n "(cached) " >&6
10189 case $aros_kernel_strip in
10191 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10195 for as_dir
in `dirname $aros_gcc_strip`
10198 test -z "$as_dir" && as_dir
=.
10199 for ac_exec_ext
in '' $ac_executable_extensions; do
10200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10201 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10212 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10213 if test -n "$aros_kernel_strip"; then
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10215 $as_echo "$aros_kernel_strip" >&6; }
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10218 $as_echo "no" >&6; }
10223 if test "$aros_kernel_strip" = ""; then
10224 # Extract the first word of "strip", so it can be a program name with args.
10225 set dummy strip
; ac_word
=$2
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10227 $as_echo_n "checking for $ac_word... " >&6; }
10228 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10229 $as_echo_n "(cached) " >&6
10231 case $aros_kernel_strip in
10233 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10237 for as_dir
in $PATH
10240 test -z "$as_dir" && as_dir
=.
10241 for ac_exec_ext
in '' $ac_executable_extensions; do
10242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10243 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10254 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10255 if test -n "$aros_kernel_strip"; then
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10257 $as_echo "$aros_kernel_strip" >&6; }
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10260 $as_echo "no" >&6; }
10267 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10268 set dummy
$aros_kernel_strip; ac_word
=$2
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10270 $as_echo_n "checking for $ac_word... " >&6; }
10271 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10272 $as_echo_n "(cached) " >&6
10274 case $aros_kernel_strip in
10276 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10280 for as_dir
in $PATH
10283 test -z "$as_dir" && as_dir
=.
10284 for ac_exec_ext
in '' $ac_executable_extensions; do
10285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10286 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10297 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10298 if test -n "$aros_kernel_strip"; then
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10300 $as_echo "$aros_kernel_strip" >&6; }
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10303 $as_echo "no" >&6; }
10309 if test "$aros_kernel_strip" = ""; then
10310 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10313 # Objcopy and objdump are not required for the kernel
10314 # toolchain on many architectures.
10315 # So we'll look for them, but not make them strictly required.
10317 if test "$aros_kernel_objcopy" = ""; then
10318 if test "$cross_compiling" = "yes" ; then
10319 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10320 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10322 $as_echo_n "checking for $ac_word... " >&6; }
10323 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10324 $as_echo_n "(cached) " >&6
10326 case $aros_kernel_objcopy in
10328 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10332 for as_dir
in $PATH
10335 test -z "$as_dir" && as_dir
=.
10336 for ac_exec_ext
in '' $ac_executable_extensions; do
10337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10338 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10349 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10350 if test -n "$aros_kernel_objcopy"; then
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10352 $as_echo "$aros_kernel_objcopy" >&6; }
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10355 $as_echo "no" >&6; }
10360 if test "$GCC" = "yes"; then
10361 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10362 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10363 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10365 $as_echo_n "checking for $ac_word... " >&6; }
10366 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10367 $as_echo_n "(cached) " >&6
10369 case $aros_kernel_objcopy in
10371 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10375 for as_dir
in `dirname $aros_gcc_objcopy`
10378 test -z "$as_dir" && as_dir
=.
10379 for ac_exec_ext
in '' $ac_executable_extensions; do
10380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10381 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10392 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10393 if test -n "$aros_kernel_objcopy"; then
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10395 $as_echo "$aros_kernel_objcopy" >&6; }
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10398 $as_echo "no" >&6; }
10403 if test "$aros_kernel_objcopy" = ""; then
10404 # Extract the first word of "objcopy", so it can be a program name with args.
10405 set dummy objcopy
; ac_word
=$2
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10407 $as_echo_n "checking for $ac_word... " >&6; }
10408 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10409 $as_echo_n "(cached) " >&6
10411 case $aros_kernel_objcopy in
10413 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10417 for as_dir
in $PATH
10420 test -z "$as_dir" && as_dir
=.
10421 for ac_exec_ext
in '' $ac_executable_extensions; do
10422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10423 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10434 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10435 if test -n "$aros_kernel_objcopy"; then
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10437 $as_echo "$aros_kernel_objcopy" >&6; }
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10440 $as_echo "no" >&6; }
10447 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10448 set dummy
$aros_kernel_objcopy; ac_word
=$2
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10450 $as_echo_n "checking for $ac_word... " >&6; }
10451 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10452 $as_echo_n "(cached) " >&6
10454 case $aros_kernel_objcopy in
10456 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10460 for as_dir
in $PATH
10463 test -z "$as_dir" && as_dir
=.
10464 for ac_exec_ext
in '' $ac_executable_extensions; do
10465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10466 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10477 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10478 if test -n "$aros_kernel_objcopy"; then
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10480 $as_echo "$aros_kernel_objcopy" >&6; }
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10483 $as_echo "no" >&6; }
10490 if test "$aros_kernel_objdump" = ""; then
10491 if test "$cross_compiling" = "yes" ; then
10492 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10493 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10495 $as_echo_n "checking for $ac_word... " >&6; }
10496 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10497 $as_echo_n "(cached) " >&6
10499 case $aros_kernel_objdump in
10501 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10505 for as_dir
in $PATH
10508 test -z "$as_dir" && as_dir
=.
10509 for ac_exec_ext
in '' $ac_executable_extensions; do
10510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10511 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10522 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10523 if test -n "$aros_kernel_objdump"; then
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10525 $as_echo "$aros_kernel_objdump" >&6; }
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10528 $as_echo "no" >&6; }
10533 if test "$GCC" = "yes"; then
10534 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10535 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10536 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10538 $as_echo_n "checking for $ac_word... " >&6; }
10539 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10540 $as_echo_n "(cached) " >&6
10542 case $aros_kernel_objdump in
10544 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10548 for as_dir
in `dirname $aros_gcc_objdump`
10551 test -z "$as_dir" && as_dir
=.
10552 for ac_exec_ext
in '' $ac_executable_extensions; do
10553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10554 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10565 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10566 if test -n "$aros_kernel_objdump"; then
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10568 $as_echo "$aros_kernel_objdump" >&6; }
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10571 $as_echo "no" >&6; }
10576 if test "$aros_kernel_objdump" = ""; then
10577 # Extract the first word of "objdump", so it can be a program name with args.
10578 set dummy objdump
; ac_word
=$2
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10580 $as_echo_n "checking for $ac_word... " >&6; }
10581 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10582 $as_echo_n "(cached) " >&6
10584 case $aros_kernel_objdump in
10586 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10590 for as_dir
in $PATH
10593 test -z "$as_dir" && as_dir
=.
10594 for ac_exec_ext
in '' $ac_executable_extensions; do
10595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10596 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10607 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10608 if test -n "$aros_kernel_objdump"; then
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10610 $as_echo "$aros_kernel_objdump" >&6; }
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10613 $as_echo "no" >&6; }
10620 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10621 set dummy
$aros_kernel_objdump; ac_word
=$2
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10623 $as_echo_n "checking for $ac_word... " >&6; }
10624 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10625 $as_echo_n "(cached) " >&6
10627 case $aros_kernel_objdump in
10629 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10633 for as_dir
in $PATH
10636 test -z "$as_dir" && as_dir
=.
10637 for ac_exec_ext
in '' $ac_executable_extensions; do
10638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10639 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10650 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10651 if test -n "$aros_kernel_objdump"; then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10653 $as_echo "$aros_kernel_objdump" >&6; }
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10656 $as_echo "no" >&6; }
10662 if test "x${crosstools}" != "xyes" ; then
10663 if test "$aros_kernel_objcopy" = ""; then
10664 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10666 if test "$aros_kernel_objdump" = ""; then
10667 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10673 $as_echo_n "checking which target tools to use... " >&6; }
10674 if test "$crosstools" = "yes"; then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10676 $as_echo "$target_tool_prefix" >&6; }
10677 # We are are building AROS crosstools
10678 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10679 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10680 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10681 orig_target_cpp
="${tmp_tool_prefix}cpp"
10682 orig_target_ld
="${tmp_tool_prefix}ld"
10683 orig_target_as
="${tmp_tool_prefix}as"
10684 orig_target_ar
="${tmp_tool_prefix}ar"
10685 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10686 orig_target_nm
="${tmp_tool_prefix}nm"
10687 orig_target_strip
="${tmp_tool_prefix}strip"
10688 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10689 orig_target_objdump
="${tmp_tool_prefix}objdump"
10691 # Determine whether AROS or ELF tools should be used
10692 if test "$aros_tool_prefix" = "none"; then
10693 aros_tool_prefix
="${elf_tool_prefix}"
10694 crosstools_cxx_target
=tools-crosstools
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10698 $as_echo "$aros_tool_prefix" >&6; }
10699 # We are *not* building AROS crosstools - use the AROS or ELF tools
10701 if test "${aros_tool_prefix}cpp" = ""; then
10702 if test "$cross_compiling" = "yes" ; then
10703 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10704 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10706 $as_echo_n "checking for $ac_word... " >&6; }
10707 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10708 $as_echo_n "(cached) " >&6
10710 case $orig_target_cpp in
10712 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10716 for as_dir
in $PATH
10719 test -z "$as_dir" && as_dir
=.
10720 for ac_exec_ext
in '' $ac_executable_extensions; do
10721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10722 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10733 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10734 if test -n "$orig_target_cpp"; then
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10736 $as_echo "$orig_target_cpp" >&6; }
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10739 $as_echo "no" >&6; }
10744 if test "$GCC" = "yes"; then
10745 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10746 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10747 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10749 $as_echo_n "checking for $ac_word... " >&6; }
10750 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10751 $as_echo_n "(cached) " >&6
10753 case $orig_target_cpp in
10755 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10759 for as_dir
in `dirname $aros_gcc_cpp`
10762 test -z "$as_dir" && as_dir
=.
10763 for ac_exec_ext
in '' $ac_executable_extensions; do
10764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10765 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10776 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10777 if test -n "$orig_target_cpp"; then
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10779 $as_echo "$orig_target_cpp" >&6; }
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10782 $as_echo "no" >&6; }
10787 if test "$orig_target_cpp" = ""; then
10788 # Extract the first word of "cpp", so it can be a program name with args.
10789 set dummy cpp
; ac_word
=$2
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10791 $as_echo_n "checking for $ac_word... " >&6; }
10792 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10793 $as_echo_n "(cached) " >&6
10795 case $orig_target_cpp in
10797 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10801 for as_dir
in $PATH
10804 test -z "$as_dir" && as_dir
=.
10805 for ac_exec_ext
in '' $ac_executable_extensions; do
10806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10807 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10818 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10819 if test -n "$orig_target_cpp"; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10821 $as_echo "$orig_target_cpp" >&6; }
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10824 $as_echo "no" >&6; }
10831 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10832 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10834 $as_echo_n "checking for $ac_word... " >&6; }
10835 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10836 $as_echo_n "(cached) " >&6
10838 case $orig_target_cpp in
10840 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10844 for as_dir
in $PATH
10847 test -z "$as_dir" && as_dir
=.
10848 for ac_exec_ext
in '' $ac_executable_extensions; do
10849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10850 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10861 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10862 if test -n "$orig_target_cpp"; then
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10864 $as_echo "$orig_target_cpp" >&6; }
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10867 $as_echo "no" >&6; }
10873 if test "$orig_target_cpp" = ""; then
10874 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10877 if test "${aros_tool_prefix}gcc" = ""; then
10878 if test "$cross_compiling" = "yes" ; then
10879 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10880 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10882 $as_echo_n "checking for $ac_word... " >&6; }
10883 if ${ac_cv_path_orig_target_cc+:} false
; then :
10884 $as_echo_n "(cached) " >&6
10886 case $orig_target_cc in
10888 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10892 for as_dir
in $PATH
10895 test -z "$as_dir" && as_dir
=.
10896 for ac_exec_ext
in '' $ac_executable_extensions; do
10897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10898 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10909 orig_target_cc
=$ac_cv_path_orig_target_cc
10910 if test -n "$orig_target_cc"; then
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10912 $as_echo "$orig_target_cc" >&6; }
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10915 $as_echo "no" >&6; }
10920 if test "$GCC" = "yes"; then
10921 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10922 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10923 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10925 $as_echo_n "checking for $ac_word... " >&6; }
10926 if ${ac_cv_path_orig_target_cc+:} false
; then :
10927 $as_echo_n "(cached) " >&6
10929 case $orig_target_cc in
10931 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10935 for as_dir
in `dirname $aros_gcc_gcc`
10938 test -z "$as_dir" && as_dir
=.
10939 for ac_exec_ext
in '' $ac_executable_extensions; do
10940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10941 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10952 orig_target_cc
=$ac_cv_path_orig_target_cc
10953 if test -n "$orig_target_cc"; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10955 $as_echo "$orig_target_cc" >&6; }
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10958 $as_echo "no" >&6; }
10963 if test "$orig_target_cc" = ""; then
10964 # Extract the first word of "gcc", so it can be a program name with args.
10965 set dummy gcc
; ac_word
=$2
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10967 $as_echo_n "checking for $ac_word... " >&6; }
10968 if ${ac_cv_path_orig_target_cc+:} false
; then :
10969 $as_echo_n "(cached) " >&6
10971 case $orig_target_cc in
10973 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10977 for as_dir
in $PATH
10980 test -z "$as_dir" && as_dir
=.
10981 for ac_exec_ext
in '' $ac_executable_extensions; do
10982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10983 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10994 orig_target_cc
=$ac_cv_path_orig_target_cc
10995 if test -n "$orig_target_cc"; then
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10997 $as_echo "$orig_target_cc" >&6; }
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11000 $as_echo "no" >&6; }
11007 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
11008 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11010 $as_echo_n "checking for $ac_word... " >&6; }
11011 if ${ac_cv_path_orig_target_cc+:} false
; then :
11012 $as_echo_n "(cached) " >&6
11014 case $orig_target_cc in
11016 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11020 for as_dir
in $PATH
11023 test -z "$as_dir" && as_dir
=.
11024 for ac_exec_ext
in '' $ac_executable_extensions; do
11025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11026 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11037 orig_target_cc
=$ac_cv_path_orig_target_cc
11038 if test -n "$orig_target_cc"; then
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11040 $as_echo "$orig_target_cc" >&6; }
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11043 $as_echo "no" >&6; }
11049 if test "$orig_target_cc" = ""; then
11050 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11052 if test "x${crosstools_cxx_target}" = "x" ; then
11054 if test "${aros_tool_prefix}g++" = ""; then
11055 if test "$cross_compiling" = "yes" ; then
11056 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11057 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11059 $as_echo_n "checking for $ac_word... " >&6; }
11060 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11061 $as_echo_n "(cached) " >&6
11063 case $orig_target_cxx in
11065 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11069 for as_dir
in $PATH
11072 test -z "$as_dir" && as_dir
=.
11073 for ac_exec_ext
in '' $ac_executable_extensions; do
11074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11075 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11086 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11087 if test -n "$orig_target_cxx"; then
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11089 $as_echo "$orig_target_cxx" >&6; }
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11092 $as_echo "no" >&6; }
11097 if test "$GCC" = "yes"; then
11098 aros_gcc_g
++=`$CC -print-prog-name=g++`
11099 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11100 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11102 $as_echo_n "checking for $ac_word... " >&6; }
11103 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11104 $as_echo_n "(cached) " >&6
11106 case $orig_target_cxx in
11108 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11112 for as_dir
in `dirname $aros_gcc_g++`
11115 test -z "$as_dir" && as_dir
=.
11116 for ac_exec_ext
in '' $ac_executable_extensions; do
11117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11118 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11129 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11130 if test -n "$orig_target_cxx"; then
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11132 $as_echo "$orig_target_cxx" >&6; }
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11135 $as_echo "no" >&6; }
11140 if test "$orig_target_cxx" = ""; then
11141 # Extract the first word of "g++", so it can be a program name with args.
11142 set dummy g
++; ac_word
=$2
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11144 $as_echo_n "checking for $ac_word... " >&6; }
11145 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11146 $as_echo_n "(cached) " >&6
11148 case $orig_target_cxx in
11150 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11154 for as_dir
in $PATH
11157 test -z "$as_dir" && as_dir
=.
11158 for ac_exec_ext
in '' $ac_executable_extensions; do
11159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11160 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11171 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11172 if test -n "$orig_target_cxx"; then
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11174 $as_echo "$orig_target_cxx" >&6; }
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11177 $as_echo "no" >&6; }
11184 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11185 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11187 $as_echo_n "checking for $ac_word... " >&6; }
11188 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11189 $as_echo_n "(cached) " >&6
11191 case $orig_target_cxx in
11193 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11197 for as_dir
in $PATH
11200 test -z "$as_dir" && as_dir
=.
11201 for ac_exec_ext
in '' $ac_executable_extensions; do
11202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11203 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11214 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11215 if test -n "$orig_target_cxx"; then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11217 $as_echo "$orig_target_cxx" >&6; }
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11220 $as_echo "no" >&6; }
11226 if test "$orig_target_cxx" = ""; then
11227 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11231 if test "${aros_tool_prefix}ld" = ""; then
11232 if test "$cross_compiling" = "yes" ; then
11233 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11234 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11236 $as_echo_n "checking for $ac_word... " >&6; }
11237 if ${ac_cv_path_orig_target_ld+:} false
; then :
11238 $as_echo_n "(cached) " >&6
11240 case $orig_target_ld in
11242 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11246 for as_dir
in $PATH
11249 test -z "$as_dir" && as_dir
=.
11250 for ac_exec_ext
in '' $ac_executable_extensions; do
11251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11252 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11263 orig_target_ld
=$ac_cv_path_orig_target_ld
11264 if test -n "$orig_target_ld"; then
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11266 $as_echo "$orig_target_ld" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11269 $as_echo "no" >&6; }
11274 if test "$GCC" = "yes"; then
11275 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11276 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11277 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11279 $as_echo_n "checking for $ac_word... " >&6; }
11280 if ${ac_cv_path_orig_target_ld+:} false
; then :
11281 $as_echo_n "(cached) " >&6
11283 case $orig_target_ld in
11285 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11289 for as_dir
in `dirname $aros_gcc_gcc`
11292 test -z "$as_dir" && as_dir
=.
11293 for ac_exec_ext
in '' $ac_executable_extensions; do
11294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11295 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11306 orig_target_ld
=$ac_cv_path_orig_target_ld
11307 if test -n "$orig_target_ld"; then
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11309 $as_echo "$orig_target_ld" >&6; }
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11312 $as_echo "no" >&6; }
11317 if test "$orig_target_ld" = ""; then
11318 # Extract the first word of "gcc", so it can be a program name with args.
11319 set dummy gcc
; ac_word
=$2
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11321 $as_echo_n "checking for $ac_word... " >&6; }
11322 if ${ac_cv_path_orig_target_ld+:} false
; then :
11323 $as_echo_n "(cached) " >&6
11325 case $orig_target_ld in
11327 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11331 for as_dir
in $PATH
11334 test -z "$as_dir" && as_dir
=.
11335 for ac_exec_ext
in '' $ac_executable_extensions; do
11336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11337 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11348 orig_target_ld
=$ac_cv_path_orig_target_ld
11349 if test -n "$orig_target_ld"; then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11351 $as_echo "$orig_target_ld" >&6; }
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11354 $as_echo "no" >&6; }
11361 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11362 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11364 $as_echo_n "checking for $ac_word... " >&6; }
11365 if ${ac_cv_path_orig_target_ld+:} false
; then :
11366 $as_echo_n "(cached) " >&6
11368 case $orig_target_ld in
11370 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11374 for as_dir
in $PATH
11377 test -z "$as_dir" && as_dir
=.
11378 for ac_exec_ext
in '' $ac_executable_extensions; do
11379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11380 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11391 orig_target_ld
=$ac_cv_path_orig_target_ld
11392 if test -n "$orig_target_ld"; then
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11394 $as_echo "$orig_target_ld" >&6; }
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11397 $as_echo "no" >&6; }
11403 if test "$orig_target_ld" = ""; then
11404 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11407 if test "${aros_tool_prefix}as" = ""; then
11408 if test "$cross_compiling" = "yes" ; then
11409 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11410 set dummy
${target_tool_prefix}as
; ac_word
=$2
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11412 $as_echo_n "checking for $ac_word... " >&6; }
11413 if ${ac_cv_path_orig_target_as+:} false
; then :
11414 $as_echo_n "(cached) " >&6
11416 case $orig_target_as in
11418 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11422 for as_dir
in $PATH
11425 test -z "$as_dir" && as_dir
=.
11426 for ac_exec_ext
in '' $ac_executable_extensions; do
11427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11428 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11439 orig_target_as
=$ac_cv_path_orig_target_as
11440 if test -n "$orig_target_as"; then
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11442 $as_echo "$orig_target_as" >&6; }
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11445 $as_echo "no" >&6; }
11450 if test "$GCC" = "yes"; then
11451 aros_gcc_as
=`$CC -print-prog-name=as`
11452 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11453 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11455 $as_echo_n "checking for $ac_word... " >&6; }
11456 if ${ac_cv_path_orig_target_as+:} false
; then :
11457 $as_echo_n "(cached) " >&6
11459 case $orig_target_as in
11461 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11465 for as_dir
in `dirname $aros_gcc_as`
11468 test -z "$as_dir" && as_dir
=.
11469 for ac_exec_ext
in '' $ac_executable_extensions; do
11470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11471 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11482 orig_target_as
=$ac_cv_path_orig_target_as
11483 if test -n "$orig_target_as"; then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11485 $as_echo "$orig_target_as" >&6; }
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11488 $as_echo "no" >&6; }
11493 if test "$orig_target_as" = ""; then
11494 # Extract the first word of "as", so it can be a program name with args.
11495 set dummy as
; ac_word
=$2
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11497 $as_echo_n "checking for $ac_word... " >&6; }
11498 if ${ac_cv_path_orig_target_as+:} false
; then :
11499 $as_echo_n "(cached) " >&6
11501 case $orig_target_as in
11503 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11507 for as_dir
in $PATH
11510 test -z "$as_dir" && as_dir
=.
11511 for ac_exec_ext
in '' $ac_executable_extensions; do
11512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11513 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11524 orig_target_as
=$ac_cv_path_orig_target_as
11525 if test -n "$orig_target_as"; then
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11527 $as_echo "$orig_target_as" >&6; }
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11530 $as_echo "no" >&6; }
11537 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11538 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11540 $as_echo_n "checking for $ac_word... " >&6; }
11541 if ${ac_cv_path_orig_target_as+:} false
; then :
11542 $as_echo_n "(cached) " >&6
11544 case $orig_target_as in
11546 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11550 for as_dir
in $PATH
11553 test -z "$as_dir" && as_dir
=.
11554 for ac_exec_ext
in '' $ac_executable_extensions; do
11555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11556 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11567 orig_target_as
=$ac_cv_path_orig_target_as
11568 if test -n "$orig_target_as"; then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11570 $as_echo "$orig_target_as" >&6; }
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573 $as_echo "no" >&6; }
11579 if test "$orig_target_as" = ""; then
11580 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11583 if test "${aros_tool_prefix}ar" = ""; then
11584 if test "$cross_compiling" = "yes" ; then
11585 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11586 set dummy
${target_tool_prefix}ar; ac_word
=$2
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11588 $as_echo_n "checking for $ac_word... " >&6; }
11589 if ${ac_cv_path_orig_target_ar+:} false
; then :
11590 $as_echo_n "(cached) " >&6
11592 case $orig_target_ar in
11594 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11598 for as_dir
in $PATH
11601 test -z "$as_dir" && as_dir
=.
11602 for ac_exec_ext
in '' $ac_executable_extensions; do
11603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11604 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11615 orig_target_ar
=$ac_cv_path_orig_target_ar
11616 if test -n "$orig_target_ar"; then
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11618 $as_echo "$orig_target_ar" >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11621 $as_echo "no" >&6; }
11626 if test "$GCC" = "yes"; then
11627 aros_gcc_ar
=`$CC -print-prog-name=ar`
11628 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11629 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11631 $as_echo_n "checking for $ac_word... " >&6; }
11632 if ${ac_cv_path_orig_target_ar+:} false
; then :
11633 $as_echo_n "(cached) " >&6
11635 case $orig_target_ar in
11637 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11641 for as_dir
in `dirname $aros_gcc_ar`
11644 test -z "$as_dir" && as_dir
=.
11645 for ac_exec_ext
in '' $ac_executable_extensions; do
11646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11647 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11658 orig_target_ar
=$ac_cv_path_orig_target_ar
11659 if test -n "$orig_target_ar"; then
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11661 $as_echo "$orig_target_ar" >&6; }
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11664 $as_echo "no" >&6; }
11669 if test "$orig_target_ar" = ""; then
11670 # Extract the first word of "ar", so it can be a program name with args.
11671 set dummy
ar; ac_word
=$2
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11673 $as_echo_n "checking for $ac_word... " >&6; }
11674 if ${ac_cv_path_orig_target_ar+:} false
; then :
11675 $as_echo_n "(cached) " >&6
11677 case $orig_target_ar in
11679 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11683 for as_dir
in $PATH
11686 test -z "$as_dir" && as_dir
=.
11687 for ac_exec_ext
in '' $ac_executable_extensions; do
11688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11689 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11700 orig_target_ar
=$ac_cv_path_orig_target_ar
11701 if test -n "$orig_target_ar"; then
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11703 $as_echo "$orig_target_ar" >&6; }
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11706 $as_echo "no" >&6; }
11713 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11714 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11716 $as_echo_n "checking for $ac_word... " >&6; }
11717 if ${ac_cv_path_orig_target_ar+:} false
; then :
11718 $as_echo_n "(cached) " >&6
11720 case $orig_target_ar in
11722 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11726 for as_dir
in $PATH
11729 test -z "$as_dir" && as_dir
=.
11730 for ac_exec_ext
in '' $ac_executable_extensions; do
11731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11732 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11743 orig_target_ar
=$ac_cv_path_orig_target_ar
11744 if test -n "$orig_target_ar"; then
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11746 $as_echo "$orig_target_ar" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749 $as_echo "no" >&6; }
11755 if test "$orig_target_ar" = ""; then
11756 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11759 if test "${aros_tool_prefix}ranlib" = ""; then
11760 if test "$cross_compiling" = "yes" ; then
11761 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11762 set dummy
${target_tool_prefix}ar; ac_word
=$2
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11764 $as_echo_n "checking for $ac_word... " >&6; }
11765 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11766 $as_echo_n "(cached) " >&6
11768 case $orig_target_ranlib in
11770 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11774 for as_dir
in $PATH
11777 test -z "$as_dir" && as_dir
=.
11778 for ac_exec_ext
in '' $ac_executable_extensions; do
11779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11780 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11792 if test -n "$orig_target_ranlib"; then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11794 $as_echo "$orig_target_ranlib" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11797 $as_echo "no" >&6; }
11802 if test "$GCC" = "yes"; then
11803 aros_gcc_ar
=`$CC -print-prog-name=ar`
11804 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11805 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11807 $as_echo_n "checking for $ac_word... " >&6; }
11808 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11809 $as_echo_n "(cached) " >&6
11811 case $orig_target_ranlib in
11813 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11817 for as_dir
in `dirname $aros_gcc_ar`
11820 test -z "$as_dir" && as_dir
=.
11821 for ac_exec_ext
in '' $ac_executable_extensions; do
11822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11823 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11834 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11835 if test -n "$orig_target_ranlib"; then
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11837 $as_echo "$orig_target_ranlib" >&6; }
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11840 $as_echo "no" >&6; }
11845 if test "$orig_target_ranlib" = ""; then
11846 # Extract the first word of "ar", so it can be a program name with args.
11847 set dummy
ar; ac_word
=$2
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11849 $as_echo_n "checking for $ac_word... " >&6; }
11850 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11851 $as_echo_n "(cached) " >&6
11853 case $orig_target_ranlib in
11855 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11859 for as_dir
in $PATH
11862 test -z "$as_dir" && as_dir
=.
11863 for ac_exec_ext
in '' $ac_executable_extensions; do
11864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11865 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11876 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11877 if test -n "$orig_target_ranlib"; then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11879 $as_echo "$orig_target_ranlib" >&6; }
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11882 $as_echo "no" >&6; }
11889 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11890 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11892 $as_echo_n "checking for $ac_word... " >&6; }
11893 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11894 $as_echo_n "(cached) " >&6
11896 case $orig_target_ranlib in
11898 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11902 for as_dir
in $PATH
11905 test -z "$as_dir" && as_dir
=.
11906 for ac_exec_ext
in '' $ac_executable_extensions; do
11907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11908 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11919 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11920 if test -n "$orig_target_ranlib"; then
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11922 $as_echo "$orig_target_ranlib" >&6; }
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11925 $as_echo "no" >&6; }
11931 if test "$orig_target_ranlib" = ""; then
11932 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11935 if test "${aros_tool_prefix}nm" = ""; then
11936 if test "$cross_compiling" = "yes" ; then
11937 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11938 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11940 $as_echo_n "checking for $ac_word... " >&6; }
11941 if ${ac_cv_path_orig_target_nm+:} false
; then :
11942 $as_echo_n "(cached) " >&6
11944 case $orig_target_nm in
11946 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11950 for as_dir
in $PATH
11953 test -z "$as_dir" && as_dir
=.
11954 for ac_exec_ext
in '' $ac_executable_extensions; do
11955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11956 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11967 orig_target_nm
=$ac_cv_path_orig_target_nm
11968 if test -n "$orig_target_nm"; then
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11970 $as_echo "$orig_target_nm" >&6; }
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11973 $as_echo "no" >&6; }
11978 if test "$GCC" = "yes"; then
11979 aros_gcc_nm
=`$CC -print-prog-name=nm`
11980 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11981 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11983 $as_echo_n "checking for $ac_word... " >&6; }
11984 if ${ac_cv_path_orig_target_nm+:} false
; then :
11985 $as_echo_n "(cached) " >&6
11987 case $orig_target_nm in
11989 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11993 for as_dir
in `dirname $aros_gcc_nm`
11996 test -z "$as_dir" && as_dir
=.
11997 for ac_exec_ext
in '' $ac_executable_extensions; do
11998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11999 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12010 orig_target_nm
=$ac_cv_path_orig_target_nm
12011 if test -n "$orig_target_nm"; then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12013 $as_echo "$orig_target_nm" >&6; }
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12016 $as_echo "no" >&6; }
12021 if test "$orig_target_nm" = ""; then
12022 # Extract the first word of "nm", so it can be a program name with args.
12023 set dummy nm
; ac_word
=$2
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12025 $as_echo_n "checking for $ac_word... " >&6; }
12026 if ${ac_cv_path_orig_target_nm+:} false
; then :
12027 $as_echo_n "(cached) " >&6
12029 case $orig_target_nm in
12031 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12035 for as_dir
in $PATH
12038 test -z "$as_dir" && as_dir
=.
12039 for ac_exec_ext
in '' $ac_executable_extensions; do
12040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12041 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12052 orig_target_nm
=$ac_cv_path_orig_target_nm
12053 if test -n "$orig_target_nm"; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12055 $as_echo "$orig_target_nm" >&6; }
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12058 $as_echo "no" >&6; }
12065 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12066 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12068 $as_echo_n "checking for $ac_word... " >&6; }
12069 if ${ac_cv_path_orig_target_nm+:} false
; then :
12070 $as_echo_n "(cached) " >&6
12072 case $orig_target_nm in
12074 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12078 for as_dir
in $PATH
12081 test -z "$as_dir" && as_dir
=.
12082 for ac_exec_ext
in '' $ac_executable_extensions; do
12083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12084 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12095 orig_target_nm
=$ac_cv_path_orig_target_nm
12096 if test -n "$orig_target_nm"; then
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12098 $as_echo "$orig_target_nm" >&6; }
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }
12107 if test "$orig_target_nm" = ""; then
12108 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12111 if test "${aros_tool_prefix}strip" = ""; then
12112 if test "$cross_compiling" = "yes" ; then
12113 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12114 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12116 $as_echo_n "checking for $ac_word... " >&6; }
12117 if ${ac_cv_path_orig_target_strip+:} false
; then :
12118 $as_echo_n "(cached) " >&6
12120 case $orig_target_strip in
12122 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12126 for as_dir
in $PATH
12129 test -z "$as_dir" && as_dir
=.
12130 for ac_exec_ext
in '' $ac_executable_extensions; do
12131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12132 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12143 orig_target_strip
=$ac_cv_path_orig_target_strip
12144 if test -n "$orig_target_strip"; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12146 $as_echo "$orig_target_strip" >&6; }
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12149 $as_echo "no" >&6; }
12154 if test "$GCC" = "yes"; then
12155 aros_gcc_strip
=`$CC -print-prog-name=strip`
12156 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12157 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12159 $as_echo_n "checking for $ac_word... " >&6; }
12160 if ${ac_cv_path_orig_target_strip+:} false
; then :
12161 $as_echo_n "(cached) " >&6
12163 case $orig_target_strip in
12165 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12169 for as_dir
in `dirname $aros_gcc_strip`
12172 test -z "$as_dir" && as_dir
=.
12173 for ac_exec_ext
in '' $ac_executable_extensions; do
12174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12175 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12186 orig_target_strip
=$ac_cv_path_orig_target_strip
12187 if test -n "$orig_target_strip"; then
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12189 $as_echo "$orig_target_strip" >&6; }
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12192 $as_echo "no" >&6; }
12197 if test "$orig_target_strip" = ""; then
12198 # Extract the first word of "strip", so it can be a program name with args.
12199 set dummy strip
; ac_word
=$2
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12201 $as_echo_n "checking for $ac_word... " >&6; }
12202 if ${ac_cv_path_orig_target_strip+:} false
; then :
12203 $as_echo_n "(cached) " >&6
12205 case $orig_target_strip in
12207 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12211 for as_dir
in $PATH
12214 test -z "$as_dir" && as_dir
=.
12215 for ac_exec_ext
in '' $ac_executable_extensions; do
12216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12217 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12228 orig_target_strip
=$ac_cv_path_orig_target_strip
12229 if test -n "$orig_target_strip"; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12231 $as_echo "$orig_target_strip" >&6; }
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12234 $as_echo "no" >&6; }
12241 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12242 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12244 $as_echo_n "checking for $ac_word... " >&6; }
12245 if ${ac_cv_path_orig_target_strip+:} false
; then :
12246 $as_echo_n "(cached) " >&6
12248 case $orig_target_strip in
12250 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12254 for as_dir
in $PATH
12257 test -z "$as_dir" && as_dir
=.
12258 for ac_exec_ext
in '' $ac_executable_extensions; do
12259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12260 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12271 orig_target_strip
=$ac_cv_path_orig_target_strip
12272 if test -n "$orig_target_strip"; then
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12274 $as_echo "$orig_target_strip" >&6; }
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12277 $as_echo "no" >&6; }
12283 if test "$orig_target_strip" = ""; then
12284 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12287 if test "${aros_tool_prefix}objcopy" = ""; then
12288 if test "$cross_compiling" = "yes" ; then
12289 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12290 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12292 $as_echo_n "checking for $ac_word... " >&6; }
12293 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12294 $as_echo_n "(cached) " >&6
12296 case $orig_target_objcopy in
12298 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12302 for as_dir
in $PATH
12305 test -z "$as_dir" && as_dir
=.
12306 for ac_exec_ext
in '' $ac_executable_extensions; do
12307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12308 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12319 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12320 if test -n "$orig_target_objcopy"; then
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12322 $as_echo "$orig_target_objcopy" >&6; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12325 $as_echo "no" >&6; }
12330 if test "$GCC" = "yes"; then
12331 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12332 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12333 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12335 $as_echo_n "checking for $ac_word... " >&6; }
12336 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12337 $as_echo_n "(cached) " >&6
12339 case $orig_target_objcopy in
12341 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12345 for as_dir
in `dirname $aros_gcc_objcopy`
12348 test -z "$as_dir" && as_dir
=.
12349 for ac_exec_ext
in '' $ac_executable_extensions; do
12350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12351 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12362 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12363 if test -n "$orig_target_objcopy"; then
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12365 $as_echo "$orig_target_objcopy" >&6; }
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12368 $as_echo "no" >&6; }
12373 if test "$orig_target_objcopy" = ""; then
12374 # Extract the first word of "objcopy", so it can be a program name with args.
12375 set dummy objcopy
; ac_word
=$2
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12377 $as_echo_n "checking for $ac_word... " >&6; }
12378 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12379 $as_echo_n "(cached) " >&6
12381 case $orig_target_objcopy in
12383 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12387 for as_dir
in $PATH
12390 test -z "$as_dir" && as_dir
=.
12391 for ac_exec_ext
in '' $ac_executable_extensions; do
12392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12393 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12404 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12405 if test -n "$orig_target_objcopy"; then
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12407 $as_echo "$orig_target_objcopy" >&6; }
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12410 $as_echo "no" >&6; }
12417 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12418 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12420 $as_echo_n "checking for $ac_word... " >&6; }
12421 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12422 $as_echo_n "(cached) " >&6
12424 case $orig_target_objcopy in
12426 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12430 for as_dir
in $PATH
12433 test -z "$as_dir" && as_dir
=.
12434 for ac_exec_ext
in '' $ac_executable_extensions; do
12435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12436 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12447 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12448 if test -n "$orig_target_objcopy"; then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12450 $as_echo "$orig_target_objcopy" >&6; }
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12453 $as_echo "no" >&6; }
12459 if test "$orig_target_objcopy" = ""; then
12460 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12463 if test "${aros_tool_prefix}objdump" = ""; then
12464 if test "$cross_compiling" = "yes" ; then
12465 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12466 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12468 $as_echo_n "checking for $ac_word... " >&6; }
12469 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12470 $as_echo_n "(cached) " >&6
12472 case $orig_target_objdump in
12474 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12478 for as_dir
in $PATH
12481 test -z "$as_dir" && as_dir
=.
12482 for ac_exec_ext
in '' $ac_executable_extensions; do
12483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12484 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12495 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12496 if test -n "$orig_target_objdump"; then
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12498 $as_echo "$orig_target_objdump" >&6; }
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12501 $as_echo "no" >&6; }
12506 if test "$GCC" = "yes"; then
12507 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12508 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12509 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12511 $as_echo_n "checking for $ac_word... " >&6; }
12512 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12513 $as_echo_n "(cached) " >&6
12515 case $orig_target_objdump in
12517 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12521 for as_dir
in `dirname $aros_gcc_objdump`
12524 test -z "$as_dir" && as_dir
=.
12525 for ac_exec_ext
in '' $ac_executable_extensions; do
12526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12527 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12538 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12539 if test -n "$orig_target_objdump"; then
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12541 $as_echo "$orig_target_objdump" >&6; }
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12544 $as_echo "no" >&6; }
12549 if test "$orig_target_objdump" = ""; then
12550 # Extract the first word of "objdump", so it can be a program name with args.
12551 set dummy objdump
; ac_word
=$2
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12553 $as_echo_n "checking for $ac_word... " >&6; }
12554 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12555 $as_echo_n "(cached) " >&6
12557 case $orig_target_objdump in
12559 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12563 for as_dir
in $PATH
12566 test -z "$as_dir" && as_dir
=.
12567 for ac_exec_ext
in '' $ac_executable_extensions; do
12568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12569 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12580 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12581 if test -n "$orig_target_objdump"; then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12583 $as_echo "$orig_target_objdump" >&6; }
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12586 $as_echo "no" >&6; }
12593 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12594 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12596 $as_echo_n "checking for $ac_word... " >&6; }
12597 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12598 $as_echo_n "(cached) " >&6
12600 case $orig_target_objdump in
12602 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12606 for as_dir
in $PATH
12609 test -z "$as_dir" && as_dir
=.
12610 for ac_exec_ext
in '' $ac_executable_extensions; do
12611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12612 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12623 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12624 if test -n "$orig_target_objdump"; then
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12626 $as_echo "$orig_target_objdump" >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12629 $as_echo "no" >&6; }
12635 if test "$orig_target_objdump" = ""; then
12636 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12640 if test "$kernel_tool_prefix" = "none" ; then
12641 # No kernel tools specified
12642 # Assume target tools == kernel tools with ELF wrapper
12643 aros_kernel_cc
=$orig_target_cc
12644 aros_kernel_cxx
=$orig_target_cxx
12645 aros_kernel_cpp
=$orig_target_cpp
12646 aros_kernel_ld
=$orig_target_ld
12647 aros_kernel_as
=$orig_target_as
12648 aros_kernel_ar
=$orig_target_ar
12649 aros_kernel_ranlib
=$orig_target_ranlib
12650 aros_kernel_nm
=$orig_target_nm
12651 aros_kernel_strip
=$orig_target_strip
12652 aros_kernel_objcopy
=$orig_target_objcopy
12653 aros_kernel_objdump
=$orig_target_objdump
12654 use_kernel_cc_wrapper
=yes
12657 # At this point, all aros_kernel_* and aros_target_*
12658 # tools should be set up correctly
12660 CC
="$aros_kernel_cc $kernel_tool_flags"
12661 CPP
="$aros_kernel_cpp"
12663 #-----------------------------------------------------------------------------
12665 # Disable pointer-signedness warnings if the compiler recognises the option
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12668 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12669 save_cflags
="$CFLAGS"
12670 if test "$crosstools" != "yes" ; then
12671 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12683 if ac_fn_c_try_compile
"$LINENO"; then :
12684 use_no_sign_warning
="yes"
12686 use_no_sign_warning
="no"
12688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12690 # we do know it is supported for the smallest version of gcc we are going to build
12691 # we assume it's also supported by later versions
12692 use_no_sign_warning
=yes
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12695 $as_echo "$use_no_sign_warning" >&6; }
12696 if test "x-$use_no_sign_warning" = "x-yes" ; then
12697 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12699 CFLAGS
="$save_cflags"
12701 #-----------------------------------------------------------------------------
12703 # Find all the tools we need to compile. This could be cross-compiling
12704 # though! If that is the case we use the GNU form of the target and
12705 # simply add this to the front of the binary name. This is rather simple,
12706 # but it should work under most circumstances.
12708 # The default tools are to use the same as the host, but only if the
12709 # host and target CPU are the same. With GCC this is normally enough.
12713 aros_shared_ld
="$aros_host_ld"
12715 aros_target_mkdep
="$aros_host_mkdep"
12717 # The default tools executables to be linked to.
12718 if test "$rescomp" != ""; then
12719 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12720 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12722 $as_echo_n "checking for $ac_word... " >&6; }
12723 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12724 $as_echo_n "(cached) " >&6
12726 case $aros_kernel_rescomp in
12728 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12732 for as_dir
in $PATH
12735 test -z "$as_dir" && as_dir
=.
12736 for ac_exec_ext
in '' $ac_executable_extensions; do
12737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12738 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12749 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12750 if test -n "$aros_kernel_rescomp"; then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12752 $as_echo "$aros_kernel_rescomp" >&6; }
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12759 if test "$aros_kernel_rescomp" = ""; then
12760 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12764 # Set up the sources for the symlink farm
12765 if test "$crosstools" = "yes"; then
12766 crosstools_target
=tools-crosstools
12769 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12770 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12773 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12774 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12775 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12776 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12777 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12778 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12779 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12781 # aros_cc_pre is a variable that is added to the front of the compiler name
12782 # in the generated aros-gcc shell script. We need this to enable the cache
12783 # to work across cleaned builds. Also, support DISTCC using the correct
12784 # environment variable.
12787 if test "x${DISTCC}" != "x" ; then
12788 if test "x${CCACHE}" != "x" ; then
12789 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12791 aros_cc_pre
="${DISTCC} "
12794 if test "x${CCACHE}" != "x" ; then
12795 aros_cc_pre
="${CCACHE} "
12799 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12801 aros_target_nostdinc_cflags
=-nostdinc
12803 aros_target_nostartup_ldflags
=-nostartfiles
12805 aros_target_nix_ldflags
=-nix
12807 aros_target_detach_ldflags
=-detach
12809 aros_target_nostdlib_ldflags
=-nostdlib
12813 if test "$crosstools" != "yes"; then
12814 if test "$GCC" = "yes"; then
12815 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12818 # We do not know which gcc version we are going to build and what we need to know
12819 # here is different for different versions so this will be set later during the
12820 # build of crosstools.
12821 aros_target_cc_path
=@aros_target_cc_path@
12823 aros_target_cpp
="${prefix}cpp"
12824 aros_target_cc
="${prefix}gcc"
12825 aros_target_cxx
="${prefix}g++"
12826 aros_target_as
="${prefix}as"
12827 aros_target_ld
="${prefix}ld"
12828 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12829 aros_target_objcopy
="${prefix}objcopy"
12830 aros_target_objdump
="${prefix}objdump"
12831 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12832 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12833 aros_target_strip
="${prefix}strip"
12834 aros_plain_nm
="${prefix}nm"
12835 aros_plain_ar
="${prefix}ar"
12837 # Check whether --enable-includes was given.
12838 if test "${enable_includes+set}" = set; then :
12839 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12841 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12845 if test "$aros_kernel_includes" = ""; then
12846 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12847 aros_kernel_includes
="-isystem $aros_target_incl"
12851 if test "$aros_kernel_includes" != "" ; then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12853 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12854 if test "$aros_kernel_cc_includes" = "" ; then
12855 # Try to guess where the directory is.
12856 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12857 if test -d $aros_kernel_cc_includes; then
12858 # Check if there is also an include-fixed directory and add it
12859 # to kernel compiler's include path as it may contain some of
12860 # the headers we need.
12861 if test -d "$aros_kernel_cc_includes"-fixed; then
12862 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12864 # Check for specific includes directory. Neede for Ubuntu 11.10
12865 if test -d "/usr/include/i386-linux-gnu"; then
12866 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12869 # The directory doesn't exist, we need to do some more work.
12870 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12872 # These are the headers we're looking for.
12873 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12874 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12878 for h
in $headers; do
12879 # Which other headers are needed by each of the above?
12880 deps
=$
(echo "#include <$h>" | \
12881 $aros_kernel_cc -E -M - 2>/dev
/null | \
12882 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12884 # Copy all the needed headers to a directory beneath gendir.
12887 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12888 sed -n "s,^.*/include\(/.*\),\1,p")
12889 ! test -d $dir && mkdir
-p $dir
12890 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
12896 $as_echo "$aros_kernel_cc_includes" >&6; }
12897 # Adding -nostdinc to kernel includes as they are always used together.
12898 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12901 if test "$crosstools" != "yes"; then
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
12903 $as_echo_n "checking for the target compiler's include path... " >&6; }
12904 if test "$aros_target_cc_includes" = "" ; then
12905 #try to guess where the directory is
12906 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12907 if ! test -d $aros_target_cc_includes; then
12908 #the directory doesn't exist, we need to do some more work
12909 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12911 #these are the headers we're looking for
12912 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12913 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12917 for h
in $headers; do
12918 #which other headers each of the above headers needs?
12919 deps
=$
(echo "#include <$h>" | \
12920 $orig_target_cc -E -M - 2>/dev
/null | \
12921 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12923 #copy all the needed headers to a directory beneath gendir
12926 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12927 sed -n "s,^.*/include\(/.*\),\1,p")
12928 ! test -d $dir && mkdir
-p $dir
12929 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
12935 $as_echo "$aros_target_cc_includes" >&6; }
12937 # We do not know which gcc version we are going to build and what we need to know
12938 # here is different for different versions so this will be set later during the
12939 # build of crosstools.
12940 aros_target_cc_includes
=@aros_target_cc_includes@
12944 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12945 # On GCC >= 4.0 -iquote should be used
12949 save_cflags
="$CFLAGS"
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
12952 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
12953 if test "x-$crosstools" != "x-yes"; then
12954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12965 if ac_fn_c_try_compile
"$LINENO"; then :
12970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12972 # we do know it is supported for the smallest version of gcc we are going to build
12973 # we assume it's also supported by later versions
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
12977 $as_echo "$has_iquote" >&6; }
12978 if test "x-$has_iquote" = "x-yes" ; then
12979 host_cflags_iquote
=-iquote
12980 host_cflags_iquote_end
=
12982 host_cflags_iquote
=-I
12983 host_cflags_iquote_end
=-I-
12985 kernel_cflags_iquote
=$host_cflags_iquote
12986 kernel_cflags_iquote_end
=$host_cflags_iquote_end
12987 if test "x-$cross_compiling" = "x-yes"; then
12988 CC
="$aros_kernel_cc"
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
12990 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
12991 if test "x-$crosstools" != "x-yes"; then
12992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12993 /* end confdefs.h. */
13003 if ac_fn_c_try_compile
"$LINENO"; then :
13004 use_no_stack_protector
="yes"
13006 use_no_stack_protector
="no"
13008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13010 # we do know it is supported for the smallest version of gcc we are going to build
13011 # we assume it's also supported by later versions
13012 use_no_stack_protector
=yes
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13015 $as_echo "$use_no_stack_protector" >&6; }
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13017 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13018 if test "x-$crosstools" != "x-yes"; then
13019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13030 if ac_fn_c_try_compile
"$LINENO"; then :
13035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13037 # we do know it is supported for the smallest version of gcc we are going to build
13038 # we assume it's also supported by later versions
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13042 $as_echo "$has_iquote" >&6; }
13043 if test "x-$has_iquote" = "x-yes" ; then
13044 kernel_cflags_iquote
=-iquote
13045 kernel_cflags_iquote_end
=
13047 kernel_cflags_iquote
=-I
13048 kernel_cflags_iquote_end
=-I-
13051 aros_cflags_iquote
=$kernel_cflags_iquote
13052 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13053 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13054 CC
="$orig_target_cc"
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13056 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13057 if test "x-$crosstools" != "x-yes"; then
13058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13069 if ac_fn_c_try_compile
"$LINENO"; then :
13074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13076 # we do know it is supported for the smallest version of gcc we are going to build
13077 # we assume it's also supported by later versions
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13081 $as_echo "$has_iquote" >&6; }
13082 if test "x-$has_iquote" = "x-yes" ; then
13083 aros_cflags_iquote
=-iquote
13084 aros_cflags_iquote_end
=
13086 aros_cflags_iquote
=-I
13087 aros_cflags_iquote_end
=-I-
13090 if test "x-$use_no_stack_protector" = "x-yes" ; then
13091 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13095 #-----------------------------------------------------------------------------
13097 # Check if the target compiler supports some options used for delinting:
13098 # -Wunused-but-set-variable
13101 # -Wstrict-overflow
13102 # -Wformat-security
13104 if test "x-$crosstools" != "x-yes"; then
13105 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13106 CC
="$orig_target_cc"
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13109 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13110 CFLAGS
=-Wunused-but-set-variable
13111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13122 if ac_fn_c_try_compile
"$LINENO"; then :
13123 aros_unused_but_set_variable
="yes"
13125 aros_unused_but_set_variable
="no"
13127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13129 $as_echo "$aros_unused_but_set_variable" >&6; }
13130 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13131 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13135 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13136 CFLAGS
=-Warray-bounds
13137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13138 /* end confdefs.h. */
13148 if ac_fn_c_try_compile
"$LINENO"; then :
13149 aros_array_bounds
="yes"
13151 aros_array_bounds
="no"
13153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13155 $as_echo "$aros_array_bounds" >&6; }
13156 if test "x-$aros_array_bounds" = "x-yes" ; then
13157 aros_cflags_array_bounds
=-Wno-array-bounds
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13161 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13162 CFLAGS
=-Wenum-compare
13163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13174 if ac_fn_c_try_compile
"$LINENO"; then :
13175 aros_enum_compare
="yes"
13177 aros_enum_compare
="no"
13179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13181 $as_echo "$aros_enum_compare" >&6; }
13182 if test "x-$aros_enum_compare" = "x-yes" ; then
13183 aros_cflags_enum_compare
=-Wno-enum-compare
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13187 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13188 CFLAGS
=-Wstrict-overflow
13189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13200 if ac_fn_c_try_compile
"$LINENO"; then :
13201 aros_strict_overflow
="yes"
13203 aros_strict_overflow
="no"
13205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13207 $as_echo "$aros_strict_overflow" >&6; }
13208 if test "x-$aros_strict_overflow" = "x-yes" ; then
13209 aros_cflags_strict_overflow
=-Wno-strict-overflow
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13213 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13214 CFLAGS
=-Wformat-security
13215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13216 /* end confdefs.h. */
13226 if ac_fn_c_try_compile
"$LINENO"; then :
13227 aros_format_security
="yes"
13229 aros_format_security
="no"
13231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13233 $as_echo "$aros_format_security" >&6; }
13234 if test "x-$aros_format_security" = "x-yes" ; then
13235 aros_cflags_format_security
=-Wno-format-security
13238 # We do not know which gcc version we are going to build and what we need to know
13239 # here is different for different versions so this will be set later during the
13240 # build of crosstools.
13241 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13242 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13243 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13244 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13245 aros_cflags_format_security
=@aros_cflags_format_security@
13248 #-----------------------------------------------------------------------------
13250 # Check if we can explicitly choose older version of symbol hashing
13252 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13253 CC
="$aros_kernel_cc"
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13255 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13267 if ac_fn_c_try_link
"$LINENO"; then :
13268 use_hash_style
="yes"
13270 use_hash_style
="no"
13272 rm -f core conftest.err conftest.
$ac_objext \
13273 conftest
$ac_exeext conftest.
$ac_ext
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13275 $as_echo "$use_hash_style" >&6; }
13276 if test "x-$use_hash_style" = "x-yes" ; then
13277 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13280 CFLAGS
="$save_cflags"
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13291 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13293 # Check whether --with-resolution was given.
13294 if test "${with_resolution+set}" = set; then :
13295 withval
=$with_resolution; resolution
=$withval
13300 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13301 if test "$resolution" = "yes" ; then
13304 if test "$resolution" = "no" ; then
13307 if test "$resolution" != "none" ; then
13308 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13309 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13310 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13313 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13314 aros_cv_default_wbwidth
=$aros_default_wbwidth
13315 aros_cv_default_wbheight
=$aros_default_wbheight
13316 aros_cv_default_wbdepth
=$aros_default_wbdepth
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13319 $as_echo_n "checking if serial debug is enabled... " >&6; }
13321 # Check whether --with-serial-debug was given.
13322 if test "${with_serial_debug+set}" = set; then :
13323 withval
=$with_serial_debug; serial_debug
=$withval
13328 if test "$aros_serial_debug" = 0 ; then
13329 serial_debug_forced
=""
13330 if test "$serial_debug" = "yes" ; then
13333 if test "$serial_debug" = "no" ; then
13334 serial_debug
="none"
13337 serial_debug_forced
="(forced)"
13338 serial_debug
=$aros_serial_debug
13340 if test "$serial_debug" != "none" ; then
13341 aros_serial_debug
=$serial_debug
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13343 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13346 $as_echo "no" >&6; }
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13350 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13351 # Check whether --enable-palm_debug_hack was given.
13352 if test "${enable_palm_debug_hack+set}" = set; then :
13353 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13355 palm_debug_hack
="no"
13358 if test "$palm_debug_hack" = "yes" ; then
13359 aros_palm_debug_hack
="1"
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13362 $as_echo "$palm_debug_hack" >&6; }
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13365 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13366 # Check whether --enable-nesting_supervisor was given.
13367 if test "${enable_nesting_supervisor+set}" = set; then :
13368 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13370 nesting_supervisor
="no"
13373 if test "$nesting_supervisor" = "yes" ; then
13374 aros_nesting_supervisor
="1"
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13377 $as_echo "$nesting_supervisor" >&6; }
13379 if test "$aros_enable_mmu" = "" ; then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13381 $as_echo_n "checking if MMU support is enabled... " >&6; }
13382 # Check whether --enable-mmu was given.
13383 if test "${enable_mmu+set}" = set; then :
13384 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13386 aros_enable_mmu
="yes"
13389 if test "$aros_enable_mmu" = "" ; then
13390 aros_enable_mmu
="yes"
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13393 $as_echo "$aros_enable_mmu" >&6; }
13395 if test "$aros_enable_mmu" = "no" ; then
13396 aros_enable_mmu
="0"
13398 aros_enable_mmu
="1"
13402 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13404 if test "x-$need_dlopen" != "x-no" ; then
13405 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13406 if test "x$ac_cv_func_dlopen" = xyes
; then :
13412 if test "x-$have_dl" = "x-no" ; then
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13414 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13415 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13416 $as_echo_n "(cached) " >&6
13418 ac_check_lib_save_LIBS
=$LIBS
13420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13438 if ac_fn_c_try_link
"$LINENO"; then :
13439 ac_cv_lib_dl_dlopen
=yes
13441 ac_cv_lib_dl_dlopen
=no
13443 rm -f core conftest.err conftest.
$ac_objext \
13444 conftest
$ac_exeext conftest.
$ac_ext
13445 LIBS
=$ac_check_lib_save_LIBS
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13448 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13449 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13451 aros_host_ldflags
="$aros_host_ldflags -ldl"
13457 if test "x-$have_dl" = "x-no" ; then
13458 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13463 # Check whether --enable-x11_hidd was given.
13464 if test "${enable_x11_hidd+set}" = set; then :
13465 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13467 x11_hidd
="$need_x11"
13470 case "x-$x11_hidd" in
13471 x-yes|x-no|x-auto
) ;;
13472 *) x11_hidd
="$need_x11" ;;
13477 if test "x-$x11_hidd" != "x-no" ; then
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13480 $as_echo_n "checking for X... " >&6; }
13483 # Check whether --with-x was given.
13484 if test "${with_x+set}" = set; then :
13488 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13489 if test "x$with_x" = xno
; then
13490 # The user explicitly disabled X.
13493 case $x_includes,$x_libraries in #(
13494 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13495 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13496 $as_echo_n "(cached) " >&6
13498 # One or both of the vars are not set, and there is no cached value.
13499 ac_x_includes
=no ac_x_libraries
=no
13500 rm -f -r conftest.dir
13501 if mkdir conftest.dir
; then
13503 cat >Imakefile
<<'_ACEOF'
13505 @echo incroot='${INCROOT}'
13507 @echo usrlibdir='${USRLIBDIR}'
13509 @echo libdir='${LIBDIR}'
13511 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13512 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13513 for ac_var
in incroot usrlibdir libdir
; do
13514 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13516 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13517 for ac_extension
in a so sl dylib la dll
; do
13518 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13519 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13520 ac_im_usrlibdir
=$ac_im_libdir; break
13523 # Screen out bogus values from the imake configuration. They are
13524 # bogus both because they are the default anyway, and because
13525 # using them would break gcc on systems where it needs fixed includes.
13526 case $ac_im_incroot in
13527 /usr
/include
) ac_x_includes
= ;;
13528 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13530 case $ac_im_usrlibdir in
13531 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13532 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13536 rm -f -r conftest.dir
13539 # Standard set of common directories for X headers.
13540 # Check X11 before X11Rn because it is often a symlink to the current release.
13554 /usr/local/X11/include
13555 /usr/local/X11R7/include
13556 /usr/local/X11R6/include
13557 /usr/local/X11R5/include
13558 /usr/local/X11R4/include
13560 /usr/local/include/X11
13561 /usr/local/include/X11R7
13562 /usr/local/include/X11R6
13563 /usr/local/include/X11R5
13564 /usr/local/include/X11R4
13568 /usr/XFree86/include/X11
13572 /usr/unsupported/include
13573 /usr/athena/include
13574 /usr/local/x11r5/include
13575 /usr/lpp/Xamples/include
13577 /usr/openwin/include
13578 /usr/openwin/share/include'
13580 if test "$ac_x_includes" = no
; then
13581 # Guess where to find include files, by looking for Xlib.h.
13582 # First, try using that file with no special directory specified.
13583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13585 #include <X11/Xlib.h>
13587 if ac_fn_c_try_cpp
"$LINENO"; then :
13588 # We can compile using X headers with no special include directory.
13591 for ac_dir
in $ac_x_header_dirs; do
13592 if test -r "$ac_dir/X11/Xlib.h"; then
13593 ac_x_includes
=$ac_dir
13598 rm -f conftest.err conftest.i conftest.
$ac_ext
13599 fi # $ac_x_includes = no
13601 if test "$ac_x_libraries" = no
; then
13602 # Check for the libraries.
13603 # See if we find them without any special options.
13604 # Don't add to $LIBS permanently.
13607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h. */
13609 #include <X11/Xlib.h>
13618 if ac_fn_c_try_link
"$LINENO"; then :
13620 # We can link X programs with no special library path.
13624 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13626 # Don't even attempt the hair of trying to link an X program!
13627 for ac_extension
in a so sl dylib la dll
; do
13628 if test -r "$ac_dir/libX11.$ac_extension"; then
13629 ac_x_libraries
=$ac_dir
13635 rm -f core conftest.err conftest.
$ac_objext \
13636 conftest
$ac_exeext conftest.
$ac_ext
13637 fi # $ac_x_libraries = no
13639 case $ac_x_includes,$ac_x_libraries in #(
13640 no
,* |
*,no |
*\'*)
13641 # Didn't find X, or a directory has "'" in its name.
13642 ac_cv_have_x
="have_x=no";; #(
13644 # Record where we found X for the cache.
13645 ac_cv_have_x
="have_x=yes\
13646 ac_x_includes='$ac_x_includes'\
13647 ac_x_libraries='$ac_x_libraries'"
13653 eval "$ac_cv_have_x"
13656 if test "$have_x" != yes; then
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13658 $as_echo "$have_x" >&6; }
13661 # If each of the values was on the command line, it overrides each guess.
13662 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13663 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13664 # Update the cache value to reflect the command line values.
13665 ac_cv_have_x
="have_x=yes\
13666 ac_x_includes='$x_includes'\
13667 ac_x_libraries='$x_libraries'"
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13669 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13674 for path
in $x_libraries
13676 x_cflags
="$x_cflags -L$path"
13679 for path
in $x_includes
13681 x_cflags
="$x_cflags -I$path"
13684 if test "x-$no_x" = "x-yes" ; then
13686 if test "x-$x11_hidd" != "x-auto" ; then
13687 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13691 x11_hidd_target
=kernel-x11gfx-kobj
13694 # Check whether --enable-x11_shm was given.
13695 if test "${enable_x11_shm+set}" = set; then :
13696 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13698 x11_hidd_shm
="auto"
13701 case "x-$x11_hidd_shm" in
13702 x-yes|x-no|x-auto
) ;;
13703 *) x11_hidd_shm
="auto" ;;
13708 if test "x-$x11_hidd_shm" != "x-no" ; then
13710 for ac_header
in sys
/ipc.h
13712 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13713 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13714 cat >>confdefs.h
<<_ACEOF
13715 #define HAVE_SYS_IPC_H 1
13722 for ac_header
in sys
/shm.h
13724 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13725 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13726 cat >>confdefs.h
<<_ACEOF
13727 #define HAVE_SYS_SHM_H 1
13735 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13737 save_cflags
="$CFLAGS"
13738 CFLAGS
="$CFLAGS $x_cflags"
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13740 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13741 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13742 $as_echo_n "(cached) " >&6
13744 ac_check_lib_save_LIBS
=$LIBS
13745 LIBS
="-lXext $LIBS"
13746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13749 /* Override any GCC internal prototype to avoid an error.
13750 Use char because int might match the return type of a GCC
13751 builtin and then its argument prototype would still apply. */
13755 char XShmQueryExtension ();
13759 return XShmQueryExtension ();
13764 if ac_fn_c_try_link
"$LINENO"; then :
13765 ac_cv_lib_Xext_XShmQueryExtension
=yes
13767 ac_cv_lib_Xext_XShmQueryExtension
=no
13769 rm -f core conftest.err conftest.
$ac_objext \
13770 conftest
$ac_exeext conftest.
$ac_ext
13771 LIBS
=$ac_check_lib_save_LIBS
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13774 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13775 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13779 CFLAGS
="$save_cflags"
13783 if test "x-$have_xshm" = "x-yes" ; then
13784 DO_XSHM_SUPPORT
="1"
13785 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13786 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13788 DO_XSHM_SUPPORT
="0"
13792 # Check whether --enable-x11_vidmode was given.
13793 if test "${enable_x11_vidmode+set}" = set; then :
13794 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13796 x11_hidd_vidmode
="auto"
13799 case "x-$x11_hidd_vidmode" in
13800 x-yes|x-no|x-auto
) ;;
13801 *) x11_hidd_vidmode
="auto" ;;
13806 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13808 save_cflags
="$CFLAGS"
13809 CFLAGS
="$CFLAGS $x_cflags"
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13811 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13812 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13813 $as_echo_n "(cached) " >&6
13815 ac_check_lib_save_LIBS
=$LIBS
13816 LIBS
="-lXxf86vm $LIBS"
13817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13820 /* Override any GCC internal prototype to avoid an error.
13821 Use char because int might match the return type of a GCC
13822 builtin and then its argument prototype would still apply. */
13826 char XF86VidModeQueryExtension ();
13830 return XF86VidModeQueryExtension ();
13835 if ac_fn_c_try_link
"$LINENO"; then :
13836 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13838 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13840 rm -f core conftest.err conftest.
$ac_objext \
13841 conftest
$ac_exeext conftest.
$ac_ext
13842 LIBS
=$ac_check_lib_save_LIBS
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13845 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13846 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13850 CFLAGS
="$save_cflags"
13853 if test "x-$have_vidmode" = "x-yes" ; then
13854 DO_VIDMODE_SUPPORT
="1"
13855 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13856 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13858 DO_VIDMODE_SUPPORT
="0"
13862 aros_host_x11_includes
=$x_includes
13863 aros_host_x11_libdirs
=$x_libraries
13867 # Check whether --enable-sdl_hidd was given.
13868 if test "${enable_sdl_hidd+set}" = set; then :
13869 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13874 case "x-$sdl_hidd" in
13875 x-yes|x-no|x-auto
) ;;
13876 *) sdl_hidd
="auto" ;;
13879 if test "x-$sdl_hidd" != "x-no" ; then
13882 # Check whether --with-sdl-prefix was given.
13883 if test "${with_sdl_prefix+set}" = set; then :
13884 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13890 # Check whether --with-sdl-exec-prefix was given.
13891 if test "${with_sdl_exec_prefix+set}" = set; then :
13892 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13897 # Check whether --enable-sdltest was given.
13898 if test "${enable_sdltest+set}" = set; then :
13899 enableval
=$enable_sdltest;
13905 if test x
$sdl_exec_prefix != x
; then
13906 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13907 if test x
${SDL_CONFIG+set} != xset
; then
13908 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13911 if test x
$sdl_prefix != x
; then
13912 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13913 if test x
${SDL_CONFIG+set} != xset
; then
13914 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13918 as_save_PATH
="$PATH"
13919 if test "x$prefix" != xNONE
; then
13920 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13922 # Extract the first word of "sdl-config", so it can be a program name with args.
13923 set dummy sdl-config
; ac_word
=$2
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13925 $as_echo_n "checking for $ac_word... " >&6; }
13926 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
13927 $as_echo_n "(cached) " >&6
13929 case $SDL_CONFIG in
13931 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
13934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13935 for as_dir
in $PATH
13938 test -z "$as_dir" && as_dir
=.
13939 for ac_exec_ext
in '' $ac_executable_extensions; do
13940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13941 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13949 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
13953 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
13954 if test -n "$SDL_CONFIG"; then
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
13956 $as_echo "$SDL_CONFIG" >&6; }
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13959 $as_echo "no" >&6; }
13963 PATH
="$as_save_PATH"
13964 min_sdl_version
=1.2.10
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
13966 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
13968 if test "$SDL_CONFIG" = "no" ; then
13971 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
13972 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
13974 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
13975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13976 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
13977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13978 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
13979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13980 if test "x$enable_sdltest" = "xyes" ; then
13981 ac_save_CFLAGS
="$CFLAGS"
13982 ac_save_CXXFLAGS
="$CXXFLAGS"
13983 ac_save_LIBS
="$LIBS"
13984 CFLAGS
="$CFLAGS $SDL_CFLAGS"
13985 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
13986 LIBS
="$LIBS $SDL_LIBS"
13988 if test "$cross_compiling" = yes; then :
13989 echo $ac_n "cross compiling; assumed OK... $ac_c"
13991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13995 #include <stdlib.h>
13996 #include <string.h>
14000 my_strdup (char *str)
14006 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14007 strcpy (new_str, str);
14015 int main (int argc, char *argv[])
14017 int major, minor, micro;
14020 /* This hangs on some systems (?)
14021 system ("touch conf.sdltest");
14023 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14025 /* HP/UX 9 (%@#!) writes to sscanf strings */
14026 tmp_version = my_strdup("$min_sdl_version");
14027 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14028 printf("%s, bad version string\n", "$min_sdl_version");
14032 if (($sdl_major_version > major) ||
14033 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14034 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14040 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14041 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14042 printf("*** best to upgrade to the required version.\n");
14043 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14044 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14045 printf("*** config.cache before re-running configure\n");
14052 if ac_fn_c_try_run
"$LINENO"; then :
14057 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14058 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14061 CFLAGS
="$ac_save_CFLAGS"
14062 CXXFLAGS
="$ac_save_CXXFLAGS"
14063 LIBS
="$ac_save_LIBS"
14066 if test "x$no_sdl" = x
; then
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14068 $as_echo "yes" >&6; }
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14072 $as_echo "no" >&6; }
14073 if test "$SDL_CONFIG" = "no" ; then
14074 echo "*** The sdl-config script installed by SDL could not be found"
14075 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14076 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14077 echo "*** full path to sdl-config."
14079 if test -f conf.sdltest
; then
14082 echo "*** Could not run SDL test program, checking why..."
14083 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14084 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14085 LIBS
="$LIBS $SDL_LIBS"
14086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14092 int main(int argc, char *argv[])
14095 #define main K_and_R_C_main
14105 if ac_fn_c_try_link
"$LINENO"; then :
14106 echo "*** The test program compiled, but did not run. This usually means"
14107 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14108 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14109 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14110 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14111 echo "*** is required on your system"
14113 echo "*** If you have an old version installed, it is best to remove it, although"
14114 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14116 echo "*** The test program failed to compile or link. See the file config.log for the"
14117 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14118 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14119 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14121 rm -f core conftest.err conftest.
$ac_objext \
14122 conftest
$ac_exeext conftest.
$ac_ext
14123 CFLAGS
="$ac_save_CFLAGS"
14124 CXXFLAGS
="$ac_save_CXXFLAGS"
14125 LIBS
="$ac_save_LIBS"
14137 if test "x-$have_sdl" != "x-yes" ; then
14139 if test "x-$sdl_hidd" != "x-auto" ; then
14140 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14144 sdl_hidd_target
=kernel-hidd-sdl
14145 aros_host_sdl_cflags
=SDL_CFLAGS
14146 aros_host_sdl_libs
=SDL_LIBS
14150 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14151 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14156 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14157 oss_library_target
=workbench-libs-oss-unix
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14163 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14164 # Check whether --enable-dbus was given.
14165 if test "${enable_dbus+set}" = set; then :
14166 enableval
=$enable_dbus; dbus
="yes"
14171 if test "$dbus" = "yes" ; then
14173 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14174 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14175 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14176 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14181 $as_echo "$dbus" >&6; }
14183 if test "$use_kernel_cc_wrapper" = "yes" ; then
14184 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14187 if test "${crosstools}" != "yes" ; then
14188 aros_target_toolchain
=no
14190 aros_target_toolchain
=yes
14206 # Compatability with other Amiga-like operation systems
14301 # Delinting target compiler flags
14325 # Native version related
14328 # Palm native version related
14331 # Unix/Hosted version related
14337 # Apple iOS related
14342 # ARM default GCC target related
14367 # Collect-aros stuff: "-ius" to ignore undefined symbols
14370 # C compiler related
14373 case "$aros_flavour" in
14374 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14375 aros_flavour
="emulation" ;;
14376 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14377 aros_flavour
="emulation" ;;
14378 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14379 aros_flavour
="standalone";;
14380 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14381 aros_flavour
="standalone";;
14382 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14383 aros_flavour
="native" ;;
14384 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14385 aros_flavour
="native" ;;
14386 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14387 aros_flavour
="linklib" ;;
14388 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14389 aros_flavour
="palmnative" ;;
14390 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14391 aros_flavour
="mac68knative" ;;
14392 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14393 aros_flavour
="ppcnative" ;;
14396 if test ! -d ${aros_inc_dir} ; then
14397 ${MKDIR} ${aros_inc_dir}
14399 if test ! -d ${aros_geninc_dir} ; then
14400 ${MKDIR} ${aros_geninc_dir}
14402 if test ! -d ${aros_hostcfg_dir} ; then
14403 ${MKDIR} ${aros_hostcfg_dir}
14405 if test ! -d ${aros_targetcfg_dir} ; then
14406 ${MKDIR} ${aros_targetcfg_dir}
14408 if test ! -d ${aros_tools_dir} ; then
14409 ${MKDIR} ${aros_tools_dir}
14411 if test ! -d ${aros_scripts_dir} ; then
14412 ${MKDIR} ${aros_scripts_dir}
14415 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14418 ac_config_commands
="$ac_config_commands compiler_executable"
14420 ac_config_commands
="$ac_config_commands genmf_executable"
14423 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"
14426 cat >confcache
<<\_ACEOF
14427 # This file is a shell script that caches the results of configure
14428 # tests run on this system so they can be shared between configure
14429 # scripts and configure runs, see configure's option --config-cache.
14430 # It is not useful on other systems. If it contains results you don't
14431 # want to keep, you may remove or edit it.
14433 # config.status only pays attention to the cache file if you give it
14434 # the --recheck option to rerun configure.
14436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14438 # following values.
14442 # The following way of writing the cache mishandles newlines in values,
14443 # but we know of no workaround that is simple, portable, and efficient.
14444 # So, we kill variables containing newlines.
14445 # Ultrix sh set writes to stderr and can't be redirected directly,
14446 # and sets the high bit in the cache file unless we assign to the vars.
14448 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14449 eval ac_val
=\$
$ac_var
14453 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14457 _ | IFS | as_nl
) ;; #(
14458 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14459 *) { eval $ac_var=; unset $ac_var;} ;;
14465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14466 *${as_nl}ac_space
=\
*)
14467 # `set' does not quote correctly, so add quotes: double-quote
14468 # substitution turns \\\\ into \\, and sed turns \\ into \.
14471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14474 # `set' quotes correctly as required by POSIX, so do not add quotes.
14475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14488 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14489 if test -w "$cache_file"; then
14490 if test "x$cache_file" != "x/dev/null"; then
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14492 $as_echo "$as_me: updating cache $cache_file" >&6;}
14493 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14494 cat confcache
>"$cache_file"
14496 case $cache_file in #(
14498 mv -f confcache
"$cache_file"$$
&&
14499 mv -f "$cache_file"$$
"$cache_file" ;; #(
14501 mv -f confcache
"$cache_file" ;;
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14507 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14512 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14513 # Let make expand exec_prefix.
14514 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14516 DEFS
=-DHAVE_CONFIG_H
14521 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14522 # 1. Remove the extension, and $U if already installed.
14523 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14524 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14525 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14526 # will be set to the directory where LIBOBJS objects are built.
14527 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14528 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14530 LIBOBJS
=$ac_libobjs
14532 LTLIBOBJS
=$ac_ltlibobjs
14536 : "${CONFIG_STATUS=./config.status}"
14538 ac_clean_files_save
=$ac_clean_files
14539 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14541 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14543 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14545 # Generated by $as_me.
14546 # Run this file to recreate the current configuration.
14547 # Compiler output produced by configure, useful for debugging
14548 # configure, is in config.log if it exists.
14551 ac_cs_recheck=false
14554 SHELL=\${CONFIG_SHELL-$SHELL}
14557 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14558 ## -------------------- ##
14559 ## M4sh Initialization. ##
14560 ## -------------------- ##
14562 # Be more Bourne compatible
14563 DUALCASE
=1; export DUALCASE
# for MKS sh
14564 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14567 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14568 # is contrary to our usage. Disable this feature.
14569 alias -g '${1+"$@"}'='"$@"'
14570 setopt NO_GLOB_SUBST
14572 case `(set -o) 2>/dev/null` in #(
14584 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14585 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14586 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14588 # Prefer a ksh shell builtin over an external printf program on Solaris,
14589 # but without wasting forks for bash or zsh.
14590 if test -z "$BASH_VERSION$ZSH_VERSION" \
14591 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14592 as_echo='print
-r --'
14593 as_echo_n='print
-rn --'
14594 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14595 as_echo='printf %s
\n'
14596 as_echo_n='printf %s
'
14598 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14599 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14600 as_echo_n='/usr
/ucb
/echo -n'
14602 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14603 as_echo_n_body='eval
14607 expr "X$arg" : "X\\(.*\\)$as_nl";
14608 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14610 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14612 export as_echo_n_body
14613 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14615 export as_echo_body
14616 as_echo='sh
-c $as_echo_body as_echo
'
14619 # The user is always right.
14620 if test "${PATH_SEPARATOR+set}" != set; then
14622 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14623 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14630 # We need space, tab and new line, in precisely that order. Quoting is
14631 # there to prevent editors from complaining about space-tab.
14632 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14633 # splitting by setting IFS to empty value.)
14636 # 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 STATUS 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
=$1; test $as_status -eq 0 && as_status
=1
14692 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14693 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14695 $as_echo "$as_me: error: $2" >&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.68. 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.68,
15012 with options \\"\$ac_cs_config\\"
15014 Copyright (C) 2010 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[^=]*=\(.*\)'`
15035 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15047 # Handling of the options.
15048 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15050 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15051 $as_echo "$ac_cs_version"; exit ;;
15052 --config |
--confi |
--conf |
--con |
--co |
--c )
15053 $as_echo "$ac_cs_config"; exit ;;
15054 --debug |
--debu |
--deb |
--de |
--d |
-d )
15056 --file |
--fil |
--fi |
--f )
15059 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15060 '') as_fn_error $?
"missing file argument" ;;
15062 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15063 ac_need_defaults
=false
;;
15064 --header |
--heade |
--head |
--hea )
15067 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15069 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15070 ac_need_defaults
=false
;;
15072 # Conflict between --help and --header
15073 as_fn_error $?
"ambiguous option: \`$1'
15074 Try \`$0 --help' for more information.";;
15075 --help |
--hel |
-h )
15076 $as_echo "$ac_cs_usage"; exit ;;
15077 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15078 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15081 # This is an error.
15082 -*) as_fn_error $?
"unrecognized option: \`$1'
15083 Try \`$0 --help' for more information." ;;
15085 *) as_fn_append ac_config_targets
" $1"
15086 ac_need_defaults
=false
;;
15092 ac_configure_extra_args
=
15094 if $ac_cs_silent; then
15096 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15101 if \$ac_cs_recheck; then
15102 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15104 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15105 CONFIG_SHELL='$SHELL'
15106 export CONFIG_SHELL
15111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15115 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15116 ## Running $as_me. ##
15122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15127 aros_host_exe_suffix=${aros_host_exe_suffix}
15128 aros_tools_dir=${aros_tools_dir}
15129 aros_target_cpu=${aros_target_cpu}
15130 aros_target_arch=${aros_target_arch}
15131 aros_target_suffix=${aros_target_suffix}
15132 orig_target_nm=${orig_target_nm}
15133 orig_target_as=${orig_target_as}
15134 orig_target_ar=${orig_target_ar}
15135 orig_target_ranlib=${orig_target_ranlib}
15136 orig_target_objdump=${orig_target_objdump}
15137 orig_target_objcopy=${orig_target_objcopy}
15138 orig_target_strip=${orig_target_strip}
15139 aros_kernel_ld=${aros_kernel_ld}
15142 aros_tools_dir=${aros_tools_dir}
15147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15149 # Handling of arguments.
15150 for ac_config_target
in $ac_config_targets
15152 case $ac_config_target in
15153 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15154 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15155 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15156 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15157 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15158 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15159 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15160 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15161 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15162 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15163 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15164 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15165 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15166 "${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" ;;
15167 "${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" ;;
15168 "${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" ;;
15169 "${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" ;;
15170 "${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" ;;
15171 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15172 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15173 "${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" ;;
15175 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15180 # If the user did not use the arguments to specify the items to instantiate,
15181 # then the envvar interface is used. Set only those that are not.
15182 # We use the long form for the default assignment because of an extremely
15183 # bizarre bug on SunOS 4.1.3.
15184 if $ac_need_defaults; then
15185 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15186 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15187 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15190 # Have a temporary directory for convenience. Make it in the build tree
15191 # simply because there is no reason against having it here, and in addition,
15192 # creating and moving files from /tmp can sometimes cause problems.
15193 # Hook for its removal unless debugging.
15194 # Note that there is a small window in which the directory will not be cleaned:
15195 # after its creation but before its name has been assigned to `$tmp'.
15199 trap 'exit_status=$?
15200 : "${ac_tmp:=$tmp}"
15201 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15203 trap 'as_fn_exit 1' 1 2 13 15
15205 # Create a (secure) tmp directory for tmp files.
15208 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15212 tmp
=.
/conf$$
-$RANDOM
15213 (umask 077 && mkdir
"$tmp")
15214 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15217 # Set up the scripts for CONFIG_FILES section.
15218 # No need to generate them if there are no CONFIG_FILES.
15219 # This happens for instance with `./config.status config.h'.
15220 if test -n "$CONFIG_FILES"; then
15223 ac_cr
=`echo X | tr X '\015'`
15224 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15225 # But we know of no other shell where ac_cr would be empty at this
15226 # point, so we can use a bashism as a fallback.
15227 if test "x$ac_cr" = x
; then
15228 eval ac_cr
=\$
\'\\r
\'
15230 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15231 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15234 ac_cs_awk_cr
=$ac_cr
15237 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15242 echo "cat >conf$$subs.awk <<_ACEOF" &&
15243 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15245 } >conf$$subs.sh ||
15246 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15247 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15249 for ac_last_try in false false false false false :; do
15250 . ./conf$$subs.sh ||
15251 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15253 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15254 if test $ac_delim_n = $ac_delim_num; then
15256 elif $ac_last_try; then
15257 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15259 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15262 rm -f conf$$subs.sh
15264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15265 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15269 s/^/S["/; s
/!.
*/"]=/
15279 s/\(.\{148\}\)..*/\1/
15281 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15286 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15293 s/\(.\{148\}\)..*/\1/
15295 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15299 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15304 ' <conf$$subs.awk | sed '
15309 ' >>$CONFIG_STATUS || ac_write_fail=1
15310 rm -f conf$$subs.awk
15311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15313 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15314 for (key in S) S_is_set[key] = 1
15320 nfields = split(line, field, "@
")
15322 len = length(field[1])
15323 for (i = 2; i < nfields; i++) {
15325 keylen = length(key)
15326 if (S_is_set[key]) {
15328 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15329 len += length(value) + length(field[++i])
15340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15341 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15342 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15345 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15346 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15349 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15350 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15351 # trailing colons and then remove the whole line if VPATH becomes empty
15352 # (actually we leave an empty line to preserve line numbers).
15353 if test "x
$srcdir" = x.; then
15354 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15373 fi # test -n "$CONFIG_FILES"
15375 # Set up the scripts for CONFIG_HEADERS section.
15376 # No need to generate them if there are no CONFIG_HEADERS.
15377 # This happens for instance with `./config.status Makefile'.
15378 if test -n "$CONFIG_HEADERS"; then
15379 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15383 # Transform confdefs.h into an awk script `defines.awk', embedded as
15384 # here-document in config.status, that substitutes the proper values into
15385 # config.h.in to produce config.h.
15387 # Create a delimiter string that does not exist in confdefs.h, to ease
15388 # handling of long lines.
15390 for ac_last_try in false false :; do
15391 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15392 if test -z "$ac_tt"; then
15394 elif $ac_last_try; then
15395 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15397 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15401 # For the awk script, D is an array of macro values keyed by name,
15402 # likewise P contains macro parameters if any. Preserve backslash
15403 # newline sequences.
15405 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15407 s/.\{148\}/&'"$ac_delim"'/g
15410 s/^[ ]*#[ ]*define[ ][ ]*/ /
15417 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15419 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15423 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15424 D["\
1"]=" \
3\\\\\\n
"\\/p
15426 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15431 s/.\{148\}/&'"$ac_delim"'/g
15436 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15439 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15441 ' <confdefs.h | sed '
15442 s/'"$ac_delim"'/"\\\
15443 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15446 for (key in D) D_is_set[key] = 1
15449 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15451 split(line, arg, " ")
15452 if (arg[1] == "#") {
15456 defundef
= substr
(arg
[1], 2)
15459 split(mac1
, mac2
, "(") #)
15461 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15462 if (D_is_set
[macro
]) {
15463 # Preserve the white space surrounding the "#".
15464 print prefix
"define", macro P
[macro
] D
[macro
]
15467 # Replace #undef with comments. This is necessary, for example,
15468 # in the case of _POSIX_SOURCE, which is predefined and required
15469 # on some systems where configure will not decide to define it.
15470 if (defundef
== "undef") {
15471 print
"/*", prefix defundef
, macro
, "*/"
15479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15480 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15481 fi # test -n "$CONFIG_HEADERS"
15484 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15489 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15491 case $ac_mode$ac_tag in
15493 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15494 :[FH
]-) ac_tag
=-:-;;
15495 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15512 -) ac_f
="$ac_tmp/stdin";;
15513 *) # Look for the file first in the build tree, then in the source tree
15514 # (if the path is not absolute). The absolute path cannot be DOS-style,
15515 # because $ac_f cannot contain `:'.
15519 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15521 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15523 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15524 as_fn_append ac_file_inputs
" '$ac_f'"
15527 # Let's still pretend it is `configure' which instantiates (i.e., don't
15528 # use $as_me), people would be surprised to read:
15529 # /* config.h. Generated by config.status. */
15530 configure_input
='Generated from '`
15531 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15533 if test x
"$ac_file" != x-
; then
15534 configure_input
="$ac_file. $configure_input"
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15536 $as_echo "$as_me: creating $ac_file" >&6;}
15538 # Neutralize special characters interpreted by sed in replacement strings.
15539 case $configure_input in #(
15540 *\
&* |
*\|
* |
*\\* )
15541 ac_sed_conf_input
=`$as_echo "$configure_input" |
15542 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15543 *) ac_sed_conf_input
=$configure_input;;
15547 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15548 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15553 ac_dir
=`$as_dirname -- "$ac_file" ||
15554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15555 X"$ac_file" : 'X\(//\)[^/]' \| \
15556 X"$ac_file" : 'X\(//\)$' \| \
15557 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15558 $as_echo X"$ac_file" |
15559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15563 /^X\(\/\/\)[^/].*/{
15576 as_dir
="$ac_dir"; as_fn_mkdir_p
15580 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15582 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15583 # A ".." for each directory in $ac_dir_suffix.
15584 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15585 case $ac_top_builddir_sub in
15586 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15587 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15590 ac_abs_top_builddir
=$ac_pwd
15591 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15592 # for backward compatibility:
15593 ac_top_builddir
=$ac_top_build_prefix
15596 .
) # We are building in place.
15598 ac_top_srcdir
=$ac_top_builddir_sub
15599 ac_abs_top_srcdir
=$ac_pwd ;;
15600 [\\/]* | ?
:[\\/]* ) # Absolute name.
15601 ac_srcdir
=$srcdir$ac_dir_suffix;
15602 ac_top_srcdir
=$srcdir
15603 ac_abs_top_srcdir
=$srcdir ;;
15604 *) # Relative name.
15605 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15606 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15607 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15609 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15621 # If the template does not know about datarootdir, expand it.
15622 # FIXME: This hack should be removed a few years after 2.60.
15623 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15634 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15635 *datarootdir
*) ac_datarootdir_seen
=yes;;
15636 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15638 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15641 ac_datarootdir_hack='
15642 s&@datadir@&$datadir&g
15643 s&@docdir@&$docdir&g
15644 s&@infodir@&$infodir&g
15645 s&@localedir@&$localedir&g
15646 s&@mandir@&$mandir&g
15647 s&\\\${datarootdir}&$datarootdir&g' ;;
15651 # Neutralize VPATH when `$srcdir' = `.'.
15652 # Shell code in configure.ac might set extrasub.
15653 # FIXME: do we really want to maintain this feature?
15654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15655 ac_sed_extra="$ac_vpsub
15658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15660 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15661 s|@configure_input@|
$ac_sed_conf_input|
;t t
15662 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15663 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15664 s
&@srcdir@
&$ac_srcdir&;t t
15665 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15666 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15667 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15668 s
&@builddir@
&$ac_builddir&;t t
15669 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15670 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15671 $ac_datarootdir_hack
15673 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15674 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15676 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15677 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15678 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15679 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15681 which seems to be undefined. Please make sure it is defined" >&5
15682 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15683 which seems to be undefined. Please make sure it is defined" >&2;}
15685 rm -f "$ac_tmp/stdin"
15687 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15688 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15690 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15696 if test x"$ac_file" != x-; then
15698 $as_echo "/* $configure_input */" \
15699 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15700 } >"$ac_tmp/config.h" \
15701 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15702 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15704 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15707 mv "$ac_tmp/config.h" "$ac_file" \
15708 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15711 $as_echo "/* $configure_input */" \
15712 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15713 || as_fn_error $? "could not create -" "$LINENO" 5
15717 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15718 $as_echo "$as_me: executing $ac_file commands" >&6;}
15723 case $ac_file$ac_mode in
15724 "compiler_executable":C)
15725 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15727 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15728 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15732 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15734 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15735 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15736 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15737 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15738 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15739 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15740 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15742 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15744 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15752 ac_clean_files=$ac_clean_files_save
15754 test $ac_write_fail = 0 ||
15755 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15758 # configure is writing to config.log, and then calls config.status.
15759 # config.status does its own redirection, appending to config.log.
15760 # Unfortunately, on DOS this fails, as config.log is still kept open
15761 # by configure, so config.status won't be able to
write to it
; its
15762 # output is simply discarded. So we exec the FD to /dev/null,
15763 # effectively closing config.log, so it can be properly (re)opened and
15764 # appended to by config.status. When coming back to configure, we
15765 # need to make the FD available again.
15766 if test "$no_create" != yes; then
15768 ac_config_status_args
=
15769 test "$silent" = yes &&
15770 ac_config_status_args
="$ac_config_status_args --quiet"
15772 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15774 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15775 # would make configure fail if this is the last instruction.
15776 $ac_cs_success || as_fn_exit
1
15778 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15780 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15785 #XXX compatability...
15786 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15788 if test -n "$aros_shared_cflags" ; then
15789 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15790 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg