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
674 aros_target_cc_includes
689 aros_target_bootloader
709 aros_amigaos_compliance
715 aros_target_toolchain
724 aros_cflags_iquote_end
726 kernel_cflags_iquote_end
728 host_cflags_iquote_end
730 aros_target_nostdlib_ldflags
731 aros_target_detach_ldflags
732 aros_target_nix_ldflags
733 aros_target_nostartup_ldflags
734 aros_target_nostdinc_cflags
852 program_transform_name
865 enable_option_checking
873 enable_target_variant
879 enable_amigaos_compliance
880 with_kernel_toolchain_prefix
881 with_elf_toolchain_prefix
884 with_aros_toolchain_install
896 enable_palm_debug_hack
897 enable_nesting_supervisor
909 ac_precious_vars
='build_alias
925 # Initialize some variables set by options.
927 ac_init_version
=false
928 ac_unrecognized_opts
=
930 # The variables have the same names as the options, with
931 # dashes changed to underlines.
939 program_transform_name
=s
,x
,x
,
947 # Installation directory options.
948 # These are left unexpanded so users can "make install exec_prefix=/foo"
949 # and all the variables that are supposed to be based on exec_prefix
950 # by default will actually change.
951 # Use braces instead of parens because sh, perl, etc. also accept them.
952 # (The list follows the same order as the GNU Coding Standards.)
953 bindir
='${exec_prefix}/bin'
954 sbindir
='${exec_prefix}/sbin'
955 libexecdir
='${exec_prefix}/libexec'
956 datarootdir
='${prefix}/share'
957 datadir
='${datarootdir}'
958 sysconfdir
='${prefix}/etc'
959 sharedstatedir
='${prefix}/com'
960 localstatedir
='${prefix}/var'
961 includedir
='${prefix}/include'
962 oldincludedir
='/usr/include'
963 docdir
='${datarootdir}/doc/${PACKAGE}'
964 infodir
='${datarootdir}/info'
969 libdir
='${exec_prefix}/lib'
970 localedir
='${datarootdir}/locale'
971 mandir
='${datarootdir}/man'
977 # If the previous option needs an argument, assign it.
978 if test -n "$ac_prev"; then
979 eval $ac_prev=\
$ac_option
985 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
990 # Accept the important Cygnus configure options, so we can diagnose typos.
992 case $ac_dashdash$ac_option in
996 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
998 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1001 -build |
--build |
--buil |
--bui |
--bu)
1002 ac_prev
=build_alias
;;
1003 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1004 build_alias
=$ac_optarg ;;
1006 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1007 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1008 ac_prev
=cache_file
;;
1009 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1010 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1011 cache_file
=$ac_optarg ;;
1013 --config-cache |
-C)
1014 cache_file
=config.cache
;;
1016 -datadir |
--datadir |
--datadi |
--datad)
1018 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1019 datadir
=$ac_optarg ;;
1021 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1022 |
--dataroo |
--dataro |
--datar)
1023 ac_prev
=datarootdir
;;
1024 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1025 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1026 datarootdir
=$ac_optarg ;;
1028 -disable-* |
--disable-*)
1029 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1032 as_fn_error $?
"invalid feature name: $ac_useropt"
1033 ac_useropt_orig
=$ac_useropt
1034 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1037 "enable_
$ac_useropt"
1039 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1040 ac_unrecognized_sep
=', ';;
1042 eval enable_
$ac_useropt=no
;;
1044 -docdir |
--docdir |
--docdi |
--doc |
--do)
1046 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1047 docdir
=$ac_optarg ;;
1049 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1051 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1052 dvidir
=$ac_optarg ;;
1054 -enable-* |
--enable-*)
1055 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1058 as_fn_error $?
"invalid feature name: $ac_useropt"
1059 ac_useropt_orig
=$ac_useropt
1060 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "enable_
$ac_useropt"
1065 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1066 ac_unrecognized_sep
=', ';;
1068 eval enable_
$ac_useropt=\
$ac_optarg ;;
1070 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1071 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1072 |
--exec |
--exe |
--ex)
1073 ac_prev
=exec_prefix
;;
1074 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1075 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1076 |
--exec=* |
--exe=* |
--ex=*)
1077 exec_prefix
=$ac_optarg ;;
1079 -gas |
--gas |
--ga |
--g)
1080 # Obsolete; use --with-gas.
1083 -help |
--help |
--hel |
--he |
-h)
1084 ac_init_help
=long
;;
1085 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1086 ac_init_help
=recursive
;;
1087 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1088 ac_init_help
=short
;;
1090 -host |
--host |
--hos |
--ho)
1091 ac_prev
=host_alias
;;
1092 -host=* |
--host=* |
--hos=* |
--ho=*)
1093 host_alias
=$ac_optarg ;;
1095 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1097 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1099 htmldir
=$ac_optarg ;;
1101 -includedir |
--includedir |
--includedi |
--included |
--include \
1102 |
--includ |
--inclu |
--incl |
--inc)
1103 ac_prev
=includedir
;;
1104 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1105 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1106 includedir
=$ac_optarg ;;
1108 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1110 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1111 infodir
=$ac_optarg ;;
1113 -libdir |
--libdir |
--libdi |
--libd)
1115 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1116 libdir
=$ac_optarg ;;
1118 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1119 |
--libexe |
--libex |
--libe)
1120 ac_prev
=libexecdir
;;
1121 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1122 |
--libexe=* |
--libex=* |
--libe=*)
1123 libexecdir
=$ac_optarg ;;
1125 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1126 ac_prev
=localedir
;;
1127 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1128 localedir
=$ac_optarg ;;
1130 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1131 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1132 ac_prev
=localstatedir
;;
1133 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1134 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1135 localstatedir
=$ac_optarg ;;
1137 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1139 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1140 mandir
=$ac_optarg ;;
1142 -nfp |
--nfp |
--nf)
1143 # Obsolete; use --without-fp.
1146 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1147 |
--no-cr |
--no-c |
-n)
1150 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1151 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1154 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1155 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1156 |
--oldin |
--oldi |
--old |
--ol |
--o)
1157 ac_prev
=oldincludedir
;;
1158 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1159 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1160 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1161 oldincludedir
=$ac_optarg ;;
1163 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1165 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1166 prefix
=$ac_optarg ;;
1168 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1169 |
--program-pre |
--program-pr |
--program-p)
1170 ac_prev
=program_prefix
;;
1171 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1172 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1173 program_prefix
=$ac_optarg ;;
1175 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1176 |
--program-suf |
--program-su |
--program-s)
1177 ac_prev
=program_suffix
;;
1178 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1179 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1180 program_suffix
=$ac_optarg ;;
1182 -program-transform-name |
--program-transform-name \
1183 |
--program-transform-nam |
--program-transform-na \
1184 |
--program-transform-n |
--program-transform- \
1185 |
--program-transform |
--program-transfor \
1186 |
--program-transfo |
--program-transf \
1187 |
--program-trans |
--program-tran \
1188 |
--progr-tra |
--program-tr |
--program-t)
1189 ac_prev
=program_transform_name
;;
1190 -program-transform-name=* |
--program-transform-name=* \
1191 |
--program-transform-nam=* |
--program-transform-na=* \
1192 |
--program-transform-n=* |
--program-transform-=* \
1193 |
--program-transform=* |
--program-transfor=* \
1194 |
--program-transfo=* |
--program-transf=* \
1195 |
--program-trans=* |
--program-tran=* \
1196 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1197 program_transform_name
=$ac_optarg ;;
1199 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1201 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1202 pdfdir
=$ac_optarg ;;
1204 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1206 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1209 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1210 |
-silent |
--silent |
--silen |
--sile |
--sil)
1213 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1215 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1217 sbindir
=$ac_optarg ;;
1219 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1220 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1221 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1223 ac_prev
=sharedstatedir
;;
1224 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1225 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1226 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1228 sharedstatedir
=$ac_optarg ;;
1230 -site |
--site |
--sit)
1232 -site=* |
--site=* |
--sit=*)
1235 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1237 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1238 srcdir
=$ac_optarg ;;
1240 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1241 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1242 ac_prev
=sysconfdir
;;
1243 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1244 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1245 sysconfdir
=$ac_optarg ;;
1247 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1248 ac_prev
=target_alias
;;
1249 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1250 target_alias
=$ac_optarg ;;
1252 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1255 -version |
--version |
--versio |
--versi |
--vers |
-V)
1256 ac_init_version
=: ;;
1259 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1262 as_fn_error $?
"invalid package name: $ac_useropt"
1263 ac_useropt_orig
=$ac_useropt
1264 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1269 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1270 ac_unrecognized_sep
=', ';;
1272 eval with_
$ac_useropt=\
$ac_optarg ;;
1274 -without-* |
--without-*)
1275 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1276 # Reject names that are not valid shell variable names.
1277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1278 as_fn_error $?
"invalid package name: $ac_useropt"
1279 ac_useropt_orig
=$ac_useropt
1280 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281 case $ac_user_opts in
1285 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1286 ac_unrecognized_sep
=', ';;
1288 eval with_
$ac_useropt=no
;;
1291 # Obsolete; use --with-x.
1294 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1295 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1296 ac_prev
=x_includes
;;
1297 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1298 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1299 x_includes
=$ac_optarg ;;
1301 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1302 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1303 ac_prev
=x_libraries
;;
1304 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1305 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1306 x_libraries
=$ac_optarg ;;
1308 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1309 Try \`$0 --help' for more information"
1313 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1314 # Reject names that are not valid shell variable names.
1315 case $ac_envvar in #(
1316 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1317 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1319 eval $ac_envvar=\
$ac_optarg
1320 export $ac_envvar ;;
1323 # FIXME: should be removed in autoconf 3.0.
1324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1327 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1333 if test -n "$ac_prev"; then
1334 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1335 as_fn_error $?
"missing argument to $ac_option"
1338 if test -n "$ac_unrecognized_opts"; then
1339 case $enable_option_checking in
1341 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1342 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1346 # Check all directory arguments for consistency.
1347 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1348 datadir sysconfdir sharedstatedir localstatedir includedir \
1349 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1350 libdir localedir mandir
1352 eval ac_val
=\$
$ac_var
1353 # Remove trailing slashes.
1356 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1357 eval $ac_var=\
$ac_val;;
1359 # Be sure to have absolute directory names.
1361 [\\/$
]* | ?
:[\\/]* ) continue;;
1362 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1364 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1367 # There might be people who depend on the old broken behavior: `$host'
1368 # used to hold the argument of --host etc.
1369 # FIXME: To remove some day.
1372 target
=$target_alias
1374 # FIXME: To remove some day.
1375 if test "x$host_alias" != x
; then
1376 if test "x$build_alias" = x
; then
1377 cross_compiling
=maybe
1378 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1379 If a cross compiler is detected then cross compile mode will be used" >&2
1380 elif test "x$build_alias" != "x$host_alias"; then
1386 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1388 test "$silent" = yes && exec 6>/dev
/null
1391 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1392 ac_ls_di
=`ls -di .` &&
1393 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1394 as_fn_error $?
"working directory cannot be determined"
1395 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1396 as_fn_error $?
"pwd does not report name of working directory"
1399 # Find the source files, if location was not specified.
1400 if test -z "$srcdir"; then
1401 ac_srcdir_defaulted
=yes
1402 # Try the directory containing this script, then the parent directory.
1403 ac_confdir
=`$as_dirname -- "$as_myself" ||
1404 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1405 X"$as_myself" : 'X\(//\)[^/]' \| \
1406 X"$as_myself" : 'X\(//\)$' \| \
1407 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1408 $as_echo X"$as_myself" |
1409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1427 if test ! -r "$srcdir/$ac_unique_file"; then
1431 ac_srcdir_defaulted
=no
1433 if test ! -r "$srcdir/$ac_unique_file"; then
1434 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1435 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1437 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1439 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1441 # When building in place, set srcdir=.
1442 if test "$ac_abs_confdir" = "$ac_pwd"; then
1445 # Remove unnecessary trailing slashes from srcdir.
1446 # Double slashes in file names in object file debugging info
1447 # mess up M-x gdb in Emacs.
1449 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1451 for ac_var
in $ac_precious_vars; do
1452 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1453 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1454 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1455 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1459 # Report the --help message.
1461 if test "$ac_init_help" = "long"; then
1462 # Omit some internal or obsolete options to make the list less imposing.
1463 # This message is too long to be a string in the A/UX 3.1 sh.
1465 \`configure' configures this package to adapt to many kinds of systems.
1467 Usage: $0 [OPTION]... [VAR=VALUE]...
1469 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1470 VAR=VALUE. See below for descriptions of some of the useful variables.
1472 Defaults for the options are specified in brackets.
1475 -h, --help display this help and exit
1476 --help=short display options specific to this package
1477 --help=recursive display the short help of all the included packages
1478 -V, --version display version information and exit
1479 -q, --quiet, --silent do not print \`checking ...' messages
1480 --cache-file=FILE cache test results in FILE [disabled]
1481 -C, --config-cache alias for \`--cache-file=config.cache'
1482 -n, --no-create do not create output files
1483 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1485 Installation directories:
1486 --prefix=PREFIX install architecture-independent files in PREFIX
1487 [$ac_default_prefix]
1488 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1491 By default, \`make install' will install all the files in
1492 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1493 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1494 for instance \`--prefix=\$HOME'.
1496 For better control, use the options below.
1498 Fine tuning of the installation directories:
1499 --bindir=DIR user executables [EPREFIX/bin]
1500 --sbindir=DIR system admin executables [EPREFIX/sbin]
1501 --libexecdir=DIR program executables [EPREFIX/libexec]
1502 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1503 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1504 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1505 --libdir=DIR object code libraries [EPREFIX/lib]
1506 --includedir=DIR C header files [PREFIX/include]
1507 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1508 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1509 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1510 --infodir=DIR info documentation [DATAROOTDIR/info]
1511 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1512 --mandir=DIR man documentation [DATAROOTDIR/man]
1513 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1514 --htmldir=DIR html documentation [DOCDIR]
1515 --dvidir=DIR dvi documentation [DOCDIR]
1516 --pdfdir=DIR pdf documentation [DOCDIR]
1517 --psdir=DIR ps documentation [DOCDIR]
1523 --x-includes=DIR X include files are
in DIR
1524 --x-libraries=DIR X library files are
in DIR
1527 --build=BUILD configure
for building on BUILD
[guessed
]
1528 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1532 if test -n "$ac_init_help"; then
1537 --disable-option-checking ignore unrecognized
--enable/--with options
1538 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1539 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1540 --enable-build-type=TYPE
1541 Select the build
type. Available types are
:
1542 personal
, nightly
, snapshot
, milestone
, release. Do
1543 NOT use this option unless you know what you are
1544 doing
! (default
=personal
)
1545 --enable-debug=list Enable different types of debug. Commas or
1546 whitespaces can be used to separate the items
in the
1547 list. Available types of debug are
: all
, none
,
1548 messages
, stack
, mungwall
, modules
, symbols. If no
1549 list is provided
then "all" is assumed.
1551 --enable-distcc Use distcc as a front end to the compiler
1553 --enable-ccache Use ccache as a front end to the compiler
1555 --enable-target-variant=NAME
1556 Enable a specific target variant
(default
=none
)
1557 --enable-amigaos-compliance=VERSION
1558 Enforce userspace AmigaOS compliance to a specific
1559 KickStart version
(default
=none
).
1560 --disable-crosstools Do not build cross-compiler toolchain
1561 --enable-includes=dir Alternative system include directory
1562 --enable-palm-debug-hack
1563 Enable palm debug output hack
in palm native
1565 --enable-nesting-supervisor
1566 Enable nesting supervisor support
in unix
1568 --disable-mmu Disable MMU support
(default
=enabled
)
1569 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1570 --enable-x11-shm use X11 shared memory
(default
=auto
)
1571 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1572 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1573 --disable-sdltest Do not try to compile and run a
test SDL program
1574 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1577 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1578 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1579 --with-kernel-gcc-version=VERSION
1580 Use
host gcc-VERSION
for building AROS
1581 --with-gcc-version=VERSION
1582 Use
host gcc-VERSION
for building AROS
1583 --with-optimization=FLAGS
1584 Use optimization flags FLAGS
(default
=-O2).
1585 --with-paranoia=FLAGS CC flags to
enable paranoia
1586 --with-xcode=PATH Specify XCode path
for iOS targets
1587 (default
=/Developer
).
1588 --with-sdk-version=VERSION
1589 Use iOS SDK version VERSION
(default
=4.1).
1590 --with-sdk=PATH Specify Android SDK path
1591 (default
=$default_android_sdk).
1592 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1593 --with-sdk-version=LEVEL
1594 Use Android SDK
for API LEVEL
(default
=12).
1595 --with-ndk-version=LEVEL
1596 Use Android NDK
for API LEVEL
(default
=9).
1597 --with-kernel-toolchain-prefix=...
1598 Specify crosscompile toolchain prefix
for kernel
1600 --with-elf-toolchain-prefix=...
1601 Specify crosscompile toolchain prefix to wrap
for
1603 --with-aros-toolchain=PREFIX
1604 Specify prebuilt AROS toolchain
1605 --with-aros-toolchain-install=DIR
1606 Where to
install or search
for cross tools binaries
1607 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1608 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1609 --with-float=<spec
> Specify floating point ABI
1610 (default
=$gcc_default_float_abi).
1611 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1612 --with-portssources=DIR Where to download sourcecode
for external ports
1613 --with-bootloader=NAME Use a specific bootloader
1614 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1615 --with-theme=NAME Use a specific GUI Theme
1616 --with-resolution=XRESxYRESxDEPTH
1617 Default resolution of the initial WorkbenchScreen
1618 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1619 --with-x use the X Window System
1620 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1621 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1623 Some influential environment variables
:
1624 CC C compiler
command
1625 CFLAGS C compiler flags
1626 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1627 nonstandard directory
<lib dir
>
1628 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1629 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1630 you have headers
in a nonstandard directory
<include dir
>
1631 CXX C
++ compiler
command
1632 CXXFLAGS C
++ compiler flags
1634 PYTHON the Python interpreter
1635 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1637 Use these variables to override the choices made by
`configure' or to help
1638 it to find libraries and programs with nonstandard names/locations.
1640 Report bugs to the package provider.
1645 if test "$ac_init_help" = "recursive"; then
1646 # If there are subdirs, report their specific --help.
1647 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1648 test -d "$ac_dir" ||
1649 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1657 # A ".." for each directory in $ac_dir_suffix.
1658 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1659 case $ac_top_builddir_sub in
1660 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1661 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1664 ac_abs_top_builddir=$ac_pwd
1665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1666 # for backward compatibility:
1667 ac_top_builddir=$ac_top_build_prefix
1670 .) # We are building in place.
1672 ac_top_srcdir=$ac_top_builddir_sub
1673 ac_abs_top_srcdir=$ac_pwd ;;
1674 [\\/]* | ?:[\\/]* ) # Absolute name.
1675 ac_srcdir=$srcdir$ac_dir_suffix;
1676 ac_top_srcdir=$srcdir
1677 ac_abs_top_srcdir=$srcdir ;;
1679 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1680 ac_top_srcdir=$ac_top_build_prefix$srcdir
1681 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1685 cd "$ac_dir" || { ac_status=$?; continue; }
1686 # Check for guested configure.
1687 if test -f "$ac_srcdir/configure.gnu"; then
1689 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1690 elif test -f "$ac_srcdir/configure"; then
1692 $SHELL "$ac_srcdir/configure" --help=recursive
1694 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1696 cd "$ac_pwd" || { ac_status=$?; break; }
1700 test -n "$ac_init_help" && exit $ac_status
1701 if $ac_init_version; then
1704 generated by GNU Autoconf 2.68
1706 Copyright (C) 2010 Free Software Foundation, Inc.
1707 This configure script is free software; the Free Software Foundation
1708 gives unlimited permission to copy, distribute and modify it.
1713 ## ------------------------ ##
1714 ## Autoconf initialization. ##
1715 ## ------------------------ ##
1717 # ac_fn_c_try_compile LINENO
1718 # --------------------------
1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_c_try_compile ()
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 rm -f conftest.$ac_objext
1724 if { { ac_try="$ac_compile"
1726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1727 *) ac_try_echo
=$ac_try;;
1729 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_compile") 2>conftest.err
1733 if test -s conftest.err
; then
1734 grep -v '^ *+' conftest.err
>conftest.er1
1735 cat conftest.er1
>&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && {
1740 test -z "$ac_c_werror_flag" ||
1741 test ! -s conftest.err
1742 } && test -s conftest.
$ac_objext; then :
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.
$ac_ext >&5
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status
$ac_retval
1753 } # ac_fn_c_try_compile
1755 # ac_fn_cxx_try_compile LINENO
1756 # ----------------------------
1757 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1758 ac_fn_cxx_try_compile
()
1760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1761 rm -f conftest.
$ac_objext
1762 if { { ac_try
="$ac_compile"
1764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_compile") 2>conftest.err
1771 if test -s conftest.err; then
1772 grep -v '^ *+' conftest.err >conftest.er1
1773 cat conftest.er1 >&5
1774 mv -f conftest.er1 conftest.err
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } && {
1778 test -z "$ac_cxx_werror_flag" ||
1779 test ! -s conftest.err
1780 } && test -s conftest.$ac_objext; then :
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789 as_fn_set_status $ac_retval
1791 } # ac_fn_cxx_try_compile
1793 # ac_fn_c_try_cpp LINENO
1794 # ----------------------
1795 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 if { { ac_try="$ac_cpp conftest.$ac_ext"
1801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1802 *) ac_try_echo
=$ac_try;;
1804 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1808 if test -s conftest.err
; then
1809 grep -v '^ *+' conftest.err
>conftest.er1
1810 cat conftest.er1
>&5
1811 mv -f conftest.er1 conftest.err
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; } > conftest.i
&& {
1815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1816 test ! -s conftest.err
1820 $as_echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.
$ac_ext >&5
1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 as_fn_set_status
$ac_retval
1830 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1831 # -------------------------------------------------------
1832 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1833 # the include files in INCLUDES and setting the cache variable VAR
1835 ac_fn_c_check_header_mongrel
()
1837 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1838 if eval \
${$3+:} false
; then :
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if eval \
${$3+:} false
; then :
1842 $as_echo_n "(cached) " >&6
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1846 $as_echo "$ac_res" >&6; }
1848 # Is the header compilable?
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1850 $as_echo_n "checking $2 usability... " >&6; }
1851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h. */
1856 if ac_fn_c_try_compile
"$LINENO"; then :
1857 ac_header_compiler
=yes
1859 ac_header_compiler
=no
1861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1863 $as_echo "$ac_header_compiler" >&6; }
1865 # Is the header present?
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1867 $as_echo_n "checking $2 presence... " >&6; }
1868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1872 if ac_fn_c_try_cpp
"$LINENO"; then :
1873 ac_header_preproc
=yes
1875 ac_header_preproc
=no
1877 rm -f conftest.err conftest.i conftest.
$ac_ext
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1879 $as_echo "$ac_header_preproc" >&6; }
1881 # So? What about this header?
1882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1885 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1887 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1891 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1893 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1895 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1897 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1899 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903 $as_echo_n "checking for $2... " >&6; }
1904 if eval \
${$3+:} false
; then :
1905 $as_echo_n "(cached) " >&6
1907 eval "$3=\$ac_header_compiler"
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 } # ac_fn_c_check_header_mongrel
1917 # ac_fn_c_try_run LINENO
1918 # ----------------------
1919 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1920 # that executables *can* be run.
1923 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1924 if { { ac_try
="$ac_link"
1926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1927 *) ac_try_echo=$ac_try;;
1929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_link") 2>&5
1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1935 { { case "(($ac_try" in
1936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1937 *) ac_try_echo
=$ac_try;;
1939 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1940 $as_echo "$ac_try_echo"; } >&5
1941 (eval "$ac_try") 2>&5
1943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944 test $ac_status = 0; }; }; then :
1947 $as_echo "$as_me: program exited with status $ac_status" >&5
1948 $as_echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.
$ac_ext >&5
1951 ac_retval
=$ac_status
1953 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 as_fn_set_status
$ac_retval
1959 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1960 # -------------------------------------------------------
1961 # Tests whether HEADER exists and can be compiled using the include files in
1962 # INCLUDES, setting the cache variable VAR accordingly.
1963 ac_fn_c_check_header_compile
()
1965 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1967 $as_echo_n "checking for $2... " >&6; }
1968 if eval \
${$3+:} false
; then :
1969 $as_echo_n "(cached) " >&6
1971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1976 if ac_fn_c_try_compile
"$LINENO"; then :
1981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985 $as_echo "$ac_res" >&6; }
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988 } # ac_fn_c_check_header_compile
1990 # ac_fn_c_try_link LINENO
1991 # -----------------------
1992 # Try to link conftest.$ac_ext, and return whether this succeeded.
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 rm -f conftest.
$ac_objext conftest
$ac_exeext
1997 if { { ac_try
="$ac_link"
1999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2000 *) ac_try_echo=$ac_try;;
2002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003 $as_echo "$ac_try_echo"; } >&5
2004 (eval "$ac_link") 2>conftest.err
2006 if test -s conftest.err; then
2007 grep -v '^ *+' conftest.err >conftest.er1
2008 cat conftest.er1 >&5
2009 mv -f conftest.er1 conftest.err
2011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2012 test $ac_status = 0; } && {
2013 test -z "$ac_c_werror_flag" ||
2014 test ! -s conftest.err
2015 } && test -s conftest$ac_exeext && {
2016 test "$cross_compiling" = yes ||
2017 $as_test_x conftest$ac_exeext
2021 $as_echo "$as_me: failed program was:" >&5
2022 sed 's/^/| /' conftest.$ac_ext >&5
2026 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2027 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2028 # interfere with the next link command; also delete a directory that is
2029 # left behind by Apple's compiler. We do this before executing the actions.
2030 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2032 as_fn_set_status $ac_retval
2034 } # ac_fn_c_try_link
2036 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2037 # ----------------------------------------------------
2038 # Tries to find if the field MEMBER exists in type AGGR, after including
2039 # INCLUDES, setting cache variable VAR accordingly.
2040 ac_fn_c_check_member ()
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2044 $as_echo_n "checking for $2.$3... " >&6; }
2045 if eval \${$4+:} false; then :
2046 $as_echo_n "(cached) " >&6
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2061 if ac_fn_c_try_compile "$LINENO"; then :
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2071 if (sizeof ac_aggr.$3)
2077 if ac_fn_c_try_compile "$LINENO"; then :
2082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091 } # ac_fn_c_check_member
2093 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2094 # ---------------------------------------------
2095 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2097 ac_fn_c_check_decl ()
2099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2100 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2101 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2103 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2104 if eval \${$3+:} false; then :
2105 $as_echo_n "(cached) " >&6
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2113 #ifndef $as_decl_name
2115 (void) $as_decl_use;
2117 (void) $as_decl_name;
2125 if ac_fn_c_try_compile "$LINENO"; then :
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2137 } # ac_fn_c_check_decl
2139 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2140 # -------------------------------------------
2141 # Tests whether TYPE exists after having included INCLUDES, setting cache
2142 # variable VAR accordingly.
2143 ac_fn_c_check_type ()
2145 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2147 $as_echo_n "checking for $2... " >&6; }
2148 if eval \${$3+:} false; then :
2149 $as_echo_n "(cached) " >&6
2152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2164 if ac_fn_c_try_compile "$LINENO"; then :
2165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h. */
2177 if ac_fn_c_try_compile "$LINENO"; then :
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188 $as_echo "$ac_res" >&6; }
2189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191 } # ac_fn_c_check_type
2193 # ac_fn_c_check_func LINENO FUNC VAR
2194 # ----------------------------------
2195 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2196 ac_fn_c_check_func ()
2198 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2200 $as_echo_n "checking for $2... " >&6; }
2201 if eval \${$3+:} false; then :
2202 $as_echo_n "(cached) " >&6
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2206 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2208 #define $2 innocuous_$2
2210 /* System header to define __stub macros and hopefully few prototypes,
2211 which can conflict with char $2 (); below.
2212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2213 <limits.h> exists even on freestanding compilers. */
2216 # include <limits.h>
2218 # include <assert.h>
2223 /* Override any GCC internal prototype to avoid an error.
2224 Use char because int might match the return type of a GCC
2225 builtin and then its argument prototype would still apply. */
2230 /* The GNU C library defines this for functions which it implements
2231 to always fail with ENOSYS. Some functions are actually named
2232 something starting with __ and the normal name is an alias. */
2233 #if defined __stub_$2 || defined __stub___$2
2245 if ac_fn_c_try_link "$LINENO"; then :
2250 rm -f core conftest.err conftest.$ac_objext \
2251 conftest$ac_exeext conftest.$ac_ext
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2255 $as_echo "$ac_res" >&6; }
2256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2258 } # ac_fn_c_check_func
2259 cat >config.log <<_ACEOF
2260 This file contains any messages produced by compilers while
2261 running configure, to aid debugging if configure makes a mistake.
2263 It was created by $as_me, which was
2264 generated by GNU Autoconf 2.68. Invocation command line was
2276 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2277 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2278 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2279 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2280 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2282 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2283 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2285 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2286 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2287 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2288 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2289 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2290 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2291 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir=.
2300 $as_echo "PATH: $as_dir"
2316 # Keep a trace of the command line.
2317 # Strip out --no-create and --no-recursion so they do not pile up.
2318 # Strip out --silent because we don't want to record it for future runs.
2319 # Also quote any args containing shell meta-characters.
2320 # Make two passes to allow for proper duplicate-argument suppression.
2324 ac_must_keep_next=false
2330 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2332 | -silent | --silent | --silen | --sile | --sil)
2335 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2338 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2340 as_fn_append ac_configure_args1 " '$ac_arg'"
2341 if test $ac_must_keep_next = true; then
2342 ac_must_keep_next=false # Got value, back to normal.
2345 *=* | --config-cache | -C | -disable-* | --disable-* \
2346 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2347 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2348 | -with-* | --with-* | -without-* | --without-* | --x)
2349 case "$ac_configure_args0 " in
2350 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2353 -* ) ac_must_keep_next=true ;;
2356 as_fn_append ac_configure_args " '$ac_arg'"
2361 { ac_configure_args0=; unset ac_configure_args0;}
2362 { ac_configure_args1=; unset ac_configure_args1;}
2364 # When interrupted or exit'd, cleanup temporary files, and complete
2365 # config.log. We remove comments because anyway the quotes in there
2366 # would cause problems or look ugly.
2367 # WARNING: Use '\'' to represent an apostrophe within the trap.
2368 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2369 trap 'exit_status=$?
2370 # Save into config.log some information that might help in debugging.
2374 $as_echo "## ---------------- ##
2375 ## Cache variables. ##
2376 ## ---------------- ##"
2378 # The following way of writing the cache mishandles newlines in values,
2380 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2381 eval ac_val=\$$ac_var
2385 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2386 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2389 _ | IFS | as_nl) ;; #(
2390 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2391 *) { eval $ac_var=; unset $ac_var;} ;;
2396 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2397 *${as_nl}ac_space=\ *)
2399 "s/'\''/'\''\\\\'\'''\''/g;
2400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2403 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2410 $as_echo "## ----------------- ##
2411 ## Output variables. ##
2412 ## ----------------- ##"
2414 for ac_var in $ac_subst_vars
2416 eval ac_val=\$$ac_var
2418 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2420 $as_echo "$ac_var='\''$ac_val'\''"
2424 if test -n "$ac_subst_files"; then
2425 $as_echo "## ------------------- ##
2426 ## File substitutions. ##
2427 ## ------------------- ##"
2429 for ac_var in $ac_subst_files
2431 eval ac_val=\$$ac_var
2433 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2435 $as_echo "$ac_var='\''$ac_val'\''"
2440 if test -s confdefs.h; then
2441 $as_echo "## ----------- ##
2448 test "$ac_signal" != 0 &&
2449 $as_echo "$as_me: caught signal $ac_signal"
2450 $as_echo "$as_me: exit $exit_status"
2452 rm -f core *.core core.conftest.* &&
2453 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2456 for ac_signal in 1 2 13 15; do
2457 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2461 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2462 rm -f -r conftest* confdefs.h
2464 $as_echo "/* confdefs.h */" > confdefs.h
2466 # Predefined preprocessor variables.
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_NAME "$PACKAGE_NAME"
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_STRING "$PACKAGE_STRING"
2484 cat >>confdefs.h <<_ACEOF
2485 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2488 cat >>confdefs.h <<_ACEOF
2489 #define PACKAGE_URL "$PACKAGE_URL"
2493 # Let the site file select an alternate cache file if it wants to.
2494 # Prefer an explicitly selected file to automatically selected ones.
2497 if test -n "$CONFIG_SITE"; then
2498 # We do not want a PATH search for config.site.
2499 case $CONFIG_SITE in #((
2500 -*) ac_site_file1=./$CONFIG_SITE;;
2501 */*) ac_site_file1=$CONFIG_SITE;;
2502 *) ac_site_file1=./$CONFIG_SITE;;
2504 elif test "x$prefix" != xNONE; then
2505 ac_site_file1=$prefix/share/config.site
2506 ac_site_file2=$prefix/etc/config.site
2508 ac_site_file1=$ac_default_prefix/share/config.site
2509 ac_site_file2=$ac_default_prefix/etc/config.site
2511 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2513 test "x$ac_site_file" = xNONE && continue
2514 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2516 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2517 sed 's/^/| /' "$ac_site_file" >&5
2519 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2521 as_fn_error $? "failed to load site
script $ac_site_file
2522 See \
`config.log' for more details" "$LINENO" 5; }
2526 if test -r "$cache_file"; then
2527 # Some versions of bash will fail to source /dev/null (special files
2528 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2529 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2531 $as_echo "$as_me: loading cache $cache_file" >&6;}
2533 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2534 *) . "./$cache_file";;
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2539 $as_echo "$as_me: creating cache $cache_file" >&6;}
2543 as_fn_append ac_header_list " stdlib.h"
2544 as_fn_append ac_header_list " unistd.h"
2545 as_fn_append ac_header_list " sys/param.h"
2546 # Check that the precious variables saved in the cache have kept the same
2548 ac_cache_corrupted=false
2549 for ac_var in $ac_precious_vars; do
2550 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2551 eval ac_new_set=\$ac_env_${ac_var}_set
2552 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2553 eval ac_new_val=\$ac_env_${ac_var}_value
2554 case $ac_old_set,$ac_new_set in
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2557 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2558 ac_cache_corrupted=: ;;
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2561 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2562 ac_cache_corrupted=: ;;
2565 if test "x$ac_old_val" != "x$ac_new_val"; then
2566 # differences in whitespace do not lead to failure.
2567 ac_old_val_w=`echo x
$ac_old_val`
2568 ac_new_val_w=`echo x
$ac_new_val`
2569 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2571 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2572 ac_cache_corrupted=:
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2575 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2576 eval $ac_var=\$ac_old_val
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2579 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2581 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2584 # Pass precious variables to config.status.
2585 if test "$ac_new_set" = set; then
2587 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2588 *) ac_arg=$ac_var=$ac_new_val ;;
2590 case " $ac_configure_args " in
2591 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2592 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2596 if $ac_cache_corrupted; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2600 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2601 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2603 ## -------------------- ##
2604 ## Main body of script. ##
2605 ## -------------------- ##
2608 ac_cpp='$CPP $CPPFLAGS'
2609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2616 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2617 if test -f "$ac_dir/install-sh"; then
2619 ac_install_sh="$ac_aux_dir/install-sh -c"
2621 elif test -f "$ac_dir/install.sh"; then
2623 ac_install_sh="$ac_aux_dir/install.sh -c"
2625 elif test -f "$ac_dir/shtool"; then
2627 ac_install_sh="$ac_aux_dir/shtool install -c"
2631 if test -z "$ac_aux_dir"; then
2632 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2635 # These three variables are undocumented and unsupported,
2636 # and are intended to be withdrawn in a future Autoconf release.
2637 # They can cause serious problems if a builder's source tree is in a directory
2638 # whose full name contains unusual characters.
2639 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2640 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2641 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2645 # Check what host we are running on.
2646 # If a target is not suggested, we use this one.
2647 # Note that what we call a target, Autoconf calls a host.
2648 # Make sure we can run config.sub.
2649 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2650 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2653 $as_echo_n "checking build system type... " >&6; }
2654 if ${ac_cv_build+:} false; then :
2655 $as_echo_n "(cached) " >&6
2657 ac_build_alias=$build_alias
2658 test "x$ac_build_alias" = x &&
2659 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2660 test "x$ac_build_alias" = x &&
2661 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2662 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2663 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2667 $as_echo "$ac_cv_build" >&6; }
2668 case $ac_cv_build in
2670 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2673 ac_save_IFS=$IFS; IFS='-'
2679 # Remember, the first character of IFS is used to create $*,
2680 # except with old shells:
2683 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2687 $as_echo_n "checking host system type... " >&6; }
2688 if ${ac_cv_host+:} false; then :
2689 $as_echo_n "(cached) " >&6
2691 if test "x$host_alias" = x; then
2692 ac_cv_host=$ac_cv_build
2694 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2695 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2700 $as_echo "$ac_cv_host" >&6; }
2703 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2706 ac_save_IFS=$IFS; IFS='-'
2712 # Remember, the first character of IFS is used to create $*,
2713 # except with old shells:
2716 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2720 # The AROS target is slightly different to the normal GNU style
2721 # format. We don't have the middle part, and we reverse the order
2722 # of the $(CPU) and $(OS) bits.
2724 # Don't strip the version of the target yet, it might be
2725 # useful on some systems.
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2728 $as_echo_n "checking for AROS style target... " >&6; }
2730 if test "$target" = "NONE" ; then
2731 target=$host_os-$host_cpu
2733 if test "$target" = "" ; then
2734 target=$host_os-$host_cpu
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2738 $as_echo "$target" >&6; }
2740 if test "$host_os" = "mingw32" ; then
2744 # Don't know where else to put this...
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2746 $as_echo_n "checking building AROS in... " >&6; }
2747 AROS_BUILDDIR=`${PWDCMD-pwd}`
2748 AROS_BUILDDIR_UNIX=${PWD}
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2750 $as_echo "$AROS_BUILDDIR" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2753 $as_echo_n "checking AROS source in... " >&6; }
2754 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2757 $as_echo "$SRCDIR" >&6; }
2759 # Parse the target field into something useful.
2761 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2762 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2765 # Some debug output, to be removed again.
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2767 $as_echo_n "checking for target system (debug output)... " >&6; }
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2769 $as_echo "$target_os" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2771 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2773 $as_echo "$target_cpu" >&6; }
2775 aros_default_wbwidth=800
2776 aros_default_wbheight=600
2777 aros_default_wbdepth=4
2780 # The first step is to find the host binaries.
2781 # Check for a compiler.
2783 ac_cpp='$CPP $CPPFLAGS'
2784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2787 if test -n "$ac_tool_prefix"; then
2788 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2789 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if ${ac_cv_prog_CC+:} false; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$CC"; then
2796 ac_cv_prog_CC="$CC" # Let the user override the test.
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir=.
2803 for ac_exec_ext in '' $ac_executable_extensions; do
2804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 if test -n "$CC"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2818 $as_echo "$CC" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2826 if test -z "$ac_cv_prog_CC"; then
2828 # Extract the first word of "gcc", so it can be a program name with args.
2829 set dummy gcc; ac_word=$2
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 if test -n "$ac_ct_CC"; then
2836 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842 test -z "$as_dir" && as_dir=.
2843 for ac_exec_ext in '' $ac_executable_extensions; do
2844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2845 ac_cv_prog_ac_ct_CC="gcc"
2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2856 if test -n "$ac_ct_CC"; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2858 $as_echo "$ac_ct_CC" >&6; }
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2864 if test "x$ac_ct_CC" = x; then
2867 case $cross_compiling:$ac_tool_warned in
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2871 ac_tool_warned=yes ;;
2879 if test -z "$CC"; then
2880 if test -n "$ac_tool_prefix"; then
2881 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2882 set dummy ${ac_tool_prefix}cc; ac_word=$2
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884 $as_echo_n "checking for $ac_word... " >&6; }
2885 if ${ac_cv_prog_CC+:} false; then :
2886 $as_echo_n "(cached) " >&6
2888 if test -n "$CC"; then
2889 ac_cv_prog_CC="$CC" # Let the user override the test.
2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 test -z "$as_dir" && as_dir=.
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2898 ac_cv_prog_CC="${ac_tool_prefix}cc"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2909 if test -n "$CC"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2911 $as_echo "$CC" >&6; }
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914 $as_echo "no" >&6; }
2920 if test -z "$CC"; then
2921 # Extract the first word of "cc", so it can be a program name with args.
2922 set dummy cc; ac_word=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2925 if ${ac_cv_prog_CC+:} false; then :
2926 $as_echo_n "(cached) " >&6
2928 if test -n "$CC"; then
2929 ac_cv_prog_CC="$CC" # Let the user override the test.
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2940 ac_prog_rejected=yes
2944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 if test $ac_prog_rejected = yes; then
2952 # We found a bogon in the path, so make sure we never use it.
2953 set dummy $ac_cv_prog_CC
2955 if test $# != 0; then
2956 # We chose a different compiler from the bogus one.
2957 # However, it has the same basename, so the bogon will be chosen
2958 # first if we set CC to just the basename; use the full file name.
2960 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2966 if test -n "$CC"; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2968 $as_echo "$CC" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2976 if test -z "$CC"; then
2977 if test -n "$ac_tool_prefix"; then
2978 for ac_prog in cl.exe
2980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2983 $as_echo_n "checking for $ac_word... " >&6; }
2984 if ${ac_cv_prog_CC+:} false; then :
2985 $as_echo_n "(cached) " >&6
2987 if test -n "$CC"; then
2988 ac_cv_prog_CC="$CC" # Let the user override the test.
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2997 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 if test -n "$CC"; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3010 $as_echo "$CC" >&6; }
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3013 $as_echo "no" >&6; }
3017 test -n "$CC" && break
3020 if test -z "$CC"; then
3022 for ac_prog in cl.exe
3024 # Extract the first word of "$ac_prog", so it can be a program name with args.
3025 set dummy $ac_prog; ac_word=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$ac_ct_CC"; then
3032 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir=.
3039 for ac_exec_ext in '' $ac_executable_extensions; do
3040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3041 ac_cv_prog_ac_ct_CC="$ac_prog"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3052 if test -n "$ac_ct_CC"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3054 $as_echo "$ac_ct_CC" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3061 test -n "$ac_ct_CC" && break
3064 if test "x$ac_ct_CC" = x; then
3067 case $cross_compiling:$ac_tool_warned in
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3071 ac_tool_warned=yes ;;
3080 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3083 See \
`config.log' for more details" "$LINENO" 5; }
3085 # Provide some information about the compiler.
3086 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3089 for ac_option in --version -v -V -qversion; do
3090 { { ac_try="$ac_compiler $ac_option >&5"
3092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3093 *) ac_try_echo
=$ac_try;;
3095 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3096 $as_echo "$ac_try_echo"; } >&5
3097 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3099 if test -s conftest.err
; then
3101 ... rest of stderr output deleted ...
3102 10q' conftest.err
>conftest.er1
3103 cat conftest.er1
>&5
3105 rm -f conftest.er1 conftest.err
3106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3107 test $ac_status = 0; }
3110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3121 ac_clean_files_save
=$ac_clean_files
3122 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3123 # Try to create an executable without -o first, disregard a.out.
3124 # It will help us diagnose broken compilers, and finding out an intuition
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3127 $as_echo_n "checking whether the C compiler works... " >&6; }
3128 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3130 # The possible output files:
3131 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3134 for ac_file
in $ac_files
3137 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3138 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3143 if { { ac_try
="$ac_link_default"
3145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3149 $as_echo "$ac_try_echo"; } >&5
3150 (eval "$ac_link_default") 2>&5
3152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3153 test $ac_status = 0; }; then :
3154 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3155 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3156 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3157 # so that the user can short-circuit this test for compilers unknown to
3159 for ac_file in $ac_files ''
3161 test -f "$ac_file" || continue
3163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3166 # We found the default executable, but exeext='' is most
3170 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3172 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3174 # We set ac_cv_exeext here because the later test for it is not
3175 # safe: cross compilers may not add the suffix if given an `-o'
3176 # argument, so we may need to know it at that point already.
3177 # Even if this section looks crufty: it has the advantage of
3184 test "$ac_cv_exeext" = no && ac_cv_exeext=
3189 if test -z "$ac_file"; then :
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3192 $as_echo "$as_me: failed program was:" >&5
3193 sed 's
/^
/|
/' conftest.$ac_ext >&5
3195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3197 as_fn_error 77 "C compiler cannot create executables
3198 See \`config.log
' for more details" "$LINENO" 5; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3201 $as_echo "yes" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3204 $as_echo_n "checking for C compiler default output file name... " >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3206 $as_echo "$ac_file" >&6; }
3207 ac_exeext=$ac_cv_exeext
3209 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3210 ac_clean_files=$ac_clean_files_save
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3212 $as_echo_n "checking for suffix of executables... " >&6; }
3213 if { { ac_try="$ac_link"
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3219 $as_echo "$ac_try_echo"; } >&5
3220 (eval "$ac_link") 2>&5
3222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3223 test $ac_status = 0; }; then :
3224 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3225 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3226 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3228 for ac_file
in conftest.exe conftest conftest.
*; do
3229 test -f "$ac_file" ||
continue
3231 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3232 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3240 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3241 See \`config.log' for more details" "$LINENO" 5; }
3243 rm -f conftest conftest
$ac_cv_exeext
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3245 $as_echo "$ac_cv_exeext" >&6; }
3247 rm -f conftest.
$ac_ext
3248 EXEEXT
=$ac_cv_exeext
3250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3256 FILE *f = fopen ("conftest.out", "w");
3257 return ferror (f) || fclose (f) != 0;
3263 ac_clean_files
="$ac_clean_files conftest.out"
3264 # Check that the compiler produces executables we can run. If not, either
3265 # the compiler is broken, or we cross compile.
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3267 $as_echo_n "checking whether we are cross compiling... " >&6; }
3268 if test "$cross_compiling" != yes; then
3269 { { ac_try
="$ac_link"
3271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3275 $as_echo "$ac_try_echo"; } >&5
3276 (eval "$ac_link") 2>&5
3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279 test $ac_status = 0; }
3280 if { ac_try='./conftest$ac_cv_exeext'
3281 { { case "(($ac_try" in
3282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3283 *) ac_try_echo
=$ac_try;;
3285 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_try") 2>&5
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }; }; then
3293 if test "$cross_compiling" = maybe
; then
3296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298 as_fn_error $?
"cannot run C compiled programs.
3299 If you meant to cross compile, use \`--host'.
3300 See \`config.log' for more details" "$LINENO" 5; }
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3305 $as_echo "$cross_compiling" >&6; }
3307 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3308 ac_clean_files
=$ac_clean_files_save
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3310 $as_echo_n "checking for suffix of object files... " >&6; }
3311 if ${ac_cv_objext+:} false
; then :
3312 $as_echo_n "(cached) " >&6
3314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3325 rm -f conftest.o conftest.obj
3326 if { { ac_try
="$ac_compile"
3328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_compile") 2>&5
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }; then :
3337 for ac_file in conftest.o conftest.obj conftest.*; do
3338 test -f "$ac_file" || continue;
3340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3341 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3346 $as_echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3352 See \
`config.log' for more details" "$LINENO" 5; }
3354 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3357 $as_echo "$ac_cv_objext" >&6; }
3358 OBJEXT=$ac_cv_objext
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3361 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3362 if ${ac_cv_c_compiler_gnu+:} false; then :
3363 $as_echo_n "(cached) " >&6
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3379 if ac_fn_c_try_compile "$LINENO"; then :
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3389 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3390 if test $ac_compiler_gnu = yes; then
3395 ac_test_CFLAGS=${CFLAGS+set}
3396 ac_save_CFLAGS=$CFLAGS
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3398 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3399 if ${ac_cv_prog_cc_g+:} false; then :
3400 $as_echo_n "(cached) " >&6
3402 ac_save_c_werror_flag=$ac_c_werror_flag
3403 ac_c_werror_flag=yes
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3417 if ac_fn_c_try_compile "$LINENO"; then :
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3432 if ac_fn_c_try_compile "$LINENO"; then :
3435 ac_c_werror_flag=$ac_save_c_werror_flag
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3448 if ac_fn_c_try_compile "$LINENO"; then :
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 ac_c_werror_flag=$ac_save_c_werror_flag
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3459 $as_echo "$ac_cv_prog_cc_g" >&6; }
3460 if test "$ac_test_CFLAGS" = set; then
3461 CFLAGS=$ac_save_CFLAGS
3462 elif test $ac_cv_prog_cc_g = yes; then
3463 if test "$GCC" = yes; then
3469 if test "$GCC" = yes; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3476 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3477 if ${ac_cv_prog_cc_c89+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 ac_cv_prog_cc_c89=no
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3486 #include <sys/types.h>
3487 #include <sys/stat.h>
3488 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3489 struct buf { int x; };
3490 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3491 static char *e (p, i)
3497 static char *f (char * (*g) (char **, int), char **p, ...)
3502 s = g (p, va_arg (v,int));
3507 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3508 function prototypes and stuff, but not '\xHH' hex character constants.
3509 These don't provoke an error unfortunately, instead are silently treated
3510 as 'x'. The following induces an error, until -std is added to get
3511 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3512 array size at least. It's necessary to write '\x00'==0 to get something
3513 that's true only with -std. */
3514 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3516 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3517 inside strings and character constants. */
3519 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3521 int test (int i, double x);
3522 struct s1 {int (*f) (int a);};
3523 struct s2 {int (*f) (double a);};
3524 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3530 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3535 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3536 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3538 CC="$ac_save_CC $ac_arg"
3539 if ac_fn_c_try_compile "$LINENO"; then :
3540 ac_cv_prog_cc_c89=$ac_arg
3542 rm -f core conftest.err conftest.$ac_objext
3543 test "x$ac_cv_prog_cc_c89" != "xno" && break
3545 rm -f conftest.$ac_ext
3550 case "x$ac_cv_prog_cc_c89" in
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3553 $as_echo "none needed" >&6; } ;;
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3556 $as_echo "unsupported" >&6; } ;;
3558 CC="$CC $ac_cv_prog_cc_c89"
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3560 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3562 if test "x$ac_cv_prog_cc_c89" != xno; then :
3567 ac_cpp='$CPP $CPPFLAGS'
3568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3572 case $ac_cv_prog_cc_stdc in #(
3574 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3577 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3578 if ${ac_cv_prog_cc_c99+:} false; then :
3579 $as_echo_n "(cached) " >&6
3581 ac_cv_prog_cc_c99=no
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3586 #include <stdbool.h>
3591 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3592 #define debug(...) fprintf (stderr, __VA_ARGS__)
3593 #define showlist(...) puts (#__VA_ARGS__)
3594 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3596 test_varargs_macros (void)
3601 debug ("X = %d\n", x);
3602 showlist (The first, second, and third items.);
3603 report (x>y, "x is %d but y is %d", x, y);
3606 // Check long long types.
3607 #define BIG64 18446744073709551615ull
3608 #define BIG32 4294967295ul
3609 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3611 your preprocessor is broken;
3615 your preprocessor is broken;
3617 static long long int bignum = -9223372036854775807LL;
3618 static unsigned long long int ubignum = BIG64;
3620 struct incomplete_array
3628 const wchar_t *name;
3632 typedef const char *ccp;
3635 test_restrict (ccp restrict text)
3637 // See if C++-style comments work.
3638 // Iterate through items via the restricted pointer.
3639 // Also check for declarations in for loops.
3640 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3645 // Check varargs and va_copy.
3647 test_varargs (const char *format, ...)
3650 va_start (args, format);
3652 va_copy (args_copy, args);
3663 str = va_arg (args_copy, const char *);
3666 number = va_arg (args_copy, int);
3669 fnumber = va_arg (args_copy, double);
3684 _Bool success = false;
3687 if (test_restrict ("String literal") == 0)
3689 char *restrict newvar = "Another string";
3692 test_varargs ("s, d' f .", "string", 65, 34.234);
3693 test_varargs_macros ();
3695 // Check flexible array members.
3696 struct incomplete_array *ia =
3697 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3699 for (int i = 0; i < ia->datasize; ++i)
3700 ia->data[i] = i * 1.234;
3702 // Check named initializers.
3703 struct named_init ni = {
3705 .name = L"Test wide string",
3706 .average = 543.34343,
3711 int dynamic_array[ni.number];
3712 dynamic_array[ni.number - 1] = 543;
3714 // work around unused variable warnings
3715 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3716 || dynamic_array[ni.number - 1] != 543);
3722 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3724 CC="$ac_save_CC $ac_arg"
3725 if ac_fn_c_try_compile "$LINENO"; then :
3726 ac_cv_prog_cc_c99=$ac_arg
3728 rm -f core conftest.err conftest.$ac_objext
3729 test "x$ac_cv_prog_cc_c99" != "xno" && break
3731 rm -f conftest.$ac_ext
3736 case "x$ac_cv_prog_cc_c99" in
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3739 $as_echo "none needed" >&6; } ;;
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3742 $as_echo "unsupported" >&6; } ;;
3744 CC="$CC $ac_cv_prog_cc_c99"
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3746 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3748 if test "x$ac_cv_prog_cc_c99" != xno; then :
3749 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3752 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3753 if ${ac_cv_prog_cc_c89+:} false; then :
3754 $as_echo_n "(cached) " >&6
3756 ac_cv_prog_cc_c89=no
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3762 #include <sys/types.h>
3763 #include <sys/stat.h>
3764 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3765 struct buf { int x; };
3766 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3767 static char *e (p, i)
3773 static char *f (char * (*g) (char **, int), char **p, ...)
3778 s = g (p, va_arg (v,int));
3783 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3784 function prototypes and stuff, but not '\xHH' hex character constants.
3785 These don't provoke an error unfortunately, instead are silently treated
3786 as 'x'. The following induces an error, until -std is added to get
3787 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3788 array size at least. It's necessary to write '\x00'==0 to get something
3789 that's true only with -std. */
3790 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3792 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3793 inside strings and character constants. */
3795 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3797 int test (int i, double x);
3798 struct s1 {int (*f) (int a);};
3799 struct s2 {int (*f) (double a);};
3800 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3806 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3811 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3812 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3814 CC="$ac_save_CC $ac_arg"
3815 if ac_fn_c_try_compile "$LINENO"; then :
3816 ac_cv_prog_cc_c89=$ac_arg
3818 rm -f core conftest.err conftest.$ac_objext
3819 test "x$ac_cv_prog_cc_c89" != "xno" && break
3821 rm -f conftest.$ac_ext
3826 case "x$ac_cv_prog_cc_c89" in
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3829 $as_echo "none needed" >&6; } ;;
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3832 $as_echo "unsupported" >&6; } ;;
3834 CC="$CC $ac_cv_prog_cc_c89"
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3836 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3838 if test "x$ac_cv_prog_cc_c89" != xno; then :
3839 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3841 ac_cv_prog_cc_stdc=no
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3848 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3849 if ${ac_cv_prog_cc_stdc+:} false; then :
3850 $as_echo_n "(cached) " >&6
3853 case $ac_cv_prog_cc_stdc in #(
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3856 $as_echo "unsupported" >&6; } ;; #(
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3859 $as_echo "none needed" >&6; } ;; #(
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3862 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3866 ac_cpp='$CXXCPP $CPPFLAGS'
3867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3870 if test -z "$CXX"; then
3871 if test -n "$CCC"; then
3874 if test -n "$ac_tool_prefix"; then
3875 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3878 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880 $as_echo_n "checking for $ac_word... " >&6; }
3881 if ${ac_cv_prog_CXX+:} false; then :
3882 $as_echo_n "(cached) " >&6
3884 if test -n "$CXX"; then
3885 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3894 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 if test -n "$CXX"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3907 $as_echo "$CXX" >&6; }
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3910 $as_echo "no" >&6; }
3914 test -n "$CXX" && break
3917 if test -z "$CXX"; then
3919 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3921 # Extract the first word of "$ac_prog", so it can be a program name with args.
3922 set dummy $ac_prog; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3926 $as_echo_n "(cached) " >&6
3928 if test -n "$ac_ct_CXX"; then
3929 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 test -z "$as_dir" && as_dir=.
3936 for ac_exec_ext in '' $ac_executable_extensions; do
3937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3938 ac_cv_prog_ac_ct_CXX="$ac_prog"
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3949 if test -n "$ac_ct_CXX"; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3951 $as_echo "$ac_ct_CXX" >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3958 test -n "$ac_ct_CXX" && break
3961 if test "x$ac_ct_CXX" = x; then
3964 case $cross_compiling:$ac_tool_warned in
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3968 ac_tool_warned=yes ;;
3976 # Provide some information about the compiler.
3977 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3980 for ac_option in --version -v -V -qversion; do
3981 { { ac_try="$ac_compiler $ac_option >&5"
3983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3984 *) ac_try_echo
=$ac_try;;
3986 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3987 $as_echo "$ac_try_echo"; } >&5
3988 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3990 if test -s conftest.err
; then
3992 ... rest of stderr output deleted ...
3993 10q' conftest.err
>conftest.er1
3994 cat conftest.er1
>&5
3996 rm -f conftest.er1 conftest.err
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4002 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4003 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4004 $as_echo_n "(cached) " >&6
4006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4020 if ac_fn_cxx_try_compile
"$LINENO"; then :
4025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4026 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4030 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4031 if test $ac_compiler_gnu = yes; then
4036 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4037 ac_save_CXXFLAGS
=$CXXFLAGS
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4039 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4040 if ${ac_cv_prog_cxx_g+:} false
; then :
4041 $as_echo_n "(cached) " >&6
4043 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4044 ac_cxx_werror_flag
=yes
4047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4058 if ac_fn_cxx_try_compile
"$LINENO"; then :
4059 ac_cv_prog_cxx_g
=yes
4062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4073 if ac_fn_cxx_try_compile
"$LINENO"; then :
4076 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4089 if ac_fn_cxx_try_compile
"$LINENO"; then :
4090 ac_cv_prog_cxx_g
=yes
4092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4097 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4100 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4101 if test "$ac_test_CXXFLAGS" = set; then
4102 CXXFLAGS
=$ac_save_CXXFLAGS
4103 elif test $ac_cv_prog_cxx_g = yes; then
4104 if test "$GXX" = yes; then
4110 if test "$GXX" = yes; then
4117 ac_cpp
='$CPP $CPPFLAGS'
4118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4123 ac_cpp
='$CPP $CPPFLAGS'
4124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4128 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4129 # On Suns, sometimes $CPP names a directory.
4130 if test -n "$CPP" && test -d "$CPP"; then
4133 if test -z "$CPP"; then
4134 if ${ac_cv_prog_CPP+:} false
; then :
4135 $as_echo_n "(cached) " >&6
4137 # Double quotes because CPP needs to be expanded
4138 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4141 for ac_c_preproc_warn_flag
in '' yes
4143 # Use a header file that comes with gcc, so configuring glibc
4144 # with a fresh cross-compiler works.
4145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4146 # <limits.h> exists even on freestanding compilers.
4147 # On the NeXT, cc -E runs the code through the compiler's parser,
4148 # not just through cpp. "Syntax error" is here to catch this case.
4149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4150 /* end confdefs.h. */
4152 # include <limits.h>
4154 # include <assert.h>
4158 if ac_fn_c_try_cpp
"$LINENO"; then :
4161 # Broken: fails on valid input.
4164 rm -f conftest.err conftest.i conftest.
$ac_ext
4166 # OK, works on sane cases. Now check whether nonexistent headers
4167 # can be detected and how.
4168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4170 #include <ac_nonexistent.h>
4172 if ac_fn_c_try_cpp
"$LINENO"; then :
4173 # Broken: success on invalid input.
4176 # Passes both tests.
4180 rm -f conftest.err conftest.i conftest.
$ac_ext
4183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4184 rm -f conftest.i conftest.err conftest.
$ac_ext
4185 if $ac_preproc_ok; then :
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4198 $as_echo "$CPP" >&6; }
4200 for ac_c_preproc_warn_flag
in '' yes
4202 # Use a header file that comes with gcc, so configuring glibc
4203 # with a fresh cross-compiler works.
4204 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4205 # <limits.h> exists even on freestanding compilers.
4206 # On the NeXT, cc -E runs the code through the compiler's parser,
4207 # not just through cpp. "Syntax error" is here to catch this case.
4208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4211 # include <limits.h>
4213 # include <assert.h>
4217 if ac_fn_c_try_cpp
"$LINENO"; then :
4220 # Broken: fails on valid input.
4223 rm -f conftest.err conftest.i conftest.
$ac_ext
4225 # OK, works on sane cases. Now check whether nonexistent headers
4226 # can be detected and how.
4227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4229 #include <ac_nonexistent.h>
4231 if ac_fn_c_try_cpp
"$LINENO"; then :
4232 # Broken: success on invalid input.
4235 # Passes both tests.
4239 rm -f conftest.err conftest.i conftest.
$ac_ext
4242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4243 rm -f conftest.i conftest.err conftest.
$ac_ext
4244 if $ac_preproc_ok; then :
4247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4249 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4250 See \`config.log' for more details" "$LINENO" 5; }
4254 ac_cpp
='$CPP $CPPFLAGS'
4255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4260 # Check for a compatible awk
4261 for ac_prog
in gawk nawk
4263 # Extract the first word of "$ac_prog", so it can be a program name with args.
4264 set dummy
$ac_prog; ac_word
=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_AWK+:} false
; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -n "$AWK"; then
4271 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir
=.
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4280 ac_cv_prog_AWK
="$ac_prog"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 if test -n "$AWK"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4293 $as_echo "$AWK" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4300 test -n "$AWK" && break
4303 if test "$AWK" = ""; then
4304 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4306 # Extract the first word of "mmake", so it can be a program name with args.
4307 set dummy mmake
; ac_word
=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if ${ac_cv_prog_MMAKE+:} false
; then :
4311 $as_echo_n "(cached) " >&6
4313 if test -n "$MMAKE"; then
4314 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4320 test -z "$as_dir" && as_dir
=.
4321 for ac_exec_ext
in '' $ac_executable_extensions; do
4322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323 ac_cv_prog_MMAKE
="mmake "
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 MMAKE
=$ac_cv_prog_MMAKE
4334 if test -n "$MMAKE"; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4336 $as_echo "$MMAKE" >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4344 # Perform some default variable assignments. Note all of these will be
4345 # Regenerated from the script, so there is no need to cache them.
4347 aros_host_cpp
="$CPP"
4349 aros_host_cxx
="$CXX"
4350 if test "$GCC" = "yes"; then
4351 aros_gcc_ld
=`$CC -print-prog-name=ld`
4352 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4353 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if ${ac_cv_path_aros_host_ld+:} false
; then :
4357 $as_echo_n "(cached) " >&6
4359 case $aros_host_ld in
4361 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4365 for as_dir
in `dirname $aros_gcc_ld`
4368 test -z "$as_dir" && as_dir
=.
4369 for ac_exec_ext
in '' $ac_executable_extensions; do
4370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 aros_host_ld
=$ac_cv_path_aros_host_ld
4383 if test -n "$aros_host_ld"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4385 $as_echo "$aros_host_ld" >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4393 if test "$aros_host_ld" = ""; then
4394 # Extract the first word of "ld", so it can be a program name with args.
4395 set dummy ld
; ac_word
=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if ${ac_cv_path_aros_host_ld+:} false
; then :
4399 $as_echo_n "(cached) " >&6
4401 case $aros_host_ld in
4403 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir
=.
4411 for ac_exec_ext
in '' $ac_executable_extensions; do
4412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 aros_host_ld
=$ac_cv_path_aros_host_ld
4425 if test -n "$aros_host_ld"; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4427 $as_echo "$aros_host_ld" >&6; }
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4435 if test "$aros_host_ld" = ""; then
4436 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4438 aros_host_make
="make"
4439 aros_host_cflags
=$CFLAGS
4440 aros_host_cxxflags
=$CXXFLAGS
4441 aros_host_ldflags
=$LDFLAGS
4442 aros_host_debug
="-g -O0"
4443 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4444 aros_host_mkargs
="--no-print-directory"
4445 aros_host_exe_suffix
="$EXEEXT"
4446 aros_host_lib_suffix
=""
4448 # Ignore all compliance, AROS ROMs = 0
4449 # KickStart v1.0 = 30
4450 # KickStart v1.3 = 34
4451 # KickStart v2.0 = 37
4452 # KickStart v3.0 = 39
4453 # KickStart v3.1 = 40
4455 aros_amigaos_compliance
=0
4457 for ac_prog
in aclocal aclocal19 aclocal-1.9
4459 # Extract the first word of "$ac_prog", so it can be a program name with args.
4460 set dummy
$ac_prog; ac_word
=$2
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4464 $as_echo_n "(cached) " >&6
4466 if test -n "$aros_host_aclocal"; then
4467 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4473 test -z "$as_dir" && as_dir
=.
4474 for ac_exec_ext
in '' $ac_executable_extensions; do
4475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4476 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4487 if test -n "$aros_host_aclocal"; then
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4489 $as_echo "$aros_host_aclocal" >&6; }
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 $as_echo "no" >&6; }
4496 test -n "$aros_host_aclocal" && break
4499 for ac_prog
in autoconf autoconf259 autoconf253
4501 # Extract the first word of "$ac_prog", so it can be a program name with args.
4502 set dummy
$ac_prog; ac_word
=$2
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4504 $as_echo_n "checking for $ac_word... " >&6; }
4505 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4506 $as_echo_n "(cached) " >&6
4508 if test -n "$aros_host_autoconf"; then
4509 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4515 test -z "$as_dir" && as_dir
=.
4516 for ac_exec_ext
in '' $ac_executable_extensions; do
4517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4518 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4528 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4529 if test -n "$aros_host_autoconf"; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4531 $as_echo "$aros_host_autoconf" >&6; }
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4534 $as_echo "no" >&6; }
4538 test -n "$aros_host_autoconf" && break
4541 for ac_prog
in autoheader autoheader259 autoheader253
4543 # Extract the first word of "$ac_prog", so it can be a program name with args.
4544 set dummy
$ac_prog; ac_word
=$2
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546 $as_echo_n "checking for $ac_word... " >&6; }
4547 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4548 $as_echo_n "(cached) " >&6
4550 if test -n "$aros_host_autoheader"; then
4551 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4557 test -z "$as_dir" && as_dir
=.
4558 for ac_exec_ext
in '' $ac_executable_extensions; do
4559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4560 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4570 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4571 if test -n "$aros_host_autoheader"; then
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4573 $as_echo "$aros_host_autoheader" >&6; }
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576 $as_echo "no" >&6; }
4580 test -n "$aros_host_autoheader" && break
4583 for ac_prog
in automake automake19 automake-1.9
4585 # Extract the first word of "$ac_prog", so it can be a program name with args.
4586 set dummy
$ac_prog; ac_word
=$2
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588 $as_echo_n "checking for $ac_word... " >&6; }
4589 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4590 $as_echo_n "(cached) " >&6
4592 if test -n "$aros_host_automake"; then
4593 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4599 test -z "$as_dir" && as_dir
=.
4600 for ac_exec_ext
in '' $ac_executable_extensions; do
4601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4602 ac_cv_prog_aros_host_automake
="$ac_prog"
4603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4612 aros_host_automake
=$ac_cv_prog_aros_host_automake
4613 if test -n "$aros_host_automake"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4615 $as_echo "$aros_host_automake" >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4622 test -n "$aros_host_automake" && break
4626 if test "$aros_host_aclocal" = ""; then
4627 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4629 if test "$aros_host_automake" = ""; then
4630 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4633 case "$aros_host_cc" in
4635 aros_host_cc_pipe
="-pipe"
4638 aros_host_cc_pipe
=""
4641 aros_host_cc_pipe
=""
4645 aros_kernel_cc_includes
=""
4646 aros_target_cc_includes
=""
4649 # ----------------------------------------------------------------------------------------
4650 # Host-specific defaults
4652 # This is the main host configuration section. It is where the host
4653 # can change the values of any variables it needs to change. We do
4654 # not look at anything that compiles to the target yet, we'll get
4659 aros_host_arch
="aros"
4660 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4663 aros_host_cpu
="i386"
4666 aros_host_cpu
="x86_64"
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4673 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4674 aros_host_cpu
="$host_cpu"
4680 aros_host_arch
="linux"
4681 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4682 android_build_os
="linux-x86"
4683 android_tool
="android"
4684 default_android_sdk
="/opt/android-sdk-linux_x86"
4687 aros_host_cpu
="i386"
4690 aros_host_cpu
="x86_64"
4693 aros_host_cpu
="m68k"
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4703 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4704 aros_host_cpu
="$host_cpu"
4710 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4711 aros_host_make
="gmake"
4712 aros_host_arch
="freebsd"
4713 aros_host_cpu
="i386"
4715 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4719 aros_object_format
="elf_i386"
4723 aros_object_format
="elf_i386_fbsd"
4730 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4731 aros_host_arch
="darwin"
4733 android_build_os
="darwin-x86"
4734 android_tool
="android"
4735 default_android_sdk
="/android-sdk-mac_x86"
4738 aros_host_cpu
="i386"
4741 aros_host_cpu
="x86_64"
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4748 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4749 aros_host_cpu
="$host_cpu"
4753 aros_host_ldflags
="$aros_host_ldflags -liconv"
4758 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4759 aros_host_make
="gmake"
4760 aros_host_arch
="dragonfly"
4763 aros_host_cpu
="i386"
4766 aros_host_cpu
="x86_64"
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4770 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4771 aros_host_cpu
="$host_cpu"
4777 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4778 aros_host_make
="gmake"
4779 aros_host_arch
="netbsd"
4782 aros_host_cpu
="i386"
4785 aros_host_cpu
="m68k"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4789 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4790 aros_host_cpu
="$host_cpu"
4793 aros_host_lib_suffix
=".0.0"
4797 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4798 aros_host_make
="gmake"
4799 aros_host_arch
="openbsd"
4802 aros_host_cpu
="i386"
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4806 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4807 aros_host_cpu
="$host_cpu"
4813 aros_host_arch
="solaris"
4814 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4817 aros_host_cpu
="i386"
4820 aros_host_cpu
="sparc"
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4824 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4825 aros_host_cpu
="$host_cpu"
4831 aros_host_arch
="morphos"
4837 aros_host_arch
="amiga"
4843 TOUCH
="/gg/bin/touch"
4846 aros_host_cpu
="m68k"
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4853 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4854 aros_host_cpu
="$host_cpu"
4860 aros_host_arch
="cygwin"
4861 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4863 android_build_os
="windows"
4864 android_tool
="android.bat"
4865 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4869 aros_host_cpu
="i386"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4873 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4874 aros_host_cpu
="$host_cpu"
4880 aros_host_arch
="mingw32"
4881 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4883 android_build_os
="windows"
4884 android_tool
="android.bat"
4885 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4891 $as_echo_n "checking for Windows native gcc target... " >&6; }
4892 host_cpu
=`gcc -dumpmachine`
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4894 $as_echo "$host_cpu" >&6; }
4901 aros_host_cpu
="i386"
4905 aros_host_cpu
="i386"
4909 aros_host_cpu
="x86_64"
4910 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4915 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4916 aros_host_cpu
="$host_cpu"
4921 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4925 # Extract the first word of "ar", so it can be a program name with args.
4926 set dummy
ar; ac_word
=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4930 $as_echo_n "(cached) " >&6
4932 if test -n "$aros_host_ar"; then
4933 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir
=.
4940 for ac_exec_ext
in '' $ac_executable_extensions; do
4941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4942 ac_cv_prog_aros_host_ar
="ar cr"
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 aros_host_ar
=$ac_cv_prog_aros_host_ar
4953 if test -n "$aros_host_ar"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4955 $as_echo "$aros_host_ar" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4962 if test "$aros_host_ar" = ""; then
4963 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4965 # Extract the first word of "ranlib", so it can be a program name with args.
4966 set dummy ranlib
; ac_word
=$2
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 $as_echo_n "checking for $ac_word... " >&6; }
4969 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4970 $as_echo_n "(cached) " >&6
4972 if test -n "$aros_host_ranlib"; then
4973 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4979 test -z "$as_dir" && as_dir
=.
4980 for ac_exec_ext
in '' $ac_executable_extensions; do
4981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4982 ac_cv_prog_aros_host_ranlib
="ranlib "
4983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4993 if test -n "$aros_host_ranlib"; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4995 $as_echo "$aros_host_ranlib" >&6; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 $as_echo "no" >&6; }
5002 if test "$aros_host_ranlib" = ""; then
5003 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5005 # Extract the first word of "strip", so it can be a program name with args.
5006 set dummy strip
; ac_word
=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5010 $as_echo_n "(cached) " >&6
5012 if test -n "$aros_host_strip"; then
5013 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir
=.
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5022 ac_cv_prog_aros_host_strip
="strip "
5023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 aros_host_strip
=$ac_cv_prog_aros_host_strip
5033 if test -n "$aros_host_strip"; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5035 $as_echo "$aros_host_strip" >&6; }
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5042 if test "$aros_host_strip" = ""; then
5043 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5046 # Extract the first word of "rm", so it can be a program name with args.
5047 set dummy
rm; ac_word
=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if ${ac_cv_prog_RM+:} false
; then :
5051 $as_echo_n "(cached) " >&6
5053 if test -n "$RM"; then
5054 ac_cv_prog_RM
="$RM" # Let the user override the test.
5056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5060 test -z "$as_dir" && as_dir
=.
5061 for ac_exec_ext
in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_RM
="rm -rf"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 if test -n "$RM"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5076 $as_echo "$RM" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5083 if test "$RM" = ""; then
5084 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5086 # Extract the first word of "cp", so it can be a program name with args.
5087 set dummy
cp; ac_word
=$2
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5089 $as_echo_n "checking for $ac_word... " >&6; }
5090 if ${ac_cv_prog_CP+:} false
; then :
5091 $as_echo_n "(cached) " >&6
5093 if test -n "$CP"; then
5094 ac_cv_prog_CP
="$CP" # Let the user override the test.
5096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5100 test -z "$as_dir" && as_dir
=.
5101 for ac_exec_ext
in '' $ac_executable_extensions; do
5102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 if test -n "$CP"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5116 $as_echo "$CP" >&6; }
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5123 if test "$CP" = ""; then
5124 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5126 # Extract the first word of "mv", so it can be a program name with args.
5127 set dummy
mv; ac_word
=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if ${ac_cv_prog_MV+:} false
; then :
5131 $as_echo_n "(cached) " >&6
5133 if test -n "$MV"; then
5134 ac_cv_prog_MV
="$MV" # Let the user override the test.
5136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir
=.
5141 for ac_exec_ext
in '' $ac_executable_extensions; do
5142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 if test -n "$MV"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5156 $as_echo "$MV" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5163 if test "$MV" = ""; then
5164 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5166 # Extract the first word of "echo", so it can be a program name with args.
5167 set dummy
echo; ac_word
=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if ${ac_cv_prog_ECHO+:} false
; then :
5171 $as_echo_n "(cached) " >&6
5173 if test -n "$ECHO"; then
5174 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5180 test -z "$as_dir" && as_dir
=.
5181 for ac_exec_ext
in '' $ac_executable_extensions; do
5182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183 ac_cv_prog_ECHO
="echo "
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 ECHO
=$ac_cv_prog_ECHO
5194 if test -n "$ECHO"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5196 $as_echo "$ECHO" >&6; }
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5203 if test "$ECHO" = ""; then
5204 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5206 # Extract the first word of "mkdir", so it can be a program name with args.
5207 set dummy mkdir
; ac_word
=$2
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if ${ac_cv_prog_MKDIR+:} false
; then :
5211 $as_echo_n "(cached) " >&6
5213 if test -n "$MKDIR"; then
5214 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5220 test -z "$as_dir" && as_dir
=.
5221 for ac_exec_ext
in '' $ac_executable_extensions; do
5222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 ac_cv_prog_MKDIR
="mkdir -p"
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 MKDIR
=$ac_cv_prog_MKDIR
5234 if test -n "$MKDIR"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5236 $as_echo "$MKDIR" >&6; }
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5243 if test "$MKDIR" = ""; then
5244 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5246 # Extract the first word of "touch", so it can be a program name with args.
5247 set dummy
touch; ac_word
=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if ${ac_cv_prog_TOUCH+:} false
; then :
5251 $as_echo_n "(cached) " >&6
5253 if test -n "$TOUCH"; then
5254 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir
=.
5261 for ac_exec_ext
in '' $ac_executable_extensions; do
5262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_prog_TOUCH
="touch "
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 TOUCH
=$ac_cv_prog_TOUCH
5274 if test -n "$TOUCH"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5276 $as_echo "$TOUCH" >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5283 if test "$TOUCH" = ""; then
5284 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5286 # Extract the first word of "sort", so it can be a program name with args.
5287 set dummy
sort; ac_word
=$2
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289 $as_echo_n "checking for $ac_word... " >&6; }
5290 if ${ac_cv_prog_SORT+:} false
; then :
5291 $as_echo_n "(cached) " >&6
5293 if test -n "$SORT"; then
5294 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_exec_ext
in '' $ac_executable_extensions; do
5302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5303 ac_cv_prog_SORT
="sort "
5304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 SORT
=$ac_cv_prog_SORT
5314 if test -n "$SORT"; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5316 $as_echo "$SORT" >&6; }
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 $as_echo "no" >&6; }
5323 if test "$SORT" = ""; then
5324 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5326 # Extract the first word of "uniq", so it can be a program name with args.
5327 set dummy
uniq; ac_word
=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_UNIQ+:} false
; then :
5331 $as_echo_n "(cached) " >&6
5333 if test -n "$UNIQ"; then
5334 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5340 test -z "$as_dir" && as_dir
=.
5341 for ac_exec_ext
in '' $ac_executable_extensions; do
5342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5343 ac_cv_prog_UNIQ
="uniq "
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 UNIQ
=$ac_cv_prog_UNIQ
5354 if test -n "$UNIQ"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5356 $as_echo "$UNIQ" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5363 if test "$UNIQ" = ""; then
5364 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5366 # Extract the first word of "true", so it can be a program name with args.
5367 set dummy true
; ac_word
=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_NOP+:} false
; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -n "$NOP"; then
5374 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5380 test -z "$as_dir" && as_dir
=.
5381 for ac_exec_ext
in '' $ac_executable_extensions; do
5382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5383 ac_cv_prog_NOP
="true "
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 if test -n "$NOP"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5396 $as_echo "$NOP" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5403 if test "$NOP" = ""; then
5404 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5406 # Extract the first word of "cat", so it can be a program name with args.
5407 set dummy
cat; ac_word
=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_CAT+:} false
; then :
5411 $as_echo_n "(cached) " >&6
5413 if test -n "$CAT"; then
5414 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5420 test -z "$as_dir" && as_dir
=.
5421 for ac_exec_ext
in '' $ac_executable_extensions; do
5422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5423 ac_cv_prog_CAT
="cat "
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 if test -n "$CAT"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5436 $as_echo "$CAT" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 if test "$CAT" = ""; then
5444 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5446 # Extract the first word of "bison", so it can be a program name with args.
5447 set dummy bison
; ac_word
=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_BISON+:} false
; then :
5451 $as_echo_n "(cached) " >&6
5453 if test -n "$BISON"; then
5454 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir
=.
5461 for ac_exec_ext
in '' $ac_executable_extensions; do
5462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463 ac_cv_prog_BISON
="bison "
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 BISON
=$ac_cv_prog_BISON
5474 if test -n "$BISON"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5476 $as_echo "$BISON" >&6; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5483 if test "$BISON" = ""; then
5484 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5486 # Extract the first word of "flex", so it can be a program name with args.
5487 set dummy flex
; ac_word
=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_FLEX+:} false
; then :
5491 $as_echo_n "(cached) " >&6
5493 if test -n "$FLEX"; then
5494 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5500 test -z "$as_dir" && as_dir
=.
5501 for ac_exec_ext
in '' $ac_executable_extensions; do
5502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5503 ac_cv_prog_FLEX
="flex "
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 FLEX
=$ac_cv_prog_FLEX
5514 if test -n "$FLEX"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5516 $as_echo "$FLEX" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5523 if test "$FLEX" = ""; then
5524 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5526 # Extract the first word of "pngtopnm", so it can be a program name with args.
5527 set dummy pngtopnm
; ac_word
=$2
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5529 $as_echo_n "checking for $ac_word... " >&6; }
5530 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5531 $as_echo_n "(cached) " >&6
5533 if test -n "$PNGTOPNM"; then
5534 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5540 test -z "$as_dir" && as_dir
=.
5541 for ac_exec_ext
in '' $ac_executable_extensions; do
5542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5543 ac_cv_prog_PNGTOPNM
="pngtopnm "
5544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5554 if test -n "$PNGTOPNM"; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5556 $as_echo "$PNGTOPNM" >&6; }
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 $as_echo "no" >&6; }
5563 if test "$PNGTOPNM" = ""; then
5564 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5566 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5567 set dummy ppmtoilbm
; ac_word
=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5571 $as_echo_n "(cached) " >&6
5573 if test -n "$PPMTOILBM"; then
5574 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5580 test -z "$as_dir" && as_dir
=.
5581 for ac_exec_ext
in '' $ac_executable_extensions; do
5582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5583 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5593 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5594 if test -n "$PPMTOILBM"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5596 $as_echo "$PPMTOILBM" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5603 if test "$PPMTOILBM" = ""; then
5604 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5606 # Extract the first word of "sed", so it can be a program name with args.
5607 set dummy
sed; ac_word
=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if ${ac_cv_prog_SED+:} false
; then :
5611 $as_echo_n "(cached) " >&6
5613 if test -n "$SED"; then
5614 ac_cv_prog_SED
="$SED" # Let the user override the test.
5616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5620 test -z "$as_dir" && as_dir
=.
5621 for ac_exec_ext
in '' $ac_executable_extensions; do
5622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5623 ac_cv_prog_SED
="sed "
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 if test -n "$SED"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5636 $as_echo "$SED" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5643 if test "$SED" = ""; then
5644 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5646 # Extract the first word of "chmod", so it can be a program name with args.
5647 set dummy
chmod; ac_word
=$2
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649 $as_echo_n "checking for $ac_word... " >&6; }
5650 if ${ac_cv_prog_CHMOD+:} false
; then :
5651 $as_echo_n "(cached) " >&6
5653 if test -n "$CHMOD"; then
5654 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5660 test -z "$as_dir" && as_dir
=.
5661 for ac_exec_ext
in '' $ac_executable_extensions; do
5662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5663 ac_cv_prog_CHMOD
="chmod "
5664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 CHMOD
=$ac_cv_prog_CHMOD
5674 if test -n "$CHMOD"; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5676 $as_echo "$CHMOD" >&6; }
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5683 if test "$CHMOD" = ""; then
5684 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5686 # Extract the first word of "patch", so it can be a program name with args.
5687 set dummy
patch; ac_word
=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_prog_PATCH+:} false
; then :
5691 $as_echo_n "(cached) " >&6
5693 if test -n "$PATCH"; then
5694 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5700 test -z "$as_dir" && as_dir
=.
5701 for ac_exec_ext
in '' $ac_executable_extensions; do
5702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5703 ac_cv_prog_PATCH
="patch "
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 PATCH
=$ac_cv_prog_PATCH
5714 if test -n "$PATCH"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5716 $as_echo "$PATCH" >&6; }
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5723 if test "$PATCH" = ""; then
5724 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5733 if test -n "$PYTHON"; then
5734 # If the user set $PYTHON, use it and don't search something else.
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5736 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5738 # split strings by '.' and convert to numeric. Append some zeros
5739 # because we need at least 4 digits for the hex conversion.
5740 # map returns an iterator in Python 3.0 and a list in 2.x
5741 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5743 # xrange is not present in Python 3.0 and range returns an iterator
5744 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5745 sys.exit(sys.hexversion < minverhex)"
5746 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5747 ($PYTHON -c "$prog") >&5 2>&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); }; then :
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5752 $as_echo "yes" >&6; }
5754 as_fn_error $?
"too old" "$LINENO" 5
5756 am_display_PYTHON
=$PYTHON
5758 # Otherwise, try each interpreter until we find one that satisfies
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5761 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5762 if ${am_cv_pathless_PYTHON+:} false
; then :
5763 $as_echo_n "(cached) " >&6
5766 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
5767 test "$am_cv_pathless_PYTHON" = none
&& break
5769 # split strings by '.' and convert to numeric. Append some zeros
5770 # because we need at least 4 digits for the hex conversion.
5771 # map returns an iterator in Python 3.0 and a list in 2.x
5772 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5774 # xrange is not present in Python 3.0 and range returns an iterator
5775 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5776 sys.exit(sys.hexversion < minverhex)"
5777 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5778 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); }; then :
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5787 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5788 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5789 if test "$am_cv_pathless_PYTHON" = none
; then
5792 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5793 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_path_PYTHON+:} false
; then :
5797 $as_echo_n "(cached) " >&6
5801 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir
=.
5809 for ac_exec_ext
in '' $ac_executable_extensions; do
5810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 PYTHON
=$ac_cv_path_PYTHON
5823 if test -n "$PYTHON"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5825 $as_echo "$PYTHON" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5833 am_display_PYTHON
=$am_cv_pathless_PYTHON
5837 if test "$PYTHON" = :; then
5838 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5843 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5844 if ${am_cv_python_version+:} false
; then :
5845 $as_echo_n "(cached) " >&6
5847 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5850 $as_echo "$am_cv_python_version" >&6; }
5851 PYTHON_VERSION
=$am_cv_python_version
5855 PYTHON_PREFIX
='${prefix}'
5857 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5862 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5863 if ${am_cv_python_platform+:} false
; then :
5864 $as_echo_n "(cached) " >&6
5866 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5869 $as_echo "$am_cv_python_platform" >&6; }
5870 PYTHON_PLATFORM
=$am_cv_python_platform
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5876 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5877 if ${am_cv_python_pythondir+:} false
; then :
5878 $as_echo_n "(cached) " >&6
5880 if test "x$prefix" = xNONE
5882 am_py_prefix
=$ac_default_prefix
5884 am_py_prefix
=$prefix
5886 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`
5887 case $am_cv_python_pythondir in
5889 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5890 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5893 case $am_py_prefix in
5896 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5904 $as_echo "$am_cv_python_pythondir" >&6; }
5905 pythondir
=$am_cv_python_pythondir
5909 pkgpythondir
=\
${pythondir}/$PACKAGE
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5913 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5914 if ${am_cv_python_pyexecdir+:} false
; then :
5915 $as_echo_n "(cached) " >&6
5917 if test "x$exec_prefix" = xNONE
5919 am_py_exec_prefix
=$am_py_prefix
5921 am_py_exec_prefix
=$exec_prefix
5923 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`
5924 case $am_cv_python_pyexecdir in
5925 $am_py_exec_prefix*)
5926 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5927 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5930 case $am_py_exec_prefix in
5933 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5941 $as_echo "$am_cv_python_pyexecdir" >&6; }
5942 pyexecdir
=$am_cv_python_pyexecdir
5946 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5964 # Check for some includes for the X11 HIDD and the kernel
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5968 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5969 if ${ac_cv_path_GREP+:} false
; then :
5970 $as_echo_n "(cached) " >&6
5972 if test -z "$GREP"; then
5973 ac_path_GREP_found
=false
5974 # Loop through the user's path and test for each of PROGNAME-LIST
5975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5976 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5979 test -z "$as_dir" && as_dir
=.
5980 for ac_prog
in grep ggrep
; do
5981 for ac_exec_ext
in '' $ac_executable_extensions; do
5982 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5983 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5984 # Check for GNU ac_path_GREP and select it if it is found.
5985 # Check for GNU $ac_path_GREP
5986 case `"$ac_path_GREP" --version 2>&1` in
5988 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5991 $as_echo_n 0123456789 >"conftest.in"
5994 cat "conftest.in" "conftest.in" >"conftest.tmp"
5995 mv "conftest.tmp" "conftest.in"
5996 cp "conftest.in" "conftest.nl"
5997 $as_echo 'GREP' >> "conftest.nl"
5998 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5999 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6000 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6001 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6002 # Best one so far, save it but keep looking for a better one
6003 ac_cv_path_GREP
="$ac_path_GREP"
6004 ac_path_GREP_max
=$ac_count
6006 # 10*(2^10) chars as input seems more than enough
6007 test $ac_count -gt 10 && break
6009 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6012 $ac_path_GREP_found && break 3
6017 if test -z "$ac_cv_path_GREP"; then
6018 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6021 ac_cv_path_GREP
=$GREP
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6026 $as_echo "$ac_cv_path_GREP" >&6; }
6027 GREP
="$ac_cv_path_GREP"
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6031 $as_echo_n "checking for egrep... " >&6; }
6032 if ${ac_cv_path_EGREP+:} false
; then :
6033 $as_echo_n "(cached) " >&6
6035 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6036 then ac_cv_path_EGREP
="$GREP -E"
6038 if test -z "$EGREP"; then
6039 ac_path_EGREP_found
=false
6040 # Loop through the user's path and test for each of PROGNAME-LIST
6041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6042 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6045 test -z "$as_dir" && as_dir
=.
6046 for ac_prog
in egrep; do
6047 for ac_exec_ext
in '' $ac_executable_extensions; do
6048 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6049 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6050 # Check for GNU ac_path_EGREP and select it if it is found.
6051 # Check for GNU $ac_path_EGREP
6052 case `"$ac_path_EGREP" --version 2>&1` in
6054 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6057 $as_echo_n 0123456789 >"conftest.in"
6060 cat "conftest.in" "conftest.in" >"conftest.tmp"
6061 mv "conftest.tmp" "conftest.in"
6062 cp "conftest.in" "conftest.nl"
6063 $as_echo 'EGREP' >> "conftest.nl"
6064 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6065 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6066 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6067 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6068 # Best one so far, save it but keep looking for a better one
6069 ac_cv_path_EGREP
="$ac_path_EGREP"
6070 ac_path_EGREP_max
=$ac_count
6072 # 10*(2^10) chars as input seems more than enough
6073 test $ac_count -gt 10 && break
6075 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6078 $ac_path_EGREP_found && break 3
6083 if test -z "$ac_cv_path_EGREP"; then
6084 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6087 ac_cv_path_EGREP
=$EGREP
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6093 $as_echo "$ac_cv_path_EGREP" >&6; }
6094 EGREP
="$ac_cv_path_EGREP"
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6098 $as_echo_n "checking for ANSI C header files... " >&6; }
6099 if ${ac_cv_header_stdc+:} false
; then :
6100 $as_echo_n "(cached) " >&6
6102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6117 if ac_fn_c_try_compile
"$LINENO"; then :
6118 ac_cv_header_stdc
=yes
6120 ac_cv_header_stdc
=no
6122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6124 if test $ac_cv_header_stdc = yes; then
6125 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6127 /* end confdefs.h. */
6131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6132 $EGREP "memchr" >/dev
/null
2>&1; then :
6135 ac_cv_header_stdc
=no
6141 if test $ac_cv_header_stdc = yes; then
6142 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6149 $EGREP "free" >/dev
/null
2>&1; then :
6152 ac_cv_header_stdc
=no
6158 if test $ac_cv_header_stdc = yes; then
6159 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6160 if test "$cross_compiling" = yes; then :
6163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6164 /* end confdefs.h. */
6167 #if ((' ' & 0x0FF) == 0x020)
6168 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6169 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6171 # define ISLOWER(c) \
6172 (('a' <= (c) && (c) <= 'i') \
6173 || ('j' <= (c) && (c) <= 'r') \
6174 || ('s' <= (c) && (c) <= 'z'))
6175 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6178 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6183 for (i = 0; i < 256; i++)
6184 if (XOR (islower (i), ISLOWER (i))
6185 || toupper (i) != TOUPPER (i))
6190 if ac_fn_c_try_run
"$LINENO"; then :
6193 ac_cv_header_stdc
=no
6195 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6196 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6202 $as_echo "$ac_cv_header_stdc" >&6; }
6203 if test $ac_cv_header_stdc = yes; then
6205 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6209 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6210 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6211 inttypes.h stdint.h unistd.h
6213 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6214 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6216 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6217 cat >>confdefs.h
<<_ACEOF
6218 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6226 for ac_header
in sys
/ipc.h sys
/shm.h \
6227 sys
/mmap.h sys
/mman.h sysexits.h \
6228 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6231 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6232 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6233 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6234 cat >>confdefs.h
<<_ACEOF
6235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6243 for ac_header
in sys
/mount.h
6245 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6247 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6248 cat >>confdefs.h
<<_ACEOF
6249 #define HAVE_SYS_MOUNT_H 1
6258 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6259 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6261 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6262 if eval \
${$as_ac_Header+:} false
; then :
6263 $as_echo_n "(cached) " >&6
6265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6267 #include <sys/types.h>
6279 if ac_fn_c_try_compile
"$LINENO"; then :
6280 eval "$as_ac_Header=yes"
6282 eval "$as_ac_Header=no"
6284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6286 eval ac_res
=\$
$as_ac_Header
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6288 $as_echo "$ac_res" >&6; }
6289 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6290 cat >>confdefs.h
<<_ACEOF
6291 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6294 ac_header_dirent
=$ac_hdr; break
6298 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6299 if test $ac_header_dirent = dirent.h
; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6301 $as_echo_n "checking for library containing opendir... " >&6; }
6302 if ${ac_cv_search_opendir+:} false
; then :
6303 $as_echo_n "(cached) " >&6
6305 ac_func_search_save_LIBS
=$LIBS
6306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6307 /* end confdefs.h. */
6309 /* Override any GCC internal prototype to avoid an error.
6310 Use char because int might match the return type of a GCC
6311 builtin and then its argument prototype would still apply. */
6324 for ac_lib
in '' dir
; do
6325 if test -z "$ac_lib"; then
6326 ac_res
="none required"
6329 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6331 if ac_fn_c_try_link
"$LINENO"; then :
6332 ac_cv_search_opendir
=$ac_res
6334 rm -f core conftest.err conftest.
$ac_objext \
6336 if ${ac_cv_search_opendir+:} false
; then :
6340 if ${ac_cv_search_opendir+:} false
; then :
6343 ac_cv_search_opendir
=no
6346 LIBS
=$ac_func_search_save_LIBS
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6349 $as_echo "$ac_cv_search_opendir" >&6; }
6350 ac_res
=$ac_cv_search_opendir
6351 if test "$ac_res" != no
; then :
6352 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6358 $as_echo_n "checking for library containing opendir... " >&6; }
6359 if ${ac_cv_search_opendir+:} false
; then :
6360 $as_echo_n "(cached) " >&6
6362 ac_func_search_save_LIBS
=$LIBS
6363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6366 /* Override any GCC internal prototype to avoid an error.
6367 Use char because int might match the return type of a GCC
6368 builtin and then its argument prototype would still apply. */
6381 for ac_lib
in '' x
; do
6382 if test -z "$ac_lib"; then
6383 ac_res
="none required"
6386 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6388 if ac_fn_c_try_link
"$LINENO"; then :
6389 ac_cv_search_opendir
=$ac_res
6391 rm -f core conftest.err conftest.
$ac_objext \
6393 if ${ac_cv_search_opendir+:} false
; then :
6397 if ${ac_cv_search_opendir+:} false
; then :
6400 ac_cv_search_opendir
=no
6403 LIBS
=$ac_func_search_save_LIBS
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6406 $as_echo "$ac_cv_search_opendir" >&6; }
6407 ac_res
=$ac_cv_search_opendir
6408 if test "$ac_res" != no
; then :
6409 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6416 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6417 if ${ac_cv_header_stat_broken+:} false
; then :
6418 $as_echo_n "(cached) " >&6
6420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6421 /* end confdefs.h. */
6422 #include <sys/types.h>
6423 #include <sys/stat.h>
6425 #if defined S_ISBLK && defined S_IFDIR
6426 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6429 #if defined S_ISBLK && defined S_IFCHR
6430 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6433 #if defined S_ISLNK && defined S_IFREG
6434 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6437 #if defined S_ISSOCK && defined S_IFREG
6438 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6442 if ac_fn_c_try_compile
"$LINENO"; then :
6443 ac_cv_header_stat_broken
=no
6445 ac_cv_header_stat_broken
=yes
6447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6450 $as_echo "$ac_cv_header_stat_broken" >&6; }
6451 if test $ac_cv_header_stat_broken = yes; then
6453 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6458 $as_echo_n "checking for ANSI C header files... " >&6; }
6459 if ${ac_cv_header_stdc+:} false
; then :
6460 $as_echo_n "(cached) " >&6
6462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6463 /* end confdefs.h. */
6477 if ac_fn_c_try_compile
"$LINENO"; then :
6478 ac_cv_header_stdc
=yes
6480 ac_cv_header_stdc
=no
6482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6484 if test $ac_cv_header_stdc = yes; then
6485 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6487 /* end confdefs.h. */
6491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6492 $EGREP "memchr" >/dev
/null
2>&1; then :
6495 ac_cv_header_stdc
=no
6501 if test $ac_cv_header_stdc = yes; then
6502 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6504 /* end confdefs.h. */
6508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6509 $EGREP "free" >/dev
/null
2>&1; then :
6512 ac_cv_header_stdc
=no
6518 if test $ac_cv_header_stdc = yes; then
6519 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6520 if test "$cross_compiling" = yes; then :
6523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6527 #if ((' ' & 0x0FF) == 0x020)
6528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6531 # define ISLOWER(c) \
6532 (('a' <= (c) && (c) <= 'i') \
6533 || ('j' <= (c) && (c) <= 'r') \
6534 || ('s' <= (c) && (c) <= 'z'))
6535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6543 for (i = 0; i < 256; i++)
6544 if (XOR (islower (i), ISLOWER (i))
6545 || toupper (i) != TOUPPER (i))
6550 if ac_fn_c_try_run
"$LINENO"; then :
6553 ac_cv_header_stdc
=no
6555 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6556 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6562 $as_echo "$ac_cv_header_stdc" >&6; }
6563 if test $ac_cv_header_stdc = yes; then
6565 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6570 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6571 if ${ac_cv_header_sys_wait_h+:} false
; then :
6572 $as_echo_n "(cached) " >&6
6574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <sys/types.h>
6577 #include <sys/wait.h>
6579 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6582 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6590 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6595 if ac_fn_c_try_compile
"$LINENO"; then :
6596 ac_cv_header_sys_wait_h
=yes
6598 ac_cv_header_sys_wait_h
=no
6600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6603 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6604 if test $ac_cv_header_sys_wait_h = yes; then
6606 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6611 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6612 if ${ac_cv_header_time+:} false
; then :
6613 $as_echo_n "(cached) " >&6
6615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6617 #include <sys/types.h>
6618 #include <sys/time.h>
6624 if ((struct tm *) 0)
6630 if ac_fn_c_try_compile
"$LINENO"; then :
6631 ac_cv_header_time
=yes
6633 ac_cv_header_time
=no
6635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6638 $as_echo "$ac_cv_header_time" >&6; }
6639 if test $ac_cv_header_time = yes; then
6641 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6645 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6646 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6648 cat >>confdefs.h
<<_ACEOF
6649 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6653 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6658 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6659 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6661 cat >>confdefs.h
<<_ACEOF
6662 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6666 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6669 case " $LIBOBJS " in
6670 *" fileblocks.$ac_objext "* ) ;;
6671 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6678 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6679 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6681 cat >>confdefs.h
<<_ACEOF
6682 #define HAVE_STRUCT_STAT_ST_RDEV 1
6686 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6692 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6693 if ${ac_cv_struct_tm+:} false
; then :
6694 $as_echo_n "(cached) " >&6
6696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6697 /* end confdefs.h. */
6698 #include <sys/types.h>
6705 int *p = &tm.tm_sec;
6711 if ac_fn_c_try_compile
"$LINENO"; then :
6712 ac_cv_struct_tm
=time.h
6714 ac_cv_struct_tm
=sys
/time.h
6716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6719 $as_echo "$ac_cv_struct_tm" >&6; }
6720 if test $ac_cv_struct_tm = sys
/time.h
; then
6722 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6726 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6727 #include <$ac_cv_struct_tm>
6730 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6732 cat >>confdefs.h
<<_ACEOF
6733 #define HAVE_STRUCT_TM_TM_ZONE 1
6739 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6741 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6744 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6746 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6752 cat >>confdefs.h
<<_ACEOF
6753 #define HAVE_DECL_TZNAME $ac_have_decl
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6757 $as_echo_n "checking for tzname... " >&6; }
6758 if ${ac_cv_var_tzname+:} false
; then :
6759 $as_echo_n "(cached) " >&6
6761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6762 /* end confdefs.h. */
6764 #if !HAVE_DECL_TZNAME
6765 extern char *tzname[];
6771 return tzname[0][0];
6776 if ac_fn_c_try_link
"$LINENO"; then :
6777 ac_cv_var_tzname
=yes
6781 rm -f core conftest.err conftest.
$ac_objext \
6782 conftest
$ac_exeext conftest.
$ac_ext
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6785 $as_echo "$ac_cv_var_tzname" >&6; }
6786 if test $ac_cv_var_tzname = yes; then
6788 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6793 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6794 if test "x$ac_cv_type_off_t" = xyes
; then :
6798 cat >>confdefs.h
<<_ACEOF
6799 #define off_t long int
6804 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6805 if test "x$ac_cv_type_pid_t" = xyes
; then :
6809 cat >>confdefs.h
<<_ACEOF
6815 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6816 if test "x$ac_cv_type_size_t" = xyes
; then :
6820 cat >>confdefs.h
<<_ACEOF
6821 #define size_t unsigned int
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6827 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6828 if ${ac_cv_type_uid_t+:} false
; then :
6829 $as_echo_n "(cached) " >&6
6831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6833 #include <sys/types.h>
6836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6837 $EGREP "uid_t" >/dev
/null
2>&1; then :
6838 ac_cv_type_uid_t
=yes
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6846 $as_echo "$ac_cv_type_uid_t" >&6; }
6847 if test $ac_cv_type_uid_t = no
; then
6849 $as_echo "#define uid_t int" >>confdefs.h
6852 $as_echo "#define gid_t int" >>confdefs.h
6857 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6858 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6860 cat >>confdefs.h
<<_ACEOF
6861 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6868 # Look for some functions
6869 for ac_func
in getpagesize kqueue statfs statvfs \
6870 clone kse_create rfork_thread thr_create sa_register \
6871 getcontext makecontext setcontext sigaltstack swapcontext
6873 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6874 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6875 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6876 cat >>confdefs.h
<<_ACEOF
6877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6887 for ac_header
in $ac_header_list
6889 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6890 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6892 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6893 cat >>confdefs.h
<<_ACEOF
6894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6908 for ac_func
in getpagesize
6910 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6911 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6912 cat >>confdefs.h
<<_ACEOF
6913 #define HAVE_GETPAGESIZE 1
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6920 $as_echo_n "checking for working mmap... " >&6; }
6921 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6922 $as_echo_n "(cached) " >&6
6924 if test "$cross_compiling" = yes; then :
6925 ac_cv_func_mmap_fixed_mapped
=no
6927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6928 /* end confdefs.h. */
6929 $ac_includes_default
6930 /* malloc might have been renamed as rpl_malloc. */
6933 /* Thanks to Mike Haertel and Jim Avera for this test.
6934 Here is a matrix of mmap possibilities:
6935 mmap private not fixed
6936 mmap private fixed at somewhere currently unmapped
6937 mmap private fixed at somewhere already mapped
6938 mmap shared not fixed
6939 mmap shared fixed at somewhere currently unmapped
6940 mmap shared fixed at somewhere already mapped
6941 For private mappings, we should verify that changes cannot be read()
6942 back from the file, nor mmap's back from the file at a different
6943 address. (There have been systems where private was not correctly
6944 implemented like the infamous i386 svr4.0, and systems where the
6945 VM page cache was not coherent with the file system buffer cache
6946 like early versions of FreeBSD and possibly contemporary NetBSD.)
6947 For shared mappings, we should conversely verify that changes get
6948 propagated back to all the places they're supposed to be.
6950 Grep wants private fixed already mapped.
6951 The main things grep needs to know about mmap are:
6952 * does it exist and is it safe to write into the mmap'd area
6953 * how to use it (BSD variants) */
6956 #include <sys/mman.h>
6958 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6962 /* This mess was copied from the GNU getpagesize.h. */
6963 #ifndef HAVE_GETPAGESIZE
6964 # ifdef _SC_PAGESIZE
6965 # define getpagesize() sysconf(_SC_PAGESIZE)
6966 # else /* no _SC_PAGESIZE */
6967 # ifdef HAVE_SYS_PARAM_H
6968 # include <sys/param.h>
6969 # ifdef EXEC_PAGESIZE
6970 # define getpagesize() EXEC_PAGESIZE
6971 # else /* no EXEC_PAGESIZE */
6973 # define getpagesize() NBPG * CLSIZE
6976 # endif /* no CLSIZE */
6977 # else /* no NBPG */
6979 # define getpagesize() NBPC
6980 # else /* no NBPC */
6982 # define getpagesize() PAGESIZE
6983 # endif /* PAGESIZE */
6984 # endif /* no NBPC */
6985 # endif /* no NBPG */
6986 # endif /* no EXEC_PAGESIZE */
6987 # else /* no HAVE_SYS_PARAM_H */
6988 # define getpagesize() 8192 /* punt totally */
6989 # endif /* no HAVE_SYS_PARAM_H */
6990 # endif /* no _SC_PAGESIZE */
6992 #endif /* no HAVE_GETPAGESIZE */
6997 char *data, *data2, *data3;
7002 pagesize = getpagesize ();
7004 /* First, make a file with some known garbage in it. */
7005 data = (char *) malloc (pagesize);
7008 for (i = 0; i < pagesize; ++i)
7009 *(data + i) = rand ();
7011 fd = creat ("conftest.mmap", 0600);
7014 if (write (fd, data, pagesize) != pagesize)
7018 /* Next, check that the tail of a page is zero-filled. File must have
7019 non-zero length, otherwise we risk SIGBUS for entire page. */
7020 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7024 if (write (fd2, cdata2, 1) != 1)
7026 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7027 if (data2 == MAP_FAILED)
7029 for (i = 0; i < pagesize; ++i)
7033 if (munmap (data2, pagesize))
7036 /* Next, try to mmap the file at a fixed address which already has
7037 something else allocated at it. If we can, also make sure that
7038 we see the same garbage. */
7039 fd = open ("conftest.mmap", O_RDWR);
7042 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7043 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7045 for (i = 0; i < pagesize; ++i)
7046 if (*(data + i) != *(data2 + i))
7049 /* Finally, make sure that changes to the mapped area do not
7050 percolate back to the file as seen by read(). (This is a bug on
7051 some variants of i386 svr4.0.) */
7052 for (i = 0; i < pagesize; ++i)
7053 *(data2 + i) = *(data2 + i) + 1;
7054 data3 = (char *) malloc (pagesize);
7057 if (read (fd, data3, pagesize) != pagesize)
7059 for (i = 0; i < pagesize; ++i)
7060 if (*(data + i) != *(data3 + i))
7066 if ac_fn_c_try_run
"$LINENO"; then :
7067 ac_cv_func_mmap_fixed_mapped
=yes
7069 ac_cv_func_mmap_fixed_mapped
=no
7071 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7072 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7077 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7078 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7080 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7083 rm -f conftest.mmap conftest.txt
7088 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7089 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7090 aros_config_ldflags
=""
7092 aros_shared_default
=yes
7094 aros_shared_cflags
="-fPIC"
7095 aros_shared_aflags
=""
7096 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7097 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7099 aros_kernel_ar_flags
="cr"
7100 aros_target_ar_flags
="cr"
7101 aros_target_nm_flags
="-C -ul"
7102 aros_target_strip_flags
="--strip-unneeded -R.comment"
7107 aros_target_genmap
="-Wl,-Map -Xlinker"
7109 # Native flavour stuff
7110 aros_serial_debug
="0"
7112 # Palm native flavour stuff
7113 aros_palm_debug_hack
="0"
7115 # Unix flavour stuff
7116 aros_nesting_supervisor
="0"
7118 # Collect-aros stuff: "-ius" to ignore undefined symbols
7119 ignore_undefined_symbols
=""
7121 # Check for X11 by default
7124 #-----------------------------------------------------------------------------
7127 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7128 # it switched on by default, and we use the host compiler, so it compiles AROS
7129 # code with this enabled resulting in link failures as we don't have support
7132 # We use two methods to disable it. For the host compiler (used to compile
7133 # some hosted modules), we test to see if the compiler supports stack
7134 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7135 # work on all platforms.
7137 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7138 # (this is done unconditionally, as it should have no effect on compilers
7139 # without the stack protection feature). This may be specific to the way that
7140 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7141 # strong enough to disable it in a generic way though, so we'll live with it
7142 # until another vendor ships GCC with it enabled in a different way, and deal
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7147 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7148 save_cflags
="$CFLAGS"
7149 CFLAGS
="$CFLAGS -fno-stack-protector"
7150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7151 /* end confdefs.h. */
7161 if ac_fn_c_try_compile
"$LINENO"; then :
7162 use_no_stack_protector
="yes"
7164 use_no_stack_protector
="no"
7166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7168 $as_echo "$use_no_stack_protector" >&6; }
7169 if test "x-$use_no_stack_protector" = "x-yes" ; then
7170 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7172 CFLAGS
="$save_cflags"
7174 #-----------------------------------------------------------------------------
7176 # Disable pointer-signedness warnings if the compiler recognises the option
7177 # (this only works for the host compiler at the moment)
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7180 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7181 save_cflags
="$CFLAGS"
7182 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7184 /* end confdefs.h. */
7194 if ac_fn_c_try_compile
"$LINENO"; then :
7195 use_no_sign_warning
="yes"
7197 use_no_sign_warning
="no"
7199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7201 $as_echo "$use_no_sign_warning" >&6; }
7202 if test "x-$use_no_sign_warning" = "x-yes" ; then
7203 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7205 CFLAGS
="$save_cflags"
7207 #-----------------------------------------------------------------------------
7209 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7212 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7213 save_cflags
="$CFLAGS"
7214 CFLAGS
="$CFLAGS -fgnu89-inline"
7215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7216 /* end confdefs.h. */
7226 if ac_fn_c_try_compile
"$LINENO"; then :
7227 use_gnu89_inline
="yes"
7229 use_gnu89_inline
="no"
7231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7233 $as_echo "$use_gnu89_inline" >&6; }
7234 if test "x-$use_gnu89_inline" = "x-yes" ; then
7235 gnu89_inline
="-fgnu89-inline"
7237 CFLAGS
="$save_cflags"
7239 #-----------------------------------------------------------------------------
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7242 $as_echo_n "checking for type of build... " >&6; }
7243 # Check whether --enable-build_type was given.
7244 if test "${enable_build_type+set}" = set; then :
7245 enableval
=$enable_build_type; build_type
=$enableval
7247 build_type
="personal"
7251 if test "$build_type" = "nightly"; then
7252 build_type_string
="NIGHTLY"
7253 elif test "$build_type" = "snapshot"; then
7254 build_type_string
="SNAPSHOT"
7255 elif test "$build_type" = "milestone"; then
7256 build_type_string
="MILESTONE"
7257 elif test "$build_type" = "release"; then
7258 build_type_string
="RELEASE"
7260 build_type_string
="PERSONAL"
7261 build_type
="personal"
7264 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7267 $as_echo "$build_type" >&6; }
7269 #-----------------------------------------------------------------------------
7270 all_debug_types
="messages stack modules mungwall symbols"
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7273 $as_echo_n "checking which debug types to enable... " >&6; }
7274 # Check whether --enable-debug was given.
7275 if test "${enable_debug+set}" = set; then :
7276 enableval
=$enable_debug; debug
="$enableval"
7282 if test "$debug" = "" -o "$debug" = "no"; then
7284 elif test "$debug" = "yes"; then
7288 if test "$debug" = "all" ; then
7289 debug
="messages stack modules symbols"
7290 for d
in $all_debug_types; do
7291 export aros_
${d}_debug
="1"
7294 for d
in $all_debug_types; do
7295 export aros_
${d}_debug
="0"
7299 if test "$debug" != "none"; then
7300 debug
=`echo $debug | sed s/,/\ /g`
7303 for d2
in $all_debug_types; do
7304 if test "$d2" = "$d"; then
7309 if test "$found" = "0"; then
7310 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7312 export aros_
${d}_debug
="1"
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7317 $as_echo "$debug" >&6; }
7319 if test "$aros_messages_debug" = "1"; then
7320 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7322 aros_messages_debug
=""
7324 if test "$aros_symbols_debug" = "1"; then
7325 aros_symbols_debug
="-g"
7327 aros_symbols_debug
=""
7330 # These are the flags to pass when compiling debugged programs
7331 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7332 aros_debug_aflags
=""
7333 aros_debug_ldflags
="$aros_symbols_debug"
7335 #-----------------------------------------------------------------------------
7336 # Checking for distcc and ccache.
7338 # Always apply the transforms in this particular order. Basically you should
7339 # always run 'ccache distcc compiler' in that order for the best performance.
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7342 $as_echo_n "checking whether to enable distcc... " >&6; }
7343 # Check whether --enable-distcc was given.
7344 if test "${enable_distcc+set}" = set; then :
7345 enableval
=$enable_distcc; distcc
="$enableval"
7350 if test "$distcc" != "" -a "$distcc" != "no"; then
7351 # AC_CHECK_PROG will print out the result in this case
7352 # Extract the first word of "distcc", so it can be a program name with args.
7353 set dummy distcc
; ac_word
=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 $as_echo_n "checking for $ac_word... " >&6; }
7356 if ${ac_cv_path_DISTCC+:} false
; then :
7357 $as_echo_n "(cached) " >&6
7361 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7368 test -z "$as_dir" && as_dir
=.
7369 for ac_exec_ext
in '' $ac_executable_extensions; do
7370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7371 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7383 DISTCC
=$ac_cv_path_DISTCC
7384 if test -n "$DISTCC"; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7386 $as_echo "$DISTCC" >&6; }
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7399 $as_echo_n "checking whether to enable ccache... " >&6; }
7400 # Check whether --enable-ccache was given.
7401 if test "${enable_ccache+set}" = set; then :
7402 enableval
=$enable_ccache; ccache
="$enableval"
7407 if test "$ccache" != "" -a "$ccache" != "no"; then
7408 # AC_CHECK_PROG will print out the result in this case
7409 # Extract the first word of "ccache", so it can be a program name with args.
7410 set dummy ccache
; ac_word
=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if ${ac_cv_prog_CCACHE+:} false
; then :
7414 $as_echo_n "(cached) " >&6
7416 if test -n "$CCACHE"; then
7417 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir
=.
7424 for ac_exec_ext
in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_prog_CCACHE
="ccache"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 CCACHE
=$ac_cv_prog_CCACHE
7437 if test -n "$CCACHE"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7439 $as_echo "$CCACHE" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7451 #-----------------------------------------------------------------------------
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7453 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7455 # Check whether --with-gcc-version was given.
7456 if test "${with_gcc_version+set}" = set; then :
7457 withval
=$with_gcc_version; kernel_tool_version
="$withval"
7459 kernel_tool_version
="default"
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7463 $as_echo "$kernel_tool_version" >&6; }
7465 #-----------------------------------------------------------------------------
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7467 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7469 # Check whether --with-gcc-version was given.
7470 if test "${with_gcc_version+set}" = set; then :
7471 withval
=$with_gcc_version; target_tool_version
="$withval"
7473 target_tool_version
="default"
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7477 $as_echo "$target_tool_version" >&6; }
7479 #-----------------------------------------------------------------------------
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7481 $as_echo_n "checking what optimization flags to use... " >&6; }
7483 # Check whether --with-optimization was given.
7484 if test "${with_optimization+set}" = set; then :
7485 withval
=$with_optimization; optimization
="$withval"
7487 optimization
="unknown"
7490 if test "$optimization" = "unknown"; then
7491 if test "$debug" != "none"; then
7497 aros_config_cflags
="$aros_config_cflags $optimization"
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7499 $as_echo "$optimization" >&6; }
7501 #-----------------------------------------------------------------------------
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7503 $as_echo_n "checking what paranoia flags to use... " >&6; }
7505 # Check whether --with-paranoia was given.
7506 if test "${with_paranoia+set}" = set; then :
7507 withval
=$with_paranoia; paranoia_flags
="$withval"
7509 paranoia_flags
="default"
7512 if test "$paranoia_flags" = "default"; then
7514 else if test "$paranoia_flags" = "yes"; then
7515 paranoia_flags
="-Wall -Werror"
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7518 $as_echo "$paranoia_flags" >&6; }
7519 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7521 #-----------------------------------------------------------------------------
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7523 $as_echo_n "checking what target variant to enable... " >&6; }
7524 # Check whether --enable-target_variant was given.
7525 if test "${enable_target_variant+set}" = set; then :
7526 enableval
=$enable_target_variant; target_variant
=$enableval
7531 if test "$target_variant" = ""; then
7532 aros_target_variant
=""
7533 aros_target_suffix
=""
7536 aros_target_variant
="$target_variant"
7537 aros_target_suffix
="-$target_variant"
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7540 $as_echo "$enableval" >&6; }
7542 #-----------------------------------------------------------------------------
7543 # Target-specific defaults. You can override then on a per-target basis.
7545 # Bootloader name. Currently used by PC target.
7546 target_bootloader
="none"
7548 #-----------------------------------------------------------------------------
7549 # Additional options for some specific targets
7551 case "$aros_target_variant" in
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7554 $as_echo_n "checking XCode path... " >&6; }
7556 # Check whether --with-xcode was given.
7557 if test "${with_xcode+set}" = set; then :
7558 withval
=$with_xcode; aros_xcode_path
="$withval"
7560 aros_xcode_path
="/Developer"
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7564 $as_echo "$aros_xcode_path" >&6; }
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7567 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7569 # Check whether --with-sdk-version was given.
7570 if test "${with_sdk_version+set}" = set; then :
7571 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7573 aros_sdk_version
="4.1"
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7577 $as_echo "$aros_sdk_version" >&6; }
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7583 $as_echo_n "checking Android SDK path... " >&6; }
7585 # Check whether --with-sdk was given.
7586 if test "${with_sdk+set}" = set; then :
7587 withval
=$with_sdk; aros_android_sdk
="$withval"
7589 aros_android_sdk
=$default_android_sdk
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7593 $as_echo "$aros_android_sdk" >&6; }
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7596 $as_echo_n "checking Android NDK path... " >&6; }
7598 # Check whether --with-ndk was given.
7599 if test "${with_ndk+set}" = set; then :
7600 withval
=$with_ndk; aros_android_ndk
="$withval"
7602 aros_android_ndk
="none"
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7606 $as_echo "$aros_android_ndk" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7609 $as_echo_n "checking what Android SDK version to use... " >&6; }
7611 # Check whether --with-sdk-version was given.
7612 if test "${with_sdk_version+set}" = set; then :
7613 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7615 aros_sdk_version
="12"
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7619 $as_echo "$aros_sdk_version" >&6; }
7621 if test "$aros_android_ndk" != "none"; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7623 $as_echo_n "checking what Android NDK version to use... " >&6; }
7625 # Check whether --with-ndk-version was given.
7626 if test "${with_ndk_version+set}" = set; then :
7627 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7629 aros_ndk_version
="9"
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7633 $as_echo "$aros_ndk_version" >&6; }
7636 export PATH
="$aros_android_sdk/tools:$PATH"
7637 # Extract the first word of "$android_tool", so it can be a program name with args.
7638 set dummy
$android_tool; ac_word
=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if ${ac_cv_path_android_tool+:} false
; then :
7642 $as_echo_n "(cached) " >&6
7644 case $android_tool in
7646 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7653 test -z "$as_dir" && as_dir
=.
7654 for ac_exec_ext
in '' $ac_executable_extensions; do
7655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 android_tool
=$ac_cv_path_android_tool
7668 if test -n "$android_tool"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7670 $as_echo "$android_tool" >&6; }
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7677 if test "$android_tool" = ""; then
7678 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7681 aros_android_level
=android-
$aros_sdk_version
7682 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7683 echo "Platform $aros_android_level is not installed in your SDK"
7684 echo "Use --with-sdk-version=<API level number> to select another platform version"
7685 echo "You can check what plaform versions are installed in your SDK"
7686 echo "by examining contents of $aros_android_sdk/platforms directory"
7687 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7690 # Extract the first word of "ant", so it can be a program name with args.
7691 set dummy ant
; ac_word
=$2
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7693 $as_echo_n "checking for $ac_word... " >&6; }
7694 if ${ac_cv_path_ant+:} false
; then :
7695 $as_echo_n "(cached) " >&6
7699 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7706 test -z "$as_dir" && as_dir
=.
7707 for ac_exec_ext
in '' $ac_executable_extensions; do
7708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7709 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7721 if test -n "$ant"; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7723 $as_echo "$ant" >&6; }
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7726 $as_echo "no" >&6; }
7730 if test "$ant" = ""; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7732 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7735 if test "$host_os" = "mingw32"; then
7736 android_tool
="cmd //c $android_tool"
7742 #-----------------------------------------------------------------------------
7743 # External toolchains
7744 kernel_tool_prefix
="none"
7745 aros_tool_prefix
="none"
7746 elf_tool_prefix
="${target_cpu}-elf-"
7748 # This is the target configuration switch.
7749 case "$target_os" in
7751 aros_target_arch
="linux"
7752 aros_target_family
="unix"
7753 case "$target_cpu" in
7755 aros_target_cpu
="m68k"
7756 aros_object_format
="m68kelf"
7757 aros_flavour
="emulcompat"
7758 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7759 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7760 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7761 gcc_target_cpu
="mc68000"
7764 aros_target_cpu
="i386"
7765 aros_object_format
="elf_i386"
7766 aros_flavour
="emulation"
7767 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7768 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7769 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7770 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7771 aros_config_ldflags
="-m32 -march=i486"
7772 aros_kernel_ldflags
="-melf_i386"
7773 aros_default_wbdepth
=8
7774 gcc_target_cpu
="i386"
7775 pci_hidd_target
="hidd-pci-linux"
7776 android_tool_dir_prefix
="x86"
7777 android_tool_prefix
="i686-android-linux"
7778 android_ndk_arch
="x86"
7781 aros_target_cpu
="x86_64"
7782 aros_object_format
="elf_x86_64"
7783 aros_flavour
="emulation"
7784 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7785 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7786 aros_default_wbdepth
=8
7787 pci_hidd_target
="hidd-pci-linux"
7790 aros_target_cpu
="ppc"
7791 aros_object_format
="elf32ppc"
7792 aros_flavour
="emulation"
7793 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7794 aros_default_wbdepth
=8
7795 gcc_target_cpu
="ppc"
7798 # Same as powerpc, but I need this for the nightly build to work again.
7799 # Actually, the nightly should be made working with powerpc target.
7800 # That just was too much work for the moment, another week or two.
7802 aros_target_cpu
="ppc"
7803 aros_object_format
="elf32ppc"
7804 aros_flavour
="emulation"
7805 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7806 aros_default_wbdepth
=8
7807 gcc_target_cpu
="ppc"
7810 aros_target_cpu
="arm"
7812 aros_object_format
="armelf_linux_eabi"
7813 aros_flavour
="emulation"
7814 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7815 gcc_target_cpu
="arm"
7816 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7817 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7818 aros_arch_libs
="-laeabi"
7819 gcc_default_fpu
="vfpv3-d16"
7820 gcc_default_float_abi
="hard"
7821 android_tool_dir_prefix
="arm-linux-androideabi"
7822 android_tool_prefix
="arm-linux-androideabi"
7823 android_ndk_arch
="arm"
7824 kernel_tool_prefix
="arm-linux-gnueabihf-"
7827 aros_target_cpu
="arm"
7828 aros_object_format
="armelf_linux_eabi"
7829 aros_flavour
="emulation"
7830 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7831 gcc_target_cpu
="arm"
7832 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7833 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7834 aros_arch_libs
="-laeabi"
7835 android_tool_dir_prefix
="arm-linux-androideabi"
7836 android_tool_prefix
="arm-linux-androideabi"
7837 android_ndk_arch
="arm"
7838 kernel_tool_prefix
="arm-linux-gnueabi-"
7841 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7844 case "$aros_target_variant" in
7847 if test "$android_ndk_arch" = ""; then
7848 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7851 aros_default_wbwidth
=320
7852 aros_default_wbheight
=480
7853 if test "$aros_android_ndk" = "none"; then
7854 aros_kernel_cflags
="-mandroid"
7855 aros_kernel_ldflags
="-mandroid"
7858 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7859 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7860 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7861 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7862 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7863 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7866 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7867 # Disable implicit PIC mode
7868 aros_target_cflags
="$aros_target_cflags -fno-pic"
7869 kernel_tool_prefix
="$android_tool_prefix-"
7875 aros_target_arch
="pc"
7876 aros_shared_default
="no"
7877 target_bootloader
="grub2"
7878 case "$target_cpu" in
7880 aros_target_cpu
="i386"
7883 if test "$aros_object_format" = "" ; then
7884 aros_object_format
="elf_i386"
7886 aros_flavour
="standalone"
7887 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7888 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7889 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7890 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7891 aros_config_ldflags
="-m32 -march=i486"
7892 aros_kernel_ldflags
="-melf_i386"
7893 aros_default_wbwidth
=640
7894 aros_default_wbheight
=480
7895 gcc_target_cpu
="i386"
7898 aros_target_cpu
="x86_64"
7900 if test "$aros_object_format" = "" ; then
7901 aros_object_format
="elf_x86_64"
7903 aros_flavour
="standalone"
7904 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7905 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7906 aros_kernel_ldflags
=""
7907 aros_default_wbwidth
=640
7908 aros_default_wbheight
=480
7911 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7917 aros_target_arch
="prep"
7918 aros_shared_default
="no"
7919 aros_target_cpu
="ppc"
7920 aros_object_format
="elf32ppc"
7921 aros_flavour
="ppcnative"
7922 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7923 aros_kernel_ldflags
=""
7924 aros_default_wbwidth
=640
7925 aros_default_wbheight
=480
7926 gcc_target_cpu
="ppc"
7930 aros_target_arch
="freebsd"
7931 aros_target_family
="unix"
7932 aros_target_cpu
="i386"
7933 aros_flavour
="emulation"
7934 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7935 gcc_target_cpu
="i386"
7937 aros_target_strip_flags
="-x"
7941 aros_target_arch
="darwin"
7942 aros_target_family
="unix"
7943 aros_flavour
="emulation"
7944 case "$target_cpu" in
7946 aros_ios_platform
="iPhoneSimulator"
7947 aros_target_cpu
="i386"
7948 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7949 aros_kernel_ldflags
=""
7950 aros_macosx_version
="10.4"
7951 aros_default_wbdepth
=8
7952 gcc_target_cpu
="i386"
7953 aros_object_format
="elf_i386"
7954 aros_kernel_ar_flags
="-cr"
7955 aros_target_strip_flags
="-x"
7956 kernel_tool_flags
="-m32"
7959 aros_target_cpu
="x86_64"
7960 aros_object_format
="elf_x86_64"
7961 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7962 aros_macosx_version
="10.6"
7963 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7964 aros_kernel_cflags
="-m64"
7965 aros_kernel_ldflags
="-m64"
7966 aros_target_cflags
="-mcmodel=large"
7967 aros_default_wbdepth
=8
7969 aros_kernel_ar_flags
="-cr"
7971 aros_kernel_ranlib
="ranlib"
7974 aros_target_cpu
="ppc"
7975 aros_object_format
="elf32ppc"
7976 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7977 aros_kernel_ldflags
=""
7978 aros_macosx_version
="10.0"
7979 aros_default_wbdepth
=8
7980 gcc_target_cpu
="ppc"
7982 aros_kernel_ar_flags
="-cr"
7983 aros_kernel_ld
="ld -arch ppc"
7984 aros_kernel_ranlib
="ranlib -arch ppc"
7985 kernel_tool_prefix
="powerpc-apple-darwin10-"
7988 aros_ios_platform
="iPhoneOS"
7989 aros_target_cpu
="arm"
7990 aros_object_format
="armelf_linux_eabi"
7991 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7992 aros_arch_libs
="-laeabi"
7993 aros_default_wbdepth
=8
7994 gcc_target_cpu
="arm"
7996 aros_kernel_ar_flags
="-cr"
7997 aros_kernel_ld
="ld -arch arm"
7998 aros_kernel_ranlib
="ranlib -arch arm"
7999 kernel_tool_prefix
="arm-apple-darwin10-"
8000 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8003 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8006 case "$aros_target_variant" in
8008 aros_ios_version
="3.0"
8009 aros_default_wbwidth
=320
8010 aros_default_wbheight
=480
8011 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8012 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8013 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8015 # This is here because it may depend on iOS or SDK version
8016 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8017 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8018 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8021 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8022 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8028 aros_target_arch
="dragonfly"
8029 aros_target_family
="unix"
8030 aros_flavour
="emulation"
8031 case "$target_cpu" in
8033 aros_target_cpu
="i386"
8034 aros_object_format
="elf_i386"
8035 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8038 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8039 aros_target_cpu
="x86_64"
8040 aros_object_format
="elf_x86_64"
8041 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8044 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8050 aros_target_arch
="netbsd"
8051 aros_target_family
="unix"
8052 case "$target_cpu" in
8054 aros_target_cpu
="m68k"
8055 aros_object_format
="m68kelf"
8056 aros_flavour
="emulcompat"
8057 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8058 gcc_target_cpu
="mc68000"
8061 aros_target_cpu
="i386"
8062 aros_object_format
="elf_i386"
8063 aros_flavour
="emulation"
8064 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8065 aros_default_wbdepth
=8
8066 gcc_target_cpu
="i386"
8069 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8072 aros_target_genmap
="-Wl,-M -Xlinker >"
8073 aros_flavour
="emulation"
8074 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8078 aros_target_arch
="openbsd"
8079 aros_target_family
="unix"
8080 case "$target_cpu" in
8082 aros_target_cpu
="i386"
8083 aros_object_format
="elf_i386"
8084 aros_flavour
="emulation"
8085 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8086 gcc_target_cpu
="i386"
8089 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8092 aros_target_genmap
="-Wl,-M -Xlinker >"
8093 aros_target_nm_flags
="-u"
8094 aros_flavour
="emulation"
8098 aros_target_arch
="solaris"
8099 aros_target_family
="unix"
8100 case "$target_cpu" in
8102 aros_target_cpu
="i386"
8103 aros_object_format
="elf_i386"
8104 aros_flavour
="emulation"
8105 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8106 aros_default_wbdepth
=8
8107 gcc_target_cpu
="i386"
8110 aros_target_cpu
="sparc"
8111 aros_object_format
="elf_sparc"
8112 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8113 gcc_target_cpu
="sparc"
8116 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8119 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8120 aros_flavour
="emulation"
8124 aros_target_arch
="morphos"
8125 aros_shared_default
="no"
8126 aros_target_cpu
="ppc"
8127 aros_object_format
="elf_ppc"
8128 aros_flavour
="nativecompat"
8129 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8130 gcc_target_cpu
="ppc"
8134 aros_target_arch
="sam440"
8135 aros_shared_default
="no"
8136 aros_target_cpu
="ppc"
8137 aros_object_format
="elf32ppc"
8138 aros_flavour
="ppcnative"
8139 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8140 aros_kernel_ldflags
=""
8141 aros_default_wbwidth
=1024
8142 aros_default_wbheight
=768
8143 aros_default_wbdepth
=24
8144 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8145 gcc_target_cpu
="powerpc"
8149 aros_target_arch
="efika"
8150 aros_shared_default
="no"
8151 aros_target_cpu
="arm"
8152 aros_object_format
="armelf_linux_eabi"
8153 aros_flavour
="standalone"
8154 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8155 aros_kernel_ldflags
=""
8156 aros_default_wbwidth
=1024
8157 aros_default_wbheight
=600
8158 aros_arch_libs
="-laeabi"
8159 gcc_default_cpu
="armv7-a"
8160 gcc_default_fpu
="vfpv3"
8161 gcc_default_float_abi
="softfp"
8162 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8163 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8167 aros_target_arch
="chrp"
8168 aros_shared_default
="no"
8169 aros_target_cpu
="ppc"
8170 aros_object_format
="elf32ppc"
8171 aros_flavour
="ppcnative"
8172 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8173 aros_kernel_ldflags
=""
8174 aros_default_wbwidth
=640
8175 aros_default_wbheight
=480
8176 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8177 gcc_target_cpu
="powerpc"
8178 case "$aros_target_variant" in
8180 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8186 aros_target_arch
="amiga"
8187 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8188 aros_shared_default
="no"
8190 case "$target_cpu" in
8192 # Check whether --enable-amigaos_compliance was given.
8193 if test "${enable_amigaos_compliance+set}" = set; then :
8194 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8198 aros_target_cpu
="m68k"
8199 aros_object_format
="m68kelf"
8200 aros_flavour
="standcompat"
8201 gcc_target_cpu
="m68000"
8202 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -Os -DNOLIBINLINE"
8203 aros_config_aflags
="$aros_config_aflags"
8204 aros_target_strip_flags
="-R.comment --strip-debug"
8205 aros_default_wbwidth
=640
8206 aros_default_wbheight
=256
8207 aros_default_wbdepth
=2
8211 aros_flavour
="native"
8212 gcc_target_cpu
="ppc"
8215 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8221 aros_target_arch
="mingw32"
8222 aros_shared_default
="no"
8223 aros_flavour
="emulation"
8224 aros_shared_cflags
=""
8225 need_crosstools
="yes"
8228 case "$target_cpu" in
8230 aros_target_cpu
="i386"
8231 aros_object_format
="elf_i386"
8232 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8233 aros_default_wbdepth
=8
8234 gcc_target_cpu
="i386"
8236 kernel_tool_prefix
="i386-mingw32-"
8239 aros_target_cpu
="x86_64"
8240 aros_object_format
="elf_x86_64"
8241 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8242 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8243 aros_default_wbdepth
=8
8244 kernel_tool_prefix
="x86_64-w64-mingw32-"
8247 aros_target_cpu
="arm"
8248 aros_object_format
="armelf_linux_eabi"
8249 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8250 aros_arch_libs
="-laeabi"
8251 aros_default_wbdepth
=8
8252 gcc_target_cpu
="arm"
8253 gcc_default_float_abi
="soft"
8254 kernel_tool_prefix
="arm-mingw32ce-"
8255 aros_default_wbwidth
=160
8256 aros_default_wbheight
=160
8259 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8262 if test $host_os = "cygwin"; then
8263 aros_kernel_cflags
="-mno-cygwin"
8267 aros_target_arch
="pp"
8268 aros_shared_default
="no"
8269 case "$target_cpu" in
8271 aros_target_cpu
="m68k"
8272 aros_object_format
="m68kelf"
8273 aros_flavour
="palmnative"
8274 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8275 aros_default_wbwidth
=160
8276 aros_default_wbheight
=160
8277 aros_default_wbdepth
=1
8278 aros_target_ar_flags
="cru"
8279 aros_compiler_libs
="-lgcc1"
8280 aros_shared_default
=no
8281 aros_shared_cflags
="-fpic"
8282 aros_shared_aflags
=""
8283 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8284 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8285 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8286 aros_debug_aflags
=""
8287 aros_debug_ldflags
="$aros_symbols_debug"
8288 aros_mungwall_debug
="0"
8289 aros_modules_debug
="0"
8290 gcc_target_cpu
="mc68000"
8291 ignore_undefined_symbols
="-ius"
8294 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8300 aros_target_arch
="mac"
8301 aros_shared_default
="no"
8302 case "$target_cpu" in
8304 aros_target_cpu
="m68k"
8305 aros_object_format
="m68kelf"
8306 aros_flavour
="mac68knative"
8307 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8308 aros_default_wbwidth
=512
8309 aros_default_wbheight
=384
8310 aros_default_wbdepth
=8
8311 aros_target_ar_flags
="cru"
8312 aros_compiler_libs
="-lgcc1"
8313 aros_shared_default
=no
8314 aros_shared_cflags
="-fpic"
8315 aros_shared_aflags
=""
8316 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8317 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8318 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8319 aros_debug_aflags
=""
8320 aros_debug_ldflags
="$aros_symbols_debug"
8321 aros_mungwall_debug
="0"
8322 aros_modules_debug
="0"
8323 gcc_target_cpu
="mc68000"
8324 ignore_undefined_symbols
="-ius"
8327 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8333 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8337 #-----------------------------------------------------------------------------
8338 crosstools_guess
=yes
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8341 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8343 # Check whether --with-kernel-toolchain-prefix was given.
8344 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8345 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8349 $as_echo "$kernel_tool_prefix" >&6; }
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8352 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8354 # Check whether --with-elf-toolchain-prefix was given.
8355 if test "${with_elf_toolchain_prefix+set}" = set; then :
8356 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8361 $as_echo "$elf_tool_prefix" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8364 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8366 # Check whether --with-aros-toolchain was given.
8367 if test "${with_aros_toolchain+set}" = set; then :
8368 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8372 if test "$aros_tool_prefix" = "yes" ; then
8373 aros_tool_prefix
=$aros_target_cpu-aros-
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8376 $as_echo "$aros_tool_prefix" >&6; }
8378 #-----------------------------------------------------------------------------
8379 # Checking if we should build crosstools..
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8381 $as_echo_n "checking whether to build crosstools... " >&6; }
8382 # Check whether --enable-crosstools was given.
8383 if test "${enable_crosstools+set}" = set; then :
8384 enableval
=$enable_crosstools; crosstools
="$enableval"
8386 crosstools
="$crosstools_guess"
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8390 $as_echo "$crosstools" >&6; }
8392 if test "${crosstools}" = "yes"; then
8393 if test "${crosstools_guess}" = "no"; then
8394 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8399 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8401 # Check whether --with-aros-toolchain-install was given.
8402 if test "${with_aros_toolchain_install+set}" = set; then :
8403 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8406 if test "x$aros_toolchain_install" = "x"; then
8407 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8409 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8410 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8413 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8416 # Now process extra architecture-specific options.
8417 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8418 # as well as floating-point ABI.
8419 case "$aros_target_cpu" in
8421 if test "$gcc_default_cpu" = ""; then
8422 gcc_default_cpu
="armv6"
8424 if test "$gcc_default_fpu" = ""; then
8425 gcc_default_fpu
="vfp"
8427 if test "$gcc_default_float_abi" = ""; then
8428 gcc_default_float_abi
="softfp"
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8432 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8434 # Check whether --with-cpu was given.
8435 if test "${with_cpu+set}" = set; then :
8436 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8438 aros_gcc_cpu
=$gcc_default_cpu
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8442 $as_echo "$aros_gcc_cpu" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8445 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8447 # Check whether --with-fpu was given.
8448 if test "${with_fpu+set}" = set; then :
8449 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8451 aros_gcc_fpu
=$gcc_default_fpu
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8455 $as_echo "$aros_gcc_fpu" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8458 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8460 # Check whether --with-float was given.
8461 if test "${with_float+set}" = set; then :
8462 withval
=$with_float; aros_gcc_float_abi
="$withval"
8464 aros_gcc_float_abi
=$gcc_default_float_abi
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8468 $as_echo "$aros_gcc_float_abi" >&6; }
8470 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"
8471 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"
8475 # Some formats need custom ELF specs.
8476 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8477 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8478 elf_specs_in
=config
/${aros_object_format}-specs.
in
8480 elf_specs_in
=config
/elf-specs.
in
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8484 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8486 # Check whether --with-aros-gcc was given.
8487 if test "${with_aros_gcc+set}" = set; then :
8488 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8494 $as_echo "$aros_gcc_version" >&6; }
8496 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8497 # Since we override specs, we may need to put these defines there
8498 if test "$gcc_target_cpu" != ""; then
8499 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8503 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8505 # Check whether --with-portssources was given.
8506 if test "${with_portssources+set}" = set; then :
8507 withval
=$with_portssources; with_portssrcdir
=$withval
8509 with_portssrcdir
="default"
8512 if test "$with_portssrcdir" = "default"; then
8513 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8515 AROS_PORTSSRCDIR
="$with_portssrcdir"
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8518 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8521 $as_echo_n "checking which bootloader to use... " >&6; }
8523 # Check whether --with-bootloader was given.
8524 if test "${with_bootloader+set}" = set; then :
8525 withval
=$with_bootloader; target_bootloader
=$withval
8527 target_bootloader
=$target_bootloader
8530 if test "$target_bootloader" = "none"; then
8531 aros_target_bootloader
=""
8533 aros_target_bootloader
="$target_bootloader"
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8536 $as_echo "$target_bootloader" >&6; }
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8539 $as_echo_n "checking which icon-set to use... " >&6; }
8541 # Check whether --with-iconset was given.
8542 if test "${with_iconset+set}" = set; then :
8543 withval
=$with_iconset; target_iconset
=$withval
8545 target_iconset
="default"
8548 if test "$target_iconset" = "default"; then
8549 aros_target_iconset
="Gorilla"
8550 target_iconset
="default (Gorilla)"
8552 aros_target_iconset
="$target_iconset"
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8555 $as_echo "$target_iconset" >&6; }
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8558 $as_echo_n "checking which GUI Theme to use... " >&6; }
8560 # Check whether --with-theme was given.
8561 if test "${with_theme+set}" = set; then :
8562 withval
=$with_theme; target_guitheme
=$withval
8564 target_guitheme
="default"
8567 if test "$target_guitheme" = "default"; then
8568 aros_target_guitheme
="Ice"
8570 aros_target_guitheme
="$target_guitheme"
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8573 $as_echo "$aros_target_guitheme" >&6; }
8575 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8579 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8583 if test "$aros_host_cpu" == "x86_64" ; then
8584 if test "$aros_target_cpu" == "i386" ; then
8589 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8590 if test "$aros_host_arch" != "$aros_target_arch" ; then
8594 if test "$host_cc_elf" = "no" ; then
8599 if test "$cross_compiling" = "no" ; then
8600 kernel_tool_prefix
=""
8601 if test "$host_cc_elf" = "yes" ; then
8606 #######################################################################
8607 ## Compute what toolchains to use, and their paths ##
8608 #######################################################################
8610 # This takes, as input:
8611 # crosstools {yes,no}
8612 # aros_gcc_version {default,[version]}
8613 # kernel_tool_prefix {none,[some-arch-os-]}
8614 # aros_tool_prefix ${target_cpu}-aros-
8617 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8618 # Where the 'kernel' binaries are located
8619 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8620 # Where the 'target' binaries are located
8621 # (not the symlink farm - that is aros_target_*!)
8624 # if crosstools then
8625 # if kernel_tools_prefix = "no-kernel-prefix-"
8626 # aros_kernel_* = crosstools cc paths
8627 # aros_kernel_cc = elf cc wrapper around crosstools cc
8629 # VALIDATE(${kernel_tools_prefix}*)
8630 # aros_kernel_* = ${kernel_tools_prefix}*
8631 # if ${kernel_tools_prefix}cc is an AROS gcc
8632 # aros_kernel_cc = ${kernel_tools_prefix}cc
8634 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8638 # orig_target_* = aros built crosstools
8639 # orig_target_cc = elf cc wrapper around crosstools cc
8641 # VALIDATE(${kernel_tools_prefix}*)
8643 # orig_target_* = aros_kernel_*
8644 # if aros_kernel_cc is an AROS gcc
8645 # orig_target_cc = aros_kernel_cc
8647 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8651 target_tool_prefix
="${target_cpu}-aros-"
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8654 $as_echo_n "checking which kernel tools... " >&6; }
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8656 $as_echo "$kernel_tool_prefix" >&6; };
8658 if test "$kernel_tool_prefix" = "none" ; then
8659 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8660 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8663 # Kernel tools required - find them
8664 # Note that 'normally', aros_kernel_* overrides will
8665 # empty, unless specified in the per-arch sections above.
8667 if test "$aros_kernel_cpp" = ""; then
8668 if test "$cross_compiling" = "yes" ; then
8669 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8670 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8672 $as_echo_n "checking for $ac_word... " >&6; }
8673 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8674 $as_echo_n "(cached) " >&6
8676 case $aros_kernel_cpp in
8678 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8685 test -z "$as_dir" && as_dir
=.
8686 for ac_exec_ext
in '' $ac_executable_extensions; do
8687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8688 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8699 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8700 if test -n "$aros_kernel_cpp"; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8702 $as_echo "$aros_kernel_cpp" >&6; }
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8705 $as_echo "no" >&6; }
8710 if test "$GCC" = "yes"; then
8711 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8712 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8713 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8715 $as_echo_n "checking for $ac_word... " >&6; }
8716 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8717 $as_echo_n "(cached) " >&6
8719 case $aros_kernel_cpp in
8721 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8725 for as_dir
in `dirname $aros_gcc_cpp`
8728 test -z "$as_dir" && as_dir
=.
8729 for ac_exec_ext
in '' $ac_executable_extensions; do
8730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8731 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8742 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8743 if test -n "$aros_kernel_cpp"; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8745 $as_echo "$aros_kernel_cpp" >&6; }
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8748 $as_echo "no" >&6; }
8753 if test "$aros_kernel_cpp" = ""; then
8754 # Extract the first word of "cpp", so it can be a program name with args.
8755 set dummy cpp
; ac_word
=$2
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8757 $as_echo_n "checking for $ac_word... " >&6; }
8758 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8759 $as_echo_n "(cached) " >&6
8761 case $aros_kernel_cpp in
8763 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8770 test -z "$as_dir" && as_dir
=.
8771 for ac_exec_ext
in '' $ac_executable_extensions; do
8772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8773 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8784 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8785 if test -n "$aros_kernel_cpp"; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8787 $as_echo "$aros_kernel_cpp" >&6; }
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8790 $as_echo "no" >&6; }
8797 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8798 set dummy
$aros_kernel_cpp; ac_word
=$2
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8800 $as_echo_n "checking for $ac_word... " >&6; }
8801 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8802 $as_echo_n "(cached) " >&6
8804 case $aros_kernel_cpp in
8806 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8813 test -z "$as_dir" && as_dir
=.
8814 for ac_exec_ext
in '' $ac_executable_extensions; do
8815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8816 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8827 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8828 if test -n "$aros_kernel_cpp"; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8830 $as_echo "$aros_kernel_cpp" >&6; }
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8833 $as_echo "no" >&6; }
8839 if test "$aros_kernel_cpp" = ""; then
8840 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8842 if test "x$aros_kernel_cc" = "x"; then
8843 aros_kernel_cc
=${kernel_tool_prefix}gcc
8846 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8847 if test "$cross_compiling" = "yes" ; then
8848 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8849 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8851 $as_echo_n "checking for $ac_word... " >&6; }
8852 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8853 $as_echo_n "(cached) " >&6
8855 case $aros_kernel_cc in
8857 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8864 test -z "$as_dir" && as_dir
=.
8865 for ac_exec_ext
in '' $ac_executable_extensions; do
8866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8867 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8878 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8879 if test -n "$aros_kernel_cc"; then
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8881 $as_echo "$aros_kernel_cc" >&6; }
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8884 $as_echo "no" >&6; }
8889 if test "$GCC" = "yes"; then
8890 aros_gcc_cc
=`$CC -print-prog-name=cc`
8891 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8892 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8894 $as_echo_n "checking for $ac_word... " >&6; }
8895 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8896 $as_echo_n "(cached) " >&6
8898 case $aros_kernel_cc in
8900 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8904 for as_dir
in `dirname $aros_gcc_cc`
8907 test -z "$as_dir" && as_dir
=.
8908 for ac_exec_ext
in '' $ac_executable_extensions; do
8909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8910 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8921 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8922 if test -n "$aros_kernel_cc"; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8924 $as_echo "$aros_kernel_cc" >&6; }
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8927 $as_echo "no" >&6; }
8932 if test "$aros_kernel_cc" = ""; then
8933 # Extract the first word of "cc", so it can be a program name with args.
8934 set dummy cc
; ac_word
=$2
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8936 $as_echo_n "checking for $ac_word... " >&6; }
8937 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8938 $as_echo_n "(cached) " >&6
8940 case $aros_kernel_cc in
8942 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8949 test -z "$as_dir" && as_dir
=.
8950 for ac_exec_ext
in '' $ac_executable_extensions; do
8951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8952 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8963 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8964 if test -n "$aros_kernel_cc"; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8966 $as_echo "$aros_kernel_cc" >&6; }
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8969 $as_echo "no" >&6; }
8976 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8977 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8979 $as_echo_n "checking for $ac_word... " >&6; }
8980 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8981 $as_echo_n "(cached) " >&6
8983 case $aros_kernel_cc in
8985 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8992 test -z "$as_dir" && as_dir
=.
8993 for ac_exec_ext
in '' $ac_executable_extensions; do
8994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8995 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9006 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9007 if test -n "$aros_kernel_cc"; then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9009 $as_echo "$aros_kernel_cc" >&6; }
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9012 $as_echo "no" >&6; }
9018 if test "$aros_kernel_cc" = ""; then
9019 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9021 if test "x$aros_kernel_cxx" = "x"; then
9022 aros_kernel_cxx
=${kernel_tool_prefix}g
++
9025 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
9026 if test "$cross_compiling" = "yes" ; then
9027 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9028 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9030 $as_echo_n "checking for $ac_word... " >&6; }
9031 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9032 $as_echo_n "(cached) " >&6
9034 case $aros_kernel_cxx in
9036 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9043 test -z "$as_dir" && as_dir
=.
9044 for ac_exec_ext
in '' $ac_executable_extensions; do
9045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9046 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9057 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9058 if test -n "$aros_kernel_cxx"; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9060 $as_echo "$aros_kernel_cxx" >&6; }
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9063 $as_echo "no" >&6; }
9068 if test "$GCC" = "yes"; then
9069 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9070 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9071 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9073 $as_echo_n "checking for $ac_word... " >&6; }
9074 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9075 $as_echo_n "(cached) " >&6
9077 case $aros_kernel_cxx in
9079 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9083 for as_dir
in `dirname $aros_gcc_cxx`
9086 test -z "$as_dir" && as_dir
=.
9087 for ac_exec_ext
in '' $ac_executable_extensions; do
9088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9089 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9100 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9101 if test -n "$aros_kernel_cxx"; then
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9103 $as_echo "$aros_kernel_cxx" >&6; }
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9106 $as_echo "no" >&6; }
9111 if test "$aros_kernel_cxx" = ""; then
9112 # Extract the first word of "cxx", so it can be a program name with args.
9113 set dummy cxx
; ac_word
=$2
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9115 $as_echo_n "checking for $ac_word... " >&6; }
9116 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9117 $as_echo_n "(cached) " >&6
9119 case $aros_kernel_cxx in
9121 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9128 test -z "$as_dir" && as_dir
=.
9129 for ac_exec_ext
in '' $ac_executable_extensions; do
9130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9131 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9142 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9143 if test -n "$aros_kernel_cxx"; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9145 $as_echo "$aros_kernel_cxx" >&6; }
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9148 $as_echo "no" >&6; }
9155 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9156 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9158 $as_echo_n "checking for $ac_word... " >&6; }
9159 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9160 $as_echo_n "(cached) " >&6
9162 case $aros_kernel_cxx in
9164 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9171 test -z "$as_dir" && as_dir
=.
9172 for ac_exec_ext
in '' $ac_executable_extensions; do
9173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9174 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9185 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9186 if test -n "$aros_kernel_cxx"; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9188 $as_echo "$aros_kernel_cxx" >&6; }
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9191 $as_echo "no" >&6; }
9197 # If it's set, make sure it's really there
9198 if test "x$aros_kernel_cxx" != "x" ; then
9199 if test "$aros_kernel_cxx" = ""; then
9200 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9204 if test "$aros_kernel_ld" = ""; then
9205 if test "$cross_compiling" = "yes" ; then
9206 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9207 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9209 $as_echo_n "checking for $ac_word... " >&6; }
9210 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9211 $as_echo_n "(cached) " >&6
9213 case $aros_kernel_ld in
9215 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9222 test -z "$as_dir" && as_dir
=.
9223 for ac_exec_ext
in '' $ac_executable_extensions; do
9224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9225 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9236 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9237 if test -n "$aros_kernel_ld"; then
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9239 $as_echo "$aros_kernel_ld" >&6; }
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9242 $as_echo "no" >&6; }
9247 if test "$GCC" = "yes"; then
9248 aros_gcc_ld
=`$CC -print-prog-name=ld`
9249 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9250 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9252 $as_echo_n "checking for $ac_word... " >&6; }
9253 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9254 $as_echo_n "(cached) " >&6
9256 case $aros_kernel_ld in
9258 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9262 for as_dir
in `dirname $aros_gcc_ld`
9265 test -z "$as_dir" && as_dir
=.
9266 for ac_exec_ext
in '' $ac_executable_extensions; do
9267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9268 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9279 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9280 if test -n "$aros_kernel_ld"; then
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9282 $as_echo "$aros_kernel_ld" >&6; }
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9285 $as_echo "no" >&6; }
9290 if test "$aros_kernel_ld" = ""; then
9291 # Extract the first word of "ld", so it can be a program name with args.
9292 set dummy ld
; ac_word
=$2
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9294 $as_echo_n "checking for $ac_word... " >&6; }
9295 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9296 $as_echo_n "(cached) " >&6
9298 case $aros_kernel_ld in
9300 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9307 test -z "$as_dir" && as_dir
=.
9308 for ac_exec_ext
in '' $ac_executable_extensions; do
9309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9310 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9321 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9322 if test -n "$aros_kernel_ld"; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9324 $as_echo "$aros_kernel_ld" >&6; }
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9327 $as_echo "no" >&6; }
9334 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9335 set dummy
$aros_kernel_ld; ac_word
=$2
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9337 $as_echo_n "checking for $ac_word... " >&6; }
9338 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9339 $as_echo_n "(cached) " >&6
9341 case $aros_kernel_ld in
9343 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9350 test -z "$as_dir" && as_dir
=.
9351 for ac_exec_ext
in '' $ac_executable_extensions; do
9352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9353 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9364 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9365 if test -n "$aros_kernel_ld"; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9367 $as_echo "$aros_kernel_ld" >&6; }
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9370 $as_echo "no" >&6; }
9376 if test "$aros_kernel_ld" = ""; then
9377 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9380 if test "$aros_kernel_as" = ""; then
9381 if test "$cross_compiling" = "yes" ; then
9382 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9383 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9385 $as_echo_n "checking for $ac_word... " >&6; }
9386 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9387 $as_echo_n "(cached) " >&6
9389 case $aros_kernel_as in
9391 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9398 test -z "$as_dir" && as_dir
=.
9399 for ac_exec_ext
in '' $ac_executable_extensions; do
9400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9401 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9412 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9413 if test -n "$aros_kernel_as"; then
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9415 $as_echo "$aros_kernel_as" >&6; }
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9418 $as_echo "no" >&6; }
9423 if test "$GCC" = "yes"; then
9424 aros_gcc_as
=`$CC -print-prog-name=as`
9425 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9426 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9428 $as_echo_n "checking for $ac_word... " >&6; }
9429 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9430 $as_echo_n "(cached) " >&6
9432 case $aros_kernel_as in
9434 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9438 for as_dir
in `dirname $aros_gcc_as`
9441 test -z "$as_dir" && as_dir
=.
9442 for ac_exec_ext
in '' $ac_executable_extensions; do
9443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9444 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9455 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9456 if test -n "$aros_kernel_as"; then
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9458 $as_echo "$aros_kernel_as" >&6; }
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9461 $as_echo "no" >&6; }
9466 if test "$aros_kernel_as" = ""; then
9467 # Extract the first word of "as", so it can be a program name with args.
9468 set dummy as
; ac_word
=$2
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9470 $as_echo_n "checking for $ac_word... " >&6; }
9471 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9472 $as_echo_n "(cached) " >&6
9474 case $aros_kernel_as in
9476 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9483 test -z "$as_dir" && as_dir
=.
9484 for ac_exec_ext
in '' $ac_executable_extensions; do
9485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9486 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9498 if test -n "$aros_kernel_as"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9500 $as_echo "$aros_kernel_as" >&6; }
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503 $as_echo "no" >&6; }
9510 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9511 set dummy
$aros_kernel_as; ac_word
=$2
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9513 $as_echo_n "checking for $ac_word... " >&6; }
9514 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9515 $as_echo_n "(cached) " >&6
9517 case $aros_kernel_as in
9519 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9526 test -z "$as_dir" && as_dir
=.
9527 for ac_exec_ext
in '' $ac_executable_extensions; do
9528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9529 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9540 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9541 if test -n "$aros_kernel_as"; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9543 $as_echo "$aros_kernel_as" >&6; }
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9546 $as_echo "no" >&6; }
9552 if test "$aros_kernel_as" = ""; then
9553 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9556 if test "$aros_kernel_ar" = ""; then
9557 if test "$cross_compiling" = "yes" ; then
9558 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9559 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9561 $as_echo_n "checking for $ac_word... " >&6; }
9562 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9563 $as_echo_n "(cached) " >&6
9565 case $aros_kernel_ar in
9567 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9574 test -z "$as_dir" && as_dir
=.
9575 for ac_exec_ext
in '' $ac_executable_extensions; do
9576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9577 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9588 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9589 if test -n "$aros_kernel_ar"; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9591 $as_echo "$aros_kernel_ar" >&6; }
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9594 $as_echo "no" >&6; }
9599 if test "$GCC" = "yes"; then
9600 aros_gcc_ar
=`$CC -print-prog-name=ar`
9601 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9602 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9604 $as_echo_n "checking for $ac_word... " >&6; }
9605 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9606 $as_echo_n "(cached) " >&6
9608 case $aros_kernel_ar in
9610 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9614 for as_dir
in `dirname $aros_gcc_ar`
9617 test -z "$as_dir" && as_dir
=.
9618 for ac_exec_ext
in '' $ac_executable_extensions; do
9619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9620 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9631 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9632 if test -n "$aros_kernel_ar"; then
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9634 $as_echo "$aros_kernel_ar" >&6; }
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9637 $as_echo "no" >&6; }
9642 if test "$aros_kernel_ar" = ""; then
9643 # Extract the first word of "ar", so it can be a program name with args.
9644 set dummy
ar; ac_word
=$2
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9646 $as_echo_n "checking for $ac_word... " >&6; }
9647 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9648 $as_echo_n "(cached) " >&6
9650 case $aros_kernel_ar in
9652 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9659 test -z "$as_dir" && as_dir
=.
9660 for ac_exec_ext
in '' $ac_executable_extensions; do
9661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9662 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9673 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9674 if test -n "$aros_kernel_ar"; then
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9676 $as_echo "$aros_kernel_ar" >&6; }
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9679 $as_echo "no" >&6; }
9686 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9687 set dummy
$aros_kernel_ar; ac_word
=$2
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9689 $as_echo_n "checking for $ac_word... " >&6; }
9690 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9691 $as_echo_n "(cached) " >&6
9693 case $aros_kernel_ar in
9695 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9702 test -z "$as_dir" && as_dir
=.
9703 for ac_exec_ext
in '' $ac_executable_extensions; do
9704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9705 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9716 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9717 if test -n "$aros_kernel_ar"; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9719 $as_echo "$aros_kernel_ar" >&6; }
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9722 $as_echo "no" >&6; }
9728 if test "$aros_kernel_ar" = ""; then
9729 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9732 if test "$aros_kernel_ranlib" = ""; then
9733 if test "$cross_compiling" = "yes" ; then
9734 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9735 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9737 $as_echo_n "checking for $ac_word... " >&6; }
9738 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9739 $as_echo_n "(cached) " >&6
9741 case $aros_kernel_ranlib in
9743 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9750 test -z "$as_dir" && as_dir
=.
9751 for ac_exec_ext
in '' $ac_executable_extensions; do
9752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9753 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9764 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9765 if test -n "$aros_kernel_ranlib"; then
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9767 $as_echo "$aros_kernel_ranlib" >&6; }
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9770 $as_echo "no" >&6; }
9775 if test "$GCC" = "yes"; then
9776 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9777 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9778 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9780 $as_echo_n "checking for $ac_word... " >&6; }
9781 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9782 $as_echo_n "(cached) " >&6
9784 case $aros_kernel_ranlib in
9786 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9790 for as_dir
in `dirname $aros_gcc_ranlib`
9793 test -z "$as_dir" && as_dir
=.
9794 for ac_exec_ext
in '' $ac_executable_extensions; do
9795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9796 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9807 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9808 if test -n "$aros_kernel_ranlib"; then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9810 $as_echo "$aros_kernel_ranlib" >&6; }
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9813 $as_echo "no" >&6; }
9818 if test "$aros_kernel_ranlib" = ""; then
9819 # Extract the first word of "ranlib", so it can be a program name with args.
9820 set dummy ranlib
; ac_word
=$2
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9822 $as_echo_n "checking for $ac_word... " >&6; }
9823 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9824 $as_echo_n "(cached) " >&6
9826 case $aros_kernel_ranlib in
9828 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9835 test -z "$as_dir" && as_dir
=.
9836 for ac_exec_ext
in '' $ac_executable_extensions; do
9837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9838 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9849 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9850 if test -n "$aros_kernel_ranlib"; then
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9852 $as_echo "$aros_kernel_ranlib" >&6; }
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9855 $as_echo "no" >&6; }
9862 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9863 set dummy
$aros_kernel_ranlib; ac_word
=$2
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9865 $as_echo_n "checking for $ac_word... " >&6; }
9866 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9867 $as_echo_n "(cached) " >&6
9869 case $aros_kernel_ranlib in
9871 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9878 test -z "$as_dir" && as_dir
=.
9879 for ac_exec_ext
in '' $ac_executable_extensions; do
9880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9881 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9892 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9893 if test -n "$aros_kernel_ranlib"; then
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9895 $as_echo "$aros_kernel_ranlib" >&6; }
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9898 $as_echo "no" >&6; }
9904 if test "$aros_kernel_ranlib" = ""; then
9905 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9908 if test "$aros_kernel_nm" = ""; then
9909 if test "$cross_compiling" = "yes" ; then
9910 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9911 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9913 $as_echo_n "checking for $ac_word... " >&6; }
9914 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9915 $as_echo_n "(cached) " >&6
9917 case $aros_kernel_nm in
9919 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9926 test -z "$as_dir" && as_dir
=.
9927 for ac_exec_ext
in '' $ac_executable_extensions; do
9928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9929 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9940 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9941 if test -n "$aros_kernel_nm"; then
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9943 $as_echo "$aros_kernel_nm" >&6; }
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9946 $as_echo "no" >&6; }
9951 if test "$GCC" = "yes"; then
9952 aros_gcc_nm
=`$CC -print-prog-name=nm`
9953 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9954 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9956 $as_echo_n "checking for $ac_word... " >&6; }
9957 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9958 $as_echo_n "(cached) " >&6
9960 case $aros_kernel_nm in
9962 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9966 for as_dir
in `dirname $aros_gcc_nm`
9969 test -z "$as_dir" && as_dir
=.
9970 for ac_exec_ext
in '' $ac_executable_extensions; do
9971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9972 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9983 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9984 if test -n "$aros_kernel_nm"; then
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9986 $as_echo "$aros_kernel_nm" >&6; }
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9989 $as_echo "no" >&6; }
9994 if test "$aros_kernel_nm" = ""; then
9995 # Extract the first word of "nm", so it can be a program name with args.
9996 set dummy nm
; ac_word
=$2
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9998 $as_echo_n "checking for $ac_word... " >&6; }
9999 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10000 $as_echo_n "(cached) " >&6
10002 case $aros_kernel_nm in
10004 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10008 for as_dir
in $PATH
10011 test -z "$as_dir" && as_dir
=.
10012 for ac_exec_ext
in '' $ac_executable_extensions; do
10013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10014 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10025 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10026 if test -n "$aros_kernel_nm"; then
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10028 $as_echo "$aros_kernel_nm" >&6; }
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10031 $as_echo "no" >&6; }
10038 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10039 set dummy
$aros_kernel_nm; ac_word
=$2
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10041 $as_echo_n "checking for $ac_word... " >&6; }
10042 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10043 $as_echo_n "(cached) " >&6
10045 case $aros_kernel_nm in
10047 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10051 for as_dir
in $PATH
10054 test -z "$as_dir" && as_dir
=.
10055 for ac_exec_ext
in '' $ac_executable_extensions; do
10056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10057 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10068 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10069 if test -n "$aros_kernel_nm"; then
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10071 $as_echo "$aros_kernel_nm" >&6; }
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10074 $as_echo "no" >&6; }
10080 if test "$aros_kernel_nm" = ""; then
10081 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10084 if test "$aros_kernel_strip" = ""; then
10085 if test "$cross_compiling" = "yes" ; then
10086 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10087 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10089 $as_echo_n "checking for $ac_word... " >&6; }
10090 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10091 $as_echo_n "(cached) " >&6
10093 case $aros_kernel_strip in
10095 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10099 for as_dir
in $PATH
10102 test -z "$as_dir" && as_dir
=.
10103 for ac_exec_ext
in '' $ac_executable_extensions; do
10104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10105 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10116 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10117 if test -n "$aros_kernel_strip"; then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10119 $as_echo "$aros_kernel_strip" >&6; }
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10122 $as_echo "no" >&6; }
10127 if test "$GCC" = "yes"; then
10128 aros_gcc_strip
=`$CC -print-prog-name=strip`
10129 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10130 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10132 $as_echo_n "checking for $ac_word... " >&6; }
10133 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10134 $as_echo_n "(cached) " >&6
10136 case $aros_kernel_strip in
10138 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10142 for as_dir
in `dirname $aros_gcc_strip`
10145 test -z "$as_dir" && as_dir
=.
10146 for ac_exec_ext
in '' $ac_executable_extensions; do
10147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10148 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10159 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10160 if test -n "$aros_kernel_strip"; then
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10162 $as_echo "$aros_kernel_strip" >&6; }
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10165 $as_echo "no" >&6; }
10170 if test "$aros_kernel_strip" = ""; then
10171 # Extract the first word of "strip", so it can be a program name with args.
10172 set dummy strip
; ac_word
=$2
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10174 $as_echo_n "checking for $ac_word... " >&6; }
10175 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10176 $as_echo_n "(cached) " >&6
10178 case $aros_kernel_strip in
10180 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10184 for as_dir
in $PATH
10187 test -z "$as_dir" && as_dir
=.
10188 for ac_exec_ext
in '' $ac_executable_extensions; do
10189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10190 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10201 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10202 if test -n "$aros_kernel_strip"; then
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10204 $as_echo "$aros_kernel_strip" >&6; }
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10207 $as_echo "no" >&6; }
10214 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10215 set dummy
$aros_kernel_strip; ac_word
=$2
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10217 $as_echo_n "checking for $ac_word... " >&6; }
10218 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10219 $as_echo_n "(cached) " >&6
10221 case $aros_kernel_strip in
10223 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10227 for as_dir
in $PATH
10230 test -z "$as_dir" && as_dir
=.
10231 for ac_exec_ext
in '' $ac_executable_extensions; do
10232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10233 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10244 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10245 if test -n "$aros_kernel_strip"; then
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10247 $as_echo "$aros_kernel_strip" >&6; }
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10250 $as_echo "no" >&6; }
10256 if test "$aros_kernel_strip" = ""; then
10257 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10260 # Objcopy and objdump are not required for the kernel
10261 # toolchain on many architectures.
10262 # So we'll look for them, but not make them strictly required.
10264 if test "$aros_kernel_objcopy" = ""; then
10265 if test "$cross_compiling" = "yes" ; then
10266 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10267 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10269 $as_echo_n "checking for $ac_word... " >&6; }
10270 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10271 $as_echo_n "(cached) " >&6
10273 case $aros_kernel_objcopy in
10275 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10279 for as_dir
in $PATH
10282 test -z "$as_dir" && as_dir
=.
10283 for ac_exec_ext
in '' $ac_executable_extensions; do
10284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10285 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10296 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10297 if test -n "$aros_kernel_objcopy"; then
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10299 $as_echo "$aros_kernel_objcopy" >&6; }
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10302 $as_echo "no" >&6; }
10307 if test "$GCC" = "yes"; then
10308 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10309 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10310 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10312 $as_echo_n "checking for $ac_word... " >&6; }
10313 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10314 $as_echo_n "(cached) " >&6
10316 case $aros_kernel_objcopy in
10318 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10322 for as_dir
in `dirname $aros_gcc_objcopy`
10325 test -z "$as_dir" && as_dir
=.
10326 for ac_exec_ext
in '' $ac_executable_extensions; do
10327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10328 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10339 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10340 if test -n "$aros_kernel_objcopy"; then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10342 $as_echo "$aros_kernel_objcopy" >&6; }
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10345 $as_echo "no" >&6; }
10350 if test "$aros_kernel_objcopy" = ""; then
10351 # Extract the first word of "objcopy", so it can be a program name with args.
10352 set dummy objcopy
; ac_word
=$2
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10354 $as_echo_n "checking for $ac_word... " >&6; }
10355 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10356 $as_echo_n "(cached) " >&6
10358 case $aros_kernel_objcopy in
10360 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10364 for as_dir
in $PATH
10367 test -z "$as_dir" && as_dir
=.
10368 for ac_exec_ext
in '' $ac_executable_extensions; do
10369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10370 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10381 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10382 if test -n "$aros_kernel_objcopy"; then
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10384 $as_echo "$aros_kernel_objcopy" >&6; }
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10387 $as_echo "no" >&6; }
10394 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10395 set dummy
$aros_kernel_objcopy; ac_word
=$2
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10397 $as_echo_n "checking for $ac_word... " >&6; }
10398 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10399 $as_echo_n "(cached) " >&6
10401 case $aros_kernel_objcopy in
10403 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10407 for as_dir
in $PATH
10410 test -z "$as_dir" && as_dir
=.
10411 for ac_exec_ext
in '' $ac_executable_extensions; do
10412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10413 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10424 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10425 if test -n "$aros_kernel_objcopy"; then
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10427 $as_echo "$aros_kernel_objcopy" >&6; }
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10430 $as_echo "no" >&6; }
10437 if test "$aros_kernel_objdump" = ""; then
10438 if test "$cross_compiling" = "yes" ; then
10439 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10440 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10442 $as_echo_n "checking for $ac_word... " >&6; }
10443 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10444 $as_echo_n "(cached) " >&6
10446 case $aros_kernel_objdump in
10448 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10452 for as_dir
in $PATH
10455 test -z "$as_dir" && as_dir
=.
10456 for ac_exec_ext
in '' $ac_executable_extensions; do
10457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10458 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10469 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10470 if test -n "$aros_kernel_objdump"; then
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10472 $as_echo "$aros_kernel_objdump" >&6; }
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10475 $as_echo "no" >&6; }
10480 if test "$GCC" = "yes"; then
10481 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10482 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10483 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10485 $as_echo_n "checking for $ac_word... " >&6; }
10486 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10487 $as_echo_n "(cached) " >&6
10489 case $aros_kernel_objdump in
10491 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10495 for as_dir
in `dirname $aros_gcc_objdump`
10498 test -z "$as_dir" && as_dir
=.
10499 for ac_exec_ext
in '' $ac_executable_extensions; do
10500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10501 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10512 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10513 if test -n "$aros_kernel_objdump"; then
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10515 $as_echo "$aros_kernel_objdump" >&6; }
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10518 $as_echo "no" >&6; }
10523 if test "$aros_kernel_objdump" = ""; then
10524 # Extract the first word of "objdump", so it can be a program name with args.
10525 set dummy objdump
; ac_word
=$2
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10527 $as_echo_n "checking for $ac_word... " >&6; }
10528 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10529 $as_echo_n "(cached) " >&6
10531 case $aros_kernel_objdump in
10533 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10537 for as_dir
in $PATH
10540 test -z "$as_dir" && as_dir
=.
10541 for ac_exec_ext
in '' $ac_executable_extensions; do
10542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10543 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10554 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10555 if test -n "$aros_kernel_objdump"; then
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10557 $as_echo "$aros_kernel_objdump" >&6; }
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10560 $as_echo "no" >&6; }
10567 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10568 set dummy
$aros_kernel_objdump; ac_word
=$2
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10570 $as_echo_n "checking for $ac_word... " >&6; }
10571 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10572 $as_echo_n "(cached) " >&6
10574 case $aros_kernel_objdump in
10576 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10580 for as_dir
in $PATH
10583 test -z "$as_dir" && as_dir
=.
10584 for ac_exec_ext
in '' $ac_executable_extensions; do
10585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10586 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10597 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10598 if test -n "$aros_kernel_objdump"; then
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10600 $as_echo "$aros_kernel_objdump" >&6; }
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10603 $as_echo "no" >&6; }
10609 if test "x${crosstools}" != "xyes" ; then
10610 if test "$aros_kernel_objcopy" = ""; then
10611 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10613 if test "$aros_kernel_objdump" = ""; then
10614 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10620 $as_echo_n "checking which target tools to use... " >&6; }
10621 if test "$crosstools" = "yes"; then
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10623 $as_echo "$target_tool_prefix" >&6; }
10624 # We are are building AROS crosstools
10625 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10626 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10627 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10628 orig_target_cpp
="${tmp_tool_prefix}cpp"
10629 orig_target_ld
="${tmp_tool_prefix}ld"
10630 orig_target_as
="${tmp_tool_prefix}as"
10631 orig_target_ar
="${tmp_tool_prefix}ar"
10632 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10633 orig_target_nm
="${tmp_tool_prefix}nm"
10634 orig_target_strip
="${tmp_tool_prefix}strip"
10635 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10636 orig_target_objdump
="${tmp_tool_prefix}objdump"
10637 orig_target_elfedit
="${tmp_tool_prefix}elfedit"
10639 # Determine whether AROS or ELF tools should be used
10640 if test "$aros_tool_prefix" = "none"; then
10641 aros_tool_prefix
="${elf_tool_prefix}"
10642 crosstools_cxx_target
=tools-crosstools
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10646 $as_echo "$aros_tool_prefix" >&6; }
10647 # We are *not* building AROS crosstools - use the AROS or ELF tools
10649 if test "${aros_tool_prefix}cpp" = ""; then
10650 if test "$cross_compiling" = "yes" ; then
10651 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10652 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10654 $as_echo_n "checking for $ac_word... " >&6; }
10655 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10656 $as_echo_n "(cached) " >&6
10658 case $orig_target_cpp in
10660 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10664 for as_dir
in $PATH
10667 test -z "$as_dir" && as_dir
=.
10668 for ac_exec_ext
in '' $ac_executable_extensions; do
10669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10670 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10681 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10682 if test -n "$orig_target_cpp"; then
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10684 $as_echo "$orig_target_cpp" >&6; }
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10687 $as_echo "no" >&6; }
10692 if test "$GCC" = "yes"; then
10693 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10694 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10695 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10697 $as_echo_n "checking for $ac_word... " >&6; }
10698 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10699 $as_echo_n "(cached) " >&6
10701 case $orig_target_cpp in
10703 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10707 for as_dir
in `dirname $aros_gcc_cpp`
10710 test -z "$as_dir" && as_dir
=.
10711 for ac_exec_ext
in '' $ac_executable_extensions; do
10712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10713 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10724 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10725 if test -n "$orig_target_cpp"; then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10727 $as_echo "$orig_target_cpp" >&6; }
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10730 $as_echo "no" >&6; }
10735 if test "$orig_target_cpp" = ""; then
10736 # Extract the first word of "cpp", so it can be a program name with args.
10737 set dummy cpp
; ac_word
=$2
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10739 $as_echo_n "checking for $ac_word... " >&6; }
10740 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10741 $as_echo_n "(cached) " >&6
10743 case $orig_target_cpp in
10745 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10749 for as_dir
in $PATH
10752 test -z "$as_dir" && as_dir
=.
10753 for ac_exec_ext
in '' $ac_executable_extensions; do
10754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10755 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10766 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10767 if test -n "$orig_target_cpp"; then
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10769 $as_echo "$orig_target_cpp" >&6; }
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10772 $as_echo "no" >&6; }
10779 # Extract the first word of "${aros_tool_prefix}cpp", so it can be a program name with args.
10780 set dummy
${aros_tool_prefix}cpp
; ac_word
=$2
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10782 $as_echo_n "checking for $ac_word... " >&6; }
10783 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10784 $as_echo_n "(cached) " >&6
10786 case $orig_target_cpp in
10788 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10792 for as_dir
in $PATH
10795 test -z "$as_dir" && as_dir
=.
10796 for ac_exec_ext
in '' $ac_executable_extensions; do
10797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10798 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10809 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10810 if test -n "$orig_target_cpp"; then
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10812 $as_echo "$orig_target_cpp" >&6; }
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10815 $as_echo "no" >&6; }
10821 if test "$orig_target_cpp" = ""; then
10822 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10825 if test "${aros_tool_prefix}gcc" = ""; then
10826 if test "$cross_compiling" = "yes" ; then
10827 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
10828 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10830 $as_echo_n "checking for $ac_word... " >&6; }
10831 if ${ac_cv_path_orig_target_cc+:} false
; then :
10832 $as_echo_n "(cached) " >&6
10834 case $orig_target_cc in
10836 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10840 for as_dir
in $PATH
10843 test -z "$as_dir" && as_dir
=.
10844 for ac_exec_ext
in '' $ac_executable_extensions; do
10845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10846 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10857 orig_target_cc
=$ac_cv_path_orig_target_cc
10858 if test -n "$orig_target_cc"; then
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10860 $as_echo "$orig_target_cc" >&6; }
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10863 $as_echo "no" >&6; }
10868 if test "$GCC" = "yes"; then
10869 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
10870 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
10871 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10873 $as_echo_n "checking for $ac_word... " >&6; }
10874 if ${ac_cv_path_orig_target_cc+:} false
; then :
10875 $as_echo_n "(cached) " >&6
10877 case $orig_target_cc in
10879 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10883 for as_dir
in `dirname $aros_gcc_gcc`
10886 test -z "$as_dir" && as_dir
=.
10887 for ac_exec_ext
in '' $ac_executable_extensions; do
10888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10889 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10900 orig_target_cc
=$ac_cv_path_orig_target_cc
10901 if test -n "$orig_target_cc"; then
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10903 $as_echo "$orig_target_cc" >&6; }
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10906 $as_echo "no" >&6; }
10911 if test "$orig_target_cc" = ""; then
10912 # Extract the first word of "gcc", so it can be a program name with args.
10913 set dummy gcc
; ac_word
=$2
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10915 $as_echo_n "checking for $ac_word... " >&6; }
10916 if ${ac_cv_path_orig_target_cc+:} false
; then :
10917 $as_echo_n "(cached) " >&6
10919 case $orig_target_cc in
10921 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10925 for as_dir
in $PATH
10928 test -z "$as_dir" && as_dir
=.
10929 for ac_exec_ext
in '' $ac_executable_extensions; do
10930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10931 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10942 orig_target_cc
=$ac_cv_path_orig_target_cc
10943 if test -n "$orig_target_cc"; then
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10945 $as_echo "$orig_target_cc" >&6; }
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10948 $as_echo "no" >&6; }
10955 # Extract the first word of "${aros_tool_prefix}gcc", so it can be a program name with args.
10956 set dummy
${aros_tool_prefix}gcc
; ac_word
=$2
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10958 $as_echo_n "checking for $ac_word... " >&6; }
10959 if ${ac_cv_path_orig_target_cc+:} false
; then :
10960 $as_echo_n "(cached) " >&6
10962 case $orig_target_cc in
10964 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10968 for as_dir
in $PATH
10971 test -z "$as_dir" && as_dir
=.
10972 for ac_exec_ext
in '' $ac_executable_extensions; do
10973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10974 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10985 orig_target_cc
=$ac_cv_path_orig_target_cc
10986 if test -n "$orig_target_cc"; then
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10988 $as_echo "$orig_target_cc" >&6; }
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10991 $as_echo "no" >&6; }
10997 if test "$orig_target_cc" = ""; then
10998 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11000 if test "x${crosstools_cxx_target}" = "x" ; then
11002 if test "${aros_tool_prefix}g++" = ""; then
11003 if test "$cross_compiling" = "yes" ; then
11004 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11005 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11007 $as_echo_n "checking for $ac_word... " >&6; }
11008 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11009 $as_echo_n "(cached) " >&6
11011 case $orig_target_cxx in
11013 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11017 for as_dir
in $PATH
11020 test -z "$as_dir" && as_dir
=.
11021 for ac_exec_ext
in '' $ac_executable_extensions; do
11022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11023 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11034 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11035 if test -n "$orig_target_cxx"; then
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11037 $as_echo "$orig_target_cxx" >&6; }
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11040 $as_echo "no" >&6; }
11045 if test "$GCC" = "yes"; then
11046 aros_gcc_g
++=`$CC -print-prog-name=g++`
11047 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11048 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11050 $as_echo_n "checking for $ac_word... " >&6; }
11051 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11052 $as_echo_n "(cached) " >&6
11054 case $orig_target_cxx in
11056 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11060 for as_dir
in `dirname $aros_gcc_g++`
11063 test -z "$as_dir" && as_dir
=.
11064 for ac_exec_ext
in '' $ac_executable_extensions; do
11065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11066 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11077 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11078 if test -n "$orig_target_cxx"; then
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11080 $as_echo "$orig_target_cxx" >&6; }
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11083 $as_echo "no" >&6; }
11088 if test "$orig_target_cxx" = ""; then
11089 # Extract the first word of "g++", so it can be a program name with args.
11090 set dummy g
++; ac_word
=$2
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11092 $as_echo_n "checking for $ac_word... " >&6; }
11093 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11094 $as_echo_n "(cached) " >&6
11096 case $orig_target_cxx in
11098 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11102 for as_dir
in $PATH
11105 test -z "$as_dir" && as_dir
=.
11106 for ac_exec_ext
in '' $ac_executable_extensions; do
11107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11108 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11119 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11120 if test -n "$orig_target_cxx"; then
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11122 $as_echo "$orig_target_cxx" >&6; }
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11125 $as_echo "no" >&6; }
11132 # Extract the first word of "${aros_tool_prefix}g++", so it can be a program name with args.
11133 set dummy
${aros_tool_prefix}g
++; ac_word
=$2
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11135 $as_echo_n "checking for $ac_word... " >&6; }
11136 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11137 $as_echo_n "(cached) " >&6
11139 case $orig_target_cxx in
11141 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11145 for as_dir
in $PATH
11148 test -z "$as_dir" && as_dir
=.
11149 for ac_exec_ext
in '' $ac_executable_extensions; do
11150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11151 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11162 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11163 if test -n "$orig_target_cxx"; then
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11165 $as_echo "$orig_target_cxx" >&6; }
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11168 $as_echo "no" >&6; }
11174 if test "$orig_target_cxx" = ""; then
11175 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11179 if test "${aros_tool_prefix}ld" = ""; then
11180 if test "$cross_compiling" = "yes" ; then
11181 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11182 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11184 $as_echo_n "checking for $ac_word... " >&6; }
11185 if ${ac_cv_path_orig_target_ld+:} false
; then :
11186 $as_echo_n "(cached) " >&6
11188 case $orig_target_ld in
11190 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11194 for as_dir
in $PATH
11197 test -z "$as_dir" && as_dir
=.
11198 for ac_exec_ext
in '' $ac_executable_extensions; do
11199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11200 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11211 orig_target_ld
=$ac_cv_path_orig_target_ld
11212 if test -n "$orig_target_ld"; then
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11214 $as_echo "$orig_target_ld" >&6; }
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11217 $as_echo "no" >&6; }
11222 if test "$GCC" = "yes"; then
11223 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11224 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11225 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11227 $as_echo_n "checking for $ac_word... " >&6; }
11228 if ${ac_cv_path_orig_target_ld+:} false
; then :
11229 $as_echo_n "(cached) " >&6
11231 case $orig_target_ld in
11233 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11237 for as_dir
in `dirname $aros_gcc_gcc`
11240 test -z "$as_dir" && as_dir
=.
11241 for ac_exec_ext
in '' $ac_executable_extensions; do
11242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11243 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11254 orig_target_ld
=$ac_cv_path_orig_target_ld
11255 if test -n "$orig_target_ld"; then
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11257 $as_echo "$orig_target_ld" >&6; }
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11260 $as_echo "no" >&6; }
11265 if test "$orig_target_ld" = ""; then
11266 # Extract the first word of "gcc", so it can be a program name with args.
11267 set dummy gcc
; ac_word
=$2
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11269 $as_echo_n "checking for $ac_word... " >&6; }
11270 if ${ac_cv_path_orig_target_ld+:} false
; then :
11271 $as_echo_n "(cached) " >&6
11273 case $orig_target_ld in
11275 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11279 for as_dir
in $PATH
11282 test -z "$as_dir" && as_dir
=.
11283 for ac_exec_ext
in '' $ac_executable_extensions; do
11284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11285 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11296 orig_target_ld
=$ac_cv_path_orig_target_ld
11297 if test -n "$orig_target_ld"; then
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11299 $as_echo "$orig_target_ld" >&6; }
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11302 $as_echo "no" >&6; }
11309 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11310 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11312 $as_echo_n "checking for $ac_word... " >&6; }
11313 if ${ac_cv_path_orig_target_ld+:} false
; then :
11314 $as_echo_n "(cached) " >&6
11316 case $orig_target_ld in
11318 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11322 for as_dir
in $PATH
11325 test -z "$as_dir" && as_dir
=.
11326 for ac_exec_ext
in '' $ac_executable_extensions; do
11327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11328 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11339 orig_target_ld
=$ac_cv_path_orig_target_ld
11340 if test -n "$orig_target_ld"; then
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11342 $as_echo "$orig_target_ld" >&6; }
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11345 $as_echo "no" >&6; }
11351 if test "$orig_target_ld" = ""; then
11352 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11355 if test "${aros_tool_prefix}as" = ""; then
11356 if test "$cross_compiling" = "yes" ; then
11357 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11358 set dummy
${target_tool_prefix}as
; ac_word
=$2
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11360 $as_echo_n "checking for $ac_word... " >&6; }
11361 if ${ac_cv_path_orig_target_as+:} false
; then :
11362 $as_echo_n "(cached) " >&6
11364 case $orig_target_as in
11366 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11370 for as_dir
in $PATH
11373 test -z "$as_dir" && as_dir
=.
11374 for ac_exec_ext
in '' $ac_executable_extensions; do
11375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11376 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11387 orig_target_as
=$ac_cv_path_orig_target_as
11388 if test -n "$orig_target_as"; then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11390 $as_echo "$orig_target_as" >&6; }
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11393 $as_echo "no" >&6; }
11398 if test "$GCC" = "yes"; then
11399 aros_gcc_as
=`$CC -print-prog-name=as`
11400 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11401 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11403 $as_echo_n "checking for $ac_word... " >&6; }
11404 if ${ac_cv_path_orig_target_as+:} false
; then :
11405 $as_echo_n "(cached) " >&6
11407 case $orig_target_as in
11409 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11413 for as_dir
in `dirname $aros_gcc_as`
11416 test -z "$as_dir" && as_dir
=.
11417 for ac_exec_ext
in '' $ac_executable_extensions; do
11418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11419 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11430 orig_target_as
=$ac_cv_path_orig_target_as
11431 if test -n "$orig_target_as"; then
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11433 $as_echo "$orig_target_as" >&6; }
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11436 $as_echo "no" >&6; }
11441 if test "$orig_target_as" = ""; then
11442 # Extract the first word of "as", so it can be a program name with args.
11443 set dummy as
; ac_word
=$2
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11445 $as_echo_n "checking for $ac_word... " >&6; }
11446 if ${ac_cv_path_orig_target_as+:} false
; then :
11447 $as_echo_n "(cached) " >&6
11449 case $orig_target_as in
11451 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11455 for as_dir
in $PATH
11458 test -z "$as_dir" && as_dir
=.
11459 for ac_exec_ext
in '' $ac_executable_extensions; do
11460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11461 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11472 orig_target_as
=$ac_cv_path_orig_target_as
11473 if test -n "$orig_target_as"; then
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11475 $as_echo "$orig_target_as" >&6; }
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11478 $as_echo "no" >&6; }
11485 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11486 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11488 $as_echo_n "checking for $ac_word... " >&6; }
11489 if ${ac_cv_path_orig_target_as+:} false
; then :
11490 $as_echo_n "(cached) " >&6
11492 case $orig_target_as in
11494 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11498 for as_dir
in $PATH
11501 test -z "$as_dir" && as_dir
=.
11502 for ac_exec_ext
in '' $ac_executable_extensions; do
11503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11504 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11515 orig_target_as
=$ac_cv_path_orig_target_as
11516 if test -n "$orig_target_as"; then
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11518 $as_echo "$orig_target_as" >&6; }
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11521 $as_echo "no" >&6; }
11527 if test "$orig_target_as" = ""; then
11528 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11531 if test "${aros_tool_prefix}ar" = ""; then
11532 if test "$cross_compiling" = "yes" ; then
11533 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11534 set dummy
${target_tool_prefix}ar; ac_word
=$2
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11536 $as_echo_n "checking for $ac_word... " >&6; }
11537 if ${ac_cv_path_orig_target_ar+:} false
; then :
11538 $as_echo_n "(cached) " >&6
11540 case $orig_target_ar in
11542 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11546 for as_dir
in $PATH
11549 test -z "$as_dir" && as_dir
=.
11550 for ac_exec_ext
in '' $ac_executable_extensions; do
11551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11552 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11563 orig_target_ar
=$ac_cv_path_orig_target_ar
11564 if test -n "$orig_target_ar"; then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11566 $as_echo "$orig_target_ar" >&6; }
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11569 $as_echo "no" >&6; }
11574 if test "$GCC" = "yes"; then
11575 aros_gcc_ar
=`$CC -print-prog-name=ar`
11576 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11577 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11579 $as_echo_n "checking for $ac_word... " >&6; }
11580 if ${ac_cv_path_orig_target_ar+:} false
; then :
11581 $as_echo_n "(cached) " >&6
11583 case $orig_target_ar in
11585 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11589 for as_dir
in `dirname $aros_gcc_ar`
11592 test -z "$as_dir" && as_dir
=.
11593 for ac_exec_ext
in '' $ac_executable_extensions; do
11594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11595 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11606 orig_target_ar
=$ac_cv_path_orig_target_ar
11607 if test -n "$orig_target_ar"; then
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11609 $as_echo "$orig_target_ar" >&6; }
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11612 $as_echo "no" >&6; }
11617 if test "$orig_target_ar" = ""; then
11618 # Extract the first word of "ar", so it can be a program name with args.
11619 set dummy
ar; ac_word
=$2
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11621 $as_echo_n "checking for $ac_word... " >&6; }
11622 if ${ac_cv_path_orig_target_ar+:} false
; then :
11623 $as_echo_n "(cached) " >&6
11625 case $orig_target_ar in
11627 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11631 for as_dir
in $PATH
11634 test -z "$as_dir" && as_dir
=.
11635 for ac_exec_ext
in '' $ac_executable_extensions; do
11636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11637 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11648 orig_target_ar
=$ac_cv_path_orig_target_ar
11649 if test -n "$orig_target_ar"; then
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11651 $as_echo "$orig_target_ar" >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11654 $as_echo "no" >&6; }
11661 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11662 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11664 $as_echo_n "checking for $ac_word... " >&6; }
11665 if ${ac_cv_path_orig_target_ar+:} false
; then :
11666 $as_echo_n "(cached) " >&6
11668 case $orig_target_ar in
11670 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11674 for as_dir
in $PATH
11677 test -z "$as_dir" && as_dir
=.
11678 for ac_exec_ext
in '' $ac_executable_extensions; do
11679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11680 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11691 orig_target_ar
=$ac_cv_path_orig_target_ar
11692 if test -n "$orig_target_ar"; then
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11694 $as_echo "$orig_target_ar" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11697 $as_echo "no" >&6; }
11703 if test "$orig_target_ar" = ""; then
11704 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11707 if test "${aros_tool_prefix}ranlib" = ""; then
11708 if test "$cross_compiling" = "yes" ; then
11709 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11710 set dummy
${target_tool_prefix}ar; ac_word
=$2
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11712 $as_echo_n "checking for $ac_word... " >&6; }
11713 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11714 $as_echo_n "(cached) " >&6
11716 case $orig_target_ranlib in
11718 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11722 for as_dir
in $PATH
11725 test -z "$as_dir" && as_dir
=.
11726 for ac_exec_ext
in '' $ac_executable_extensions; do
11727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11728 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11739 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11740 if test -n "$orig_target_ranlib"; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11742 $as_echo "$orig_target_ranlib" >&6; }
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11745 $as_echo "no" >&6; }
11750 if test "$GCC" = "yes"; then
11751 aros_gcc_ar
=`$CC -print-prog-name=ar`
11752 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11753 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11755 $as_echo_n "checking for $ac_word... " >&6; }
11756 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11757 $as_echo_n "(cached) " >&6
11759 case $orig_target_ranlib in
11761 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11765 for as_dir
in `dirname $aros_gcc_ar`
11768 test -z "$as_dir" && as_dir
=.
11769 for ac_exec_ext
in '' $ac_executable_extensions; do
11770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11771 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11782 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11783 if test -n "$orig_target_ranlib"; then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11785 $as_echo "$orig_target_ranlib" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788 $as_echo "no" >&6; }
11793 if test "$orig_target_ranlib" = ""; then
11794 # Extract the first word of "ar", so it can be a program name with args.
11795 set dummy
ar; ac_word
=$2
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11797 $as_echo_n "checking for $ac_word... " >&6; }
11798 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11799 $as_echo_n "(cached) " >&6
11801 case $orig_target_ranlib in
11803 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11807 for as_dir
in $PATH
11810 test -z "$as_dir" && as_dir
=.
11811 for ac_exec_ext
in '' $ac_executable_extensions; do
11812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11813 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11824 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11825 if test -n "$orig_target_ranlib"; then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11827 $as_echo "$orig_target_ranlib" >&6; }
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11830 $as_echo "no" >&6; }
11837 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
11838 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11840 $as_echo_n "checking for $ac_word... " >&6; }
11841 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
11842 $as_echo_n "(cached) " >&6
11844 case $orig_target_ranlib in
11846 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
11849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11850 for as_dir
in $PATH
11853 test -z "$as_dir" && as_dir
=.
11854 for ac_exec_ext
in '' $ac_executable_extensions; do
11855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11856 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11867 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
11868 if test -n "$orig_target_ranlib"; then
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
11870 $as_echo "$orig_target_ranlib" >&6; }
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11873 $as_echo "no" >&6; }
11879 if test "$orig_target_ranlib" = ""; then
11880 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11883 if test "${aros_tool_prefix}nm" = ""; then
11884 if test "$cross_compiling" = "yes" ; then
11885 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
11886 set dummy
${target_tool_prefix}nm
; ac_word
=$2
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11888 $as_echo_n "checking for $ac_word... " >&6; }
11889 if ${ac_cv_path_orig_target_nm+:} false
; then :
11890 $as_echo_n "(cached) " >&6
11892 case $orig_target_nm in
11894 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11898 for as_dir
in $PATH
11901 test -z "$as_dir" && as_dir
=.
11902 for ac_exec_ext
in '' $ac_executable_extensions; do
11903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11904 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11915 orig_target_nm
=$ac_cv_path_orig_target_nm
11916 if test -n "$orig_target_nm"; then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11918 $as_echo "$orig_target_nm" >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11921 $as_echo "no" >&6; }
11926 if test "$GCC" = "yes"; then
11927 aros_gcc_nm
=`$CC -print-prog-name=nm`
11928 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11929 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11931 $as_echo_n "checking for $ac_word... " >&6; }
11932 if ${ac_cv_path_orig_target_nm+:} false
; then :
11933 $as_echo_n "(cached) " >&6
11935 case $orig_target_nm in
11937 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11941 for as_dir
in `dirname $aros_gcc_nm`
11944 test -z "$as_dir" && as_dir
=.
11945 for ac_exec_ext
in '' $ac_executable_extensions; do
11946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11947 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11958 orig_target_nm
=$ac_cv_path_orig_target_nm
11959 if test -n "$orig_target_nm"; then
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
11961 $as_echo "$orig_target_nm" >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11964 $as_echo "no" >&6; }
11969 if test "$orig_target_nm" = ""; then
11970 # Extract the first word of "nm", so it can be a program name with args.
11971 set dummy nm
; ac_word
=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973 $as_echo_n "checking for $ac_word... " >&6; }
11974 if ${ac_cv_path_orig_target_nm+:} false
; then :
11975 $as_echo_n "(cached) " >&6
11977 case $orig_target_nm in
11979 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
11982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11983 for as_dir
in $PATH
11986 test -z "$as_dir" && as_dir
=.
11987 for ac_exec_ext
in '' $ac_executable_extensions; do
11988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11989 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
11990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12000 orig_target_nm
=$ac_cv_path_orig_target_nm
12001 if test -n "$orig_target_nm"; then
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12003 $as_echo "$orig_target_nm" >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12006 $as_echo "no" >&6; }
12013 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12014 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12016 $as_echo_n "checking for $ac_word... " >&6; }
12017 if ${ac_cv_path_orig_target_nm+:} false
; then :
12018 $as_echo_n "(cached) " >&6
12020 case $orig_target_nm in
12022 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12026 for as_dir
in $PATH
12029 test -z "$as_dir" && as_dir
=.
12030 for ac_exec_ext
in '' $ac_executable_extensions; do
12031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12032 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12043 orig_target_nm
=$ac_cv_path_orig_target_nm
12044 if test -n "$orig_target_nm"; then
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12046 $as_echo "$orig_target_nm" >&6; }
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12049 $as_echo "no" >&6; }
12055 if test "$orig_target_nm" = ""; then
12056 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12059 if test "${aros_tool_prefix}strip" = ""; then
12060 if test "$cross_compiling" = "yes" ; then
12061 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12062 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12064 $as_echo_n "checking for $ac_word... " >&6; }
12065 if ${ac_cv_path_orig_target_strip+:} false
; then :
12066 $as_echo_n "(cached) " >&6
12068 case $orig_target_strip in
12070 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12074 for as_dir
in $PATH
12077 test -z "$as_dir" && as_dir
=.
12078 for ac_exec_ext
in '' $ac_executable_extensions; do
12079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12080 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12091 orig_target_strip
=$ac_cv_path_orig_target_strip
12092 if test -n "$orig_target_strip"; then
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12094 $as_echo "$orig_target_strip" >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12097 $as_echo "no" >&6; }
12102 if test "$GCC" = "yes"; then
12103 aros_gcc_strip
=`$CC -print-prog-name=strip`
12104 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12105 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12107 $as_echo_n "checking for $ac_word... " >&6; }
12108 if ${ac_cv_path_orig_target_strip+:} false
; then :
12109 $as_echo_n "(cached) " >&6
12111 case $orig_target_strip in
12113 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12117 for as_dir
in `dirname $aros_gcc_strip`
12120 test -z "$as_dir" && as_dir
=.
12121 for ac_exec_ext
in '' $ac_executable_extensions; do
12122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12123 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12134 orig_target_strip
=$ac_cv_path_orig_target_strip
12135 if test -n "$orig_target_strip"; then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12137 $as_echo "$orig_target_strip" >&6; }
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12140 $as_echo "no" >&6; }
12145 if test "$orig_target_strip" = ""; then
12146 # Extract the first word of "strip", so it can be a program name with args.
12147 set dummy strip
; ac_word
=$2
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12149 $as_echo_n "checking for $ac_word... " >&6; }
12150 if ${ac_cv_path_orig_target_strip+:} false
; then :
12151 $as_echo_n "(cached) " >&6
12153 case $orig_target_strip in
12155 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12159 for as_dir
in $PATH
12162 test -z "$as_dir" && as_dir
=.
12163 for ac_exec_ext
in '' $ac_executable_extensions; do
12164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12165 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12176 orig_target_strip
=$ac_cv_path_orig_target_strip
12177 if test -n "$orig_target_strip"; then
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12179 $as_echo "$orig_target_strip" >&6; }
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12182 $as_echo "no" >&6; }
12189 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12190 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12192 $as_echo_n "checking for $ac_word... " >&6; }
12193 if ${ac_cv_path_orig_target_strip+:} false
; then :
12194 $as_echo_n "(cached) " >&6
12196 case $orig_target_strip in
12198 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12202 for as_dir
in $PATH
12205 test -z "$as_dir" && as_dir
=.
12206 for ac_exec_ext
in '' $ac_executable_extensions; do
12207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12208 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12219 orig_target_strip
=$ac_cv_path_orig_target_strip
12220 if test -n "$orig_target_strip"; then
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12222 $as_echo "$orig_target_strip" >&6; }
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12225 $as_echo "no" >&6; }
12231 if test "$orig_target_strip" = ""; then
12232 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12235 if test "${aros_tool_prefix}objcopy" = ""; then
12236 if test "$cross_compiling" = "yes" ; then
12237 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12238 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12240 $as_echo_n "checking for $ac_word... " >&6; }
12241 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12242 $as_echo_n "(cached) " >&6
12244 case $orig_target_objcopy in
12246 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12250 for as_dir
in $PATH
12253 test -z "$as_dir" && as_dir
=.
12254 for ac_exec_ext
in '' $ac_executable_extensions; do
12255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12256 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12267 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12268 if test -n "$orig_target_objcopy"; then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12270 $as_echo "$orig_target_objcopy" >&6; }
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12273 $as_echo "no" >&6; }
12278 if test "$GCC" = "yes"; then
12279 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12280 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12281 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12283 $as_echo_n "checking for $ac_word... " >&6; }
12284 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12285 $as_echo_n "(cached) " >&6
12287 case $orig_target_objcopy in
12289 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12293 for as_dir
in `dirname $aros_gcc_objcopy`
12296 test -z "$as_dir" && as_dir
=.
12297 for ac_exec_ext
in '' $ac_executable_extensions; do
12298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12299 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12310 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12311 if test -n "$orig_target_objcopy"; then
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12313 $as_echo "$orig_target_objcopy" >&6; }
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12316 $as_echo "no" >&6; }
12321 if test "$orig_target_objcopy" = ""; then
12322 # Extract the first word of "objcopy", so it can be a program name with args.
12323 set dummy objcopy
; ac_word
=$2
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12325 $as_echo_n "checking for $ac_word... " >&6; }
12326 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12327 $as_echo_n "(cached) " >&6
12329 case $orig_target_objcopy in
12331 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12335 for as_dir
in $PATH
12338 test -z "$as_dir" && as_dir
=.
12339 for ac_exec_ext
in '' $ac_executable_extensions; do
12340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12341 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12352 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12353 if test -n "$orig_target_objcopy"; then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12355 $as_echo "$orig_target_objcopy" >&6; }
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12358 $as_echo "no" >&6; }
12365 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12366 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12368 $as_echo_n "checking for $ac_word... " >&6; }
12369 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12370 $as_echo_n "(cached) " >&6
12372 case $orig_target_objcopy in
12374 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12378 for as_dir
in $PATH
12381 test -z "$as_dir" && as_dir
=.
12382 for ac_exec_ext
in '' $ac_executable_extensions; do
12383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12384 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12395 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12396 if test -n "$orig_target_objcopy"; then
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12398 $as_echo "$orig_target_objcopy" >&6; }
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12401 $as_echo "no" >&6; }
12407 if test "$orig_target_objcopy" = ""; then
12408 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12411 if test "${aros_tool_prefix}objdump" = ""; then
12412 if test "$cross_compiling" = "yes" ; then
12413 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12414 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12416 $as_echo_n "checking for $ac_word... " >&6; }
12417 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12418 $as_echo_n "(cached) " >&6
12420 case $orig_target_objdump in
12422 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12426 for as_dir
in $PATH
12429 test -z "$as_dir" && as_dir
=.
12430 for ac_exec_ext
in '' $ac_executable_extensions; do
12431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12432 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12443 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12444 if test -n "$orig_target_objdump"; then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12446 $as_echo "$orig_target_objdump" >&6; }
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12449 $as_echo "no" >&6; }
12454 if test "$GCC" = "yes"; then
12455 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12456 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12457 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12459 $as_echo_n "checking for $ac_word... " >&6; }
12460 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12461 $as_echo_n "(cached) " >&6
12463 case $orig_target_objdump in
12465 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12469 for as_dir
in `dirname $aros_gcc_objdump`
12472 test -z "$as_dir" && as_dir
=.
12473 for ac_exec_ext
in '' $ac_executable_extensions; do
12474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12475 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12486 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12487 if test -n "$orig_target_objdump"; then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12489 $as_echo "$orig_target_objdump" >&6; }
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12497 if test "$orig_target_objdump" = ""; then
12498 # Extract the first word of "objdump", so it can be a program name with args.
12499 set dummy objdump
; ac_word
=$2
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12501 $as_echo_n "checking for $ac_word... " >&6; }
12502 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12503 $as_echo_n "(cached) " >&6
12505 case $orig_target_objdump in
12507 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12511 for as_dir
in $PATH
12514 test -z "$as_dir" && as_dir
=.
12515 for ac_exec_ext
in '' $ac_executable_extensions; do
12516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12517 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12528 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12529 if test -n "$orig_target_objdump"; then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12531 $as_echo "$orig_target_objdump" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12534 $as_echo "no" >&6; }
12541 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12542 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12544 $as_echo_n "checking for $ac_word... " >&6; }
12545 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12546 $as_echo_n "(cached) " >&6
12548 case $orig_target_objdump in
12550 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12554 for as_dir
in $PATH
12557 test -z "$as_dir" && as_dir
=.
12558 for ac_exec_ext
in '' $ac_executable_extensions; do
12559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12560 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12571 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12572 if test -n "$orig_target_objdump"; then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12574 $as_echo "$orig_target_objdump" >&6; }
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577 $as_echo "no" >&6; }
12583 if test "$orig_target_objdump" = ""; then
12584 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12587 if test "${aros_tool_prefix}elfedit" = ""; then
12588 if test "$cross_compiling" = "yes" ; then
12589 # Extract the first word of "${target_tool_prefix}elfedit", so it can be a program name with args.
12590 set dummy
${target_tool_prefix}elfedit
; ac_word
=$2
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12592 $as_echo_n "checking for $ac_word... " >&6; }
12593 if ${ac_cv_path_orig_target_elfedit+:} false
; then :
12594 $as_echo_n "(cached) " >&6
12596 case $orig_target_elfedit in
12598 ac_cv_path_orig_target_elfedit
="$orig_target_elfedit" # Let the user override the test with a path.
12601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12602 for as_dir
in $PATH
12605 test -z "$as_dir" && as_dir
=.
12606 for ac_exec_ext
in '' $ac_executable_extensions; do
12607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12608 ac_cv_path_orig_target_elfedit
="$as_dir/$ac_word$ac_exec_ext"
12609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12619 orig_target_elfedit
=$ac_cv_path_orig_target_elfedit
12620 if test -n "$orig_target_elfedit"; then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_elfedit" >&5
12622 $as_echo "$orig_target_elfedit" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12625 $as_echo "no" >&6; }
12630 if test "$GCC" = "yes"; then
12631 aros_gcc_elfedit
=`$CC -print-prog-name=elfedit`
12632 # Extract the first word of "`basename $aros_gcc_[elfedit]`", so it can be a program name with args.
12633 set dummy
`basename $aros_gcc_elfedit`; ac_word
=$2
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12635 $as_echo_n "checking for $ac_word... " >&6; }
12636 if ${ac_cv_path_orig_target_elfedit+:} false
; then :
12637 $as_echo_n "(cached) " >&6
12639 case $orig_target_elfedit in
12641 ac_cv_path_orig_target_elfedit
="$orig_target_elfedit" # Let the user override the test with a path.
12644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12645 for as_dir
in `dirname $aros_gcc_elfedit`
12648 test -z "$as_dir" && as_dir
=.
12649 for ac_exec_ext
in '' $ac_executable_extensions; do
12650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12651 ac_cv_path_orig_target_elfedit
="$as_dir/$ac_word$ac_exec_ext"
12652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12662 orig_target_elfedit
=$ac_cv_path_orig_target_elfedit
12663 if test -n "$orig_target_elfedit"; then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_elfedit" >&5
12665 $as_echo "$orig_target_elfedit" >&6; }
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12668 $as_echo "no" >&6; }
12673 if test "$orig_target_elfedit" = ""; then
12674 # Extract the first word of "elfedit", so it can be a program name with args.
12675 set dummy elfedit
; ac_word
=$2
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12677 $as_echo_n "checking for $ac_word... " >&6; }
12678 if ${ac_cv_path_orig_target_elfedit+:} false
; then :
12679 $as_echo_n "(cached) " >&6
12681 case $orig_target_elfedit in
12683 ac_cv_path_orig_target_elfedit
="$orig_target_elfedit" # Let the user override the test with a path.
12686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12687 for as_dir
in $PATH
12690 test -z "$as_dir" && as_dir
=.
12691 for ac_exec_ext
in '' $ac_executable_extensions; do
12692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12693 ac_cv_path_orig_target_elfedit
="$as_dir/$ac_word$ac_exec_ext"
12694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12704 orig_target_elfedit
=$ac_cv_path_orig_target_elfedit
12705 if test -n "$orig_target_elfedit"; then
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_elfedit" >&5
12707 $as_echo "$orig_target_elfedit" >&6; }
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12710 $as_echo "no" >&6; }
12717 # Extract the first word of "${aros_tool_prefix}elfedit", so it can be a program name with args.
12718 set dummy
${aros_tool_prefix}elfedit
; ac_word
=$2
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12720 $as_echo_n "checking for $ac_word... " >&6; }
12721 if ${ac_cv_path_orig_target_elfedit+:} false
; then :
12722 $as_echo_n "(cached) " >&6
12724 case $orig_target_elfedit in
12726 ac_cv_path_orig_target_elfedit
="$orig_target_elfedit" # Let the user override the test with a path.
12729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12730 for as_dir
in $PATH
12733 test -z "$as_dir" && as_dir
=.
12734 for ac_exec_ext
in '' $ac_executable_extensions; do
12735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12736 ac_cv_path_orig_target_elfedit
="$as_dir/$ac_word$ac_exec_ext"
12737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12747 orig_target_elfedit
=$ac_cv_path_orig_target_elfedit
12748 if test -n "$orig_target_elfedit"; then
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_elfedit" >&5
12750 $as_echo "$orig_target_elfedit" >&6; }
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12753 $as_echo "no" >&6; }
12759 if test "$orig_target_elfedit" = ""; then
12760 as_fn_error $?
"elfedit is required to build AROS. Please install and run configure again." "$LINENO" 5
12764 if test "$kernel_tool_prefix" = "none" ; then
12765 # No kernel tools specified
12766 # Assume target tools == kernel tools with ELF wrapper
12767 aros_kernel_cc
=$orig_target_cc
12768 aros_kernel_cxx
=$orig_target_cxx
12769 aros_kernel_cpp
=$orig_target_cpp
12770 aros_kernel_ld
=$orig_target_ld
12771 aros_kernel_as
=$orig_target_as
12772 aros_kernel_ar
=$orig_target_ar
12773 aros_kernel_ranlib
=$orig_target_ranlib
12774 aros_kernel_nm
=$orig_target_nm
12775 aros_kernel_strip
=$orig_target_strip
12776 aros_kernel_objcopy
=$orig_target_objcopy
12777 aros_kernel_objdump
=$orig_target_objdump
12778 use_kernel_cc_wrapper
=yes
12781 # At this point, all aros_kernel_* and aros_target_*
12782 # tools should be set up correctly
12784 CC
="$aros_kernel_cc $kernel_tool_flags"
12785 CPP
="$aros_kernel_cpp"
12787 #-----------------------------------------------------------------------------
12789 # Disable pointer-signedness warnings if the compiler recognises the option
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
12792 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
12793 save_cflags
="$CFLAGS"
12794 if test "$crosstools" != "yes" ; then
12795 CFLAGS
="$CFLAGS -Wno-pointer-sign"
12796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12807 if ac_fn_c_try_compile
"$LINENO"; then :
12808 use_no_sign_warning
="yes"
12810 use_no_sign_warning
="no"
12812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12814 # we do know it is supported for the smallest version of gcc we are going to build
12815 # we assume it's also supported by later versions
12816 use_no_sign_warning
=yes
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
12819 $as_echo "$use_no_sign_warning" >&6; }
12820 if test "x-$use_no_sign_warning" = "x-yes" ; then
12821 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
12823 CFLAGS
="$save_cflags"
12825 #-----------------------------------------------------------------------------
12827 # Find all the tools we need to compile. This could be cross-compiling
12828 # though! If that is the case we use the GNU form of the target and
12829 # simply add this to the front of the binary name. This is rather simple,
12830 # but it should work under most circumstances.
12832 # The default tools are to use the same as the host, but only if the
12833 # host and target CPU are the same. With GCC this is normally enough.
12837 aros_shared_ld
="$aros_host_ld"
12839 aros_target_mkdep
="$aros_host_mkdep"
12841 # The default tools executables to be linked to.
12842 if test "$rescomp" != ""; then
12843 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12844 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12846 $as_echo_n "checking for $ac_word... " >&6; }
12847 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12848 $as_echo_n "(cached) " >&6
12850 case $aros_kernel_rescomp in
12852 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12856 for as_dir
in $PATH
12859 test -z "$as_dir" && as_dir
=.
12860 for ac_exec_ext
in '' $ac_executable_extensions; do
12861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12862 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12873 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12874 if test -n "$aros_kernel_rescomp"; then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12876 $as_echo "$aros_kernel_rescomp" >&6; }
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12879 $as_echo "no" >&6; }
12883 if test "$aros_kernel_rescomp" = ""; then
12884 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12888 # Set up the sources for the symlink farm
12889 if test "$crosstools" = "yes"; then
12890 crosstools_target
=tools-crosstools
12893 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12894 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12897 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12898 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12899 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12900 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12901 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12902 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12903 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12905 # aros_cc_pre is a variable that is added to the front of the compiler name
12906 # in the generated aros-gcc shell script. We need this to enable the cache
12907 # to work across cleaned builds. Also, support DISTCC using the correct
12908 # environment variable.
12911 if test "x${DISTCC}" != "x" ; then
12912 if test "x${CCACHE}" != "x" ; then
12913 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12915 aros_cc_pre
="${DISTCC} "
12918 if test "x${CCACHE}" != "x" ; then
12919 aros_cc_pre
="${CCACHE} "
12923 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
12925 aros_target_nostdinc_cflags
=-nostdinc
12927 aros_target_nostartup_ldflags
=-nostartfiles
12929 aros_target_nix_ldflags
=-nix
12931 aros_target_detach_ldflags
=-detach
12933 aros_target_nostdlib_ldflags
=-nostdlib
12937 if test "$crosstools" != "yes"; then
12938 if test "$GCC" = "yes"; then
12939 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12942 # We do not know which gcc version we are going to build and what we need to know
12943 # here is different for different versions so this will be set later during the
12944 # build of crosstools.
12945 aros_target_cc_path
=@aros_target_cc_path@
12947 aros_target_cpp
="${prefix}cpp"
12948 aros_target_cc
="${prefix}gcc"
12949 aros_target_cxx
="${prefix}g++"
12950 aros_target_as
="${prefix}as"
12951 aros_target_ld
="${prefix}ld"
12952 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
12953 aros_target_objcopy
="${prefix}objcopy"
12954 aros_target_objdump
="${prefix}objdump"
12955 aros_target_elfedit
="${prefix}elfedit"
12956 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
12957 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
12958 aros_target_strip
="${prefix}strip"
12959 aros_plain_nm
="${prefix}nm"
12960 aros_plain_ar
="${prefix}ar"
12962 # Check whether --enable-includes was given.
12963 if test "${enable_includes+set}" = set; then :
12964 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12966 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
12970 if test "$aros_kernel_includes" = ""; then
12971 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12972 aros_kernel_includes
="-isystem $aros_target_incl"
12976 if test "$aros_kernel_includes" != "" ; then
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
12978 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
12979 if test "$aros_kernel_cc_includes" = "" ; then
12980 # Try to guess where the directory is.
12981 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12982 if test -d $aros_kernel_cc_includes; then
12983 # Check if there is also an include-fixed directory and add it
12984 # to kernel compiler's include path as it may contain some of
12985 # the headers we need.
12986 if test -d "$aros_kernel_cc_includes"-fixed; then
12987 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12989 # Check for specific includes directory. Neede for Ubuntu 11.10
12990 if test -d "/usr/include/i386-linux-gnu"; then
12991 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
12994 # The directory doesn't exist, we need to do some more work.
12995 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12997 # These are the headers we're looking for.
12998 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12999 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13003 for h
in $headers; do
13004 # Which other headers are needed by each of the above?
13005 deps
=$
(echo "#include <$h>" | \
13006 $aros_kernel_cc -E -M - 2>/dev
/null | \
13007 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13009 # Copy all the needed headers to a directory beneath gendir.
13012 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13013 sed -n "s,^.*/include\(/.*\),\1,p")
13014 ! test -d $dir && mkdir
-p $dir
13015 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13021 $as_echo "$aros_kernel_cc_includes" >&6; }
13022 # Adding -nostdinc to kernel includes as they are always used together.
13023 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13026 if test "$crosstools" != "yes"; then
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13028 $as_echo_n "checking for the target compiler's include path... " >&6; }
13029 if test "$aros_target_cc_includes" = "" ; then
13030 #try to guess where the directory is
13031 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13032 if ! test -d $aros_target_cc_includes; then
13033 #the directory doesn't exist, we need to do some more work
13034 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13036 #these are the headers we're looking for
13037 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13038 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13042 for h
in $headers; do
13043 #which other headers each of the above headers needs?
13044 deps
=$
(echo "#include <$h>" | \
13045 $orig_target_cc -E -M - 2>/dev
/null | \
13046 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13048 #copy all the needed headers to a directory beneath gendir
13051 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13052 sed -n "s,^.*/include\(/.*\),\1,p")
13053 ! test -d $dir && mkdir
-p $dir
13054 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13060 $as_echo "$aros_target_cc_includes" >&6; }
13062 # We do not know which gcc version we are going to build and what we need to know
13063 # here is different for different versions so this will be set later during the
13064 # build of crosstools.
13065 aros_target_cc_includes
=@aros_target_cc_includes@
13069 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13070 # On GCC >= 4.0 -iquote should be used
13074 save_cflags
="$CFLAGS"
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13077 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13078 if test "x-$crosstools" != "x-yes"; then
13079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13090 if ac_fn_c_try_compile
"$LINENO"; then :
13095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13097 # we do know it is supported for the smallest version of gcc we are going to build
13098 # we assume it's also supported by later versions
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13102 $as_echo "$has_iquote" >&6; }
13103 if test "x-$has_iquote" = "x-yes" ; then
13104 host_cflags_iquote
=-iquote
13105 host_cflags_iquote_end
=
13107 host_cflags_iquote
=-I
13108 host_cflags_iquote_end
=-I-
13110 kernel_cflags_iquote
=$host_cflags_iquote
13111 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13112 if test "x-$cross_compiling" = "x-yes"; then
13113 CC
="$aros_kernel_cc"
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13115 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13116 if test "x-$crosstools" != "x-yes"; then
13117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13118 /* end confdefs.h. */
13128 if ac_fn_c_try_compile
"$LINENO"; then :
13129 use_no_stack_protector
="yes"
13131 use_no_stack_protector
="no"
13133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13135 # we do know it is supported for the smallest version of gcc we are going to build
13136 # we assume it's also supported by later versions
13137 use_no_stack_protector
=yes
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13140 $as_echo "$use_no_stack_protector" >&6; }
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13142 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13143 if test "x-$crosstools" != "x-yes"; then
13144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13145 /* end confdefs.h. */
13155 if ac_fn_c_try_compile
"$LINENO"; then :
13160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13162 # we do know it is supported for the smallest version of gcc we are going to build
13163 # we assume it's also supported by later versions
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13167 $as_echo "$has_iquote" >&6; }
13168 if test "x-$has_iquote" = "x-yes" ; then
13169 kernel_cflags_iquote
=-iquote
13170 kernel_cflags_iquote_end
=
13172 kernel_cflags_iquote
=-I
13173 kernel_cflags_iquote_end
=-I-
13176 aros_cflags_iquote
=$kernel_cflags_iquote
13177 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13178 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13179 CC
="$orig_target_cc"
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13181 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13182 if test "x-$crosstools" != "x-yes"; then
13183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h. */
13194 if ac_fn_c_try_compile
"$LINENO"; then :
13199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13201 # we do know it is supported for the smallest version of gcc we are going to build
13202 # we assume it's also supported by later versions
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13206 $as_echo "$has_iquote" >&6; }
13207 if test "x-$has_iquote" = "x-yes" ; then
13208 aros_cflags_iquote
=-iquote
13209 aros_cflags_iquote_end
=
13211 aros_cflags_iquote
=-I
13212 aros_cflags_iquote_end
=-I-
13215 if test "x-$use_no_stack_protector" = "x-yes" ; then
13216 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13220 #-----------------------------------------------------------------------------
13222 # Check if the target compiler supports some options used for delinting:
13223 # -Wunused-but-set-variable
13226 # -Wstrict-overflow
13227 # -Wformat-security
13229 if test "x-$crosstools" != "x-yes"; then
13230 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13231 CC
="$orig_target_cc"
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
13234 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
13235 CFLAGS
=-Wunused-but-set-variable
13236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13247 if ac_fn_c_try_compile
"$LINENO"; then :
13248 aros_unused_but_set_variable
="yes"
13250 aros_unused_but_set_variable
="no"
13252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
13254 $as_echo "$aros_unused_but_set_variable" >&6; }
13255 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
13256 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
13260 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
13261 CFLAGS
=-Warray-bounds
13262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13263 /* end confdefs.h. */
13273 if ac_fn_c_try_compile
"$LINENO"; then :
13274 aros_array_bounds
="yes"
13276 aros_array_bounds
="no"
13278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
13280 $as_echo "$aros_array_bounds" >&6; }
13281 if test "x-$aros_array_bounds" = "x-yes" ; then
13282 aros_cflags_array_bounds
=-Wno-array-bounds
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
13286 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
13287 CFLAGS
=-Wenum-compare
13288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13289 /* end confdefs.h. */
13299 if ac_fn_c_try_compile
"$LINENO"; then :
13300 aros_enum_compare
="yes"
13302 aros_enum_compare
="no"
13304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
13306 $as_echo "$aros_enum_compare" >&6; }
13307 if test "x-$aros_enum_compare" = "x-yes" ; then
13308 aros_cflags_enum_compare
=-Wno-enum-compare
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
13312 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
13313 CFLAGS
=-Wstrict-overflow
13314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13315 /* end confdefs.h. */
13325 if ac_fn_c_try_compile
"$LINENO"; then :
13326 aros_strict_overflow
="yes"
13328 aros_strict_overflow
="no"
13330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
13332 $as_echo "$aros_strict_overflow" >&6; }
13333 if test "x-$aros_strict_overflow" = "x-yes" ; then
13334 aros_cflags_strict_overflow
=-Wno-strict-overflow
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
13338 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
13339 CFLAGS
=-Wformat-security
13340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13351 if ac_fn_c_try_compile
"$LINENO"; then :
13352 aros_format_security
="yes"
13354 aros_format_security
="no"
13356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
13358 $as_echo "$aros_format_security" >&6; }
13359 if test "x-$aros_format_security" = "x-yes" ; then
13360 aros_cflags_format_security
=-Wno-format-security
13363 # We do not know which gcc version we are going to build and what we need to know
13364 # here is different for different versions so this will be set later during the
13365 # build of crosstools.
13366 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
13367 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
13368 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
13369 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
13370 aros_cflags_format_security
=@aros_cflags_format_security@
13373 #-----------------------------------------------------------------------------
13375 # Check if we can explicitly choose older version of symbol hashing
13377 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13378 CC
="$aros_kernel_cc"
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13380 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13382 /* end confdefs.h. */
13392 if ac_fn_c_try_link
"$LINENO"; then :
13393 use_hash_style
="yes"
13395 use_hash_style
="no"
13397 rm -f core conftest.err conftest.
$ac_objext \
13398 conftest
$ac_exeext conftest.
$ac_ext
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13400 $as_echo "$use_hash_style" >&6; }
13401 if test "x-$use_hash_style" = "x-yes" ; then
13402 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13405 CFLAGS
="$save_cflags"
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13416 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13418 # Check whether --with-resolution was given.
13419 if test "${with_resolution+set}" = set; then :
13420 withval
=$with_resolution; resolution
=$withval
13425 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13426 if test "$resolution" = "yes" ; then
13429 if test "$resolution" = "no" ; then
13432 if test "$resolution" != "none" ; then
13433 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
13434 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
13435 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
13438 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
13439 aros_cv_default_wbwidth
=$aros_default_wbwidth
13440 aros_cv_default_wbheight
=$aros_default_wbheight
13441 aros_cv_default_wbdepth
=$aros_default_wbdepth
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13444 $as_echo_n "checking if serial debug is enabled... " >&6; }
13446 # Check whether --with-serial-debug was given.
13447 if test "${with_serial_debug+set}" = set; then :
13448 withval
=$with_serial_debug; serial_debug
=$withval
13453 if test "$aros_serial_debug" = 0 ; then
13454 serial_debug_forced
=""
13455 if test "$serial_debug" = "yes" ; then
13458 if test "$serial_debug" = "no" ; then
13459 serial_debug
="none"
13462 serial_debug_forced
="(forced)"
13463 serial_debug
=$aros_serial_debug
13465 if test "$serial_debug" != "none" ; then
13466 aros_serial_debug
=$serial_debug
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13468 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13471 $as_echo "no" >&6; }
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13475 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13476 # Check whether --enable-palm_debug_hack was given.
13477 if test "${enable_palm_debug_hack+set}" = set; then :
13478 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13480 palm_debug_hack
="no"
13483 if test "$palm_debug_hack" = "yes" ; then
13484 aros_palm_debug_hack
="1"
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13487 $as_echo "$palm_debug_hack" >&6; }
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13490 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13491 # Check whether --enable-nesting_supervisor was given.
13492 if test "${enable_nesting_supervisor+set}" = set; then :
13493 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13495 nesting_supervisor
="no"
13498 if test "$nesting_supervisor" = "yes" ; then
13499 aros_nesting_supervisor
="1"
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13502 $as_echo "$nesting_supervisor" >&6; }
13504 if test "$aros_enable_mmu" = "" ; then
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13506 $as_echo_n "checking if MMU support is enabled... " >&6; }
13507 # Check whether --enable-mmu was given.
13508 if test "${enable_mmu+set}" = set; then :
13509 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13511 aros_enable_mmu
="yes"
13514 if test "$aros_enable_mmu" = "" ; then
13515 aros_enable_mmu
="yes"
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13518 $as_echo "$aros_enable_mmu" >&6; }
13520 if test "$aros_enable_mmu" = "no" ; then
13521 aros_enable_mmu
="0"
13523 aros_enable_mmu
="1"
13527 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13529 if test "x-$need_dlopen" != "x-no" ; then
13530 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13531 if test "x$ac_cv_func_dlopen" = xyes
; then :
13537 if test "x-$have_dl" = "x-no" ; then
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13539 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13540 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13541 $as_echo_n "(cached) " >&6
13543 ac_check_lib_save_LIBS
=$LIBS
13545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13548 /* Override any GCC internal prototype to avoid an error.
13549 Use char because int might match the return type of a GCC
13550 builtin and then its argument prototype would still apply. */
13563 if ac_fn_c_try_link
"$LINENO"; then :
13564 ac_cv_lib_dl_dlopen
=yes
13566 ac_cv_lib_dl_dlopen
=no
13568 rm -f core conftest.err conftest.
$ac_objext \
13569 conftest
$ac_exeext conftest.
$ac_ext
13570 LIBS
=$ac_check_lib_save_LIBS
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13573 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13574 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13576 aros_host_ldflags
="$aros_host_ldflags -ldl"
13582 if test "x-$have_dl" = "x-no" ; then
13583 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13588 # Check whether --enable-x11_hidd was given.
13589 if test "${enable_x11_hidd+set}" = set; then :
13590 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13592 x11_hidd
="$need_x11"
13595 case "x-$x11_hidd" in
13596 x-yes|x-no|x-auto
) ;;
13597 *) x11_hidd
="$need_x11" ;;
13602 if test "x-$x11_hidd" != "x-no" ; then
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13605 $as_echo_n "checking for X... " >&6; }
13608 # Check whether --with-x was given.
13609 if test "${with_x+set}" = set; then :
13613 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13614 if test "x$with_x" = xno
; then
13615 # The user explicitly disabled X.
13618 case $x_includes,$x_libraries in #(
13619 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13620 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13621 $as_echo_n "(cached) " >&6
13623 # One or both of the vars are not set, and there is no cached value.
13624 ac_x_includes
=no ac_x_libraries
=no
13625 rm -f -r conftest.dir
13626 if mkdir conftest.dir
; then
13628 cat >Imakefile
<<'_ACEOF'
13630 @echo incroot='${INCROOT}'
13632 @echo usrlibdir='${USRLIBDIR}'
13634 @echo libdir='${LIBDIR}'
13636 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13637 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13638 for ac_var
in incroot usrlibdir libdir
; do
13639 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13641 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13642 for ac_extension
in a so sl dylib la dll
; do
13643 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13644 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13645 ac_im_usrlibdir
=$ac_im_libdir; break
13648 # Screen out bogus values from the imake configuration. They are
13649 # bogus both because they are the default anyway, and because
13650 # using them would break gcc on systems where it needs fixed includes.
13651 case $ac_im_incroot in
13652 /usr
/include
) ac_x_includes
= ;;
13653 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13655 case $ac_im_usrlibdir in
13656 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13657 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13661 rm -f -r conftest.dir
13664 # Standard set of common directories for X headers.
13665 # Check X11 before X11Rn because it is often a symlink to the current release.
13679 /usr/local/X11/include
13680 /usr/local/X11R7/include
13681 /usr/local/X11R6/include
13682 /usr/local/X11R5/include
13683 /usr/local/X11R4/include
13685 /usr/local/include/X11
13686 /usr/local/include/X11R7
13687 /usr/local/include/X11R6
13688 /usr/local/include/X11R5
13689 /usr/local/include/X11R4
13693 /usr/XFree86/include/X11
13697 /usr/unsupported/include
13698 /usr/athena/include
13699 /usr/local/x11r5/include
13700 /usr/lpp/Xamples/include
13702 /usr/openwin/include
13703 /usr/openwin/share/include'
13705 if test "$ac_x_includes" = no
; then
13706 # Guess where to find include files, by looking for Xlib.h.
13707 # First, try using that file with no special directory specified.
13708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13709 /* end confdefs.h. */
13710 #include <X11/Xlib.h>
13712 if ac_fn_c_try_cpp
"$LINENO"; then :
13713 # We can compile using X headers with no special include directory.
13716 for ac_dir
in $ac_x_header_dirs; do
13717 if test -r "$ac_dir/X11/Xlib.h"; then
13718 ac_x_includes
=$ac_dir
13723 rm -f conftest.err conftest.i conftest.
$ac_ext
13724 fi # $ac_x_includes = no
13726 if test "$ac_x_libraries" = no
; then
13727 # Check for the libraries.
13728 # See if we find them without any special options.
13729 # Don't add to $LIBS permanently.
13732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13734 #include <X11/Xlib.h>
13743 if ac_fn_c_try_link
"$LINENO"; then :
13745 # We can link X programs with no special library path.
13749 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13751 # Don't even attempt the hair of trying to link an X program!
13752 for ac_extension
in a so sl dylib la dll
; do
13753 if test -r "$ac_dir/libX11.$ac_extension"; then
13754 ac_x_libraries
=$ac_dir
13760 rm -f core conftest.err conftest.
$ac_objext \
13761 conftest
$ac_exeext conftest.
$ac_ext
13762 fi # $ac_x_libraries = no
13764 case $ac_x_includes,$ac_x_libraries in #(
13765 no
,* |
*,no |
*\'*)
13766 # Didn't find X, or a directory has "'" in its name.
13767 ac_cv_have_x
="have_x=no";; #(
13769 # Record where we found X for the cache.
13770 ac_cv_have_x
="have_x=yes\
13771 ac_x_includes='$ac_x_includes'\
13772 ac_x_libraries='$ac_x_libraries'"
13778 eval "$ac_cv_have_x"
13781 if test "$have_x" != yes; then
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13783 $as_echo "$have_x" >&6; }
13786 # If each of the values was on the command line, it overrides each guess.
13787 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13788 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13789 # Update the cache value to reflect the command line values.
13790 ac_cv_have_x
="have_x=yes\
13791 ac_x_includes='$x_includes'\
13792 ac_x_libraries='$x_libraries'"
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13794 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13799 for path
in $x_libraries
13801 x_cflags
="$x_cflags -L$path"
13804 for path
in $x_includes
13806 x_cflags
="$x_cflags -I$path"
13809 if test "x-$no_x" = "x-yes" ; then
13811 if test "x-$x11_hidd" != "x-auto" ; then
13812 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13816 x11_hidd_target
=kernel-x11gfx-kobj
13819 # Check whether --enable-x11_shm was given.
13820 if test "${enable_x11_shm+set}" = set; then :
13821 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13823 x11_hidd_shm
="auto"
13826 case "x-$x11_hidd_shm" in
13827 x-yes|x-no|x-auto
) ;;
13828 *) x11_hidd_shm
="auto" ;;
13833 if test "x-$x11_hidd_shm" != "x-no" ; then
13835 for ac_header
in sys
/ipc.h
13837 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13838 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13839 cat >>confdefs.h
<<_ACEOF
13840 #define HAVE_SYS_IPC_H 1
13847 for ac_header
in sys
/shm.h
13849 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13850 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13851 cat >>confdefs.h
<<_ACEOF
13852 #define HAVE_SYS_SHM_H 1
13860 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13862 save_cflags
="$CFLAGS"
13863 CFLAGS
="$CFLAGS $x_cflags"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13865 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13866 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13867 $as_echo_n "(cached) " >&6
13869 ac_check_lib_save_LIBS
=$LIBS
13870 LIBS
="-lXext $LIBS"
13871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13874 /* Override any GCC internal prototype to avoid an error.
13875 Use char because int might match the return type of a GCC
13876 builtin and then its argument prototype would still apply. */
13880 char XShmQueryExtension ();
13884 return XShmQueryExtension ();
13889 if ac_fn_c_try_link
"$LINENO"; then :
13890 ac_cv_lib_Xext_XShmQueryExtension
=yes
13892 ac_cv_lib_Xext_XShmQueryExtension
=no
13894 rm -f core conftest.err conftest.
$ac_objext \
13895 conftest
$ac_exeext conftest.
$ac_ext
13896 LIBS
=$ac_check_lib_save_LIBS
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13899 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13900 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13904 CFLAGS
="$save_cflags"
13908 if test "x-$have_xshm" = "x-yes" ; then
13909 DO_XSHM_SUPPORT
="1"
13910 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13911 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13913 DO_XSHM_SUPPORT
="0"
13917 # Check whether --enable-x11_vidmode was given.
13918 if test "${enable_x11_vidmode+set}" = set; then :
13919 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13921 x11_hidd_vidmode
="auto"
13924 case "x-$x11_hidd_vidmode" in
13925 x-yes|x-no|x-auto
) ;;
13926 *) x11_hidd_vidmode
="auto" ;;
13931 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13933 save_cflags
="$CFLAGS"
13934 CFLAGS
="$CFLAGS $x_cflags"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13936 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13937 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13938 $as_echo_n "(cached) " >&6
13940 ac_check_lib_save_LIBS
=$LIBS
13941 LIBS
="-lXxf86vm $LIBS"
13942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13945 /* Override any GCC internal prototype to avoid an error.
13946 Use char because int might match the return type of a GCC
13947 builtin and then its argument prototype would still apply. */
13951 char XF86VidModeQueryExtension ();
13955 return XF86VidModeQueryExtension ();
13960 if ac_fn_c_try_link
"$LINENO"; then :
13961 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13963 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13965 rm -f core conftest.err conftest.
$ac_objext \
13966 conftest
$ac_exeext conftest.
$ac_ext
13967 LIBS
=$ac_check_lib_save_LIBS
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13970 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13971 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13975 CFLAGS
="$save_cflags"
13978 if test "x-$have_vidmode" = "x-yes" ; then
13979 DO_VIDMODE_SUPPORT
="1"
13980 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13981 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13983 DO_VIDMODE_SUPPORT
="0"
13987 aros_host_x11_includes
=$x_includes
13988 aros_host_x11_libdirs
=$x_libraries
13992 # Check whether --enable-sdl_hidd was given.
13993 if test "${enable_sdl_hidd+set}" = set; then :
13994 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13999 case "x-$sdl_hidd" in
14000 x-yes|x-no|x-auto
) ;;
14001 *) sdl_hidd
="auto" ;;
14004 if test "x-$sdl_hidd" != "x-no" ; then
14007 # Check whether --with-sdl-prefix was given.
14008 if test "${with_sdl_prefix+set}" = set; then :
14009 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14015 # Check whether --with-sdl-exec-prefix was given.
14016 if test "${with_sdl_exec_prefix+set}" = set; then :
14017 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14022 # Check whether --enable-sdltest was given.
14023 if test "${enable_sdltest+set}" = set; then :
14024 enableval
=$enable_sdltest;
14030 if test x
$sdl_exec_prefix != x
; then
14031 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14032 if test x
${SDL_CONFIG+set} != xset
; then
14033 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14036 if test x
$sdl_prefix != x
; then
14037 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14038 if test x
${SDL_CONFIG+set} != xset
; then
14039 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14043 as_save_PATH
="$PATH"
14044 if test "x$prefix" != xNONE
; then
14045 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14047 # Extract the first word of "sdl-config", so it can be a program name with args.
14048 set dummy sdl-config
; ac_word
=$2
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14050 $as_echo_n "checking for $ac_word... " >&6; }
14051 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14052 $as_echo_n "(cached) " >&6
14054 case $SDL_CONFIG in
14056 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14060 for as_dir
in $PATH
14063 test -z "$as_dir" && as_dir
=.
14064 for ac_exec_ext
in '' $ac_executable_extensions; do
14065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14066 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14074 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14078 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14079 if test -n "$SDL_CONFIG"; then
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14081 $as_echo "$SDL_CONFIG" >&6; }
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14084 $as_echo "no" >&6; }
14088 PATH
="$as_save_PATH"
14089 min_sdl_version
=1.2.10
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14091 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14093 if test "$SDL_CONFIG" = "no" ; then
14096 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14097 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14099 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14100 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14101 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14103 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14104 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14105 if test "x$enable_sdltest" = "xyes" ; then
14106 ac_save_CFLAGS
="$CFLAGS"
14107 ac_save_CXXFLAGS
="$CXXFLAGS"
14108 ac_save_LIBS
="$LIBS"
14109 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14110 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14111 LIBS
="$LIBS $SDL_LIBS"
14113 if test "$cross_compiling" = yes; then :
14114 echo $ac_n "cross compiling; assumed OK... $ac_c"
14116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14117 /* end confdefs.h. */
14120 #include <stdlib.h>
14121 #include <string.h>
14125 my_strdup (char *str)
14131 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14132 strcpy (new_str, str);
14140 int main (int argc, char *argv[])
14142 int major, minor, micro;
14145 /* This hangs on some systems (?)
14146 system ("touch conf.sdltest");
14148 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14150 /* HP/UX 9 (%@#!) writes to sscanf strings */
14151 tmp_version = my_strdup("$min_sdl_version");
14152 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14153 printf("%s, bad version string\n", "$min_sdl_version");
14157 if (($sdl_major_version > major) ||
14158 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14159 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14165 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14166 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14167 printf("*** best to upgrade to the required version.\n");
14168 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14169 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14170 printf("*** config.cache before re-running configure\n");
14177 if ac_fn_c_try_run
"$LINENO"; then :
14182 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14183 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14186 CFLAGS
="$ac_save_CFLAGS"
14187 CXXFLAGS
="$ac_save_CXXFLAGS"
14188 LIBS
="$ac_save_LIBS"
14191 if test "x$no_sdl" = x
; then
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14193 $as_echo "yes" >&6; }
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14197 $as_echo "no" >&6; }
14198 if test "$SDL_CONFIG" = "no" ; then
14199 echo "*** The sdl-config script installed by SDL could not be found"
14200 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14201 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14202 echo "*** full path to sdl-config."
14204 if test -f conf.sdltest
; then
14207 echo "*** Could not run SDL test program, checking why..."
14208 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14209 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14210 LIBS
="$LIBS $SDL_LIBS"
14211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14217 int main(int argc, char *argv[])
14220 #define main K_and_R_C_main
14230 if ac_fn_c_try_link
"$LINENO"; then :
14231 echo "*** The test program compiled, but did not run. This usually means"
14232 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14233 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14236 echo "*** is required on your system"
14238 echo "*** If you have an old version installed, it is best to remove it, although"
14239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14241 echo "*** The test program failed to compile or link. See the file config.log for the"
14242 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14243 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14244 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14246 rm -f core conftest.err conftest.
$ac_objext \
14247 conftest
$ac_exeext conftest.
$ac_ext
14248 CFLAGS
="$ac_save_CFLAGS"
14249 CXXFLAGS
="$ac_save_CXXFLAGS"
14250 LIBS
="$ac_save_LIBS"
14262 if test "x-$have_sdl" != "x-yes" ; then
14264 if test "x-$sdl_hidd" != "x-auto" ; then
14265 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14269 sdl_hidd_target
=kernel-hidd-sdl
14270 aros_host_sdl_cflags
=SDL_CFLAGS
14271 aros_host_sdl_libs
=SDL_LIBS
14275 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14276 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
14281 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14282 oss_library_target
=workbench-libs-oss-unix
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14288 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14289 # Check whether --enable-dbus was given.
14290 if test "${enable_dbus+set}" = set; then :
14291 enableval
=$enable_dbus; dbus
="yes"
14296 if test "$dbus" = "yes" ; then
14298 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14299 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14300 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14301 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14306 $as_echo "$dbus" >&6; }
14308 if test "$use_kernel_cc_wrapper" = "yes" ; then
14309 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14312 if test "${crosstools}" != "yes" ; then
14313 aros_target_toolchain
=no
14315 aros_target_toolchain
=yes
14331 # Compatability with other Amiga-like operation systems
14427 # Delinting target compiler flags
14451 # Native version related
14454 # Palm native version related
14457 # Unix/Hosted version related
14463 # Apple iOS related
14468 # ARM default GCC target related
14493 # Collect-aros stuff: "-ius" to ignore undefined symbols
14496 # C compiler related
14499 case "$aros_flavour" in
14500 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14501 aros_flavour
="emulation" ;;
14502 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14503 aros_flavour
="emulation" ;;
14504 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14505 aros_flavour
="standalone";;
14506 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14507 aros_flavour
="standalone";;
14508 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14509 aros_flavour
="native" ;;
14510 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14511 aros_flavour
="native" ;;
14512 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14513 aros_flavour
="linklib" ;;
14514 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14515 aros_flavour
="palmnative" ;;
14516 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14517 aros_flavour
="mac68knative" ;;
14518 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14519 aros_flavour
="ppcnative" ;;
14522 if test ! -d ${aros_inc_dir} ; then
14523 ${MKDIR} ${aros_inc_dir}
14525 if test ! -d ${aros_geninc_dir} ; then
14526 ${MKDIR} ${aros_geninc_dir}
14528 if test ! -d ${aros_hostcfg_dir} ; then
14529 ${MKDIR} ${aros_hostcfg_dir}
14531 if test ! -d ${aros_targetcfg_dir} ; then
14532 ${MKDIR} ${aros_targetcfg_dir}
14534 if test ! -d ${aros_tools_dir} ; then
14535 ${MKDIR} ${aros_tools_dir}
14537 if test ! -d ${aros_scripts_dir} ; then
14538 ${MKDIR} ${aros_scripts_dir}
14541 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14544 ac_config_commands
="$ac_config_commands compiler_executable"
14546 ac_config_commands
="$ac_config_commands genmf_executable"
14549 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"
14552 cat >confcache
<<\_ACEOF
14553 # This file is a shell script that caches the results of configure
14554 # tests run on this system so they can be shared between configure
14555 # scripts and configure runs, see configure's option --config-cache.
14556 # It is not useful on other systems. If it contains results you don't
14557 # want to keep, you may remove or edit it.
14559 # config.status only pays attention to the cache file if you give it
14560 # the --recheck option to rerun configure.
14562 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14563 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14564 # following values.
14568 # The following way of writing the cache mishandles newlines in values,
14569 # but we know of no workaround that is simple, portable, and efficient.
14570 # So, we kill variables containing newlines.
14571 # Ultrix sh set writes to stderr and can't be redirected directly,
14572 # and sets the high bit in the cache file unless we assign to the vars.
14574 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14575 eval ac_val
=\$
$ac_var
14579 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14580 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14583 _ | IFS | as_nl
) ;; #(
14584 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14585 *) { eval $ac_var=; unset $ac_var;} ;;
14591 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14592 *${as_nl}ac_space
=\
*)
14593 # `set' does not quote correctly, so add quotes: double-quote
14594 # substitution turns \\\\ into \\, and sed turns \\ into \.
14597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14600 # `set' quotes correctly as required by POSIX, so do not add quotes.
14601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14610 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14612 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14614 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14615 if test -w "$cache_file"; then
14616 if test "x$cache_file" != "x/dev/null"; then
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14618 $as_echo "$as_me: updating cache $cache_file" >&6;}
14619 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14620 cat confcache
>"$cache_file"
14622 case $cache_file in #(
14624 mv -f confcache
"$cache_file"$$
&&
14625 mv -f "$cache_file"$$
"$cache_file" ;; #(
14627 mv -f confcache
"$cache_file" ;;
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14633 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14638 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14639 # Let make expand exec_prefix.
14640 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14642 DEFS
=-DHAVE_CONFIG_H
14647 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14648 # 1. Remove the extension, and $U if already installed.
14649 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14650 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14651 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14652 # will be set to the directory where LIBOBJS objects are built.
14653 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14654 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14656 LIBOBJS
=$ac_libobjs
14658 LTLIBOBJS
=$ac_ltlibobjs
14662 : "${CONFIG_STATUS=./config.status}"
14664 ac_clean_files_save
=$ac_clean_files
14665 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14667 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14669 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14671 # Generated by $as_me.
14672 # Run this file to recreate the current configuration.
14673 # Compiler output produced by configure, useful for debugging
14674 # configure, is in config.log if it exists.
14677 ac_cs_recheck=false
14680 SHELL=\${CONFIG_SHELL-$SHELL}
14683 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14684 ## -------------------- ##
14685 ## M4sh Initialization. ##
14686 ## -------------------- ##
14688 # Be more Bourne compatible
14689 DUALCASE
=1; export DUALCASE
# for MKS sh
14690 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14693 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14694 # is contrary to our usage. Disable this feature.
14695 alias -g '${1+"$@"}'='"$@"'
14696 setopt NO_GLOB_SUBST
14698 case `(set -o) 2>/dev/null` in #(
14710 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14711 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14712 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14713 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14714 # Prefer a ksh shell builtin over an external printf program on Solaris,
14715 # but without wasting forks for bash or zsh.
14716 if test -z "$BASH_VERSION$ZSH_VERSION" \
14717 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14718 as_echo='print
-r --'
14719 as_echo_n='print
-rn --'
14720 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14721 as_echo='printf %s
\n'
14722 as_echo_n='printf %s
'
14724 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14725 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14726 as_echo_n='/usr
/ucb
/echo -n'
14728 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14729 as_echo_n_body='eval
14733 expr "X$arg" : "X\\(.*\\)$as_nl";
14734 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14736 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14738 export as_echo_n_body
14739 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14741 export as_echo_body
14742 as_echo='sh
-c $as_echo_body as_echo
'
14745 # The user is always right.
14746 if test "${PATH_SEPARATOR+set}" != set; then
14748 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14749 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14756 # We need space, tab and new line, in precisely that order. Quoting is
14757 # there to prevent editors from complaining about space-tab.
14758 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14759 # splitting by setting IFS to empty value.)
14762 # Find who we are. Look in the path if we contain no directory separator.
14765 *[\\/]* ) as_myself=$0 ;;
14766 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14767 for as_dir in $PATH
14770 test -z "$as_dir" && as_dir=.
14771 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14777 # We did not find ourselves, most probably we were run as `sh COMMAND'
14778 # in which case we are not to be found in the path.
14779 if test "x$as_myself" = x
; then
14782 if test ! -f "$as_myself"; then
14783 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14787 # Unset variables that we do not need and which cause bugs (e.g. in
14788 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14789 # suppresses any "Segmentation fault" message there. '((' could
14790 # trigger a bug in pdksh 5.2.14.
14791 for as_var
in BASH_ENV ENV MAIL MAILPATH
14792 do eval test x\
${$as_var+set} = xset \
14793 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14806 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14809 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14810 # ----------------------------------------
14811 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14812 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14813 # script with STATUS, using 1 if that was 0.
14816 as_status
=$1; test $as_status -eq 0 && as_status
=1
14818 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14819 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14821 $as_echo "$as_me: error: $2" >&2
14822 as_fn_exit
$as_status
14826 # as_fn_set_status STATUS
14827 # -----------------------
14828 # Set $? to STATUS, without forking.
14829 as_fn_set_status
()
14832 } # as_fn_set_status
14834 # as_fn_exit STATUS
14835 # -----------------
14836 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14840 as_fn_set_status
$1
14846 # Portably unset VAR.
14849 { eval $1=; unset $1;}
14851 as_unset
=as_fn_unset
14852 # as_fn_append VAR VALUE
14853 # ----------------------
14854 # Append the text in VALUE to the end of the definition contained in VAR. Take
14855 # advantage of any shell optimizations that allow amortized linear growth over
14856 # repeated appends, instead of the typical quadratic growth present in naive
14858 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14859 eval 'as_fn_append ()
14870 # as_fn_arith ARG...
14871 # ------------------
14872 # Perform arithmetic evaluation on the ARGs, and store the result in the
14873 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14874 # must be portable across $(()) and expr.
14875 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14876 eval 'as_fn_arith ()
14883 as_val
=`expr "$@" || test $? -eq 1`
14888 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14889 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14895 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14896 as_basename
=basename
14901 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14907 as_me
=`$as_basename -- "$0" ||
14908 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14909 X"$0" : 'X\(//\)$' \| \
14910 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14912 sed '/^.*\/\([^/][^/]*\)\/*$/{
14926 # Avoid depending upon Character Ranges.
14927 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14928 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14929 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14930 as_cr_digits
='0123456789'
14931 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14933 ECHO_C
= ECHO_N
= ECHO_T
=
14934 case `echo -n x` in #(((((
14936 case `echo 'xy\c'` in
14937 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14939 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14946 rm -f conf$$ conf$$.exe conf$$.
file
14947 if test -d conf$$.dir
; then
14948 rm -f conf$$.dir
/conf$$.
file
14951 mkdir conf$$.dir
2>/dev
/null
14953 if (echo >conf$$.
file) 2>/dev
/null
; then
14954 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14956 # ... but there are two gotchas:
14957 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14958 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14959 # In both cases, we have to default to `cp -p'.
14960 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14962 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14970 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14971 rmdir conf$$.dir
2>/dev
/null
14976 # Create "$as_dir" as a directory, including parents if necessary.
14981 -*) as_dir
=.
/$as_dir;;
14983 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14987 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14988 *) as_qdir
=$as_dir;;
14990 as_dirs
="'$as_qdir' $as_dirs"
14991 as_dir
=`$as_dirname -- "$as_dir" ||
14992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14993 X"$as_dir" : 'X\(//\)[^/]' \| \
14994 X"$as_dir" : 'X\(//\)$' \| \
14995 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14996 $as_echo X"$as_dir" |
14997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15001 /^X\(\/\/\)[^/].*/{
15014 test -d "$as_dir" && break
15016 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15017 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15021 if mkdir
-p .
2>/dev
/null
; then
15022 as_mkdir_p
='mkdir -p "$as_dir"'
15024 test -d .
/-p && rmdir .
/-p
15028 if test -x / >/dev
/null
2>&1; then
15029 as_test_x
='test -x'
15031 if ls -dL / >/dev
/null
2>&1; then
15038 if test -d "$1"; then
15044 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15045 ???[sx]*):;;*)false;;esac;fi
15049 as_executable_p
=$as_test_x
15051 # Sed expression to map a string onto a valid CPP name.
15052 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15054 # Sed expression to map a string onto a valid variable name.
15055 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15059 ## ----------------------------------- ##
15060 ## Main body of $CONFIG_STATUS script. ##
15061 ## ----------------------------------- ##
15063 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15066 # Save the log message, to keep $0 and so on meaningful, and to
15067 # report actual input values of CONFIG_FILES etc. instead of their
15068 # values after options handling.
15070 This file was extended by $as_me, which was
15071 generated by GNU Autoconf 2.68. Invocation command line was
15073 CONFIG_FILES = $CONFIG_FILES
15074 CONFIG_HEADERS = $CONFIG_HEADERS
15075 CONFIG_LINKS = $CONFIG_LINKS
15076 CONFIG_COMMANDS = $CONFIG_COMMANDS
15079 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15084 case $ac_config_files in *"
15085 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15088 case $ac_config_headers in *"
15089 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15094 # Files that config.status was made for.
15095 config_files="$ac_config_files"
15096 config_headers="$ac_config_headers"
15097 config_commands="$ac_config_commands"
15101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15103 \`$as_me' instantiates files and other configuration actions
15104 from templates according to the current configuration. Unless the files
15105 and actions are specified as TAGs, all are instantiated by default.
15107 Usage: $0 [OPTION]... [TAG]...
15109 -h, --help print this help, then exit
15110 -V, --version print version number and configuration settings, then exit
15111 --config print configuration, then exit
15112 -q, --quiet, --silent
15113 do not print progress messages
15114 -d, --debug don't remove temporary files
15115 --recheck update $as_me by reconfiguring in the same conditions
15116 --file=FILE[:TEMPLATE]
15117 instantiate the configuration file FILE
15118 --header=FILE[:TEMPLATE]
15119 instantiate the configuration header FILE
15121 Configuration files:
15124 Configuration headers:
15127 Configuration commands:
15130 Report bugs to the package provider."
15133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15134 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15137 configured by $0, generated by GNU Autoconf 2.68,
15138 with options \\"\$ac_cs_config\\"
15140 Copyright (C) 2010 Free Software Foundation, Inc.
15141 This config.status script is free software; the Free Software Foundation
15142 gives unlimited permission to copy, distribute and modify it."
15146 test -n "\$AWK" || AWK=awk
15149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15150 # The default lists apply if the user does not specify any file.
15156 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15157 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15161 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15173 # Handling of the options.
15174 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15176 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15177 $as_echo "$ac_cs_version"; exit ;;
15178 --config |
--confi |
--conf |
--con |
--co |
--c )
15179 $as_echo "$ac_cs_config"; exit ;;
15180 --debug |
--debu |
--deb |
--de |
--d |
-d )
15182 --file |
--fil |
--fi |
--f )
15185 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15186 '') as_fn_error $?
"missing file argument" ;;
15188 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15189 ac_need_defaults
=false
;;
15190 --header |
--heade |
--head |
--hea )
15193 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15195 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15196 ac_need_defaults
=false
;;
15198 # Conflict between --help and --header
15199 as_fn_error $?
"ambiguous option: \`$1'
15200 Try \`$0 --help' for more information.";;
15201 --help |
--hel |
-h )
15202 $as_echo "$ac_cs_usage"; exit ;;
15203 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15204 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15207 # This is an error.
15208 -*) as_fn_error $?
"unrecognized option: \`$1'
15209 Try \`$0 --help' for more information." ;;
15211 *) as_fn_append ac_config_targets
" $1"
15212 ac_need_defaults
=false
;;
15218 ac_configure_extra_args
=
15220 if $ac_cs_silent; then
15222 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15227 if \$ac_cs_recheck; then
15228 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15230 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15231 CONFIG_SHELL='$SHELL'
15232 export CONFIG_SHELL
15237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15241 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15242 ## Running $as_me. ##
15248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15253 aros_host_exe_suffix=${aros_host_exe_suffix}
15254 aros_tools_dir=${aros_tools_dir}
15255 aros_target_cpu=${aros_target_cpu}
15256 aros_target_arch=${aros_target_arch}
15257 aros_target_suffix=${aros_target_suffix}
15258 orig_target_nm=${orig_target_nm}
15259 orig_target_as=${orig_target_as}
15260 orig_target_ar=${orig_target_ar}
15261 orig_target_ranlib=${orig_target_ranlib}
15262 orig_target_objdump=${orig_target_objdump}
15263 orig_target_elfedit=${orig_target_elfedit}
15264 orig_target_objcopy=${orig_target_objcopy}
15265 orig_target_strip=${orig_target_strip}
15266 aros_kernel_ld=${aros_kernel_ld}
15269 aros_tools_dir=${aros_tools_dir}
15274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15276 # Handling of arguments.
15277 for ac_config_target
in $ac_config_targets
15279 case $ac_config_target in
15280 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15281 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15282 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15283 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15284 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15285 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15286 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15287 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15288 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15289 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15290 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15291 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15292 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15293 "${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" ;;
15294 "${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" ;;
15295 "${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" ;;
15296 "${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" ;;
15297 "${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" ;;
15298 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15299 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15300 "${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" ;;
15302 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15307 # If the user did not use the arguments to specify the items to instantiate,
15308 # then the envvar interface is used. Set only those that are not.
15309 # We use the long form for the default assignment because of an extremely
15310 # bizarre bug on SunOS 4.1.3.
15311 if $ac_need_defaults; then
15312 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15313 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15314 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15317 # Have a temporary directory for convenience. Make it in the build tree
15318 # simply because there is no reason against having it here, and in addition,
15319 # creating and moving files from /tmp can sometimes cause problems.
15320 # Hook for its removal unless debugging.
15321 # Note that there is a small window in which the directory will not be cleaned:
15322 # after its creation but before its name has been assigned to `$tmp'.
15326 trap 'exit_status=$?
15327 : "${ac_tmp:=$tmp}"
15328 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15330 trap 'as_fn_exit 1' 1 2 13 15
15332 # Create a (secure) tmp directory for tmp files.
15335 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15339 tmp
=.
/conf$$
-$RANDOM
15340 (umask 077 && mkdir
"$tmp")
15341 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15344 # Set up the scripts for CONFIG_FILES section.
15345 # No need to generate them if there are no CONFIG_FILES.
15346 # This happens for instance with `./config.status config.h'.
15347 if test -n "$CONFIG_FILES"; then
15350 ac_cr
=`echo X | tr X '\015'`
15351 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15352 # But we know of no other shell where ac_cr would be empty at this
15353 # point, so we can use a bashism as a fallback.
15354 if test "x$ac_cr" = x
; then
15355 eval ac_cr
=\$
\'\\r
\'
15357 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15358 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15361 ac_cs_awk_cr
=$ac_cr
15364 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15369 echo "cat >conf$$subs.awk <<_ACEOF" &&
15370 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15372 } >conf$$subs.sh ||
15373 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15374 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15376 for ac_last_try in false false false false false :; do
15377 . ./conf$$subs.sh ||
15378 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15380 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15381 if test $ac_delim_n = $ac_delim_num; then
15383 elif $ac_last_try; then
15384 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15386 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15389 rm -f conf$$subs.sh
15391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15392 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15396 s/^/S["/; s
/!.
*/"]=/
15406 s/\(.\{148\}\)..*/\1/
15408 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15413 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15420 s/\(.\{148\}\)..*/\1/
15422 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15426 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15431 ' <conf$$subs.awk | sed '
15436 ' >>$CONFIG_STATUS || ac_write_fail=1
15437 rm -f conf$$subs.awk
15438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15440 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15441 for (key in S) S_is_set[key] = 1
15447 nfields = split(line, field, "@
")
15449 len = length(field[1])
15450 for (i = 2; i < nfields; i++) {
15452 keylen = length(key)
15453 if (S_is_set[key]) {
15455 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15456 len += length(value) + length(field[++i])
15467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15468 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15469 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15472 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15473 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15476 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15477 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15478 # trailing colons and then remove the whole line if VPATH becomes empty
15479 # (actually we leave an empty line to preserve line numbers).
15480 if test "x
$srcdir" = x.; then
15481 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15500 fi # test -n "$CONFIG_FILES"
15502 # Set up the scripts for CONFIG_HEADERS section.
15503 # No need to generate them if there are no CONFIG_HEADERS.
15504 # This happens for instance with `./config.status Makefile'.
15505 if test -n "$CONFIG_HEADERS"; then
15506 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15510 # Transform confdefs.h into an awk script `defines.awk', embedded as
15511 # here-document in config.status, that substitutes the proper values into
15512 # config.h.in to produce config.h.
15514 # Create a delimiter string that does not exist in confdefs.h, to ease
15515 # handling of long lines.
15517 for ac_last_try in false false :; do
15518 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15519 if test -z "$ac_tt"; then
15521 elif $ac_last_try; then
15522 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15524 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15528 # For the awk script, D is an array of macro values keyed by name,
15529 # likewise P contains macro parameters if any. Preserve backslash
15530 # newline sequences.
15532 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15534 s/.\{148\}/&'"$ac_delim"'/g
15537 s/^[ ]*#[ ]*define[ ][ ]*/ /
15544 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15546 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15550 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15551 D["\
1"]=" \
3\\\\\\n
"\\/p
15553 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15558 s/.\{148\}/&'"$ac_delim"'/g
15563 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15566 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15568 ' <confdefs.h | sed '
15569 s/'"$ac_delim"'/"\\\
15570 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15573 for (key in D) D_is_set[key] = 1
15576 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15578 split(line, arg, " ")
15579 if (arg[1] == "#") {
15583 defundef
= substr
(arg
[1], 2)
15586 split(mac1
, mac2
, "(") #)
15588 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15589 if (D_is_set
[macro
]) {
15590 # Preserve the white space surrounding the "#".
15591 print prefix
"define", macro P
[macro
] D
[macro
]
15594 # Replace #undef with comments. This is necessary, for example,
15595 # in the case of _POSIX_SOURCE, which is predefined and required
15596 # on some systems where configure will not decide to define it.
15597 if (defundef
== "undef") {
15598 print
"/*", prefix defundef
, macro
, "*/"
15606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15607 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15608 fi # test -n "$CONFIG_HEADERS"
15611 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15616 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15618 case $ac_mode$ac_tag in
15620 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15621 :[FH
]-) ac_tag
=-:-;;
15622 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15639 -) ac_f
="$ac_tmp/stdin";;
15640 *) # Look for the file first in the build tree, then in the source tree
15641 # (if the path is not absolute). The absolute path cannot be DOS-style,
15642 # because $ac_f cannot contain `:'.
15646 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15648 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15650 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15651 as_fn_append ac_file_inputs
" '$ac_f'"
15654 # Let's still pretend it is `configure' which instantiates (i.e., don't
15655 # use $as_me), people would be surprised to read:
15656 # /* config.h. Generated by config.status. */
15657 configure_input
='Generated from '`
15658 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15660 if test x
"$ac_file" != x-
; then
15661 configure_input
="$ac_file. $configure_input"
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15663 $as_echo "$as_me: creating $ac_file" >&6;}
15665 # Neutralize special characters interpreted by sed in replacement strings.
15666 case $configure_input in #(
15667 *\
&* |
*\|
* |
*\\* )
15668 ac_sed_conf_input
=`$as_echo "$configure_input" |
15669 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15670 *) ac_sed_conf_input
=$configure_input;;
15674 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15675 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15680 ac_dir
=`$as_dirname -- "$ac_file" ||
15681 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15682 X"$ac_file" : 'X\(//\)[^/]' \| \
15683 X"$ac_file" : 'X\(//\)$' \| \
15684 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15685 $as_echo X"$ac_file" |
15686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15690 /^X\(\/\/\)[^/].*/{
15703 as_dir
="$ac_dir"; as_fn_mkdir_p
15707 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15709 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15710 # A ".." for each directory in $ac_dir_suffix.
15711 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15712 case $ac_top_builddir_sub in
15713 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15714 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15717 ac_abs_top_builddir
=$ac_pwd
15718 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15719 # for backward compatibility:
15720 ac_top_builddir
=$ac_top_build_prefix
15723 .
) # We are building in place.
15725 ac_top_srcdir
=$ac_top_builddir_sub
15726 ac_abs_top_srcdir
=$ac_pwd ;;
15727 [\\/]* | ?
:[\\/]* ) # Absolute name.
15728 ac_srcdir
=$srcdir$ac_dir_suffix;
15729 ac_top_srcdir
=$srcdir
15730 ac_abs_top_srcdir
=$srcdir ;;
15731 *) # Relative name.
15732 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15733 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15734 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15736 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15748 # If the template does not know about datarootdir, expand it.
15749 # FIXME: This hack should be removed a few years after 2.60.
15750 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15761 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15762 *datarootdir
*) ac_datarootdir_seen
=yes;;
15763 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15765 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15768 ac_datarootdir_hack='
15769 s&@datadir@&$datadir&g
15770 s&@docdir@&$docdir&g
15771 s&@infodir@&$infodir&g
15772 s&@localedir@&$localedir&g
15773 s&@mandir@&$mandir&g
15774 s&\\\${datarootdir}&$datarootdir&g' ;;
15778 # Neutralize VPATH when `$srcdir' = `.'.
15779 # Shell code in configure.ac might set extrasub.
15780 # FIXME: do we really want to maintain this feature?
15781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15782 ac_sed_extra="$ac_vpsub
15785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15787 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15788 s|@configure_input@|
$ac_sed_conf_input|
;t t
15789 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15790 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15791 s
&@srcdir@
&$ac_srcdir&;t t
15792 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15793 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15794 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15795 s
&@builddir@
&$ac_builddir&;t t
15796 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15797 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15798 $ac_datarootdir_hack
15800 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15801 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15803 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15804 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15805 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15806 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15808 which seems to be undefined. Please make sure it is defined" >&5
15809 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15810 which seems to be undefined. Please make sure it is defined" >&2;}
15812 rm -f "$ac_tmp/stdin"
15814 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15815 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15817 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15823 if test x"$ac_file" != x-; then
15825 $as_echo "/* $configure_input */" \
15826 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15827 } >"$ac_tmp/config.h" \
15828 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15829 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15831 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15834 mv "$ac_tmp/config.h" "$ac_file" \
15835 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15838 $as_echo "/* $configure_input */" \
15839 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15840 || as_fn_error $? "could not create -" "$LINENO" 5
15844 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15845 $as_echo "$as_me: executing $ac_file commands" >&6;}
15850 case $ac_file$ac_mode in
15851 "compiler_executable":C)
15852 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15854 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15855 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15859 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
15861 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15862 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15863 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15864 ln -sf $orig_target_elfedit$aros_host_exe_suffix ${prefix2}-elfedit$aros_host_exe_suffix
15865 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15866 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15867 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15868 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15870 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15872 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15880 ac_clean_files=$ac_clean_files_save
15882 test $ac_write_fail = 0 ||
15883 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15886 # configure is writing to config.log, and then calls config.status.
15887 # config.status does its own redirection, appending to config.log.
15888 # Unfortunately, on DOS this fails, as config.log is still kept open
15889 # by configure, so config.status won't be able to
write to it
; its
15890 # output is simply discarded. So we exec the FD to /dev/null,
15891 # effectively closing config.log, so it can be properly (re)opened and
15892 # appended to by config.status. When coming back to configure, we
15893 # need to make the FD available again.
15894 if test "$no_create" != yes; then
15896 ac_config_status_args
=
15897 test "$silent" = yes &&
15898 ac_config_status_args
="$ac_config_status_args --quiet"
15900 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15902 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15903 # would make configure fail if this is the last instruction.
15904 $ac_cs_success || as_fn_exit
1
15906 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15908 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15913 #XXX compatability...
15914 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15916 if test -n "$aros_shared_cflags" ; then
15917 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15918 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg