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
621 aros_nesting_supervisor
627 aros_host_x11_libdirs
628 aros_host_x11_includes
632 aros_default_wbheight
638 aros_cflags_format_security
639 aros_cflags_strict_overflow
640 aros_cflags_enum_compare
641 aros_cflags_array_bounds
642 aros_cflags_unused_but_set_variable
643 crosstools_cxx_target
645 aros_target_strip_flags
652 aros_kernel_objcflags
671 aros_target_cc_includes
686 aros_target_bootloader
706 aros_amigaos_compliance
712 aros_target_toolchain
721 aros_cflags_iquote_end
723 kernel_cflags_iquote_end
725 host_cflags_iquote_end
727 aros_target_nostdlib_ldflags
728 aros_target_detach_ldflags
729 aros_target_nix_ldflags
730 aros_target_nostartup_ldflags
731 aros_target_nostdinc_cflags
848 program_transform_name
861 enable_option_checking
870 enable_target_variant
876 enable_amigaos_compliance
878 with_kernel_tool_prefix
889 enable_palm_debug_hack
891 enable_nesting_supervisor
903 ac_precious_vars
='build_alias
918 # Initialize some variables set by options.
920 ac_init_version
=false
921 ac_unrecognized_opts
=
923 # The variables have the same names as the options, with
924 # dashes changed to underlines.
932 program_transform_name
=s
,x
,x
,
940 # Installation directory options.
941 # These are left unexpanded so users can "make install exec_prefix=/foo"
942 # and all the variables that are supposed to be based on exec_prefix
943 # by default will actually change.
944 # Use braces instead of parens because sh, perl, etc. also accept them.
945 # (The list follows the same order as the GNU Coding Standards.)
946 bindir
='${exec_prefix}/bin'
947 sbindir
='${exec_prefix}/sbin'
948 libexecdir
='${exec_prefix}/libexec'
949 datarootdir
='${prefix}/share'
950 datadir
='${datarootdir}'
951 sysconfdir
='${prefix}/etc'
952 sharedstatedir
='${prefix}/com'
953 localstatedir
='${prefix}/var'
954 includedir
='${prefix}/include'
955 oldincludedir
='/usr/include'
956 docdir
='${datarootdir}/doc/${PACKAGE}'
957 infodir
='${datarootdir}/info'
962 libdir
='${exec_prefix}/lib'
963 localedir
='${datarootdir}/locale'
964 mandir
='${datarootdir}/man'
970 # If the previous option needs an argument, assign it.
971 if test -n "$ac_prev"; then
972 eval $ac_prev=\
$ac_option
978 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
983 # Accept the important Cygnus configure options, so we can diagnose typos.
985 case $ac_dashdash$ac_option in
989 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
991 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
994 -build |
--build |
--buil |
--bui |
--bu)
995 ac_prev
=build_alias
;;
996 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
997 build_alias
=$ac_optarg ;;
999 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1000 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1001 ac_prev
=cache_file
;;
1002 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1003 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1004 cache_file
=$ac_optarg ;;
1006 --config-cache |
-C)
1007 cache_file
=config.cache
;;
1009 -datadir |
--datadir |
--datadi |
--datad)
1011 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1012 datadir
=$ac_optarg ;;
1014 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1015 |
--dataroo |
--dataro |
--datar)
1016 ac_prev
=datarootdir
;;
1017 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1018 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1019 datarootdir
=$ac_optarg ;;
1021 -disable-* |
--disable-*)
1022 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1025 as_fn_error $?
"invalid feature name: $ac_useropt"
1026 ac_useropt_orig
=$ac_useropt
1027 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1030 "enable_
$ac_useropt"
1032 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1033 ac_unrecognized_sep
=', ';;
1035 eval enable_
$ac_useropt=no
;;
1037 -docdir |
--docdir |
--docdi |
--doc |
--do)
1039 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1040 docdir
=$ac_optarg ;;
1042 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1044 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1045 dvidir
=$ac_optarg ;;
1047 -enable-* |
--enable-*)
1048 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1051 as_fn_error $?
"invalid feature name: $ac_useropt"
1052 ac_useropt_orig
=$ac_useropt
1053 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054 case $ac_user_opts in
1056 "enable_
$ac_useropt"
1058 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1059 ac_unrecognized_sep
=', ';;
1061 eval enable_
$ac_useropt=\
$ac_optarg ;;
1063 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1064 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1065 |
--exec |
--exe |
--ex)
1066 ac_prev
=exec_prefix
;;
1067 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1068 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1069 |
--exec=* |
--exe=* |
--ex=*)
1070 exec_prefix
=$ac_optarg ;;
1072 -gas |
--gas |
--ga |
--g)
1073 # Obsolete; use --with-gas.
1076 -help |
--help |
--hel |
--he |
-h)
1077 ac_init_help
=long
;;
1078 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1079 ac_init_help
=recursive
;;
1080 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1081 ac_init_help
=short
;;
1083 -host |
--host |
--hos |
--ho)
1084 ac_prev
=host_alias
;;
1085 -host=* |
--host=* |
--hos=* |
--ho=*)
1086 host_alias
=$ac_optarg ;;
1088 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1090 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1092 htmldir
=$ac_optarg ;;
1094 -includedir |
--includedir |
--includedi |
--included |
--include \
1095 |
--includ |
--inclu |
--incl |
--inc)
1096 ac_prev
=includedir
;;
1097 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1098 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1099 includedir
=$ac_optarg ;;
1101 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1103 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1104 infodir
=$ac_optarg ;;
1106 -libdir |
--libdir |
--libdi |
--libd)
1108 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1109 libdir
=$ac_optarg ;;
1111 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1112 |
--libexe |
--libex |
--libe)
1113 ac_prev
=libexecdir
;;
1114 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1115 |
--libexe=* |
--libex=* |
--libe=*)
1116 libexecdir
=$ac_optarg ;;
1118 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1119 ac_prev
=localedir
;;
1120 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1121 localedir
=$ac_optarg ;;
1123 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1124 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1125 ac_prev
=localstatedir
;;
1126 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1127 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1128 localstatedir
=$ac_optarg ;;
1130 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1132 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1133 mandir
=$ac_optarg ;;
1135 -nfp |
--nfp |
--nf)
1136 # Obsolete; use --without-fp.
1139 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1140 |
--no-cr |
--no-c |
-n)
1143 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1144 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1147 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1148 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1149 |
--oldin |
--oldi |
--old |
--ol |
--o)
1150 ac_prev
=oldincludedir
;;
1151 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1152 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1153 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1154 oldincludedir
=$ac_optarg ;;
1156 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1158 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1159 prefix
=$ac_optarg ;;
1161 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1162 |
--program-pre |
--program-pr |
--program-p)
1163 ac_prev
=program_prefix
;;
1164 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1165 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1166 program_prefix
=$ac_optarg ;;
1168 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1169 |
--program-suf |
--program-su |
--program-s)
1170 ac_prev
=program_suffix
;;
1171 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1172 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1173 program_suffix
=$ac_optarg ;;
1175 -program-transform-name |
--program-transform-name \
1176 |
--program-transform-nam |
--program-transform-na \
1177 |
--program-transform-n |
--program-transform- \
1178 |
--program-transform |
--program-transfor \
1179 |
--program-transfo |
--program-transf \
1180 |
--program-trans |
--program-tran \
1181 |
--progr-tra |
--program-tr |
--program-t)
1182 ac_prev
=program_transform_name
;;
1183 -program-transform-name=* |
--program-transform-name=* \
1184 |
--program-transform-nam=* |
--program-transform-na=* \
1185 |
--program-transform-n=* |
--program-transform-=* \
1186 |
--program-transform=* |
--program-transfor=* \
1187 |
--program-transfo=* |
--program-transf=* \
1188 |
--program-trans=* |
--program-tran=* \
1189 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1190 program_transform_name
=$ac_optarg ;;
1192 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1194 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1195 pdfdir
=$ac_optarg ;;
1197 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1199 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1202 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1203 |
-silent |
--silent |
--silen |
--sile |
--sil)
1206 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1208 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1210 sbindir
=$ac_optarg ;;
1212 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1213 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1214 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1216 ac_prev
=sharedstatedir
;;
1217 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1218 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1219 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1221 sharedstatedir
=$ac_optarg ;;
1223 -site |
--site |
--sit)
1225 -site=* |
--site=* |
--sit=*)
1228 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1230 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1231 srcdir
=$ac_optarg ;;
1233 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1234 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1235 ac_prev
=sysconfdir
;;
1236 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1237 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1238 sysconfdir
=$ac_optarg ;;
1240 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1241 ac_prev
=target_alias
;;
1242 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1243 target_alias
=$ac_optarg ;;
1245 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1248 -version |
--version |
--versio |
--versi |
--vers |
-V)
1249 ac_init_version
=: ;;
1252 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1255 as_fn_error $?
"invalid package name: $ac_useropt"
1256 ac_useropt_orig
=$ac_useropt
1257 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1262 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1263 ac_unrecognized_sep
=', ';;
1265 eval with_
$ac_useropt=\
$ac_optarg ;;
1267 -without-* |
--without-*)
1268 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1271 as_fn_error $?
"invalid package name: $ac_useropt"
1272 ac_useropt_orig
=$ac_useropt
1273 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1274 case $ac_user_opts in
1278 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1279 ac_unrecognized_sep
=', ';;
1281 eval with_
$ac_useropt=no
;;
1284 # Obsolete; use --with-x.
1287 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1288 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1289 ac_prev
=x_includes
;;
1290 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1291 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1292 x_includes
=$ac_optarg ;;
1294 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1295 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1296 ac_prev
=x_libraries
;;
1297 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1298 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1299 x_libraries
=$ac_optarg ;;
1301 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1302 Try \`$0 --help' for more information"
1306 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1307 # Reject names that are not valid shell variable names.
1308 case $ac_envvar in #(
1309 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1310 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1312 eval $ac_envvar=\
$ac_optarg
1313 export $ac_envvar ;;
1316 # FIXME: should be removed in autoconf 3.0.
1317 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1318 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1319 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1320 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1326 if test -n "$ac_prev"; then
1327 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1328 as_fn_error $?
"missing argument to $ac_option"
1331 if test -n "$ac_unrecognized_opts"; then
1332 case $enable_option_checking in
1334 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1335 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1339 # Check all directory arguments for consistency.
1340 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1341 datadir sysconfdir sharedstatedir localstatedir includedir \
1342 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1343 libdir localedir mandir
1345 eval ac_val
=\$
$ac_var
1346 # Remove trailing slashes.
1349 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1350 eval $ac_var=\
$ac_val;;
1352 # Be sure to have absolute directory names.
1354 [\\/$
]* | ?
:[\\/]* ) continue;;
1355 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1357 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1360 # There might be people who depend on the old broken behavior: `$host'
1361 # used to hold the argument of --host etc.
1362 # FIXME: To remove some day.
1365 target
=$target_alias
1367 # FIXME: To remove some day.
1368 if test "x$host_alias" != x
; then
1369 if test "x$build_alias" = x
; then
1370 cross_compiling
=maybe
1371 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1372 If a cross compiler is detected then cross compile mode will be used" >&2
1373 elif test "x$build_alias" != "x$host_alias"; then
1379 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1381 test "$silent" = yes && exec 6>/dev
/null
1384 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1385 ac_ls_di
=`ls -di .` &&
1386 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1387 as_fn_error $?
"working directory cannot be determined"
1388 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1389 as_fn_error $?
"pwd does not report name of working directory"
1392 # Find the source files, if location was not specified.
1393 if test -z "$srcdir"; then
1394 ac_srcdir_defaulted
=yes
1395 # Try the directory containing this script, then the parent directory.
1396 ac_confdir
=`$as_dirname -- "$as_myself" ||
1397 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1398 X"$as_myself" : 'X\(//\)[^/]' \| \
1399 X"$as_myself" : 'X\(//\)$' \| \
1400 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1401 $as_echo X"$as_myself" |
1402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1424 ac_srcdir_defaulted
=no
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1427 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1428 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1430 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1432 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1434 # When building in place, set srcdir=.
1435 if test "$ac_abs_confdir" = "$ac_pwd"; then
1438 # Remove unnecessary trailing slashes from srcdir.
1439 # Double slashes in file names in object file debugging info
1440 # mess up M-x gdb in Emacs.
1442 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1444 for ac_var
in $ac_precious_vars; do
1445 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1446 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1447 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1448 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1452 # Report the --help message.
1454 if test "$ac_init_help" = "long"; then
1455 # Omit some internal or obsolete options to make the list less imposing.
1456 # This message is too long to be a string in the A/UX 3.1 sh.
1458 \`configure' configures this package to adapt to many kinds of systems.
1460 Usage: $0 [OPTION]... [VAR=VALUE]...
1462 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1463 VAR=VALUE. See below for descriptions of some of the useful variables.
1465 Defaults for the options are specified in brackets.
1468 -h, --help display this help and exit
1469 --help=short display options specific to this package
1470 --help=recursive display the short help of all the included packages
1471 -V, --version display version information and exit
1472 -q, --quiet, --silent do not print \`checking ...' messages
1473 --cache-file=FILE cache test results in FILE [disabled]
1474 -C, --config-cache alias for \`--cache-file=config.cache'
1475 -n, --no-create do not create output files
1476 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1478 Installation directories:
1479 --prefix=PREFIX install architecture-independent files in PREFIX
1480 [$ac_default_prefix]
1481 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1484 By default, \`make install' will install all the files in
1485 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1486 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1487 for instance \`--prefix=\$HOME'.
1489 For better control, use the options below.
1491 Fine tuning of the installation directories:
1492 --bindir=DIR user executables [EPREFIX/bin]
1493 --sbindir=DIR system admin executables [EPREFIX/sbin]
1494 --libexecdir=DIR program executables [EPREFIX/libexec]
1495 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1496 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1497 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1498 --libdir=DIR object code libraries [EPREFIX/lib]
1499 --includedir=DIR C header files [PREFIX/include]
1500 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1501 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1502 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1503 --infodir=DIR info documentation [DATAROOTDIR/info]
1504 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1505 --mandir=DIR man documentation [DATAROOTDIR/man]
1506 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1507 --htmldir=DIR html documentation [DOCDIR]
1508 --dvidir=DIR dvi documentation [DOCDIR]
1509 --pdfdir=DIR pdf documentation [DOCDIR]
1510 --psdir=DIR ps documentation [DOCDIR]
1516 --x-includes=DIR X include files are
in DIR
1517 --x-libraries=DIR X library files are
in DIR
1520 --build=BUILD configure
for building on BUILD
[guessed
]
1521 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1525 if test -n "$ac_init_help"; then
1530 --disable-option-checking ignore unrecognized
--enable/--with options
1531 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1532 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1533 --enable-build-type=TYPE
1534 Select the build
type. Available types are
:
1535 personal
, nightly
, snapshot
, milestone
, release. Do
1536 NOT use this option unless you know what you are
1537 doing
! (default
=personal
)
1538 --enable-debug=list Enable different types of debug. Commas or
1539 whitespaces can be used to separate the items
in the
1540 list. Available types of debug are
: all
, none
,
1541 messages
, stack
, mungwall
, modules
, symbols. If no
1542 list is provided
then "all" is assumed.
1544 --disable-crosstools Do not build cross-compiler toolchain
1545 --enable-distcc Use distcc as a front end to the compiler
1547 --enable-ccache Use ccache as a front end to the compiler
1549 --enable-target-variant=NAME
1550 Enable a specific target variant
(default
=none
)
1551 --enable-amigaos-compliance=VERSION
1552 Enforce userspace AmigaOS compliance to a specific
1553 KickStart version
(default
=none
).
1554 --enable-palm-debug-hack
1555 Enable palm debug output hack
in palm native
1557 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1558 --enable-nesting-supervisor
1559 Enable nesting supervisor support
in unix
1561 --disable-mmu Disable MMU support
(default
=enabled
)
1562 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1563 --enable-x11-shm use X11 shared memory
(default
=auto
)
1564 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1565 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1566 --disable-sdltest Do not try to compile and run a
test SDL program
1567 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1570 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1571 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1572 --with-kernel-gcc-version=VERSION
1573 Use
host gcc-VERSION
for building AROS
1574 --with-gcc-version=VERSION
1575 Use
host gcc-VERSION
for building AROS
1576 --with-optimization=FLAGS
1577 Use optimization flags FLAGS
(default
=-O2).
1578 --with-paranoia=FLAGS CC flags to
enable paranoia
1579 --with-xcode=PATH Specify XCode path
for iOS targets
1580 (default
=/Developer
).
1581 --with-sdk-version=VERSION
1582 Use iOS SDK version VERSION
(default
=4.1).
1583 --with-sdk=PATH Specify Android SDK path
1584 (default
=$default_android_sdk).
1585 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1586 --with-sdk-version=LEVEL
1587 Use Android SDK
for API LEVEL
(default
=12).
1588 --with-ndk-version=LEVEL
1589 Use Android NDK
for API LEVEL
(default
=9).
1590 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1591 --with-kernel-tool-prefix=...
1592 Specify crosscompile toolchain prefix
for kernel
1594 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1595 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1596 --with-float=<spec
> Specify floating point ABI
1597 (default
=$gcc_default_float_abi).
1598 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1599 --with-portssources=DIR Where to download sourcecode
for external ports
1600 --with-bootloader=NAME Use a specific bootloader
1601 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1602 --with-theme=NAME Use a specific GUI Theme
1603 --with-resolution=XRESxYRESxDEPTH
1604 Default resolution of the initial WorkbenchScreen
1605 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1606 --with-x use the X Window System
1607 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1608 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1610 Some influential environment variables
:
1611 CC C compiler
command
1612 CFLAGS C compiler flags
1613 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1614 nonstandard directory
<lib dir
>
1615 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1616 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1617 you have headers
in a nonstandard directory
<include dir
>
1618 CXX C
++ compiler
command
1619 CXXFLAGS C
++ compiler flags
1621 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1623 Use these variables to override the choices made by
`configure' or to help
1624 it to find libraries and programs with nonstandard names/locations.
1626 Report bugs to the package provider.
1631 if test "$ac_init_help" = "recursive"; then
1632 # If there are subdirs, report their specific --help.
1633 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1634 test -d "$ac_dir" ||
1635 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1643 # A ".." for each directory in $ac_dir_suffix.
1644 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1645 case $ac_top_builddir_sub in
1646 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1650 ac_abs_top_builddir=$ac_pwd
1651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1652 # for backward compatibility:
1653 ac_top_builddir=$ac_top_build_prefix
1656 .) # We are building in place.
1658 ac_top_srcdir=$ac_top_builddir_sub
1659 ac_abs_top_srcdir=$ac_pwd ;;
1660 [\\/]* | ?:[\\/]* ) # Absolute name.
1661 ac_srcdir=$srcdir$ac_dir_suffix;
1662 ac_top_srcdir=$srcdir
1663 ac_abs_top_srcdir=$srcdir ;;
1665 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1666 ac_top_srcdir=$ac_top_build_prefix$srcdir
1667 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1671 cd "$ac_dir" || { ac_status=$?; continue; }
1672 # Check for guested configure.
1673 if test -f "$ac_srcdir/configure.gnu"; then
1675 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1676 elif test -f "$ac_srcdir/configure"; then
1678 $SHELL "$ac_srcdir/configure" --help=recursive
1680 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1682 cd "$ac_pwd" || { ac_status=$?; break; }
1686 test -n "$ac_init_help" && exit $ac_status
1687 if $ac_init_version; then
1690 generated by GNU Autoconf 2.68
1692 Copyright (C) 2010 Free Software Foundation, Inc.
1693 This configure script is free software; the Free Software Foundation
1694 gives unlimited permission to copy, distribute and modify it.
1699 ## ------------------------ ##
1700 ## Autoconf initialization. ##
1701 ## ------------------------ ##
1703 # ac_fn_c_try_compile LINENO
1704 # --------------------------
1705 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1706 ac_fn_c_try_compile ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 rm -f conftest.$ac_objext
1710 if { { ac_try="$ac_compile"
1712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1713 *) ac_try_echo
=$ac_try;;
1715 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_compile") 2>conftest.err
1719 if test -s conftest.err
; then
1720 grep -v '^ *+' conftest.err
>conftest.er1
1721 cat conftest.er1
>&5
1722 mv -f conftest.er1 conftest.err
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && {
1726 test -z "$ac_c_werror_flag" ||
1727 test ! -s conftest.err
1728 } && test -s conftest.
$ac_objext; then :
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.
$ac_ext >&5
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 as_fn_set_status
$ac_retval
1739 } # ac_fn_c_try_compile
1741 # ac_fn_cxx_try_compile LINENO
1742 # ----------------------------
1743 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1744 ac_fn_cxx_try_compile
()
1746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1747 rm -f conftest.
$ac_objext
1748 if { { ac_try
="$ac_compile"
1750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_compile") 2>conftest.err
1757 if test -s conftest.err; then
1758 grep -v '^ *+' conftest.err >conftest.er1
1759 cat conftest.er1 >&5
1760 mv -f conftest.er1 conftest.err
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && {
1764 test -z "$ac_cxx_werror_flag" ||
1765 test ! -s conftest.err
1766 } && test -s conftest.$ac_objext; then :
1769 $as_echo "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.$ac_ext >&5
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 as_fn_set_status $ac_retval
1777 } # ac_fn_cxx_try_compile
1779 # ac_fn_c_try_cpp LINENO
1780 # ----------------------
1781 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if { { ac_try="$ac_cpp conftest.$ac_ext"
1787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1788 *) ac_try_echo
=$ac_try;;
1790 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1794 if test -s conftest.err
; then
1795 grep -v '^ *+' conftest.err
>conftest.er1
1796 cat conftest.er1
>&5
1797 mv -f conftest.er1 conftest.err
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } > conftest.i
&& {
1801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1802 test ! -s conftest.err
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.
$ac_ext >&5
1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812 as_fn_set_status
$ac_retval
1816 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1817 # -------------------------------------------------------
1818 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1819 # the include files in INCLUDES and setting the cache variable VAR
1821 ac_fn_c_check_header_mongrel
()
1823 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1824 if eval \
${$3+:} false
; then :
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \
${$3+:} false
; then :
1828 $as_echo_n "(cached) " >&6
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1834 # Is the header compilable?
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1836 $as_echo_n "checking $2 usability... " >&6; }
1837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1842 if ac_fn_c_try_compile
"$LINENO"; then :
1843 ac_header_compiler
=yes
1845 ac_header_compiler
=no
1847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1849 $as_echo "$ac_header_compiler" >&6; }
1851 # Is the header present?
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1853 $as_echo_n "checking $2 presence... " >&6; }
1854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1855 /* end confdefs.h. */
1858 if ac_fn_c_try_cpp
"$LINENO"; then :
1859 ac_header_preproc
=yes
1861 ac_header_preproc
=no
1863 rm -f conftest.err conftest.i conftest.
$ac_ext
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1865 $as_echo "$ac_header_preproc" >&6; }
1867 # So? What about this header?
1868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1871 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1873 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1877 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1879 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1881 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1883 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1885 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \
${$3+:} false
; then :
1891 $as_echo_n "(cached) " >&6
1893 eval "$3=\$ac_header_compiler"
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901 } # ac_fn_c_check_header_mongrel
1903 # ac_fn_c_try_run LINENO
1904 # ----------------------
1905 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1906 # that executables *can* be run.
1909 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1910 if { { ac_try
="$ac_link"
1912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1913 *) ac_try_echo=$ac_try;;
1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916 $as_echo "$ac_try_echo"; } >&5
1917 (eval "$ac_link") 2>&5
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1921 { { case "(($ac_try" in
1922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1923 *) ac_try_echo
=$ac_try;;
1925 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_try") 2>&5
1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930 test $ac_status = 0; }; }; then :
1933 $as_echo "$as_me: program exited with status $ac_status" >&5
1934 $as_echo "$as_me: failed program was:" >&5
1935 sed 's/^/| /' conftest.
$ac_ext >&5
1937 ac_retval
=$ac_status
1939 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 as_fn_set_status
$ac_retval
1945 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1946 # -------------------------------------------------------
1947 # Tests whether HEADER exists and can be compiled using the include files in
1948 # INCLUDES, setting the cache variable VAR accordingly.
1949 ac_fn_c_check_header_compile
()
1951 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if eval \
${$3+:} false
; then :
1955 $as_echo_n "(cached) " >&6
1957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1962 if ac_fn_c_try_compile
"$LINENO"; then :
1967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1974 } # ac_fn_c_check_header_compile
1976 # ac_fn_c_try_link LINENO
1977 # -----------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1981 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1982 rm -f conftest.
$ac_objext conftest
$ac_exeext
1983 if { { ac_try
="$ac_link"
1985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_c_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 $as_test_x conftest$ac_exeext
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 as_fn_set_status $ac_retval
2020 } # ac_fn_c_try_link
2022 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2023 # ----------------------------------------------------
2024 # Tries to find if the field MEMBER exists in type AGGR, after including
2025 # INCLUDES, setting cache variable VAR accordingly.
2026 ac_fn_c_check_member ()
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2030 $as_echo_n "checking for $2.$3... " >&6; }
2031 if eval \${$4+:} false; then :
2032 $as_echo_n "(cached) " >&6
2034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2047 if ac_fn_c_try_compile "$LINENO"; then :
2050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2051 /* end confdefs.h. */
2057 if (sizeof ac_aggr.$3)
2063 if ac_fn_c_try_compile "$LINENO"; then :
2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077 } # ac_fn_c_check_member
2079 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2080 # ---------------------------------------------
2081 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2083 ac_fn_c_check_decl ()
2085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2087 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2089 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2090 if eval \${$3+:} false; then :
2091 $as_echo_n "(cached) " >&6
2093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2099 #ifndef $as_decl_name
2101 (void) $as_decl_use;
2103 (void) $as_decl_name;
2111 if ac_fn_c_try_compile "$LINENO"; then :
2116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120 $as_echo "$ac_res" >&6; }
2121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2123 } # ac_fn_c_check_decl
2125 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2126 # -------------------------------------------
2127 # Tests whether TYPE exists after having included INCLUDES, setting cache
2128 # variable VAR accordingly.
2129 ac_fn_c_check_type ()
2131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2133 $as_echo_n "checking for $2... " >&6; }
2134 if eval \${$3+:} false; then :
2135 $as_echo_n "(cached) " >&6
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2150 if ac_fn_c_try_compile "$LINENO"; then :
2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2163 if ac_fn_c_try_compile "$LINENO"; then :
2168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2174 $as_echo "$ac_res" >&6; }
2175 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2177 } # ac_fn_c_check_type
2179 # ac_fn_c_check_func LINENO FUNC VAR
2180 # ----------------------------------
2181 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2182 ac_fn_c_check_func ()
2184 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2186 $as_echo_n "checking for $2... " >&6; }
2187 if eval \${$3+:} false; then :
2188 $as_echo_n "(cached) " >&6
2190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2191 /* end confdefs.h. */
2192 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2194 #define $2 innocuous_$2
2196 /* System header to define __stub macros and hopefully few prototypes,
2197 which can conflict with char $2 (); below.
2198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2199 <limits.h> exists even on freestanding compilers. */
2202 # include <limits.h>
2204 # include <assert.h>
2209 /* Override any GCC internal prototype to avoid an error.
2210 Use char because int might match the return type of a GCC
2211 builtin and then its argument prototype would still apply. */
2216 /* The GNU C library defines this for functions which it implements
2217 to always fail with ENOSYS. Some functions are actually named
2218 something starting with __ and the normal name is an alias. */
2219 #if defined __stub_$2 || defined __stub___$2
2231 if ac_fn_c_try_link "$LINENO"; then :
2236 rm -f core conftest.err conftest.$ac_objext \
2237 conftest$ac_exeext conftest.$ac_ext
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2241 $as_echo "$ac_res" >&6; }
2242 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2244 } # ac_fn_c_check_func
2245 cat >config.log <<_ACEOF
2246 This file contains any messages produced by compilers while
2247 running configure, to aid debugging if configure makes a mistake.
2249 It was created by $as_me, which was
2250 generated by GNU Autoconf 2.68. Invocation command line was
2262 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2263 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2264 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2265 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2266 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2268 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2269 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2271 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2272 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2273 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2274 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2275 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2276 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2277 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir=.
2286 $as_echo "PATH: $as_dir"
2302 # Keep a trace of the command line.
2303 # Strip out --no-create and --no-recursion so they do not pile up.
2304 # Strip out --silent because we don't want to record it for future runs.
2305 # Also quote any args containing shell meta-characters.
2306 # Make two passes to allow for proper duplicate-argument suppression.
2310 ac_must_keep_next=false
2316 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2318 | -silent | --silent | --silen | --sile | --sil)
2321 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2324 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2326 as_fn_append ac_configure_args1 " '$ac_arg'"
2327 if test $ac_must_keep_next = true; then
2328 ac_must_keep_next=false # Got value, back to normal.
2331 *=* | --config-cache | -C | -disable-* | --disable-* \
2332 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2333 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2334 | -with-* | --with-* | -without-* | --without-* | --x)
2335 case "$ac_configure_args0 " in
2336 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2339 -* ) ac_must_keep_next=true ;;
2342 as_fn_append ac_configure_args " '$ac_arg'"
2347 { ac_configure_args0=; unset ac_configure_args0;}
2348 { ac_configure_args1=; unset ac_configure_args1;}
2350 # When interrupted or exit'd, cleanup temporary files, and complete
2351 # config.log. We remove comments because anyway the quotes in there
2352 # would cause problems or look ugly.
2353 # WARNING: Use '\'' to represent an apostrophe within the trap.
2354 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2355 trap 'exit_status=$?
2356 # Save into config.log some information that might help in debugging.
2360 $as_echo "## ---------------- ##
2361 ## Cache variables. ##
2362 ## ---------------- ##"
2364 # The following way of writing the cache mishandles newlines in values,
2366 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2367 eval ac_val=\$$ac_var
2371 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2375 _ | IFS | as_nl) ;; #(
2376 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2377 *) { eval $ac_var=; unset $ac_var;} ;;
2382 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2383 *${as_nl}ac_space=\ *)
2385 "s/'\''/'\''\\\\'\'''\''/g;
2386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2389 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2396 $as_echo "## ----------------- ##
2397 ## Output variables. ##
2398 ## ----------------- ##"
2400 for ac_var in $ac_subst_vars
2402 eval ac_val=\$$ac_var
2404 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2406 $as_echo "$ac_var='\''$ac_val'\''"
2410 if test -n "$ac_subst_files"; then
2411 $as_echo "## ------------------- ##
2412 ## File substitutions. ##
2413 ## ------------------- ##"
2415 for ac_var in $ac_subst_files
2417 eval ac_val=\$$ac_var
2419 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2421 $as_echo "$ac_var='\''$ac_val'\''"
2426 if test -s confdefs.h; then
2427 $as_echo "## ----------- ##
2434 test "$ac_signal" != 0 &&
2435 $as_echo "$as_me: caught signal $ac_signal"
2436 $as_echo "$as_me: exit $exit_status"
2438 rm -f core *.core core.conftest.* &&
2439 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2442 for ac_signal in 1 2 13 15; do
2443 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2447 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2448 rm -f -r conftest* confdefs.h
2450 $as_echo "/* confdefs.h */" > confdefs.h
2452 # Predefined preprocessor variables.
2454 cat >>confdefs.h <<_ACEOF
2455 #define PACKAGE_NAME "$PACKAGE_NAME"
2458 cat >>confdefs.h <<_ACEOF
2459 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2462 cat >>confdefs.h <<_ACEOF
2463 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2466 cat >>confdefs.h <<_ACEOF
2467 #define PACKAGE_STRING "$PACKAGE_STRING"
2470 cat >>confdefs.h <<_ACEOF
2471 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE_URL "$PACKAGE_URL"
2479 # Let the site file select an alternate cache file if it wants to.
2480 # Prefer an explicitly selected file to automatically selected ones.
2483 if test -n "$CONFIG_SITE"; then
2484 # We do not want a PATH search for config.site.
2485 case $CONFIG_SITE in #((
2486 -*) ac_site_file1=./$CONFIG_SITE;;
2487 */*) ac_site_file1=$CONFIG_SITE;;
2488 *) ac_site_file1=./$CONFIG_SITE;;
2490 elif test "x$prefix" != xNONE; then
2491 ac_site_file1=$prefix/share/config.site
2492 ac_site_file2=$prefix/etc/config.site
2494 ac_site_file1=$ac_default_prefix/share/config.site
2495 ac_site_file2=$ac_default_prefix/etc/config.site
2497 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2499 test "x$ac_site_file" = xNONE && continue
2500 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2502 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2503 sed 's/^/| /' "$ac_site_file" >&5
2505 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2507 as_fn_error $? "failed to load site
script $ac_site_file
2508 See \
`config.log' for more details" "$LINENO" 5 ; }
2512 if test -r "$cache_file"; then
2513 # Some versions of bash will fail to source /dev/null (special files
2514 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2515 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2517 $as_echo "$as_me: loading cache $cache_file" >&6;}
2519 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2520 *) . "./$cache_file";;
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2525 $as_echo "$as_me: creating cache $cache_file" >&6;}
2529 as_fn_append ac_header_list " stdlib.h"
2530 as_fn_append ac_header_list " unistd.h"
2531 as_fn_append ac_header_list " sys/param.h"
2532 # Check that the precious variables saved in the cache have kept the same
2534 ac_cache_corrupted=false
2535 for ac_var in $ac_precious_vars; do
2536 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2537 eval ac_new_set=\$ac_env_${ac_var}_set
2538 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2539 eval ac_new_val=\$ac_env_${ac_var}_value
2540 case $ac_old_set,$ac_new_set in
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2543 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2544 ac_cache_corrupted=: ;;
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2547 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2548 ac_cache_corrupted=: ;;
2551 if test "x$ac_old_val" != "x$ac_new_val"; then
2552 # differences in whitespace do not lead to failure.
2553 ac_old_val_w=`echo x
$ac_old_val`
2554 ac_new_val_w=`echo x
$ac_new_val`
2555 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2557 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2558 ac_cache_corrupted=:
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2561 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2562 eval $ac_var=\$ac_old_val
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2565 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2567 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2570 # Pass precious variables to config.status.
2571 if test "$ac_new_set" = set; then
2573 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2574 *) ac_arg=$ac_var=$ac_new_val ;;
2576 case " $ac_configure_args " in
2577 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2578 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2582 if $ac_cache_corrupted; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2586 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2587 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2589 ## -------------------- ##
2590 ## Main body of script. ##
2591 ## -------------------- ##
2594 ac_cpp='$CPP $CPPFLAGS'
2595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2602 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2603 if test -f "$ac_dir/install-sh"; then
2605 ac_install_sh="$ac_aux_dir/install-sh -c"
2607 elif test -f "$ac_dir/install.sh"; then
2609 ac_install_sh="$ac_aux_dir/install.sh -c"
2611 elif test -f "$ac_dir/shtool"; then
2613 ac_install_sh="$ac_aux_dir/shtool install -c"
2617 if test -z "$ac_aux_dir"; then
2618 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2621 # These three variables are undocumented and unsupported,
2622 # and are intended to be withdrawn in a future Autoconf release.
2623 # They can cause serious problems if a builder's source tree is in a directory
2624 # whose full name contains unusual characters.
2625 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2626 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2627 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2631 # Check what host we are running on.
2632 # If a target is not suggested, we use this one.
2633 # Note that what we call a target, Autoconf calls a host.
2634 # Make sure we can run config.sub.
2635 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2636 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2639 $as_echo_n "checking build system type... " >&6; }
2640 if ${ac_cv_build+:} false; then :
2641 $as_echo_n "(cached) " >&6
2643 ac_build_alias=$build_alias
2644 test "x$ac_build_alias" = x &&
2645 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2646 test "x$ac_build_alias" = x &&
2647 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2648 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2649 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2653 $as_echo "$ac_cv_build" >&6; }
2654 case $ac_cv_build in
2656 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2659 ac_save_IFS=$IFS; IFS='-'
2665 # Remember, the first character of IFS is used to create $*,
2666 # except with old shells:
2669 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2673 $as_echo_n "checking host system type... " >&6; }
2674 if ${ac_cv_host+:} false; then :
2675 $as_echo_n "(cached) " >&6
2677 if test "x$host_alias" = x; then
2678 ac_cv_host=$ac_cv_build
2680 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2681 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2686 $as_echo "$ac_cv_host" >&6; }
2689 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2692 ac_save_IFS=$IFS; IFS='-'
2698 # Remember, the first character of IFS is used to create $*,
2699 # except with old shells:
2702 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2706 # The AROS target is slightly different to the normal GNU style
2707 # format. We don't have the middle part, and we reverse the order
2708 # of the $(CPU) and $(OS) bits.
2710 # Don't strip the version of the target yet, it might be
2711 # useful on some systems.
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2714 $as_echo_n "checking for AROS style target... " >&6; }
2716 if test "$target" = "NONE" ; then
2717 target=$host_os-$host_cpu
2719 if test "$target" = "" ; then
2720 target=$host_os-$host_cpu
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2724 $as_echo "$target" >&6; }
2726 if test "$host_os" = "mingw32" ; then
2730 # Don't know where else to put this...
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2732 $as_echo_n "checking building AROS in... " >&6; }
2733 AROS_BUILDDIR=`${PWDCMD-pwd}`
2734 AROS_BUILDDIR_UNIX=${PWD}
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2736 $as_echo "$AROS_BUILDDIR" >&6; }
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2739 $as_echo_n "checking AROS source in... " >&6; }
2740 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2743 $as_echo "$SRCDIR" >&6; }
2745 # Parse the target field into something useful.
2747 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2748 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2751 # Some debug output, to be removed again.
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2753 $as_echo_n "checking for target system (debug output)... " >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2755 $as_echo "$target_os" >&6; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2757 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2759 $as_echo "$target_cpu" >&6; }
2761 aros_default_wbwidth=800
2762 aros_default_wbheight=600
2763 aros_default_wbdepth=4
2766 # The first step is to find the host binaries.
2767 # Check for a compiler.
2769 ac_cpp='$CPP $CPPFLAGS'
2770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2773 if test -n "$ac_tool_prefix"; then
2774 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2775 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if ${ac_cv_prog_CC+:} false; then :
2779 $as_echo_n "(cached) " >&6
2781 if test -n "$CC"; then
2782 ac_cv_prog_CC="$CC" # Let the user override the test.
2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir=.
2789 for ac_exec_ext in '' $ac_executable_extensions; do
2790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2791 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2802 if test -n "$CC"; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2804 $as_echo "$CC" >&6; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 $as_echo "no" >&6; }
2812 if test -z "$ac_cv_prog_CC"; then
2814 # Extract the first word of "gcc", so it can be a program name with args.
2815 set dummy gcc; ac_word=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$ac_ct_CC"; then
2822 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 ac_cv_prog_ac_ct_CC="gcc"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2842 if test -n "$ac_ct_CC"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2844 $as_echo "$ac_ct_CC" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2850 if test "x$ac_ct_CC" = x; then
2853 case $cross_compiling:$ac_tool_warned in
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2857 ac_tool_warned=yes ;;
2865 if test -z "$CC"; then
2866 if test -n "$ac_tool_prefix"; then
2867 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2868 set dummy ${ac_tool_prefix}cc; ac_word=$2
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2870 $as_echo_n "checking for $ac_word... " >&6; }
2871 if ${ac_cv_prog_CC+:} false; then :
2872 $as_echo_n "(cached) " >&6
2874 if test -n "$CC"; then
2875 ac_cv_prog_CC="$CC" # Let the user override the test.
2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir=.
2882 for ac_exec_ext in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884 ac_cv_prog_CC="${ac_tool_prefix}cc"
2885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 if test -n "$CC"; then
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2897 $as_echo "$CC" >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2906 if test -z "$CC"; then
2907 # Extract the first word of "cc", so it can be a program name with args.
2908 set dummy cc; ac_word=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if ${ac_cv_prog_CC+:} false; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$CC"; then
2915 ac_cv_prog_CC="$CC" # Let the user override the test.
2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir=.
2923 for ac_exec_ext in '' $ac_executable_extensions; do
2924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2925 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2926 ac_prog_rejected=yes
2930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test $ac_prog_rejected = yes; then
2938 # We found a bogon in the path, so make sure we never use it.
2939 set dummy $ac_cv_prog_CC
2941 if test $# != 0; then
2942 # We chose a different compiler from the bogus one.
2943 # However, it has the same basename, so the bogon will be chosen
2944 # first if we set CC to just the basename; use the full file name.
2946 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2952 if test -n "$CC"; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2954 $as_echo "$CC" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2962 if test -z "$CC"; then
2963 if test -n "$ac_tool_prefix"; then
2964 for ac_prog in cl.exe
2966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2967 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 $as_echo_n "checking for $ac_word... " >&6; }
2970 if ${ac_cv_prog_CC+:} false; then :
2971 $as_echo_n "(cached) " >&6
2973 if test -n "$CC"; then
2974 ac_cv_prog_CC="$CC" # Let the user override the test.
2976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 test -z "$as_dir" && as_dir=.
2981 for ac_exec_ext in '' $ac_executable_extensions; do
2982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2983 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 if test -n "$CC"; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2996 $as_echo "$CC" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3003 test -n "$CC" && break
3006 if test -z "$CC"; then
3008 for ac_prog in cl.exe
3010 # Extract the first word of "$ac_prog", so it can be a program name with args.
3011 set dummy $ac_prog; ac_word=$2
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013 $as_echo_n "checking for $ac_word... " >&6; }
3014 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3015 $as_echo_n "(cached) " >&6
3017 if test -n "$ac_ct_CC"; then
3018 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir=.
3025 for ac_exec_ext in '' $ac_executable_extensions; do
3026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3027 ac_cv_prog_ac_ct_CC="$ac_prog"
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3038 if test -n "$ac_ct_CC"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3040 $as_echo "$ac_ct_CC" >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043 $as_echo "no" >&6; }
3047 test -n "$ac_ct_CC" && break
3050 if test "x$ac_ct_CC" = x; then
3053 case $cross_compiling:$ac_tool_warned in
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3057 ac_tool_warned=yes ;;
3066 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3068 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3069 See \
`config.log' for more details" "$LINENO" 5 ; }
3071 # Provide some information about the compiler.
3072 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3075 for ac_option in --version -v -V -qversion; do
3076 { { ac_try="$ac_compiler $ac_option >&5"
3078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3079 *) ac_try_echo
=$ac_try;;
3081 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3085 if test -s conftest.err
; then
3087 ... rest of stderr output deleted ...
3088 10q' conftest.err
>conftest.er1
3089 cat conftest.er1
>&5
3091 rm -f conftest.er1 conftest.err
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3093 test $ac_status = 0; }
3096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3107 ac_clean_files_save
=$ac_clean_files
3108 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3109 # Try to create an executable without -o first, disregard a.out.
3110 # It will help us diagnose broken compilers, and finding out an intuition
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3113 $as_echo_n "checking whether the C compiler works... " >&6; }
3114 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3116 # The possible output files:
3117 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3120 for ac_file
in $ac_files
3123 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3124 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3129 if { { ac_try
="$ac_link_default"
3131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3135 $as_echo "$ac_try_echo"; } >&5
3136 (eval "$ac_link_default") 2>&5
3138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3139 test $ac_status = 0; }; then :
3140 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3141 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3142 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3143 # so that the user can short-circuit this test for compilers unknown to
3145 for ac_file in $ac_files ''
3147 test -f "$ac_file" || continue
3149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3152 # We found the default executable, but exeext='' is most
3156 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3158 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3160 # We set ac_cv_exeext here because the later test for it is not
3161 # safe: cross compilers may not add the suffix if given an `-o'
3162 # argument, so we may need to know it at that point already.
3163 # Even if this section looks crufty: it has the advantage of
3170 test "$ac_cv_exeext" = no && ac_cv_exeext=
3175 if test -z "$ac_file"; then :
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177 $as_echo "no" >&6; }
3178 $as_echo "$as_me: failed program was:" >&5
3179 sed 's
/^
/|
/' conftest.$ac_ext >&5
3181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3182 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3183 as_fn_error 77 "C compiler cannot create executables
3184 See \`config.log
' for more details" "$LINENO" 5 ; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3187 $as_echo "yes" >&6; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3190 $as_echo_n "checking for C compiler default output file name... " >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3192 $as_echo "$ac_file" >&6; }
3193 ac_exeext=$ac_cv_exeext
3195 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3196 ac_clean_files=$ac_clean_files_save
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3198 $as_echo_n "checking for suffix of executables... " >&6; }
3199 if { { ac_try="$ac_link"
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3205 $as_echo "$ac_try_echo"; } >&5
3206 (eval "$ac_link") 2>&5
3208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3209 test $ac_status = 0; }; then :
3210 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3211 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3212 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3214 for ac_file
in conftest.exe conftest conftest.
*; do
3215 test -f "$ac_file" ||
continue
3217 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3218 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3227 See \`config.log' for more details" "$LINENO" 5 ; }
3229 rm -f conftest conftest
$ac_cv_exeext
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3231 $as_echo "$ac_cv_exeext" >&6; }
3233 rm -f conftest.
$ac_ext
3234 EXEEXT
=$ac_cv_exeext
3236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3237 /* end confdefs.h. */
3242 FILE *f = fopen ("conftest.out", "w");
3243 return ferror (f) || fclose (f) != 0;
3249 ac_clean_files
="$ac_clean_files conftest.out"
3250 # Check that the compiler produces executables we can run. If not, either
3251 # the compiler is broken, or we cross compile.
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3253 $as_echo_n "checking whether we are cross compiling... " >&6; }
3254 if test "$cross_compiling" != yes; then
3255 { { ac_try
="$ac_link"
3257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_link") 2>&5
3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265 test $ac_status = 0; }
3266 if { ac_try='./conftest$ac_cv_exeext'
3267 { { case "(($ac_try" in
3268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3269 *) ac_try_echo
=$ac_try;;
3271 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3272 $as_echo "$ac_try_echo"; } >&5
3273 (eval "$ac_try") 2>&5
3275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3276 test $ac_status = 0; }; }; then
3279 if test "$cross_compiling" = maybe
; then
3282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3284 as_fn_error $?
"cannot run C compiled programs.
3285 If you meant to cross compile, use \`--host'.
3286 See \`config.log' for more details" "$LINENO" 5 ; }
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3291 $as_echo "$cross_compiling" >&6; }
3293 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3294 ac_clean_files
=$ac_clean_files_save
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3296 $as_echo_n "checking for suffix of object files... " >&6; }
3297 if ${ac_cv_objext+:} false
; then :
3298 $as_echo_n "(cached) " >&6
3300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3311 rm -f conftest.o conftest.obj
3312 if { { ac_try
="$ac_compile"
3314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3318 $as_echo "$ac_try_echo"; } >&5
3319 (eval "$ac_compile") 2>&5
3321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3322 test $ac_status = 0; }; then :
3323 for ac_file in conftest.o conftest.obj conftest.*; do
3324 test -f "$ac_file" || continue;
3326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3327 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3332 $as_echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3337 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3338 See \
`config.log' for more details" "$LINENO" 5 ; }
3340 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3343 $as_echo "$ac_cv_objext" >&6; }
3344 OBJEXT=$ac_cv_objext
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3347 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3348 if ${ac_cv_c_compiler_gnu+:} false; then :
3349 $as_echo_n "(cached) " >&6
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3365 if ac_fn_c_try_compile "$LINENO"; then :
3370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3371 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3375 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3376 if test $ac_compiler_gnu = yes; then
3381 ac_test_CFLAGS=${CFLAGS+set}
3382 ac_save_CFLAGS=$CFLAGS
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3384 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3385 if ${ac_cv_prog_cc_g+:} false; then :
3386 $as_echo_n "(cached) " >&6
3388 ac_save_c_werror_flag=$ac_c_werror_flag
3389 ac_c_werror_flag=yes
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3403 if ac_fn_c_try_compile "$LINENO"; then :
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3418 if ac_fn_c_try_compile "$LINENO"; then :
3421 ac_c_werror_flag=$ac_save_c_werror_flag
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3434 if ac_fn_c_try_compile "$LINENO"; then :
3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 ac_c_werror_flag=$ac_save_c_werror_flag
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3445 $as_echo "$ac_cv_prog_cc_g" >&6; }
3446 if test "$ac_test_CFLAGS" = set; then
3447 CFLAGS=$ac_save_CFLAGS
3448 elif test $ac_cv_prog_cc_g = yes; then
3449 if test "$GCC" = yes; then
3455 if test "$GCC" = yes; then
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3462 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3463 if ${ac_cv_prog_cc_c89+:} false; then :
3464 $as_echo_n "(cached) " >&6
3466 ac_cv_prog_cc_c89=no
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3472 #include <sys/types.h>
3473 #include <sys/stat.h>
3474 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3475 struct buf { int x; };
3476 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3477 static char *e (p, i)
3483 static char *f (char * (*g) (char **, int), char **p, ...)
3488 s = g (p, va_arg (v,int));
3493 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3494 function prototypes and stuff, but not '\xHH' hex character constants.
3495 These don't provoke an error unfortunately, instead are silently treated
3496 as 'x'. The following induces an error, until -std is added to get
3497 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3498 array size at least. It's necessary to write '\x00'==0 to get something
3499 that's true only with -std. */
3500 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3502 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3503 inside strings and character constants. */
3505 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3507 int test (int i, double x);
3508 struct s1 {int (*f) (int a);};
3509 struct s2 {int (*f) (double a);};
3510 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3516 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3521 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3522 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3524 CC="$ac_save_CC $ac_arg"
3525 if ac_fn_c_try_compile "$LINENO"; then :
3526 ac_cv_prog_cc_c89=$ac_arg
3528 rm -f core conftest.err conftest.$ac_objext
3529 test "x$ac_cv_prog_cc_c89" != "xno" && break
3531 rm -f conftest.$ac_ext
3536 case "x$ac_cv_prog_cc_c89" in
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3539 $as_echo "none needed" >&6; } ;;
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3542 $as_echo "unsupported" >&6; } ;;
3544 CC="$CC $ac_cv_prog_cc_c89"
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3546 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3548 if test "x$ac_cv_prog_cc_c89" != xno; then :
3553 ac_cpp='$CPP $CPPFLAGS'
3554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3558 case $ac_cv_prog_cc_stdc in #(
3560 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3563 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3564 if ${ac_cv_prog_cc_c99+:} false; then :
3565 $as_echo_n "(cached) " >&6
3567 ac_cv_prog_cc_c99=no
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3572 #include <stdbool.h>
3577 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3578 #define debug(...) fprintf (stderr, __VA_ARGS__)
3579 #define showlist(...) puts (#__VA_ARGS__)
3580 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3582 test_varargs_macros (void)
3587 debug ("X = %d\n", x);
3588 showlist (The first, second, and third items.);
3589 report (x>y, "x is %d but y is %d", x, y);
3592 // Check long long types.
3593 #define BIG64 18446744073709551615ull
3594 #define BIG32 4294967295ul
3595 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3597 your preprocessor is broken;
3601 your preprocessor is broken;
3603 static long long int bignum = -9223372036854775807LL;
3604 static unsigned long long int ubignum = BIG64;
3606 struct incomplete_array
3614 const wchar_t *name;
3618 typedef const char *ccp;
3621 test_restrict (ccp restrict text)
3623 // See if C++-style comments work.
3624 // Iterate through items via the restricted pointer.
3625 // Also check for declarations in for loops.
3626 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3631 // Check varargs and va_copy.
3633 test_varargs (const char *format, ...)
3636 va_start (args, format);
3638 va_copy (args_copy, args);
3649 str = va_arg (args_copy, const char *);
3652 number = va_arg (args_copy, int);
3655 fnumber = va_arg (args_copy, double);
3670 _Bool success = false;
3673 if (test_restrict ("String literal") == 0)
3675 char *restrict newvar = "Another string";
3678 test_varargs ("s, d' f .", "string", 65, 34.234);
3679 test_varargs_macros ();
3681 // Check flexible array members.
3682 struct incomplete_array *ia =
3683 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3685 for (int i = 0; i < ia->datasize; ++i)
3686 ia->data[i] = i * 1.234;
3688 // Check named initializers.
3689 struct named_init ni = {
3691 .name = L"Test wide string",
3692 .average = 543.34343,
3697 int dynamic_array[ni.number];
3698 dynamic_array[ni.number - 1] = 543;
3700 // work around unused variable warnings
3701 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3702 || dynamic_array[ni.number - 1] != 543);
3708 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3710 CC="$ac_save_CC $ac_arg"
3711 if ac_fn_c_try_compile "$LINENO"; then :
3712 ac_cv_prog_cc_c99=$ac_arg
3714 rm -f core conftest.err conftest.$ac_objext
3715 test "x$ac_cv_prog_cc_c99" != "xno" && break
3717 rm -f conftest.$ac_ext
3722 case "x$ac_cv_prog_cc_c99" in
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3725 $as_echo "none needed" >&6; } ;;
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3728 $as_echo "unsupported" >&6; } ;;
3730 CC="$CC $ac_cv_prog_cc_c99"
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3732 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3734 if test "x$ac_cv_prog_cc_c99" != xno; then :
3735 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3738 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3739 if ${ac_cv_prog_cc_c89+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 ac_cv_prog_cc_c89=no
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3748 #include <sys/types.h>
3749 #include <sys/stat.h>
3750 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3751 struct buf { int x; };
3752 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3753 static char *e (p, i)
3759 static char *f (char * (*g) (char **, int), char **p, ...)
3764 s = g (p, va_arg (v,int));
3769 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3770 function prototypes and stuff, but not '\xHH' hex character constants.
3771 These don't provoke an error unfortunately, instead are silently treated
3772 as 'x'. The following induces an error, until -std is added to get
3773 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3774 array size at least. It's necessary to write '\x00'==0 to get something
3775 that's true only with -std. */
3776 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3778 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3779 inside strings and character constants. */
3781 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3783 int test (int i, double x);
3784 struct s1 {int (*f) (int a);};
3785 struct s2 {int (*f) (double a);};
3786 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3792 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3797 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3798 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3800 CC="$ac_save_CC $ac_arg"
3801 if ac_fn_c_try_compile "$LINENO"; then :
3802 ac_cv_prog_cc_c89=$ac_arg
3804 rm -f core conftest.err conftest.$ac_objext
3805 test "x$ac_cv_prog_cc_c89" != "xno" && break
3807 rm -f conftest.$ac_ext
3812 case "x$ac_cv_prog_cc_c89" in
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3815 $as_echo "none needed" >&6; } ;;
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3818 $as_echo "unsupported" >&6; } ;;
3820 CC="$CC $ac_cv_prog_cc_c89"
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3822 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3824 if test "x$ac_cv_prog_cc_c89" != xno; then :
3825 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3827 ac_cv_prog_cc_stdc=no
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3834 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3835 if ${ac_cv_prog_cc_stdc+:} false; then :
3836 $as_echo_n "(cached) " >&6
3839 case $ac_cv_prog_cc_stdc in #(
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3842 $as_echo "unsupported" >&6; } ;; #(
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3845 $as_echo "none needed" >&6; } ;; #(
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3848 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3852 ac_cpp='$CXXCPP $CPPFLAGS'
3853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3856 if test -z "$CXX"; then
3857 if test -n "$CCC"; then
3860 if test -n "$ac_tool_prefix"; then
3861 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3866 $as_echo_n "checking for $ac_word... " >&6; }
3867 if ${ac_cv_prog_CXX+:} false; then :
3868 $as_echo_n "(cached) " >&6
3870 if test -n "$CXX"; then
3871 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 test -z "$as_dir" && as_dir=.
3878 for ac_exec_ext in '' $ac_executable_extensions; do
3879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3880 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 if test -n "$CXX"; then
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3893 $as_echo "$CXX" >&6; }
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3900 test -n "$CXX" && break
3903 if test -z "$CXX"; then
3905 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3907 # Extract the first word of "$ac_prog", so it can be a program name with args.
3908 set dummy $ac_prog; ac_word=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3912 $as_echo_n "(cached) " >&6
3914 if test -n "$ac_ct_CXX"; then
3915 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921 test -z "$as_dir" && as_dir=.
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3924 ac_cv_prog_ac_ct_CXX="$ac_prog"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3935 if test -n "$ac_ct_CXX"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3937 $as_echo "$ac_ct_CXX" >&6; }
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3944 test -n "$ac_ct_CXX" && break
3947 if test "x$ac_ct_CXX" = x; then
3950 case $cross_compiling:$ac_tool_warned in
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3954 ac_tool_warned=yes ;;
3962 # Provide some information about the compiler.
3963 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3966 for ac_option in --version -v -V -qversion; do
3967 { { ac_try="$ac_compiler $ac_option >&5"
3969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3970 *) ac_try_echo
=$ac_try;;
3972 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3973 $as_echo "$ac_try_echo"; } >&5
3974 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3976 if test -s conftest.err
; then
3978 ... rest of stderr output deleted ...
3979 10q' conftest.err
>conftest.er1
3980 cat conftest.er1
>&5
3982 rm -f conftest.er1 conftest.err
3983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3984 test $ac_status = 0; }
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3988 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3989 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3990 $as_echo_n "(cached) " >&6
3992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h. */
4006 if ac_fn_cxx_try_compile
"$LINENO"; then :
4011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4012 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4016 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4017 if test $ac_compiler_gnu = yes; then
4022 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4023 ac_save_CXXFLAGS
=$CXXFLAGS
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4025 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4026 if ${ac_cv_prog_cxx_g+:} false
; then :
4027 $as_echo_n "(cached) " >&6
4029 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4030 ac_cxx_werror_flag
=yes
4033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4044 if ac_fn_cxx_try_compile
"$LINENO"; then :
4045 ac_cv_prog_cxx_g
=yes
4048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4059 if ac_fn_cxx_try_compile
"$LINENO"; then :
4062 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4075 if ac_fn_cxx_try_compile
"$LINENO"; then :
4076 ac_cv_prog_cxx_g
=yes
4078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4083 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4086 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4087 if test "$ac_test_CXXFLAGS" = set; then
4088 CXXFLAGS
=$ac_save_CXXFLAGS
4089 elif test $ac_cv_prog_cxx_g = yes; then
4090 if test "$GXX" = yes; then
4096 if test "$GXX" = yes; then
4103 ac_cpp
='$CPP $CPPFLAGS'
4104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4109 ac_cpp
='$CPP $CPPFLAGS'
4110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4114 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4115 # On Suns, sometimes $CPP names a directory.
4116 if test -n "$CPP" && test -d "$CPP"; then
4119 if test -z "$CPP"; then
4120 if ${ac_cv_prog_CPP+:} false
; then :
4121 $as_echo_n "(cached) " >&6
4123 # Double quotes because CPP needs to be expanded
4124 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4127 for ac_c_preproc_warn_flag
in '' yes
4129 # Use a header file that comes with gcc, so configuring glibc
4130 # with a fresh cross-compiler works.
4131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4132 # <limits.h> exists even on freestanding compilers.
4133 # On the NeXT, cc -E runs the code through the compiler's parser,
4134 # not just through cpp. "Syntax error" is here to catch this case.
4135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4138 # include <limits.h>
4140 # include <assert.h>
4144 if ac_fn_c_try_cpp
"$LINENO"; then :
4147 # Broken: fails on valid input.
4150 rm -f conftest.err conftest.i conftest.
$ac_ext
4152 # OK, works on sane cases. Now check whether nonexistent headers
4153 # can be detected and how.
4154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4156 #include <ac_nonexistent.h>
4158 if ac_fn_c_try_cpp
"$LINENO"; then :
4159 # Broken: success on invalid input.
4162 # Passes both tests.
4166 rm -f conftest.err conftest.i conftest.
$ac_ext
4169 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4170 rm -f conftest.i conftest.err conftest.
$ac_ext
4171 if $ac_preproc_ok; then :
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4184 $as_echo "$CPP" >&6; }
4186 for ac_c_preproc_warn_flag
in '' yes
4188 # Use a header file that comes with gcc, so configuring glibc
4189 # with a fresh cross-compiler works.
4190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4191 # <limits.h> exists even on freestanding compilers.
4192 # On the NeXT, cc -E runs the code through the compiler's parser,
4193 # not just through cpp. "Syntax error" is here to catch this case.
4194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4197 # include <limits.h>
4199 # include <assert.h>
4203 if ac_fn_c_try_cpp
"$LINENO"; then :
4206 # Broken: fails on valid input.
4209 rm -f conftest.err conftest.i conftest.
$ac_ext
4211 # OK, works on sane cases. Now check whether nonexistent headers
4212 # can be detected and how.
4213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215 #include <ac_nonexistent.h>
4217 if ac_fn_c_try_cpp
"$LINENO"; then :
4218 # Broken: success on invalid input.
4221 # Passes both tests.
4225 rm -f conftest.err conftest.i conftest.
$ac_ext
4228 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4229 rm -f conftest.i conftest.err conftest.
$ac_ext
4230 if $ac_preproc_ok; then :
4233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4235 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4236 See \`config.log' for more details" "$LINENO" 5 ; }
4240 ac_cpp
='$CPP $CPPFLAGS'
4241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4246 # Check for a compatible awk
4247 for ac_prog
in gawk nawk
4249 # Extract the first word of "$ac_prog", so it can be a program name with args.
4250 set dummy
$ac_prog; ac_word
=$2
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4252 $as_echo_n "checking for $ac_word... " >&6; }
4253 if ${ac_cv_prog_AWK+:} false
; then :
4254 $as_echo_n "(cached) " >&6
4256 if test -n "$AWK"; then
4257 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4263 test -z "$as_dir" && as_dir
=.
4264 for ac_exec_ext
in '' $ac_executable_extensions; do
4265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4266 ac_cv_prog_AWK
="$ac_prog"
4267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277 if test -n "$AWK"; then
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4279 $as_echo "$AWK" >&6; }
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282 $as_echo "no" >&6; }
4286 test -n "$AWK" && break
4289 if test "$AWK" = ""; then
4290 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4292 # Extract the first word of "mmake", so it can be a program name with args.
4293 set dummy mmake
; ac_word
=$2
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4295 $as_echo_n "checking for $ac_word... " >&6; }
4296 if ${ac_cv_prog_MMAKE+:} false
; then :
4297 $as_echo_n "(cached) " >&6
4299 if test -n "$MMAKE"; then
4300 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4306 test -z "$as_dir" && as_dir
=.
4307 for ac_exec_ext
in '' $ac_executable_extensions; do
4308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4309 ac_cv_prog_MMAKE
="mmake "
4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 MMAKE
=$ac_cv_prog_MMAKE
4320 if test -n "$MMAKE"; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4322 $as_echo "$MMAKE" >&6; }
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4330 # Perform some default variable assignments. Note all of these will be
4331 # Regenerated from the script, so there is no need to cache them.
4333 aros_host_cpp
="$CPP"
4335 aros_host_cxx
="$CXX"
4336 if test "$GCC" = "yes"; then
4337 aros_gcc_ld
=`$CC -print-prog-name=ld`
4338 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4339 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4341 $as_echo_n "checking for $ac_word... " >&6; }
4342 if ${ac_cv_path_aros_host_ld+:} false
; then :
4343 $as_echo_n "(cached) " >&6
4345 case $aros_host_ld in
4347 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4351 for as_dir
in `dirname $aros_gcc_ld`
4354 test -z "$as_dir" && as_dir
=.
4355 for ac_exec_ext
in '' $ac_executable_extensions; do
4356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4357 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 aros_host_ld
=$ac_cv_path_aros_host_ld
4369 if test -n "$aros_host_ld"; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4371 $as_echo "$aros_host_ld" >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4379 if test "$aros_host_ld" = ""; then
4380 # Extract the first word of "ld", so it can be a program name with args.
4381 set dummy ld
; ac_word
=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if ${ac_cv_path_aros_host_ld+:} false
; then :
4385 $as_echo_n "(cached) " >&6
4387 case $aros_host_ld in
4389 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir
=.
4397 for ac_exec_ext
in '' $ac_executable_extensions; do
4398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4399 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 aros_host_ld
=$ac_cv_path_aros_host_ld
4411 if test -n "$aros_host_ld"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4413 $as_echo "$aros_host_ld" >&6; }
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4421 if test "$aros_host_ld" = ""; then
4422 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4424 aros_host_make
="make"
4425 aros_host_cflags
=$CFLAGS
4426 aros_host_cxxflags
=$CXXFLAGS
4427 aros_host_ldflags
=$LDFLAGS
4428 aros_host_debug
="-g -O0"
4429 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4430 aros_host_mkargs
="--no-print-directory"
4431 aros_host_exe_suffix
="$EXEEXT"
4432 aros_host_lib_suffix
=""
4434 # Ignore all compliance, AROS ROMs = 0
4435 # KickStart v1.0 = 30
4436 # KickStart v1.3 = 34
4437 # KickStart v2.0 = 37
4438 # KickStart v3.0 = 39
4439 # KickStart v3.1 = 40
4441 aros_amigaos_compliance
=0
4443 for ac_prog
in aclocal aclocal19 aclocal-1.9
4445 # Extract the first word of "$ac_prog", so it can be a program name with args.
4446 set dummy
$ac_prog; ac_word
=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4450 $as_echo_n "(cached) " >&6
4452 if test -n "$aros_host_aclocal"; then
4453 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir
=.
4460 for ac_exec_ext
in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4473 if test -n "$aros_host_aclocal"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4475 $as_echo "$aros_host_aclocal" >&6; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4482 test -n "$aros_host_aclocal" && break
4485 for ac_prog
in autoconf autoconf259 autoconf253
4487 # Extract the first word of "$ac_prog", so it can be a program name with args.
4488 set dummy
$ac_prog; ac_word
=$2
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4490 $as_echo_n "checking for $ac_word... " >&6; }
4491 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4492 $as_echo_n "(cached) " >&6
4494 if test -n "$aros_host_autoconf"; then
4495 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4501 test -z "$as_dir" && as_dir
=.
4502 for ac_exec_ext
in '' $ac_executable_extensions; do
4503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4504 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4514 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4515 if test -n "$aros_host_autoconf"; then
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4517 $as_echo "$aros_host_autoconf" >&6; }
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520 $as_echo "no" >&6; }
4524 test -n "$aros_host_autoconf" && break
4527 for ac_prog
in autoheader autoheader259 autoheader253
4529 # Extract the first word of "$ac_prog", so it can be a program name with args.
4530 set dummy
$ac_prog; ac_word
=$2
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532 $as_echo_n "checking for $ac_word... " >&6; }
4533 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4534 $as_echo_n "(cached) " >&6
4536 if test -n "$aros_host_autoheader"; then
4537 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4543 test -z "$as_dir" && as_dir
=.
4544 for ac_exec_ext
in '' $ac_executable_extensions; do
4545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4546 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4557 if test -n "$aros_host_autoheader"; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4559 $as_echo "$aros_host_autoheader" >&6; }
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4566 test -n "$aros_host_autoheader" && break
4569 for ac_prog
in automake automake19 automake-1.9
4571 # Extract the first word of "$ac_prog", so it can be a program name with args.
4572 set dummy
$ac_prog; ac_word
=$2
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574 $as_echo_n "checking for $ac_word... " >&6; }
4575 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4576 $as_echo_n "(cached) " >&6
4578 if test -n "$aros_host_automake"; then
4579 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4585 test -z "$as_dir" && as_dir
=.
4586 for ac_exec_ext
in '' $ac_executable_extensions; do
4587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588 ac_cv_prog_aros_host_automake
="$ac_prog"
4589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 aros_host_automake
=$ac_cv_prog_aros_host_automake
4599 if test -n "$aros_host_automake"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4601 $as_echo "$aros_host_automake" >&6; }
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4608 test -n "$aros_host_automake" && break
4612 if test "$aros_host_aclocal" = ""; then
4613 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4615 if test "$aros_host_automake" = ""; then
4616 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4619 case "$aros_host_cc" in
4621 aros_host_cc_pipe
="-pipe"
4624 aros_host_cc_pipe
=""
4627 aros_host_cc_pipe
=""
4631 aros_kernel_cc_includes
=""
4632 aros_target_cc_includes
=""
4634 # ----------------------------------------------------------------------------------------
4635 # Host-specific defaults
4637 # This is the main host configuration section. It is where the host
4638 # can change the values of any variables it needs to change. We do
4639 # not look at anything that compiles to the target yet, we'll get
4644 aros_host_arch
="aros"
4645 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4648 aros_host_cpu
="i386"
4651 aros_host_cpu
="x86_64"
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4658 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4659 aros_host_cpu
="$host_cpu"
4665 aros_host_arch
="linux"
4666 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4667 android_build_os
="linux-x86"
4668 android_tool
="android"
4669 default_android_sdk
="/opt/android-sdk-linux_x86"
4672 aros_host_cpu
="i386"
4675 aros_host_cpu
="x86_64"
4678 aros_host_cpu
="m68k"
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4688 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4689 aros_host_cpu
="$host_cpu"
4695 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4696 aros_host_make
="gmake"
4697 aros_host_arch
="freebsd"
4698 aros_host_cpu
="i386"
4700 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4704 aros_object_format
="elf_i386"
4708 aros_object_format
="elf_i386_fbsd"
4715 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4716 aros_host_arch
="darwin"
4717 android_build_os
="darwin-x86"
4718 android_tool
="android"
4719 default_android_sdk
="/android-sdk-mac_x86"
4722 aros_host_cpu
="i386"
4725 aros_host_cpu
="x86_64"
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4732 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4733 aros_host_cpu
="$host_cpu"
4737 aros_host_ldflags
="$aros_host_ldflags -liconv"
4742 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4743 aros_host_make
="gmake"
4744 aros_host_arch
="dragonfly"
4747 aros_host_cpu
="i386"
4750 aros_host_cpu
="x86_64"
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4754 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4755 aros_host_cpu
="$host_cpu"
4761 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4762 aros_host_make
="gmake"
4763 aros_host_arch
="netbsd"
4766 aros_host_cpu
="i386"
4769 aros_host_cpu
="m68k"
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4773 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4774 aros_host_cpu
="$host_cpu"
4777 aros_host_lib_suffix
=".0.0"
4781 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4782 aros_host_make
="gmake"
4783 aros_host_arch
="openbsd"
4786 aros_host_cpu
="i386"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4790 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4791 aros_host_cpu
="$host_cpu"
4797 aros_host_arch
="solaris"
4798 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4801 aros_host_cpu
="i386"
4804 aros_host_cpu
="sparc"
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4808 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4809 aros_host_cpu
="$host_cpu"
4815 aros_host_arch
="morphos"
4820 aros_host_arch
="amiga"
4825 TOUCH
="/gg/bin/touch"
4828 aros_host_cpu
="m68k"
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4835 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4836 aros_host_cpu
="$host_cpu"
4842 aros_host_arch
="cygwin"
4843 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4844 android_build_os
="windows"
4845 android_tool
="android.bat"
4846 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4850 aros_host_cpu
="i386"
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4854 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4855 aros_host_cpu
="$host_cpu"
4861 aros_host_arch
="mingw32"
4862 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4863 android_build_os
="windows"
4864 android_tool
="android.bat"
4865 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4871 $as_echo_n "checking for Windows native gcc target... " >&6; }
4872 host_cpu
=`gcc -dumpmachine`
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4874 $as_echo "$host_cpu" >&6; }
4881 aros_host_cpu
="i386"
4885 aros_host_cpu
="i386"
4889 aros_host_cpu
="x86_64"
4890 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4895 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4896 aros_host_cpu
="$host_cpu"
4901 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4905 # Extract the first word of "ar", so it can be a program name with args.
4906 set dummy
ar; ac_word
=$2
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 $as_echo_n "checking for $ac_word... " >&6; }
4909 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4910 $as_echo_n "(cached) " >&6
4912 if test -n "$aros_host_ar"; then
4913 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir
=.
4920 for ac_exec_ext
in '' $ac_executable_extensions; do
4921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4922 ac_cv_prog_aros_host_ar
="ar cr"
4923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 aros_host_ar
=$ac_cv_prog_aros_host_ar
4933 if test -n "$aros_host_ar"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4935 $as_echo "$aros_host_ar" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4942 if test "$aros_host_ar" = ""; then
4943 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4945 # Extract the first word of "ranlib", so it can be a program name with args.
4946 set dummy ranlib
; ac_word
=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$aros_host_ranlib"; then
4953 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir
=.
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4962 ac_cv_prog_aros_host_ranlib
="ranlib "
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4973 if test -n "$aros_host_ranlib"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4975 $as_echo "$aros_host_ranlib" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4982 if test "$aros_host_ranlib" = ""; then
4983 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4985 # Extract the first word of "strip", so it can be a program name with args.
4986 set dummy strip
; ac_word
=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$aros_host_strip"; then
4993 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5002 ac_cv_prog_aros_host_strip
="strip "
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 aros_host_strip
=$ac_cv_prog_aros_host_strip
5013 if test -n "$aros_host_strip"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5015 $as_echo "$aros_host_strip" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5022 if test "$aros_host_strip" = ""; then
5023 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5026 # Extract the first word of "rm", so it can be a program name with args.
5027 set dummy
rm; ac_word
=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if ${ac_cv_prog_RM+:} false
; then :
5031 $as_echo_n "(cached) " >&6
5033 if test -n "$RM"; then
5034 ac_cv_prog_RM
="$RM" # Let the user override the test.
5036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5040 test -z "$as_dir" && as_dir
=.
5041 for ac_exec_ext
in '' $ac_executable_extensions; do
5042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5043 ac_cv_prog_RM
="rm -rf"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 if test -n "$RM"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5056 $as_echo "$RM" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5063 if test "$RM" = ""; then
5064 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5066 # Extract the first word of "cp", so it can be a program name with args.
5067 set dummy
cp; ac_word
=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if ${ac_cv_prog_CP+:} false
; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -n "$CP"; then
5074 ac_cv_prog_CP
="$CP" # Let the user override the test.
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_exec_ext
in '' $ac_executable_extensions; do
5082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 if test -n "$CP"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5096 $as_echo "$CP" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5103 if test "$CP" = ""; then
5104 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5106 # Extract the first word of "mv", so it can be a program name with args.
5107 set dummy
mv; ac_word
=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_MV+:} false
; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$MV"; then
5114 ac_cv_prog_MV
="$MV" # Let the user override the test.
5116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir
=.
5121 for ac_exec_ext
in '' $ac_executable_extensions; do
5122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 if test -n "$MV"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5136 $as_echo "$MV" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5143 if test "$MV" = ""; then
5144 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5146 # Extract the first word of "echo", so it can be a program name with args.
5147 set dummy
echo; ac_word
=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_ECHO+:} false
; then :
5151 $as_echo_n "(cached) " >&6
5153 if test -n "$ECHO"; then
5154 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5160 test -z "$as_dir" && as_dir
=.
5161 for ac_exec_ext
in '' $ac_executable_extensions; do
5162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5163 ac_cv_prog_ECHO
="echo "
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 ECHO
=$ac_cv_prog_ECHO
5174 if test -n "$ECHO"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5176 $as_echo "$ECHO" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 if test "$ECHO" = ""; then
5184 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5186 # Extract the first word of "mkdir", so it can be a program name with args.
5187 set dummy mkdir
; ac_word
=$2
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5189 $as_echo_n "checking for $ac_word... " >&6; }
5190 if ${ac_cv_prog_MKDIR+:} false
; then :
5191 $as_echo_n "(cached) " >&6
5193 if test -n "$MKDIR"; then
5194 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5200 test -z "$as_dir" && as_dir
=.
5201 for ac_exec_ext
in '' $ac_executable_extensions; do
5202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5203 ac_cv_prog_MKDIR
="mkdir -p"
5204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 MKDIR
=$ac_cv_prog_MKDIR
5214 if test -n "$MKDIR"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5216 $as_echo "$MKDIR" >&6; }
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5223 if test "$MKDIR" = ""; then
5224 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5226 # Extract the first word of "touch", so it can be a program name with args.
5227 set dummy
touch; ac_word
=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_TOUCH+:} false
; then :
5231 $as_echo_n "(cached) " >&6
5233 if test -n "$TOUCH"; then
5234 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir
=.
5241 for ac_exec_ext
in '' $ac_executable_extensions; do
5242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243 ac_cv_prog_TOUCH
="touch "
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 TOUCH
=$ac_cv_prog_TOUCH
5254 if test -n "$TOUCH"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5256 $as_echo "$TOUCH" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5263 if test "$TOUCH" = ""; then
5264 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5266 # Extract the first word of "sort", so it can be a program name with args.
5267 set dummy
sort; ac_word
=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if ${ac_cv_prog_SORT+:} false
; then :
5271 $as_echo_n "(cached) " >&6
5273 if test -n "$SORT"; then
5274 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir
=.
5281 for ac_exec_ext
in '' $ac_executable_extensions; do
5282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283 ac_cv_prog_SORT
="sort "
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 SORT
=$ac_cv_prog_SORT
5294 if test -n "$SORT"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5296 $as_echo "$SORT" >&6; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5303 if test "$SORT" = ""; then
5304 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5306 # Extract the first word of "uniq", so it can be a program name with args.
5307 set dummy
uniq; ac_word
=$2
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; }
5310 if ${ac_cv_prog_UNIQ+:} false
; then :
5311 $as_echo_n "(cached) " >&6
5313 if test -n "$UNIQ"; then
5314 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5320 test -z "$as_dir" && as_dir
=.
5321 for ac_exec_ext
in '' $ac_executable_extensions; do
5322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5323 ac_cv_prog_UNIQ
="uniq "
5324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 UNIQ
=$ac_cv_prog_UNIQ
5334 if test -n "$UNIQ"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5336 $as_echo "$UNIQ" >&6; }
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5343 if test "$UNIQ" = ""; then
5344 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5346 # Extract the first word of "true", so it can be a program name with args.
5347 set dummy true
; ac_word
=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if ${ac_cv_prog_NOP+:} false
; then :
5351 $as_echo_n "(cached) " >&6
5353 if test -n "$NOP"; then
5354 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5360 test -z "$as_dir" && as_dir
=.
5361 for ac_exec_ext
in '' $ac_executable_extensions; do
5362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5363 ac_cv_prog_NOP
="true "
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 if test -n "$NOP"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5376 $as_echo "$NOP" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5383 if test "$NOP" = ""; then
5384 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5386 # Extract the first word of "cat", so it can be a program name with args.
5387 set dummy
cat; ac_word
=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_CAT+:} false
; then :
5391 $as_echo_n "(cached) " >&6
5393 if test -n "$CAT"; then
5394 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5400 test -z "$as_dir" && as_dir
=.
5401 for ac_exec_ext
in '' $ac_executable_extensions; do
5402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5403 ac_cv_prog_CAT
="cat "
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 if test -n "$CAT"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5416 $as_echo "$CAT" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5423 if test "$CAT" = ""; then
5424 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5426 # Extract the first word of "bison", so it can be a program name with args.
5427 set dummy bison
; ac_word
=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_BISON+:} false
; then :
5431 $as_echo_n "(cached) " >&6
5433 if test -n "$BISON"; then
5434 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir
=.
5441 for ac_exec_ext
in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_BISON
="bison "
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 BISON
=$ac_cv_prog_BISON
5454 if test -n "$BISON"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5456 $as_echo "$BISON" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5463 if test "$BISON" = ""; then
5464 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5466 # Extract the first word of "flex", so it can be a program name with args.
5467 set dummy flex
; ac_word
=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_FLEX+:} false
; then :
5471 $as_echo_n "(cached) " >&6
5473 if test -n "$FLEX"; then
5474 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir
=.
5481 for ac_exec_ext
in '' $ac_executable_extensions; do
5482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483 ac_cv_prog_FLEX
="flex "
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 FLEX
=$ac_cv_prog_FLEX
5494 if test -n "$FLEX"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5496 $as_echo "$FLEX" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5503 if test "$FLEX" = ""; then
5504 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5506 # Extract the first word of "pngtopnm", so it can be a program name with args.
5507 set dummy pngtopnm
; ac_word
=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5511 $as_echo_n "(cached) " >&6
5513 if test -n "$PNGTOPNM"; then
5514 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir
=.
5521 for ac_exec_ext
in '' $ac_executable_extensions; do
5522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5523 ac_cv_prog_PNGTOPNM
="pngtopnm "
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5534 if test -n "$PNGTOPNM"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5536 $as_echo "$PNGTOPNM" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5543 if test "$PNGTOPNM" = ""; then
5544 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5546 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5547 set dummy ppmtoilbm
; ac_word
=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5551 $as_echo_n "(cached) " >&6
5553 if test -n "$PPMTOILBM"; then
5554 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5560 test -z "$as_dir" && as_dir
=.
5561 for ac_exec_ext
in '' $ac_executable_extensions; do
5562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5563 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5574 if test -n "$PPMTOILBM"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5576 $as_echo "$PPMTOILBM" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5583 if test "$PPMTOILBM" = ""; then
5584 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5586 # Extract the first word of "sed", so it can be a program name with args.
5587 set dummy
sed; ac_word
=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if ${ac_cv_prog_SED+:} false
; then :
5591 $as_echo_n "(cached) " >&6
5593 if test -n "$SED"; then
5594 ac_cv_prog_SED
="$SED" # Let the user override the test.
5596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir
=.
5601 for ac_exec_ext
in '' $ac_executable_extensions; do
5602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5603 ac_cv_prog_SED
="sed "
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 if test -n "$SED"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5616 $as_echo "$SED" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5623 if test "$SED" = ""; then
5624 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5626 # Extract the first word of "chmod", so it can be a program name with args.
5627 set dummy
chmod; ac_word
=$2
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5629 $as_echo_n "checking for $ac_word... " >&6; }
5630 if ${ac_cv_prog_CHMOD+:} false
; then :
5631 $as_echo_n "(cached) " >&6
5633 if test -n "$CHMOD"; then
5634 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5640 test -z "$as_dir" && as_dir
=.
5641 for ac_exec_ext
in '' $ac_executable_extensions; do
5642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 ac_cv_prog_CHMOD
="chmod "
5644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 CHMOD
=$ac_cv_prog_CHMOD
5654 if test -n "$CHMOD"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5656 $as_echo "$CHMOD" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659 $as_echo "no" >&6; }
5663 if test "$CHMOD" = ""; then
5664 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5666 # Extract the first word of "patch", so it can be a program name with args.
5667 set dummy
patch; ac_word
=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if ${ac_cv_prog_PATCH+:} false
; then :
5671 $as_echo_n "(cached) " >&6
5673 if test -n "$PATCH"; then
5674 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5680 test -z "$as_dir" && as_dir
=.
5681 for ac_exec_ext
in '' $ac_executable_extensions; do
5682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5683 ac_cv_prog_PATCH
="patch "
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 PATCH
=$ac_cv_prog_PATCH
5694 if test -n "$PATCH"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5696 $as_echo "$PATCH" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5703 if test "$PATCH" = ""; then
5704 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5711 if test -n "$PYTHON"; then
5712 # If the user set $PYTHON, use it and don't search something else.
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5714 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5715 prog
="import sys, string
5716 # split strings by '.' and convert to numeric. Append some zeros
5717 # because we need at least 4 digits for the hex conversion.
5718 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5720 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5721 sys.exit(sys.hexversion < minverhex)"
5722 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5723 ($PYTHON -c "$prog") >&5 2>&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; then :
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5728 $as_echo "yes" >&6; }
5730 as_fn_error $?
"too old" "$LINENO" 5
5732 am_display_PYTHON
=$PYTHON
5734 # Otherwise, try each interpreter until we find one that satisfies
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5737 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5738 if ${am_cv_pathless_PYTHON+:} false
; then :
5739 $as_echo_n "(cached) " >&6
5742 for am_cv_pathless_PYTHON
in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none
; do
5743 test "$am_cv_pathless_PYTHON" = none
&& break
5744 prog
="import sys, string
5745 # split strings by '.' and convert to numeric. Append some zeros
5746 # because we need at least 4 digits for the hex conversion.
5747 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5749 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5750 sys.exit(sys.hexversion < minverhex)"
5751 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5752 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); }; then :
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5761 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5762 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5763 if test "$am_cv_pathless_PYTHON" = none
; then
5766 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5767 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_path_PYTHON+:} false
; then :
5771 $as_echo_n "(cached) " >&6
5775 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5782 test -z "$as_dir" && as_dir
=.
5783 for ac_exec_ext
in '' $ac_executable_extensions; do
5784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5785 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 PYTHON
=$ac_cv_path_PYTHON
5797 if test -n "$PYTHON"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5799 $as_echo "$PYTHON" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5807 am_display_PYTHON
=$am_cv_pathless_PYTHON
5811 if test "$PYTHON" = :; then
5812 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5817 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5818 if ${am_cv_python_version+:} false
; then :
5819 $as_echo_n "(cached) " >&6
5821 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5824 $as_echo "$am_cv_python_version" >&6; }
5825 PYTHON_VERSION
=$am_cv_python_version
5829 PYTHON_PREFIX
='${prefix}'
5831 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5836 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5837 if ${am_cv_python_platform+:} false
; then :
5838 $as_echo_n "(cached) " >&6
5840 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5843 $as_echo "$am_cv_python_platform" >&6; }
5844 PYTHON_PLATFORM
=$am_cv_python_platform
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5850 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5851 if ${am_cv_python_pythondir+:} false
; then :
5852 $as_echo_n "(cached) " >&6
5854 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5855 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5858 $as_echo "$am_cv_python_pythondir" >&6; }
5859 pythondir
=$am_cv_python_pythondir
5863 pkgpythondir
=\
${pythondir}/$PACKAGE
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5867 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5868 if ${am_cv_python_pyexecdir+:} false
; then :
5869 $as_echo_n "(cached) " >&6
5871 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5872 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5875 $as_echo "$am_cv_python_pyexecdir" >&6; }
5876 pyexecdir
=$am_cv_python_pyexecdir
5880 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5898 # Check for some includes for the X11 HIDD and the kernel
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5902 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5903 if ${ac_cv_path_GREP+:} false
; then :
5904 $as_echo_n "(cached) " >&6
5906 if test -z "$GREP"; then
5907 ac_path_GREP_found
=false
5908 # Loop through the user's path and test for each of PROGNAME-LIST
5909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5910 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5913 test -z "$as_dir" && as_dir
=.
5914 for ac_prog
in grep ggrep
; do
5915 for ac_exec_ext
in '' $ac_executable_extensions; do
5916 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5917 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5918 # Check for GNU ac_path_GREP and select it if it is found.
5919 # Check for GNU $ac_path_GREP
5920 case `"$ac_path_GREP" --version 2>&1` in
5922 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5925 $as_echo_n 0123456789 >"conftest.in"
5928 cat "conftest.in" "conftest.in" >"conftest.tmp"
5929 mv "conftest.tmp" "conftest.in"
5930 cp "conftest.in" "conftest.nl"
5931 $as_echo 'GREP' >> "conftest.nl"
5932 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5933 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5934 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5935 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5936 # Best one so far, save it but keep looking for a better one
5937 ac_cv_path_GREP
="$ac_path_GREP"
5938 ac_path_GREP_max
=$ac_count
5940 # 10*(2^10) chars as input seems more than enough
5941 test $ac_count -gt 10 && break
5943 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5946 $ac_path_GREP_found && break 3
5951 if test -z "$ac_cv_path_GREP"; then
5952 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5955 ac_cv_path_GREP
=$GREP
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5960 $as_echo "$ac_cv_path_GREP" >&6; }
5961 GREP
="$ac_cv_path_GREP"
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5965 $as_echo_n "checking for egrep... " >&6; }
5966 if ${ac_cv_path_EGREP+:} false
; then :
5967 $as_echo_n "(cached) " >&6
5969 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5970 then ac_cv_path_EGREP
="$GREP -E"
5972 if test -z "$EGREP"; then
5973 ac_path_EGREP_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 egrep; do
5981 for ac_exec_ext
in '' $ac_executable_extensions; do
5982 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5983 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5984 # Check for GNU ac_path_EGREP and select it if it is found.
5985 # Check for GNU $ac_path_EGREP
5986 case `"$ac_path_EGREP" --version 2>&1` in
5988 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_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 'EGREP' >> "conftest.nl"
5998 "$ac_path_EGREP" 'EGREP$' < "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_EGREP_max-0}; then
6002 # Best one so far, save it but keep looking for a better one
6003 ac_cv_path_EGREP
="$ac_path_EGREP"
6004 ac_path_EGREP_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_EGREP_found && break 3
6017 if test -z "$ac_cv_path_EGREP"; then
6018 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6021 ac_cv_path_EGREP
=$EGREP
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6027 $as_echo "$ac_cv_path_EGREP" >&6; }
6028 EGREP
="$ac_cv_path_EGREP"
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6032 $as_echo_n "checking for ANSI C header files... " >&6; }
6033 if ${ac_cv_header_stdc+:} false
; then :
6034 $as_echo_n "(cached) " >&6
6036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6037 /* end confdefs.h. */
6051 if ac_fn_c_try_compile
"$LINENO"; then :
6052 ac_cv_header_stdc
=yes
6054 ac_cv_header_stdc
=no
6056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6058 if test $ac_cv_header_stdc = yes; then
6059 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6066 $EGREP "memchr" >/dev
/null
2>&1; then :
6069 ac_cv_header_stdc
=no
6075 if test $ac_cv_header_stdc = yes; then
6076 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6078 /* end confdefs.h. */
6082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6083 $EGREP "free" >/dev
/null
2>&1; then :
6086 ac_cv_header_stdc
=no
6092 if test $ac_cv_header_stdc = yes; then
6093 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6094 if test "$cross_compiling" = yes; then :
6097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h. */
6101 #if ((' ' & 0x0FF) == 0x020)
6102 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6103 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6105 # define ISLOWER(c) \
6106 (('a' <= (c) && (c) <= 'i') \
6107 || ('j' <= (c) && (c) <= 'r') \
6108 || ('s' <= (c) && (c) <= 'z'))
6109 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6112 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6117 for (i = 0; i < 256; i++)
6118 if (XOR (islower (i), ISLOWER (i))
6119 || toupper (i) != TOUPPER (i))
6124 if ac_fn_c_try_run
"$LINENO"; then :
6127 ac_cv_header_stdc
=no
6129 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6130 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6136 $as_echo "$ac_cv_header_stdc" >&6; }
6137 if test $ac_cv_header_stdc = yes; then
6139 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6143 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6144 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6145 inttypes.h stdint.h unistd.h
6147 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6148 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6150 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6151 cat >>confdefs.h
<<_ACEOF
6152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6160 for ac_header
in sys
/ipc.h sys
/shm.h \
6161 sys
/mmap.h sys
/mman.h sysexits.h \
6162 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6165 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6166 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6167 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6168 cat >>confdefs.h
<<_ACEOF
6169 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6177 for ac_header
in sys
/mount.h
6179 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6181 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6182 cat >>confdefs.h
<<_ACEOF
6183 #define HAVE_SYS_MOUNT_H 1
6192 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6193 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6195 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6196 if eval \
${$as_ac_Header+:} false
; then :
6197 $as_echo_n "(cached) " >&6
6199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6201 #include <sys/types.h>
6213 if ac_fn_c_try_compile
"$LINENO"; then :
6214 eval "$as_ac_Header=yes"
6216 eval "$as_ac_Header=no"
6218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6220 eval ac_res
=\$
$as_ac_Header
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6222 $as_echo "$ac_res" >&6; }
6223 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6224 cat >>confdefs.h
<<_ACEOF
6225 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6228 ac_header_dirent
=$ac_hdr; break
6232 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6233 if test $ac_header_dirent = dirent.h
; then
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6235 $as_echo_n "checking for library containing opendir... " >&6; }
6236 if ${ac_cv_search_opendir+:} false
; then :
6237 $as_echo_n "(cached) " >&6
6239 ac_func_search_save_LIBS
=$LIBS
6240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6243 /* Override any GCC internal prototype to avoid an error.
6244 Use char because int might match the return type of a GCC
6245 builtin and then its argument prototype would still apply. */
6258 for ac_lib
in '' dir
; do
6259 if test -z "$ac_lib"; then
6260 ac_res
="none required"
6263 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6265 if ac_fn_c_try_link
"$LINENO"; then :
6266 ac_cv_search_opendir
=$ac_res
6268 rm -f core conftest.err conftest.
$ac_objext \
6270 if ${ac_cv_search_opendir+:} false
; then :
6274 if ${ac_cv_search_opendir+:} false
; then :
6277 ac_cv_search_opendir
=no
6280 LIBS
=$ac_func_search_save_LIBS
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6283 $as_echo "$ac_cv_search_opendir" >&6; }
6284 ac_res
=$ac_cv_search_opendir
6285 if test "$ac_res" != no
; then :
6286 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6292 $as_echo_n "checking for library containing opendir... " >&6; }
6293 if ${ac_cv_search_opendir+:} false
; then :
6294 $as_echo_n "(cached) " >&6
6296 ac_func_search_save_LIBS
=$LIBS
6297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6300 /* Override any GCC internal prototype to avoid an error.
6301 Use char because int might match the return type of a GCC
6302 builtin and then its argument prototype would still apply. */
6315 for ac_lib
in '' x
; do
6316 if test -z "$ac_lib"; then
6317 ac_res
="none required"
6320 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6322 if ac_fn_c_try_link
"$LINENO"; then :
6323 ac_cv_search_opendir
=$ac_res
6325 rm -f core conftest.err conftest.
$ac_objext \
6327 if ${ac_cv_search_opendir+:} false
; then :
6331 if ${ac_cv_search_opendir+:} false
; then :
6334 ac_cv_search_opendir
=no
6337 LIBS
=$ac_func_search_save_LIBS
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6340 $as_echo "$ac_cv_search_opendir" >&6; }
6341 ac_res
=$ac_cv_search_opendir
6342 if test "$ac_res" != no
; then :
6343 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6350 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6351 if ${ac_cv_header_stat_broken+:} false
; then :
6352 $as_echo_n "(cached) " >&6
6354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6356 #include <sys/types.h>
6357 #include <sys/stat.h>
6359 #if defined S_ISBLK && defined S_IFDIR
6360 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6363 #if defined S_ISBLK && defined S_IFCHR
6364 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6367 #if defined S_ISLNK && defined S_IFREG
6368 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6371 #if defined S_ISSOCK && defined S_IFREG
6372 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6376 if ac_fn_c_try_compile
"$LINENO"; then :
6377 ac_cv_header_stat_broken
=no
6379 ac_cv_header_stat_broken
=yes
6381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6384 $as_echo "$ac_cv_header_stat_broken" >&6; }
6385 if test $ac_cv_header_stat_broken = yes; then
6387 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6392 $as_echo_n "checking for ANSI C header files... " >&6; }
6393 if ${ac_cv_header_stdc+:} false
; then :
6394 $as_echo_n "(cached) " >&6
6396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6411 if ac_fn_c_try_compile
"$LINENO"; then :
6412 ac_cv_header_stdc
=yes
6414 ac_cv_header_stdc
=no
6416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6418 if test $ac_cv_header_stdc = yes; then
6419 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6421 /* end confdefs.h. */
6425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6426 $EGREP "memchr" >/dev
/null
2>&1; then :
6429 ac_cv_header_stdc
=no
6435 if test $ac_cv_header_stdc = yes; then
6436 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6443 $EGREP "free" >/dev
/null
2>&1; then :
6446 ac_cv_header_stdc
=no
6452 if test $ac_cv_header_stdc = yes; then
6453 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6454 if test "$cross_compiling" = yes; then :
6457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6461 #if ((' ' & 0x0FF) == 0x020)
6462 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6463 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6465 # define ISLOWER(c) \
6466 (('a' <= (c) && (c) <= 'i') \
6467 || ('j' <= (c) && (c) <= 'r') \
6468 || ('s' <= (c) && (c) <= 'z'))
6469 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6472 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6477 for (i = 0; i < 256; i++)
6478 if (XOR (islower (i), ISLOWER (i))
6479 || toupper (i) != TOUPPER (i))
6484 if ac_fn_c_try_run
"$LINENO"; then :
6487 ac_cv_header_stdc
=no
6489 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6490 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6496 $as_echo "$ac_cv_header_stdc" >&6; }
6497 if test $ac_cv_header_stdc = yes; then
6499 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6504 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6505 if ${ac_cv_header_sys_wait_h+:} false
; then :
6506 $as_echo_n "(cached) " >&6
6508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6510 #include <sys/types.h>
6511 #include <sys/wait.h>
6513 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6516 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6524 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6529 if ac_fn_c_try_compile
"$LINENO"; then :
6530 ac_cv_header_sys_wait_h
=yes
6532 ac_cv_header_sys_wait_h
=no
6534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6537 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6538 if test $ac_cv_header_sys_wait_h = yes; then
6540 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6545 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6546 if ${ac_cv_header_time+:} false
; then :
6547 $as_echo_n "(cached) " >&6
6549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6550 /* end confdefs.h. */
6551 #include <sys/types.h>
6552 #include <sys/time.h>
6558 if ((struct tm *) 0)
6564 if ac_fn_c_try_compile
"$LINENO"; then :
6565 ac_cv_header_time
=yes
6567 ac_cv_header_time
=no
6569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6572 $as_echo "$ac_cv_header_time" >&6; }
6573 if test $ac_cv_header_time = yes; then
6575 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6579 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6580 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6582 cat >>confdefs.h
<<_ACEOF
6583 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6587 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6592 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6593 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6595 cat >>confdefs.h
<<_ACEOF
6596 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6600 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6603 case " $LIBOBJS " in
6604 *" fileblocks.$ac_objext "* ) ;;
6605 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6612 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6613 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6615 cat >>confdefs.h
<<_ACEOF
6616 #define HAVE_STRUCT_STAT_ST_RDEV 1
6620 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6626 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6627 if ${ac_cv_struct_tm+:} false
; then :
6628 $as_echo_n "(cached) " >&6
6630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6632 #include <sys/types.h>
6639 int *p = &tm.tm_sec;
6645 if ac_fn_c_try_compile
"$LINENO"; then :
6646 ac_cv_struct_tm
=time.h
6648 ac_cv_struct_tm
=sys
/time.h
6650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6653 $as_echo "$ac_cv_struct_tm" >&6; }
6654 if test $ac_cv_struct_tm = sys
/time.h
; then
6656 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6660 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6661 #include <$ac_cv_struct_tm>
6664 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6666 cat >>confdefs.h
<<_ACEOF
6667 #define HAVE_STRUCT_TM_TM_ZONE 1
6673 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6675 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6678 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6680 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6686 cat >>confdefs.h
<<_ACEOF
6687 #define HAVE_DECL_TZNAME $ac_have_decl
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6691 $as_echo_n "checking for tzname... " >&6; }
6692 if ${ac_cv_var_tzname+:} false
; then :
6693 $as_echo_n "(cached) " >&6
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6698 #if !HAVE_DECL_TZNAME
6699 extern char *tzname[];
6705 return tzname[0][0];
6710 if ac_fn_c_try_link
"$LINENO"; then :
6711 ac_cv_var_tzname
=yes
6715 rm -f core conftest.err conftest.
$ac_objext \
6716 conftest
$ac_exeext conftest.
$ac_ext
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6719 $as_echo "$ac_cv_var_tzname" >&6; }
6720 if test $ac_cv_var_tzname = yes; then
6722 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6727 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6728 if test "x$ac_cv_type_off_t" = xyes
; then :
6732 cat >>confdefs.h
<<_ACEOF
6733 #define off_t long int
6738 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6739 if test "x$ac_cv_type_pid_t" = xyes
; then :
6743 cat >>confdefs.h
<<_ACEOF
6749 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6750 if test "x$ac_cv_type_size_t" = xyes
; then :
6754 cat >>confdefs.h
<<_ACEOF
6755 #define size_t unsigned int
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6761 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6762 if ${ac_cv_type_uid_t+:} false
; then :
6763 $as_echo_n "(cached) " >&6
6765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6767 #include <sys/types.h>
6770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6771 $EGREP "uid_t" >/dev
/null
2>&1; then :
6772 ac_cv_type_uid_t
=yes
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6780 $as_echo "$ac_cv_type_uid_t" >&6; }
6781 if test $ac_cv_type_uid_t = no
; then
6783 $as_echo "#define uid_t int" >>confdefs.h
6786 $as_echo "#define gid_t int" >>confdefs.h
6791 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6792 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6794 cat >>confdefs.h
<<_ACEOF
6795 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6802 # Look for some functions
6803 for ac_func
in getpagesize kqueue statfs statvfs \
6804 clone kse_create rfork_thread thr_create sa_register \
6805 getcontext makecontext setcontext sigaltstack swapcontext
6807 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6808 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6809 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6810 cat >>confdefs.h
<<_ACEOF
6811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6821 for ac_header
in $ac_header_list
6823 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6824 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6826 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6827 cat >>confdefs.h
<<_ACEOF
6828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6842 for ac_func
in getpagesize
6844 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6845 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6846 cat >>confdefs.h
<<_ACEOF
6847 #define HAVE_GETPAGESIZE 1
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6854 $as_echo_n "checking for working mmap... " >&6; }
6855 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6856 $as_echo_n "(cached) " >&6
6858 if test "$cross_compiling" = yes; then :
6859 ac_cv_func_mmap_fixed_mapped
=no
6861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6862 /* end confdefs.h. */
6863 $ac_includes_default
6864 /* malloc might have been renamed as rpl_malloc. */
6867 /* Thanks to Mike Haertel and Jim Avera for this test.
6868 Here is a matrix of mmap possibilities:
6869 mmap private not fixed
6870 mmap private fixed at somewhere currently unmapped
6871 mmap private fixed at somewhere already mapped
6872 mmap shared not fixed
6873 mmap shared fixed at somewhere currently unmapped
6874 mmap shared fixed at somewhere already mapped
6875 For private mappings, we should verify that changes cannot be read()
6876 back from the file, nor mmap's back from the file at a different
6877 address. (There have been systems where private was not correctly
6878 implemented like the infamous i386 svr4.0, and systems where the
6879 VM page cache was not coherent with the file system buffer cache
6880 like early versions of FreeBSD and possibly contemporary NetBSD.)
6881 For shared mappings, we should conversely verify that changes get
6882 propagated back to all the places they're supposed to be.
6884 Grep wants private fixed already mapped.
6885 The main things grep needs to know about mmap are:
6886 * does it exist and is it safe to write into the mmap'd area
6887 * how to use it (BSD variants) */
6890 #include <sys/mman.h>
6892 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6896 /* This mess was copied from the GNU getpagesize.h. */
6897 #ifndef HAVE_GETPAGESIZE
6898 # ifdef _SC_PAGESIZE
6899 # define getpagesize() sysconf(_SC_PAGESIZE)
6900 # else /* no _SC_PAGESIZE */
6901 # ifdef HAVE_SYS_PARAM_H
6902 # include <sys/param.h>
6903 # ifdef EXEC_PAGESIZE
6904 # define getpagesize() EXEC_PAGESIZE
6905 # else /* no EXEC_PAGESIZE */
6907 # define getpagesize() NBPG * CLSIZE
6910 # endif /* no CLSIZE */
6911 # else /* no NBPG */
6913 # define getpagesize() NBPC
6914 # else /* no NBPC */
6916 # define getpagesize() PAGESIZE
6917 # endif /* PAGESIZE */
6918 # endif /* no NBPC */
6919 # endif /* no NBPG */
6920 # endif /* no EXEC_PAGESIZE */
6921 # else /* no HAVE_SYS_PARAM_H */
6922 # define getpagesize() 8192 /* punt totally */
6923 # endif /* no HAVE_SYS_PARAM_H */
6924 # endif /* no _SC_PAGESIZE */
6926 #endif /* no HAVE_GETPAGESIZE */
6931 char *data, *data2, *data3;
6936 pagesize = getpagesize ();
6938 /* First, make a file with some known garbage in it. */
6939 data = (char *) malloc (pagesize);
6942 for (i = 0; i < pagesize; ++i)
6943 *(data + i) = rand ();
6945 fd = creat ("conftest.mmap", 0600);
6948 if (write (fd, data, pagesize) != pagesize)
6952 /* Next, check that the tail of a page is zero-filled. File must have
6953 non-zero length, otherwise we risk SIGBUS for entire page. */
6954 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6958 if (write (fd2, cdata2, 1) != 1)
6960 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6961 if (data2 == MAP_FAILED)
6963 for (i = 0; i < pagesize; ++i)
6967 if (munmap (data2, pagesize))
6970 /* Next, try to mmap the file at a fixed address which already has
6971 something else allocated at it. If we can, also make sure that
6972 we see the same garbage. */
6973 fd = open ("conftest.mmap", O_RDWR);
6976 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6977 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6979 for (i = 0; i < pagesize; ++i)
6980 if (*(data + i) != *(data2 + i))
6983 /* Finally, make sure that changes to the mapped area do not
6984 percolate back to the file as seen by read(). (This is a bug on
6985 some variants of i386 svr4.0.) */
6986 for (i = 0; i < pagesize; ++i)
6987 *(data2 + i) = *(data2 + i) + 1;
6988 data3 = (char *) malloc (pagesize);
6991 if (read (fd, data3, pagesize) != pagesize)
6993 for (i = 0; i < pagesize; ++i)
6994 if (*(data + i) != *(data3 + i))
7000 if ac_fn_c_try_run
"$LINENO"; then :
7001 ac_cv_func_mmap_fixed_mapped
=yes
7003 ac_cv_func_mmap_fixed_mapped
=no
7005 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7006 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7011 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7012 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7014 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7017 rm -f conftest.mmap conftest.txt
7022 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7023 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7024 aros_config_ldflags
=""
7026 aros_shared_default
=yes
7028 aros_shared_cflags
="-fPIC"
7029 aros_shared_aflags
=""
7030 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7031 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7033 aros_kernel_ar_flags
="cr"
7034 aros_target_ar_flags
="cr"
7035 aros_target_nm_flags
="-C -ul"
7036 aros_target_strip_flags
="--strip-unneeded -R.comment"
7041 aros_target_genmap
="-Wl,-Map -Xlinker"
7043 # Native flavour stuff
7044 aros_serial_debug
="0"
7046 # Palm native flavour stuff
7047 aros_palm_debug_hack
="0"
7049 # Unix flavour stuff
7050 aros_nesting_supervisor
="0"
7052 # Collect-aros stuff: "-ius" to ignore undefined symbols
7053 ignore_undefined_symbols
=""
7055 # Check for X11 by default
7058 # Leave at 'none' for no external toolchain
7059 kernel_tool_prefix
="none"
7061 #-----------------------------------------------------------------------------
7064 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7065 # it switched on by default, and we use the host compiler, so it compiles AROS
7066 # code with this enabled resulting in link failures as we don't have support
7069 # We use two methods to disable it. For the host compiler (used to compile
7070 # some hosted modules), we test to see if the compiler supports stack
7071 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7072 # work on all platforms.
7074 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7075 # (this is done unconditionally, as it should have no effect on compilers
7076 # without the stack protection feature). This may be specific to the way that
7077 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7078 # strong enough to disable it in a generic way though, so we'll live with it
7079 # until another vendor ships GCC with it enabled in a different way, and deal
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7084 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7085 save_cflags
="$CFLAGS"
7086 CFLAGS
="$CFLAGS -fno-stack-protector"
7087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7098 if ac_fn_c_try_compile
"$LINENO"; then :
7099 use_no_stack_protector
="yes"
7101 use_no_stack_protector
="no"
7103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7105 $as_echo "$use_no_stack_protector" >&6; }
7106 if test "x-$use_no_stack_protector" = "x-yes" ; then
7107 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7109 CFLAGS
="$save_cflags"
7111 #-----------------------------------------------------------------------------
7113 # Disable pointer-signedness warnings if the compiler recognises the option
7114 # (this only works for the host compiler at the moment)
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7117 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7118 save_cflags
="$CFLAGS"
7119 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7131 if ac_fn_c_try_compile
"$LINENO"; then :
7132 use_no_sign_warning
="yes"
7134 use_no_sign_warning
="no"
7136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7138 $as_echo "$use_no_sign_warning" >&6; }
7139 if test "x-$use_no_sign_warning" = "x-yes" ; then
7140 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7142 CFLAGS
="$save_cflags"
7144 #-----------------------------------------------------------------------------
7146 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7149 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7150 save_cflags
="$CFLAGS"
7151 CFLAGS
="$CFLAGS -fgnu89-inline"
7152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7153 /* end confdefs.h. */
7163 if ac_fn_c_try_compile
"$LINENO"; then :
7164 use_gnu89_inline
="yes"
7166 use_gnu89_inline
="no"
7168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7170 $as_echo "$use_gnu89_inline" >&6; }
7171 if test "x-$use_gnu89_inline" = "x-yes" ; then
7172 gnu89_inline
="-fgnu89-inline"
7174 CFLAGS
="$save_cflags"
7176 #-----------------------------------------------------------------------------
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7179 $as_echo_n "checking for type of build... " >&6; }
7180 # Check whether --enable-build_type was given.
7181 if test "${enable_build_type+set}" = set; then :
7182 enableval
=$enable_build_type; build_type
=$enableval
7184 build_type
="personal"
7188 if test "$build_type" = "nightly"; then
7189 build_type_string
="NIGHTLY"
7190 elif test "$build_type" = "snapshot"; then
7191 build_type_string
="SNAPSHOT"
7192 elif test "$build_type" = "milestone"; then
7193 build_type_string
="MILESTONE"
7194 elif test "$build_type" = "release"; then
7195 build_type_string
="RELEASE"
7197 build_type_string
="PERSONAL"
7198 build_type
="personal"
7201 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7204 $as_echo "$build_type" >&6; }
7206 #-----------------------------------------------------------------------------
7207 all_debug_types
="messages stack modules mungwall symbols"
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7210 $as_echo_n "checking which debug types to enable... " >&6; }
7211 # Check whether --enable-debug was given.
7212 if test "${enable_debug+set}" = set; then :
7213 enableval
=$enable_debug; debug
="$enableval"
7219 if test "$debug" = "" -o "$debug" = "no"; then
7221 elif test "$debug" = "yes"; then
7225 if test "$debug" = "all" ; then
7226 debug
="messages stack modules symbols"
7227 for d
in $all_debug_types; do
7228 export aros_
${d}_debug
="1"
7231 for d
in $all_debug_types; do
7232 export aros_
${d}_debug
="0"
7236 if test "$debug" != "none"; then
7237 debug
=`echo $debug | sed s/,/\ /g`
7240 for d2
in $all_debug_types; do
7241 if test "$d2" = "$d"; then
7246 if test "$found" = "0"; then
7247 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7249 export aros_
${d}_debug
="1"
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7254 $as_echo "$debug" >&6; }
7256 if test "$aros_messages_debug" = "1"; then
7257 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7259 aros_messages_debug
=""
7261 if test "$aros_symbols_debug" = "1"; then
7262 aros_symbols_debug
="-g"
7264 aros_symbols_debug
=""
7267 # These are the flags to pass when compiling debugged programs
7268 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7269 aros_debug_aflags
=""
7270 aros_debug_ldflags
="$aros_symbols_debug"
7272 #-----------------------------------------------------------------------------
7273 # Checking if we should build crosstools..
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
7275 $as_echo_n "checking whether to build crosstools... " >&6; }
7276 # Check whether --enable-crosstools was given.
7277 if test "${enable_crosstools+set}" = set; then :
7278 enableval
=$enable_crosstools; crosstools
="$enableval"
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
7284 $as_echo "$crosstools" >&6; }
7286 #-----------------------------------------------------------------------------
7287 # Checking for distcc and ccache.
7289 # Always apply the transforms in this particular order. Basically you should
7290 # always run 'ccache distcc compiler' in that order for the best performance.
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7293 $as_echo_n "checking whether to enable distcc... " >&6; }
7294 # Check whether --enable-distcc was given.
7295 if test "${enable_distcc+set}" = set; then :
7296 enableval
=$enable_distcc; distcc
="$enableval"
7301 if test "$distcc" != "" -a "$distcc" != "no"; then
7302 # AC_CHECK_PROG will print out the result in this case
7303 # Extract the first word of "distcc", so it can be a program name with args.
7304 set dummy distcc
; ac_word
=$2
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306 $as_echo_n "checking for $ac_word... " >&6; }
7307 if ${ac_cv_path_DISTCC+:} false
; then :
7308 $as_echo_n "(cached) " >&6
7312 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7319 test -z "$as_dir" && as_dir
=.
7320 for ac_exec_ext
in '' $ac_executable_extensions; do
7321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7322 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7330 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7334 DISTCC
=$ac_cv_path_DISTCC
7335 if test -n "$DISTCC"; then
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7337 $as_echo "$DISTCC" >&6; }
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 $as_echo "no" >&6; }
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7350 $as_echo_n "checking whether to enable ccache... " >&6; }
7351 # Check whether --enable-ccache was given.
7352 if test "${enable_ccache+set}" = set; then :
7353 enableval
=$enable_ccache; ccache
="$enableval"
7358 if test "$ccache" != "" -a "$ccache" != "no"; then
7359 # AC_CHECK_PROG will print out the result in this case
7360 # Extract the first word of "ccache", so it can be a program name with args.
7361 set dummy ccache
; ac_word
=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if ${ac_cv_prog_CCACHE+:} false
; then :
7365 $as_echo_n "(cached) " >&6
7367 if test -n "$CCACHE"; then
7368 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir
=.
7375 for ac_exec_ext
in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_CCACHE
="ccache"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387 CCACHE
=$ac_cv_prog_CCACHE
7388 if test -n "$CCACHE"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7390 $as_echo "$CCACHE" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7399 $as_echo "no" >&6; }
7402 #-----------------------------------------------------------------------------
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7404 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7406 # Check whether --with-gcc-version was given.
7407 if test "${with_gcc_version+set}" = set; then :
7408 withval
=$with_gcc_version; kernel_tool_version
="$withval"
7410 kernel_tool_version
="default"
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7414 $as_echo "$kernel_tool_version" >&6; }
7416 #-----------------------------------------------------------------------------
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7418 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7420 # Check whether --with-gcc-version was given.
7421 if test "${with_gcc_version+set}" = set; then :
7422 withval
=$with_gcc_version; target_tool_version
="$withval"
7424 target_tool_version
="default"
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7428 $as_echo "$target_tool_version" >&6; }
7430 #-----------------------------------------------------------------------------
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7432 $as_echo_n "checking what optimization flags to use... " >&6; }
7434 # Check whether --with-optimization was given.
7435 if test "${with_optimization+set}" = set; then :
7436 withval
=$with_optimization; optimization
="$withval"
7438 optimization
="unknown"
7441 if test "$optimization" = "unknown"; then
7442 if test "$debug" != "none"; then
7448 aros_config_cflags
="$aros_config_cflags $optimization"
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7450 $as_echo "$optimization" >&6; }
7452 #-----------------------------------------------------------------------------
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7454 $as_echo_n "checking what paranoia flags to use... " >&6; }
7456 # Check whether --with-paranoia was given.
7457 if test "${with_paranoia+set}" = set; then :
7458 withval
=$with_paranoia; paranoia_flags
="$withval"
7460 paranoia_flags
="default"
7463 if test "$paranoia_flags" = "default"; then
7465 else if test "$paranoia_flags" = "yes"; then
7466 paranoia_flags
="-Wall -Werror"
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7469 $as_echo "$paranoia_flags" >&6; }
7470 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7472 #-----------------------------------------------------------------------------
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7474 $as_echo_n "checking what target variant to enable... " >&6; }
7475 # Check whether --enable-target_variant was given.
7476 if test "${enable_target_variant+set}" = set; then :
7477 enableval
=$enable_target_variant; target_variant
=$enableval
7482 if test "$target_variant" = ""; then
7483 aros_target_variant
=""
7484 aros_target_suffix
=""
7487 aros_target_variant
="$target_variant"
7488 aros_target_suffix
="-$target_variant"
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7491 $as_echo "$enableval" >&6; }
7493 #-----------------------------------------------------------------------------
7494 # Target-specific defaults. You can override then on a per-target basis.
7496 # Bootloader name. Currently used by PC target.
7497 target_bootloader
="none"
7499 #-----------------------------------------------------------------------------
7500 # Additional options for some specific targets
7502 case "$aros_target_variant" in
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7505 $as_echo_n "checking XCode path... " >&6; }
7507 # Check whether --with-xcode was given.
7508 if test "${with_xcode+set}" = set; then :
7509 withval
=$with_xcode; aros_xcode_path
="$withval"
7511 aros_xcode_path
="/Developer"
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7515 $as_echo "$aros_xcode_path" >&6; }
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7518 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7520 # Check whether --with-sdk-version was given.
7521 if test "${with_sdk_version+set}" = set; then :
7522 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7524 aros_sdk_version
="4.1"
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7528 $as_echo "$aros_sdk_version" >&6; }
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7534 $as_echo_n "checking Android SDK path... " >&6; }
7536 # Check whether --with-sdk was given.
7537 if test "${with_sdk+set}" = set; then :
7538 withval
=$with_sdk; aros_android_sdk
="$withval"
7540 aros_android_sdk
=$default_android_sdk
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7544 $as_echo "$aros_android_sdk" >&6; }
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7547 $as_echo_n "checking Android NDK path... " >&6; }
7549 # Check whether --with-ndk was given.
7550 if test "${with_ndk+set}" = set; then :
7551 withval
=$with_ndk; aros_android_ndk
="$withval"
7553 aros_android_ndk
="none"
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7557 $as_echo "$aros_android_ndk" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7560 $as_echo_n "checking what Android SDK version to use... " >&6; }
7562 # Check whether --with-sdk-version was given.
7563 if test "${with_sdk_version+set}" = set; then :
7564 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7566 aros_sdk_version
="12"
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7570 $as_echo "$aros_sdk_version" >&6; }
7572 if test "$aros_android_ndk" != "none"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7574 $as_echo_n "checking what Android NDK version to use... " >&6; }
7576 # Check whether --with-ndk-version was given.
7577 if test "${with_ndk_version+set}" = set; then :
7578 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7580 aros_ndk_version
="9"
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7584 $as_echo "$aros_ndk_version" >&6; }
7587 export PATH
="$aros_android_sdk/tools:$PATH"
7588 # Extract the first word of "$android_tool", so it can be a program name with args.
7589 set dummy
$android_tool; ac_word
=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_path_android_tool+:} false
; then :
7593 $as_echo_n "(cached) " >&6
7595 case $android_tool in
7597 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7604 test -z "$as_dir" && as_dir
=.
7605 for ac_exec_ext
in '' $ac_executable_extensions; do
7606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7607 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 android_tool
=$ac_cv_path_android_tool
7619 if test -n "$android_tool"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7621 $as_echo "$android_tool" >&6; }
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7628 if test "$android_tool" = ""; then
7629 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7632 aros_android_level
=android-
$aros_sdk_version
7633 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7634 echo "Platform $aros_android_level is not installed in your SDK"
7635 echo "Use --with-sdk-version=<API level number> to select another platform version"
7636 echo "You can check what plaform versions are installed in your SDK"
7637 echo "by examining contents of $aros_android_sdk/platforms directory"
7638 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7641 # Extract the first word of "ant", so it can be a program name with args.
7642 set dummy ant
; ac_word
=$2
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7644 $as_echo_n "checking for $ac_word... " >&6; }
7645 if ${ac_cv_path_ant+:} false
; then :
7646 $as_echo_n "(cached) " >&6
7650 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7657 test -z "$as_dir" && as_dir
=.
7658 for ac_exec_ext
in '' $ac_executable_extensions; do
7659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7660 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7672 if test -n "$ant"; then
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7674 $as_echo "$ant" >&6; }
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7677 $as_echo "no" >&6; }
7681 if test "$ant" = ""; then
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7683 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7686 if test "$host_os" = "mingw32"; then
7687 android_tool
="cmd //c $android_tool"
7693 #-----------------------------------------------------------------------------
7695 # This is the target configuration switch.
7696 case "$target_os" in
7698 aros_target_arch
="linux"
7699 aros_target_family
="unix"
7700 case "$target_cpu" in
7702 aros_target_cpu
="m68k"
7703 aros_object_format
="m68kelf"
7704 aros_flavour
="emulcompat"
7705 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7706 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7707 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7708 gcc_target_cpu
="mc68000"
7711 aros_target_cpu
="i386"
7712 aros_object_format
="elf_i386"
7713 aros_flavour
="emulation"
7714 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7715 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7716 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7717 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7718 aros_config_ldflags
="-m32 -march=i486"
7719 aros_kernel_ldflags
="-melf_i386"
7720 aros_default_wbdepth
=8
7721 gcc_target_cpu
="i386"
7722 pci_hidd_target
="hidd-pci-linux"
7723 android_tool_dir_prefix
="x86"
7724 android_tool_prefix
="i686-android-linux"
7725 android_ndk_arch
="x86"
7728 aros_target_cpu
="x86_64"
7729 aros_object_format
="elf_x86_64"
7730 aros_flavour
="emulation"
7731 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7732 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7733 aros_default_wbdepth
=8
7734 pci_hidd_target
="hidd-pci-linux"
7737 aros_target_cpu
="ppc"
7738 aros_object_format
="elf32ppc"
7739 aros_flavour
="emulation"
7740 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7741 aros_default_wbdepth
=8
7742 gcc_target_cpu
="ppc"
7745 # Same as powerpc, but I need this for the nightly build to work again.
7746 # Actually, the nightly should be made working with powerpc target.
7747 # That just was too much work for the moment, another week or two.
7749 aros_target_cpu
="ppc"
7750 aros_object_format
="elf32ppc"
7751 aros_flavour
="emulation"
7752 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7753 aros_default_wbdepth
=8
7754 gcc_target_cpu
="ppc"
7757 aros_target_cpu
="arm"
7758 aros_object_format
="armelf_linux_eabi"
7759 aros_flavour
="emulation"
7760 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7761 gcc_target_cpu
="arm"
7762 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7763 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7764 aros_arch_libs
="-laeabi"
7765 android_tool_dir_prefix
="arm-linux-androideabi"
7766 android_tool_prefix
="arm-linux-androideabi"
7767 android_ndk_arch
="arm"
7768 if test "$aros_host_cpu" != "arm" ; then
7769 kernel_tool_prefix
="arm-linux-gnueabi-"
7773 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7776 case "$aros_target_variant" in
7779 if test "$android_ndk_arch" = ""; then
7780 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7783 aros_default_wbwidth
=320
7784 aros_default_wbheight
=480
7785 if test "$aros_android_ndk" = "none"; then
7786 aros_kernel_cflags
="-mandroid"
7787 aros_kernel_ldflags
="-mandroid"
7790 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7791 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7792 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7793 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7794 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7795 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7798 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7799 # Disable implicit PIC mode
7800 aros_target_cflags
="$aros_target_cflags -fno-pic"
7801 kernel_tool_prefix
="$android_tool_prefix-"
7807 aros_target_arch
="pc"
7808 aros_shared_default
="no"
7809 target_bootloader
="grub2"
7810 case "$target_cpu" in
7812 aros_target_cpu
="i386"
7815 if test "$aros_object_format" = "" ; then
7816 aros_object_format
="elf_i386"
7818 aros_flavour
="standalone"
7819 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7820 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7821 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7822 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7823 aros_config_ldflags
="-m32 -march=i486"
7824 aros_kernel_ldflags
="-melf_i386"
7825 aros_default_wbwidth
=640
7826 aros_default_wbheight
=480
7827 gcc_target_cpu
="i386"
7830 aros_target_cpu
="x86_64"
7832 if test "$aros_object_format" = "" ; then
7833 aros_object_format
="elf_x86_64"
7835 aros_flavour
="standalone"
7836 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7837 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7838 aros_kernel_ldflags
=""
7839 aros_default_wbwidth
=640
7840 aros_default_wbheight
=480
7843 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7849 aros_target_arch
="prep"
7850 aros_shared_default
="no"
7851 aros_target_cpu
="ppc"
7852 aros_object_format
="elf32ppc"
7853 aros_flavour
="ppcnative"
7854 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7855 aros_kernel_ldflags
=""
7856 aros_default_wbwidth
=640
7857 aros_default_wbheight
=480
7858 gcc_target_cpu
="ppc"
7862 aros_target_arch
="freebsd"
7863 aros_target_family
="unix"
7864 aros_target_cpu
="i386"
7865 aros_flavour
="emulation"
7866 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7867 gcc_target_cpu
="i386"
7869 aros_target_strip_flags
="-x"
7873 aros_target_arch
="darwin"
7874 aros_target_family
="unix"
7875 aros_flavour
="emulation"
7876 case "$target_cpu" in
7878 aros_ios_platform
="iPhoneSimulator"
7879 aros_target_cpu
="i386"
7880 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7881 aros_kernel_ldflags
=""
7882 aros_macosx_version
="10.4"
7883 aros_default_wbdepth
=8
7884 gcc_target_cpu
="i386"
7885 aros_object_format
="elf_i386"
7886 aros_kernel_ar_flags
="-cr"
7887 aros_target_strip_flags
="-x"
7888 kernel_tool_flags
="-m32"
7891 aros_target_cpu
="x86_64"
7892 aros_object_format
="elf_x86_64"
7893 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7894 aros_macosx_version
="10.6"
7895 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7896 aros_kernel_cflags
="-m64"
7897 aros_kernel_ldflags
="-m64"
7898 aros_target_cflags
="-mcmodel=large"
7899 aros_default_wbdepth
=8
7901 aros_kernel_ar_flags
="-cr"
7903 aros_kernel_ranlib
="ranlib"
7906 aros_target_cpu
="ppc"
7907 aros_object_format
="elf32ppc"
7908 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7909 aros_kernel_ldflags
=""
7910 aros_macosx_version
="10.0"
7911 aros_default_wbdepth
=8
7912 gcc_target_cpu
="ppc"
7914 aros_kernel_ar_flags
="-cr"
7915 aros_kernel_ld
="ld -arch ppc"
7916 aros_kernel_ranlib
="ranlib -arch ppc"
7917 kernel_tool_prefix
="powerpc-apple-darwin10-"
7920 aros_ios_platform
="iPhoneOS"
7921 aros_target_cpu
="arm"
7922 aros_object_format
="armelf_linux_eabi"
7923 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7924 aros_arch_libs
="-laeabi"
7925 aros_default_wbdepth
=8
7926 gcc_target_cpu
="arm"
7928 aros_kernel_ar_flags
="-cr"
7929 aros_kernel_ld
="ld -arch arm"
7930 aros_kernel_ranlib
="ranlib -arch arm"
7931 kernel_tool_prefix
="arm-apple-darwin10-"
7932 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7935 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7938 case "$aros_target_variant" in
7940 aros_ios_version
="3.0"
7941 aros_default_wbwidth
=320
7942 aros_default_wbheight
=480
7943 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7944 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7945 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7947 # This is here because it may depend on iOS or SDK version
7948 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7949 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7950 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7953 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7954 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7960 aros_target_arch
="dragonfly"
7961 aros_target_family
="unix"
7962 aros_flavour
="emulation"
7963 case "$target_cpu" in
7965 aros_target_cpu
="i386"
7966 aros_object_format
="elf_i386"
7967 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7970 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7971 aros_target_cpu
="x86_64"
7972 aros_object_format
="elf_x86_64"
7973 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7976 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7982 aros_target_arch
="netbsd"
7983 aros_target_family
="unix"
7984 case "$target_cpu" in
7986 aros_target_cpu
="m68k"
7987 aros_object_format
="m68kelf"
7988 aros_flavour
="emulcompat"
7989 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7990 gcc_target_cpu
="mc68000"
7993 aros_target_cpu
="i386"
7994 aros_object_format
="elf_i386"
7995 aros_flavour
="emulation"
7996 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7997 aros_default_wbdepth
=8
7998 gcc_target_cpu
="i386"
8001 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8004 aros_target_genmap
="-Wl,-M -Xlinker >"
8005 aros_flavour
="emulation"
8006 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8010 aros_target_arch
="openbsd"
8011 aros_target_family
="unix"
8012 case "$target_cpu" in
8014 aros_target_cpu
="i386"
8015 aros_object_format
="elf_i386"
8016 aros_flavour
="emulation"
8017 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8018 gcc_target_cpu
="i386"
8021 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8024 aros_target_genmap
="-Wl,-M -Xlinker >"
8025 aros_target_nm_flags
="-u"
8026 aros_flavour
="emulation"
8030 aros_target_arch
="solaris"
8031 aros_target_family
="unix"
8032 case "$target_cpu" in
8034 aros_target_cpu
="i386"
8035 aros_object_format
="elf_i386"
8036 aros_flavour
="emulation"
8037 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8038 aros_default_wbdepth
=8
8039 gcc_target_cpu
="i386"
8042 aros_target_cpu
="sparc"
8043 aros_object_format
="elf_sparc"
8044 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8045 gcc_target_cpu
="sparc"
8048 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8051 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8052 aros_flavour
="emulation"
8056 aros_target_arch
="morphos"
8057 aros_shared_default
="no"
8058 aros_target_cpu
="ppc"
8059 aros_object_format
="elf_ppc"
8060 aros_flavour
="nativecompat"
8061 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8062 gcc_target_cpu
="ppc"
8066 aros_target_arch
="sam440"
8067 aros_shared_default
="no"
8068 aros_target_cpu
="ppc"
8069 aros_object_format
="elf32ppc"
8070 aros_flavour
="ppcnative"
8071 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8072 aros_kernel_ldflags
=""
8073 aros_default_wbwidth
=1024
8074 aros_default_wbheight
=768
8075 aros_default_wbdepth
=24
8076 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8077 gcc_target_cpu
="powerpc"
8081 aros_target_arch
="efika"
8082 aros_shared_default
="no"
8083 aros_target_cpu
="arm"
8084 aros_object_format
="armelf_linux_eabi"
8085 aros_flavour
="standalone"
8086 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8087 aros_kernel_ldflags
=""
8088 aros_default_wbwidth
=1024
8089 aros_default_wbheight
=600
8090 aros_arch_libs
="-laeabi"
8091 gcc_default_cpu
="armv7-a"
8092 gcc_default_fpu
="vfpv3"
8093 gcc_default_float_abi
="softfp"
8094 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8095 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8099 aros_target_arch
="chrp"
8100 aros_shared_default
="no"
8101 aros_target_cpu
="ppc"
8102 aros_object_format
="elf32ppc"
8103 aros_flavour
="ppcnative"
8104 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8105 aros_kernel_ldflags
=""
8106 aros_default_wbwidth
=640
8107 aros_default_wbheight
=480
8108 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8109 gcc_target_cpu
="powerpc"
8110 case "$aros_target_variant" in
8112 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8118 aros_target_arch
="amiga"
8119 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8120 aros_shared_default
="no"
8122 case "$target_cpu" in
8124 # Check whether --enable-amigaos_compliance was given.
8125 if test "${enable_amigaos_compliance+set}" = set; then :
8126 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8130 aros_target_cpu
="m68k"
8131 aros_object_format
="m68kelf"
8132 aros_flavour
="standcompat"
8133 gcc_target_cpu
="m68000"
8134 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
8135 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
8136 # Needed to get the correct multilib
8137 aros_config_ldflags
="-${gcc_target_cpu}"
8138 aros_shared_ldflags
="-${gcc_target_cpu}"
8139 aros_kernel_ldflags
="-${gcc_target_cpu}"
8140 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
8141 aros_target_strip_flags
="-R.comment --strip-debug"
8142 aros_default_wbwidth
=640
8143 aros_default_wbheight
=256
8144 aros_default_wbdepth
=2
8148 aros_flavour
="native"
8149 gcc_target_cpu
="ppc"
8152 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8158 aros_target_arch
="mingw32"
8159 aros_shared_default
="no"
8160 aros_flavour
="emulation"
8161 aros_shared_cflags
=""
8162 need_crosstools
="yes"
8165 case "$target_cpu" in
8167 aros_target_cpu
="i386"
8168 aros_object_format
="elf_i386"
8169 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8170 aros_default_wbdepth
=8
8171 gcc_target_cpu
="i386"
8173 kernel_tool_prefix
="i386-mingw32-"
8176 aros_target_cpu
="x86_64"
8177 aros_object_format
="elf_x86_64"
8178 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8179 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8180 aros_default_wbdepth
=8
8181 kernel_tool_prefix
="x86_64-w64-mingw32-"
8184 aros_target_cpu
="arm"
8185 aros_object_format
="armelf_linux_eabi"
8186 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8187 aros_arch_libs
="-laeabi"
8188 aros_default_wbdepth
=8
8189 gcc_target_cpu
="arm"
8190 gcc_default_float_abi
="soft"
8191 kernel_tool_prefix
="arm-mingw32ce-"
8192 aros_default_wbwidth
=160
8193 aros_default_wbheight
=160
8196 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8199 if test $host_os = "cygwin"; then
8200 aros_kernel_cflags
="-mno-cygwin"
8204 aros_target_arch
="pp"
8205 aros_shared_default
="no"
8206 case "$target_cpu" in
8208 aros_target_cpu
="m68k"
8209 aros_object_format
="m68kelf"
8210 aros_flavour
="palmnative"
8211 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8212 aros_default_wbwidth
=160
8213 aros_default_wbheight
=160
8214 aros_default_wbdepth
=1
8215 aros_target_ar_flags
="cru"
8216 aros_compiler_libs
="-lgcc1"
8217 aros_shared_default
=no
8218 aros_shared_cflags
="-fpic"
8219 aros_shared_aflags
=""
8220 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8221 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8222 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8223 aros_debug_aflags
=""
8224 aros_debug_ldflags
="$aros_symbols_debug"
8225 aros_mungwall_debug
="0"
8226 aros_modules_debug
="0"
8227 gcc_target_cpu
="mc68000"
8228 ignore_undefined_symbols
="-ius"
8231 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8237 aros_target_arch
="mac"
8238 aros_shared_default
="no"
8239 case "$target_cpu" in
8241 aros_target_cpu
="m68k"
8242 aros_object_format
="m68kelf"
8243 aros_flavour
="mac68knative"
8244 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8245 aros_default_wbwidth
=512
8246 aros_default_wbheight
=384
8247 aros_default_wbdepth
=8
8248 aros_target_ar_flags
="cru"
8249 aros_compiler_libs
="-lgcc1"
8250 aros_shared_default
=no
8251 aros_shared_cflags
="-fpic"
8252 aros_shared_aflags
=""
8253 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8254 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8255 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
8256 aros_debug_aflags
=""
8257 aros_debug_ldflags
="$aros_symbols_debug"
8258 aros_mungwall_debug
="0"
8259 aros_modules_debug
="0"
8260 gcc_target_cpu
="mc68000"
8261 ignore_undefined_symbols
="-ius"
8264 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8270 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8274 #-----------------------------------------------------------------------------
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
8276 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
8278 # Check whether --with-crosstools was given.
8279 if test "${with_crosstools+set}" = set; then :
8280 withval
=$with_crosstools; with_crosstools
=$withval
8282 with_crosstools
="default"
8285 if test "$with_crosstools" = "default"; then
8286 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8288 # Disable building crosstools if we are using an external set - otherwise
8289 # we may attempt to overwrite them if the tools-crosstools target is made!
8291 AROS_CROSSTOOLSDIR
="$with_crosstools"
8292 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8295 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel tool prefix" >&5
8298 $as_echo_n "checking Kernel tool prefix... " >&6; }
8300 # Check whether --with-kernel-tool-prefix was given.
8301 if test "${with_kernel_tool_prefix+set}" = set; then :
8302 withval
=$with_kernel_tool_prefix; kernel_tool_prefix
="$withval"
8304 kernel_tool_prefix
="$kernel_tool_prefix"
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8308 $as_echo "$kernel_tool_prefix" >&6; }
8310 target_tool_prefix
=${target_cpu}-aros-
8312 # Now process extra architecture-specific options.
8313 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8314 # as well as floating-point ABI.
8315 case "$aros_target_cpu" in
8317 if test "$gcc_default_cpu" = ""; then
8318 gcc_default_cpu
="armv6"
8320 if test "$gcc_default_fpu" = ""; then
8321 gcc_default_fpu
="vfp"
8323 if test "$gcc_default_float_abi" = ""; then
8324 gcc_default_float_abi
="softfp"
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8328 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8330 # Check whether --with-cpu was given.
8331 if test "${with_cpu+set}" = set; then :
8332 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8334 aros_gcc_cpu
=$gcc_default_cpu
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8338 $as_echo "$aros_gcc_cpu" >&6; }
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8341 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8343 # Check whether --with-fpu was given.
8344 if test "${with_fpu+set}" = set; then :
8345 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8347 aros_gcc_fpu
=$gcc_default_fpu
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8351 $as_echo "$aros_gcc_fpu" >&6; }
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8354 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8356 # Check whether --with-float was given.
8357 if test "${with_float+set}" = set; then :
8358 withval
=$with_float; aros_gcc_float_abi
="$withval"
8360 aros_gcc_float_abi
=$gcc_default_float_abi
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8364 $as_echo "$aros_gcc_float_abi" >&6; }
8366 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"
8367 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"
8371 # Some formats need custom ELF specs.
8372 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8373 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8374 elf_specs_in
=config
/${aros_object_format}-specs.
in
8376 elf_specs_in
=config
/elf-specs.
in
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8380 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8382 # Check whether --with-aros-gcc was given.
8383 if test "${with_aros_gcc+set}" = set; then :
8384 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8390 $as_echo "$aros_gcc_version" >&6; }
8392 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8393 # Since we override specs, we may need to put these defines there
8394 if test "$gcc_target_cpu" != ""; then
8395 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8399 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8401 # Check whether --with-portssources was given.
8402 if test "${with_portssources+set}" = set; then :
8403 withval
=$with_portssources; with_portssrcdir
=$withval
8405 with_portssrcdir
="default"
8408 if test "$with_portssrcdir" = "default"; then
8409 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8411 AROS_PORTSSRCDIR
="$with_portssrcdir"
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8414 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8417 $as_echo_n "checking which bootloader to use... " >&6; }
8419 # Check whether --with-bootloader was given.
8420 if test "${with_bootloader+set}" = set; then :
8421 withval
=$with_bootloader; target_bootloader
=$withval
8423 target_bootloader
=$target_bootloader
8426 if test "$target_bootloader" = "none"; then
8427 aros_target_bootloader
=""
8429 aros_target_bootloader
="$target_bootloader"
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8432 $as_echo "$target_bootloader" >&6; }
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8435 $as_echo_n "checking which icon-set to use... " >&6; }
8437 # Check whether --with-iconset was given.
8438 if test "${with_iconset+set}" = set; then :
8439 withval
=$with_iconset; target_iconset
=$withval
8441 target_iconset
="default"
8444 if test "$target_iconset" = "default"; then
8445 aros_target_iconset
="Gorilla"
8446 target_iconset
="default (Gorilla)"
8448 aros_target_iconset
="$target_iconset"
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8451 $as_echo "$target_iconset" >&6; }
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8454 $as_echo_n "checking which GUI Theme to use... " >&6; }
8456 # Check whether --with-theme was given.
8457 if test "${with_theme+set}" = set; then :
8458 withval
=$with_theme; target_guitheme
=$withval
8460 target_guitheme
="default"
8463 if test "$target_guitheme" = "default"; then
8464 aros_target_guitheme
="Ice"
8466 aros_target_guitheme
="$target_guitheme"
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8469 $as_echo "$aros_target_guitheme" >&6; }
8471 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8474 if test "$aros_host_cpu" = "$aros_target_cpu" ; then
8475 # If host = target CPU, let's try to use the
8476 # host's toolchains if no others were requested
8477 if test "$kernel_tool_prefix" = "none" ; then
8478 kernel_tool_prefix
=""
8484 if test "$aros_host_cpu" == "x86_64" ; then
8485 if test "$aros_target_cpu" == "i386" ; then
8486 if test "$aros_target_arch" != "mingw32"; then
8488 kernel_tool_prefix
=""
8493 if test "$aros_host_arch" == "darwin" ; then
8494 if test "$aros_target_arch" != "darwin" ; then
8498 kernel_tool_prefix
=""
8502 if test "$aros_host_arch" == "mingw32" ; then
8503 if test "$aros_target_arch" != "mingw32" ; then
8507 kernel_tool_prefix
=""
8511 #######################################################################
8512 ## Compute what toolchains to use, and their paths ##
8513 #######################################################################
8515 # This takes, as input:
8516 # crosstools {yes,no}
8517 # aros_gcc_version {default,[version]}
8518 # kernel_tool_prefix {none,[some-arch-os-]}
8519 # target_tool_prefix ${target_cpu}-aros-
8522 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8523 # Where the 'kernel' binaries are located
8524 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8525 # Where the 'target' binaries are located
8526 # (not the symlink farm - that is aros_target_*!)
8529 # if crosstools then
8530 # if kernel_tools_prefix = "no-kernel-prefix-"
8531 # aros_kernel_* = crosstools cc paths
8532 # aros_kernel_cc = elf cc wrapper around crosstools cc
8534 # VALIDATE(${kernel_tools_prefix}*)
8535 # aros_kernel_* = ${kernel_tools_prefix}*
8536 # if ${kernel_tools_prefix}cc is an AROS gcc
8537 # aros_kernel_cc = ${kernel_tools_prefix}cc
8539 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8543 # orig_target_* = aros built crosstools
8544 # orig_target_cc = elf cc wrapper around crosstools cc
8546 # VALIDATE(${kernel_tools_prefix}*)
8548 # orig_target_* = aros_kernel_*
8549 # if aros_kernel_cc is an AROS gcc
8550 # orig_target_cc = aros_kernel_cc
8552 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use external toolchain" >&5
8558 $as_echo_n "checking whether to use external toolchain... " >&6; }
8559 if test "$kernel_tool_prefix" = "none" ; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8561 $as_echo "no" >&6; };
8562 if test "$crosstools" != "yes"; then
8563 as_fn_error $?
"--disable-crosstools requires --with-kernel-tool-prefix= for this arch" "$LINENO" 5
8565 # We are building AROS crosstools, and no kernel
8566 # tools specified - assume target tools == kernel tools
8567 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
8568 aros_kernel_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
8569 aros_kernel_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
8570 aros_kernel_cpp
="${tmp_tool_prefix}cpp"
8571 aros_kernel_ld
="${tmp_tool_prefix}ld"
8572 aros_kernel_as
="${tmp_tool_prefix}as"
8573 aros_kernel_ar
="${tmp_tool_prefix}ar"
8574 aros_kernel_ranlib
="${tmp_tool_prefix}ranlib"
8575 aros_kernel_nm
="${tmp_tool_prefix}nm"
8576 aros_kernel_strip
="${tmp_tool_prefix}strip"
8577 aros_kernel_objcopy
="${tmp_tool_prefix}objcopy"
8578 aros_kernel_objdump
="${tmp_tool_prefix}objdump"
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8581 $as_echo "yes" >&6; };
8582 # Kernel tools specified - find them
8583 # Note that 'normally', aros_kernel_* overrides will
8584 # empty, unless specified in the per-arch sections above.
8587 if test "$aros_kernel_cpp" = ""; then
8588 if test "$cross_compiling" = "yes" ; then
8589 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8590 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8592 $as_echo_n "checking for $ac_word... " >&6; }
8593 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8594 $as_echo_n "(cached) " >&6
8596 case $aros_kernel_cpp in
8598 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8605 test -z "$as_dir" && as_dir
=.
8606 for ac_exec_ext
in '' $ac_executable_extensions; do
8607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8608 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8619 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8620 if test -n "$aros_kernel_cpp"; then
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8622 $as_echo "$aros_kernel_cpp" >&6; }
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8625 $as_echo "no" >&6; }
8630 if test "$GCC" = "yes"; then
8631 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8632 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8633 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8635 $as_echo_n "checking for $ac_word... " >&6; }
8636 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8637 $as_echo_n "(cached) " >&6
8639 case $aros_kernel_cpp in
8641 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8645 for as_dir
in `dirname $aros_gcc_cpp`
8648 test -z "$as_dir" && as_dir
=.
8649 for ac_exec_ext
in '' $ac_executable_extensions; do
8650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8651 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8662 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8663 if test -n "$aros_kernel_cpp"; then
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8665 $as_echo "$aros_kernel_cpp" >&6; }
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8668 $as_echo "no" >&6; }
8673 if test "$aros_kernel_cpp" = ""; then
8674 # Extract the first word of "cpp", so it can be a program name with args.
8675 set dummy cpp
; ac_word
=$2
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8677 $as_echo_n "checking for $ac_word... " >&6; }
8678 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8679 $as_echo_n "(cached) " >&6
8681 case $aros_kernel_cpp in
8683 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8690 test -z "$as_dir" && as_dir
=.
8691 for ac_exec_ext
in '' $ac_executable_extensions; do
8692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8693 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8704 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8705 if test -n "$aros_kernel_cpp"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8707 $as_echo "$aros_kernel_cpp" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8710 $as_echo "no" >&6; }
8717 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8718 set dummy
$aros_kernel_cpp; ac_word
=$2
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8720 $as_echo_n "checking for $ac_word... " >&6; }
8721 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8722 $as_echo_n "(cached) " >&6
8724 case $aros_kernel_cpp in
8726 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8733 test -z "$as_dir" && as_dir
=.
8734 for ac_exec_ext
in '' $ac_executable_extensions; do
8735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8736 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8747 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8748 if test -n "$aros_kernel_cpp"; then
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8750 $as_echo "$aros_kernel_cpp" >&6; }
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8753 $as_echo "no" >&6; }
8759 if test "$aros_kernel_cpp" = ""; then
8760 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8762 if test "x$aros_kernel_cc" = "x"; then
8763 aros_kernel_cc
=${kernel_tool_prefix}gcc
8766 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8767 if test "$cross_compiling" = "yes" ; then
8768 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8769 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8771 $as_echo_n "checking for $ac_word... " >&6; }
8772 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8773 $as_echo_n "(cached) " >&6
8775 case $aros_kernel_cc in
8777 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8784 test -z "$as_dir" && as_dir
=.
8785 for ac_exec_ext
in '' $ac_executable_extensions; do
8786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8787 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8798 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8799 if test -n "$aros_kernel_cc"; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8801 $as_echo "$aros_kernel_cc" >&6; }
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8804 $as_echo "no" >&6; }
8809 if test "$GCC" = "yes"; then
8810 aros_gcc_cc
=`$CC -print-prog-name=cc`
8811 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8812 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8814 $as_echo_n "checking for $ac_word... " >&6; }
8815 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8816 $as_echo_n "(cached) " >&6
8818 case $aros_kernel_cc in
8820 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8824 for as_dir
in `dirname $aros_gcc_cc`
8827 test -z "$as_dir" && as_dir
=.
8828 for ac_exec_ext
in '' $ac_executable_extensions; do
8829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8830 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8841 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8842 if test -n "$aros_kernel_cc"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8844 $as_echo "$aros_kernel_cc" >&6; }
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847 $as_echo "no" >&6; }
8852 if test "$aros_kernel_cc" = ""; then
8853 # Extract the first word of "cc", so it can be a program name with args.
8854 set dummy cc
; ac_word
=$2
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8856 $as_echo_n "checking for $ac_word... " >&6; }
8857 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8858 $as_echo_n "(cached) " >&6
8860 case $aros_kernel_cc in
8862 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8869 test -z "$as_dir" && as_dir
=.
8870 for ac_exec_ext
in '' $ac_executable_extensions; do
8871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8872 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8883 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8884 if test -n "$aros_kernel_cc"; then
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8886 $as_echo "$aros_kernel_cc" >&6; }
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8889 $as_echo "no" >&6; }
8896 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8897 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8899 $as_echo_n "checking for $ac_word... " >&6; }
8900 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8901 $as_echo_n "(cached) " >&6
8903 case $aros_kernel_cc in
8905 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8912 test -z "$as_dir" && as_dir
=.
8913 for ac_exec_ext
in '' $ac_executable_extensions; do
8914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8915 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8926 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8927 if test -n "$aros_kernel_cc"; then
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8929 $as_echo "$aros_kernel_cc" >&6; }
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8932 $as_echo "no" >&6; }
8938 if test "$aros_kernel_cc" = ""; then
8939 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
8941 if test "x$aros_kernel_cxx" = "x"; then
8942 aros_kernel_cxx
=${kernel_tool_prefix}g
++
8945 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
8946 if test "$cross_compiling" = "yes" ; then
8947 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
8948 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8950 $as_echo_n "checking for $ac_word... " >&6; }
8951 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
8952 $as_echo_n "(cached) " >&6
8954 case $aros_kernel_cxx in
8956 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
8959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8963 test -z "$as_dir" && as_dir
=.
8964 for ac_exec_ext
in '' $ac_executable_extensions; do
8965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8966 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
8967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8977 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
8978 if test -n "$aros_kernel_cxx"; then
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
8980 $as_echo "$aros_kernel_cxx" >&6; }
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8983 $as_echo "no" >&6; }
8988 if test "$GCC" = "yes"; then
8989 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
8990 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
8991 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8993 $as_echo_n "checking for $ac_word... " >&6; }
8994 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
8995 $as_echo_n "(cached) " >&6
8997 case $aros_kernel_cxx in
8999 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9003 for as_dir
in `dirname $aros_gcc_cxx`
9006 test -z "$as_dir" && as_dir
=.
9007 for ac_exec_ext
in '' $ac_executable_extensions; do
9008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9009 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9020 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9021 if test -n "$aros_kernel_cxx"; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9023 $as_echo "$aros_kernel_cxx" >&6; }
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9031 if test "$aros_kernel_cxx" = ""; then
9032 # Extract the first word of "cxx", so it can be a program name with args.
9033 set dummy cxx
; ac_word
=$2
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9035 $as_echo_n "checking for $ac_word... " >&6; }
9036 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9037 $as_echo_n "(cached) " >&6
9039 case $aros_kernel_cxx in
9041 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9048 test -z "$as_dir" && as_dir
=.
9049 for ac_exec_ext
in '' $ac_executable_extensions; do
9050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9051 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9062 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9063 if test -n "$aros_kernel_cxx"; then
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9065 $as_echo "$aros_kernel_cxx" >&6; }
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9068 $as_echo "no" >&6; }
9075 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9076 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9078 $as_echo_n "checking for $ac_word... " >&6; }
9079 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9080 $as_echo_n "(cached) " >&6
9082 case $aros_kernel_cxx in
9084 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9091 test -z "$as_dir" && as_dir
=.
9092 for ac_exec_ext
in '' $ac_executable_extensions; do
9093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9094 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9105 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9106 if test -n "$aros_kernel_cxx"; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9108 $as_echo "$aros_kernel_cxx" >&6; }
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9111 $as_echo "no" >&6; }
9117 # If it's set, make sure it's really there
9118 if test "x$aros_kernel_cxx" != "x" ; then
9119 if test "$aros_kernel_cxx" = ""; then
9120 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9124 if test "$aros_kernel_ld" = ""; then
9125 if test "$cross_compiling" = "yes" ; then
9126 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9127 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9129 $as_echo_n "checking for $ac_word... " >&6; }
9130 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9131 $as_echo_n "(cached) " >&6
9133 case $aros_kernel_ld in
9135 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9142 test -z "$as_dir" && as_dir
=.
9143 for ac_exec_ext
in '' $ac_executable_extensions; do
9144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9145 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9156 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9157 if test -n "$aros_kernel_ld"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9159 $as_echo "$aros_kernel_ld" >&6; }
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9162 $as_echo "no" >&6; }
9167 if test "$GCC" = "yes"; then
9168 aros_gcc_ld
=`$CC -print-prog-name=ld`
9169 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9170 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9172 $as_echo_n "checking for $ac_word... " >&6; }
9173 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9174 $as_echo_n "(cached) " >&6
9176 case $aros_kernel_ld in
9178 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9182 for as_dir
in `dirname $aros_gcc_ld`
9185 test -z "$as_dir" && as_dir
=.
9186 for ac_exec_ext
in '' $ac_executable_extensions; do
9187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9188 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9199 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9200 if test -n "$aros_kernel_ld"; then
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9202 $as_echo "$aros_kernel_ld" >&6; }
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9205 $as_echo "no" >&6; }
9210 if test "$aros_kernel_ld" = ""; then
9211 # Extract the first word of "ld", so it can be a program name with args.
9212 set dummy ld
; ac_word
=$2
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9214 $as_echo_n "checking for $ac_word... " >&6; }
9215 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9216 $as_echo_n "(cached) " >&6
9218 case $aros_kernel_ld in
9220 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9227 test -z "$as_dir" && as_dir
=.
9228 for ac_exec_ext
in '' $ac_executable_extensions; do
9229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9230 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9241 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9242 if test -n "$aros_kernel_ld"; then
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9244 $as_echo "$aros_kernel_ld" >&6; }
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9247 $as_echo "no" >&6; }
9254 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9255 set dummy
$aros_kernel_ld; ac_word
=$2
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9257 $as_echo_n "checking for $ac_word... " >&6; }
9258 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9259 $as_echo_n "(cached) " >&6
9261 case $aros_kernel_ld in
9263 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9270 test -z "$as_dir" && as_dir
=.
9271 for ac_exec_ext
in '' $ac_executable_extensions; do
9272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9273 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9284 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9285 if test -n "$aros_kernel_ld"; then
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9287 $as_echo "$aros_kernel_ld" >&6; }
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9290 $as_echo "no" >&6; }
9296 if test "$aros_kernel_ld" = ""; then
9297 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9300 if test "$aros_kernel_as" = ""; then
9301 if test "$cross_compiling" = "yes" ; then
9302 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9303 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9305 $as_echo_n "checking for $ac_word... " >&6; }
9306 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9307 $as_echo_n "(cached) " >&6
9309 case $aros_kernel_as in
9311 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9318 test -z "$as_dir" && as_dir
=.
9319 for ac_exec_ext
in '' $ac_executable_extensions; do
9320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9321 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9332 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9333 if test -n "$aros_kernel_as"; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9335 $as_echo "$aros_kernel_as" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 $as_echo "no" >&6; }
9343 if test "$GCC" = "yes"; then
9344 aros_gcc_as
=`$CC -print-prog-name=as`
9345 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9346 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9348 $as_echo_n "checking for $ac_word... " >&6; }
9349 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9350 $as_echo_n "(cached) " >&6
9352 case $aros_kernel_as in
9354 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9358 for as_dir
in `dirname $aros_gcc_as`
9361 test -z "$as_dir" && as_dir
=.
9362 for ac_exec_ext
in '' $ac_executable_extensions; do
9363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9364 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9375 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9376 if test -n "$aros_kernel_as"; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9378 $as_echo "$aros_kernel_as" >&6; }
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9381 $as_echo "no" >&6; }
9386 if test "$aros_kernel_as" = ""; then
9387 # Extract the first word of "as", so it can be a program name with args.
9388 set dummy as
; ac_word
=$2
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9390 $as_echo_n "checking for $ac_word... " >&6; }
9391 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9392 $as_echo_n "(cached) " >&6
9394 case $aros_kernel_as in
9396 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9403 test -z "$as_dir" && as_dir
=.
9404 for ac_exec_ext
in '' $ac_executable_extensions; do
9405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9406 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9417 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9418 if test -n "$aros_kernel_as"; then
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9420 $as_echo "$aros_kernel_as" >&6; }
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9423 $as_echo "no" >&6; }
9430 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9431 set dummy
$aros_kernel_as; ac_word
=$2
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9433 $as_echo_n "checking for $ac_word... " >&6; }
9434 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9435 $as_echo_n "(cached) " >&6
9437 case $aros_kernel_as in
9439 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9446 test -z "$as_dir" && as_dir
=.
9447 for ac_exec_ext
in '' $ac_executable_extensions; do
9448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9449 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9460 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9461 if test -n "$aros_kernel_as"; then
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9463 $as_echo "$aros_kernel_as" >&6; }
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9466 $as_echo "no" >&6; }
9472 if test "$aros_kernel_as" = ""; then
9473 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9476 if test "$aros_kernel_ar" = ""; then
9477 if test "$cross_compiling" = "yes" ; then
9478 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9479 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9481 $as_echo_n "checking for $ac_word... " >&6; }
9482 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9483 $as_echo_n "(cached) " >&6
9485 case $aros_kernel_ar in
9487 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9494 test -z "$as_dir" && as_dir
=.
9495 for ac_exec_ext
in '' $ac_executable_extensions; do
9496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9497 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9508 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9509 if test -n "$aros_kernel_ar"; then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9511 $as_echo "$aros_kernel_ar" >&6; }
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9514 $as_echo "no" >&6; }
9519 if test "$GCC" = "yes"; then
9520 aros_gcc_ar
=`$CC -print-prog-name=ar`
9521 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9522 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9524 $as_echo_n "checking for $ac_word... " >&6; }
9525 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9526 $as_echo_n "(cached) " >&6
9528 case $aros_kernel_ar in
9530 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9534 for as_dir
in `dirname $aros_gcc_ar`
9537 test -z "$as_dir" && as_dir
=.
9538 for ac_exec_ext
in '' $ac_executable_extensions; do
9539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9540 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9551 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9552 if test -n "$aros_kernel_ar"; then
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9554 $as_echo "$aros_kernel_ar" >&6; }
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9557 $as_echo "no" >&6; }
9562 if test "$aros_kernel_ar" = ""; then
9563 # Extract the first word of "ar", so it can be a program name with args.
9564 set dummy
ar; ac_word
=$2
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9566 $as_echo_n "checking for $ac_word... " >&6; }
9567 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9568 $as_echo_n "(cached) " >&6
9570 case $aros_kernel_ar in
9572 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9579 test -z "$as_dir" && as_dir
=.
9580 for ac_exec_ext
in '' $ac_executable_extensions; do
9581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9582 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9593 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9594 if test -n "$aros_kernel_ar"; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9596 $as_echo "$aros_kernel_ar" >&6; }
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9599 $as_echo "no" >&6; }
9606 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9607 set dummy
$aros_kernel_ar; ac_word
=$2
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9609 $as_echo_n "checking for $ac_word... " >&6; }
9610 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9611 $as_echo_n "(cached) " >&6
9613 case $aros_kernel_ar in
9615 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9622 test -z "$as_dir" && as_dir
=.
9623 for ac_exec_ext
in '' $ac_executable_extensions; do
9624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9625 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9636 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9637 if test -n "$aros_kernel_ar"; then
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9639 $as_echo "$aros_kernel_ar" >&6; }
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9642 $as_echo "no" >&6; }
9648 if test "$aros_kernel_ar" = ""; then
9649 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9652 if test "$aros_kernel_ranlib" = ""; then
9653 if test "$cross_compiling" = "yes" ; then
9654 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9655 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9657 $as_echo_n "checking for $ac_word... " >&6; }
9658 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9659 $as_echo_n "(cached) " >&6
9661 case $aros_kernel_ranlib in
9663 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9670 test -z "$as_dir" && as_dir
=.
9671 for ac_exec_ext
in '' $ac_executable_extensions; do
9672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9673 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9684 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9685 if test -n "$aros_kernel_ranlib"; then
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9687 $as_echo "$aros_kernel_ranlib" >&6; }
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9690 $as_echo "no" >&6; }
9695 if test "$GCC" = "yes"; then
9696 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9697 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9698 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9700 $as_echo_n "checking for $ac_word... " >&6; }
9701 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9702 $as_echo_n "(cached) " >&6
9704 case $aros_kernel_ranlib in
9706 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9710 for as_dir
in `dirname $aros_gcc_ranlib`
9713 test -z "$as_dir" && as_dir
=.
9714 for ac_exec_ext
in '' $ac_executable_extensions; do
9715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9716 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9727 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9728 if test -n "$aros_kernel_ranlib"; then
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9730 $as_echo "$aros_kernel_ranlib" >&6; }
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9733 $as_echo "no" >&6; }
9738 if test "$aros_kernel_ranlib" = ""; then
9739 # Extract the first word of "ranlib", so it can be a program name with args.
9740 set dummy ranlib
; ac_word
=$2
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9742 $as_echo_n "checking for $ac_word... " >&6; }
9743 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9744 $as_echo_n "(cached) " >&6
9746 case $aros_kernel_ranlib in
9748 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9755 test -z "$as_dir" && as_dir
=.
9756 for ac_exec_ext
in '' $ac_executable_extensions; do
9757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9758 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9769 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9770 if test -n "$aros_kernel_ranlib"; then
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9772 $as_echo "$aros_kernel_ranlib" >&6; }
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9775 $as_echo "no" >&6; }
9782 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9783 set dummy
$aros_kernel_ranlib; ac_word
=$2
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9785 $as_echo_n "checking for $ac_word... " >&6; }
9786 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9787 $as_echo_n "(cached) " >&6
9789 case $aros_kernel_ranlib in
9791 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9798 test -z "$as_dir" && as_dir
=.
9799 for ac_exec_ext
in '' $ac_executable_extensions; do
9800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9801 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9812 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9813 if test -n "$aros_kernel_ranlib"; then
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9815 $as_echo "$aros_kernel_ranlib" >&6; }
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9818 $as_echo "no" >&6; }
9824 if test "$aros_kernel_ranlib" = ""; then
9825 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9828 if test "$aros_kernel_nm" = ""; then
9829 if test "$cross_compiling" = "yes" ; then
9830 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9831 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9833 $as_echo_n "checking for $ac_word... " >&6; }
9834 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9835 $as_echo_n "(cached) " >&6
9837 case $aros_kernel_nm in
9839 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9846 test -z "$as_dir" && as_dir
=.
9847 for ac_exec_ext
in '' $ac_executable_extensions; do
9848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9849 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9860 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9861 if test -n "$aros_kernel_nm"; then
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9863 $as_echo "$aros_kernel_nm" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9866 $as_echo "no" >&6; }
9871 if test "$GCC" = "yes"; then
9872 aros_gcc_nm
=`$CC -print-prog-name=nm`
9873 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9874 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9876 $as_echo_n "checking for $ac_word... " >&6; }
9877 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9878 $as_echo_n "(cached) " >&6
9880 case $aros_kernel_nm in
9882 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9886 for as_dir
in `dirname $aros_gcc_nm`
9889 test -z "$as_dir" && as_dir
=.
9890 for ac_exec_ext
in '' $ac_executable_extensions; do
9891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9892 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9903 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9904 if test -n "$aros_kernel_nm"; then
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9906 $as_echo "$aros_kernel_nm" >&6; }
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9909 $as_echo "no" >&6; }
9914 if test "$aros_kernel_nm" = ""; then
9915 # Extract the first word of "nm", so it can be a program name with args.
9916 set dummy nm
; ac_word
=$2
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9918 $as_echo_n "checking for $ac_word... " >&6; }
9919 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9920 $as_echo_n "(cached) " >&6
9922 case $aros_kernel_nm in
9924 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9931 test -z "$as_dir" && as_dir
=.
9932 for ac_exec_ext
in '' $ac_executable_extensions; do
9933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9934 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9945 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9946 if test -n "$aros_kernel_nm"; then
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9948 $as_echo "$aros_kernel_nm" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9951 $as_echo "no" >&6; }
9958 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
9959 set dummy
$aros_kernel_nm; ac_word
=$2
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9961 $as_echo_n "checking for $ac_word... " >&6; }
9962 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9963 $as_echo_n "(cached) " >&6
9965 case $aros_kernel_nm in
9967 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9974 test -z "$as_dir" && as_dir
=.
9975 for ac_exec_ext
in '' $ac_executable_extensions; do
9976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9977 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9988 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9989 if test -n "$aros_kernel_nm"; then
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9991 $as_echo "$aros_kernel_nm" >&6; }
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9994 $as_echo "no" >&6; }
10000 if test "$aros_kernel_nm" = ""; then
10001 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10004 if test "$aros_kernel_strip" = ""; then
10005 if test "$cross_compiling" = "yes" ; then
10006 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10007 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10009 $as_echo_n "checking for $ac_word... " >&6; }
10010 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10011 $as_echo_n "(cached) " >&6
10013 case $aros_kernel_strip in
10015 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10019 for as_dir
in $PATH
10022 test -z "$as_dir" && as_dir
=.
10023 for ac_exec_ext
in '' $ac_executable_extensions; do
10024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10025 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10036 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10037 if test -n "$aros_kernel_strip"; then
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10039 $as_echo "$aros_kernel_strip" >&6; }
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10042 $as_echo "no" >&6; }
10047 if test "$GCC" = "yes"; then
10048 aros_gcc_strip
=`$CC -print-prog-name=strip`
10049 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10050 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10052 $as_echo_n "checking for $ac_word... " >&6; }
10053 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10054 $as_echo_n "(cached) " >&6
10056 case $aros_kernel_strip in
10058 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10062 for as_dir
in `dirname $aros_gcc_strip`
10065 test -z "$as_dir" && as_dir
=.
10066 for ac_exec_ext
in '' $ac_executable_extensions; do
10067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10068 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10079 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10080 if test -n "$aros_kernel_strip"; then
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10082 $as_echo "$aros_kernel_strip" >&6; }
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10085 $as_echo "no" >&6; }
10090 if test "$aros_kernel_strip" = ""; then
10091 # Extract the first word of "strip", so it can be a program name with args.
10092 set dummy strip
; ac_word
=$2
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10094 $as_echo_n "checking for $ac_word... " >&6; }
10095 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10096 $as_echo_n "(cached) " >&6
10098 case $aros_kernel_strip in
10100 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10104 for as_dir
in $PATH
10107 test -z "$as_dir" && as_dir
=.
10108 for ac_exec_ext
in '' $ac_executable_extensions; do
10109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10110 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10122 if test -n "$aros_kernel_strip"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10124 $as_echo "$aros_kernel_strip" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10127 $as_echo "no" >&6; }
10134 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10135 set dummy
$aros_kernel_strip; ac_word
=$2
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10137 $as_echo_n "checking for $ac_word... " >&6; }
10138 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10139 $as_echo_n "(cached) " >&6
10141 case $aros_kernel_strip in
10143 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10147 for as_dir
in $PATH
10150 test -z "$as_dir" && as_dir
=.
10151 for ac_exec_ext
in '' $ac_executable_extensions; do
10152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10153 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10164 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10165 if test -n "$aros_kernel_strip"; then
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10167 $as_echo "$aros_kernel_strip" >&6; }
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10170 $as_echo "no" >&6; }
10176 if test "$aros_kernel_strip" = ""; then
10177 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10180 # Objcopy and objdump are not required for the kernel
10181 # toolchain on many architectures.
10182 # So we'll look for them, but not make them strictly required.
10184 if test "$aros_kernel_objcopy" = ""; then
10185 if test "$cross_compiling" = "yes" ; then
10186 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10187 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10189 $as_echo_n "checking for $ac_word... " >&6; }
10190 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10191 $as_echo_n "(cached) " >&6
10193 case $aros_kernel_objcopy in
10195 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10199 for as_dir
in $PATH
10202 test -z "$as_dir" && as_dir
=.
10203 for ac_exec_ext
in '' $ac_executable_extensions; do
10204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10205 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10216 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10217 if test -n "$aros_kernel_objcopy"; then
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10219 $as_echo "$aros_kernel_objcopy" >&6; }
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10222 $as_echo "no" >&6; }
10227 if test "$GCC" = "yes"; then
10228 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10229 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10230 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10232 $as_echo_n "checking for $ac_word... " >&6; }
10233 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10234 $as_echo_n "(cached) " >&6
10236 case $aros_kernel_objcopy in
10238 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10242 for as_dir
in `dirname $aros_gcc_objcopy`
10245 test -z "$as_dir" && as_dir
=.
10246 for ac_exec_ext
in '' $ac_executable_extensions; do
10247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10248 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10259 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10260 if test -n "$aros_kernel_objcopy"; then
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10262 $as_echo "$aros_kernel_objcopy" >&6; }
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10265 $as_echo "no" >&6; }
10270 if test "$aros_kernel_objcopy" = ""; then
10271 # Extract the first word of "objcopy", so it can be a program name with args.
10272 set dummy objcopy
; ac_word
=$2
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10274 $as_echo_n "checking for $ac_word... " >&6; }
10275 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10276 $as_echo_n "(cached) " >&6
10278 case $aros_kernel_objcopy in
10280 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10284 for as_dir
in $PATH
10287 test -z "$as_dir" && as_dir
=.
10288 for ac_exec_ext
in '' $ac_executable_extensions; do
10289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10290 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10301 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10302 if test -n "$aros_kernel_objcopy"; then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10304 $as_echo "$aros_kernel_objcopy" >&6; }
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10307 $as_echo "no" >&6; }
10314 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10315 set dummy
$aros_kernel_objcopy; ac_word
=$2
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10317 $as_echo_n "checking for $ac_word... " >&6; }
10318 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10319 $as_echo_n "(cached) " >&6
10321 case $aros_kernel_objcopy in
10323 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10327 for as_dir
in $PATH
10330 test -z "$as_dir" && as_dir
=.
10331 for ac_exec_ext
in '' $ac_executable_extensions; do
10332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10333 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10344 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10345 if test -n "$aros_kernel_objcopy"; then
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10347 $as_echo "$aros_kernel_objcopy" >&6; }
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10350 $as_echo "no" >&6; }
10357 if test "$aros_kernel_objdump" = ""; then
10358 if test "$cross_compiling" = "yes" ; then
10359 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10360 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10362 $as_echo_n "checking for $ac_word... " >&6; }
10363 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10364 $as_echo_n "(cached) " >&6
10366 case $aros_kernel_objdump in
10368 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10372 for as_dir
in $PATH
10375 test -z "$as_dir" && as_dir
=.
10376 for ac_exec_ext
in '' $ac_executable_extensions; do
10377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10378 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10389 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10390 if test -n "$aros_kernel_objdump"; then
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10392 $as_echo "$aros_kernel_objdump" >&6; }
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10395 $as_echo "no" >&6; }
10400 if test "$GCC" = "yes"; then
10401 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10402 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10403 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10405 $as_echo_n "checking for $ac_word... " >&6; }
10406 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10407 $as_echo_n "(cached) " >&6
10409 case $aros_kernel_objdump in
10411 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10415 for as_dir
in `dirname $aros_gcc_objdump`
10418 test -z "$as_dir" && as_dir
=.
10419 for ac_exec_ext
in '' $ac_executable_extensions; do
10420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10421 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10432 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10433 if test -n "$aros_kernel_objdump"; then
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10435 $as_echo "$aros_kernel_objdump" >&6; }
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10438 $as_echo "no" >&6; }
10443 if test "$aros_kernel_objdump" = ""; then
10444 # Extract the first word of "objdump", so it can be a program name with args.
10445 set dummy objdump
; ac_word
=$2
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10447 $as_echo_n "checking for $ac_word... " >&6; }
10448 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10449 $as_echo_n "(cached) " >&6
10451 case $aros_kernel_objdump in
10453 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10457 for as_dir
in $PATH
10460 test -z "$as_dir" && as_dir
=.
10461 for ac_exec_ext
in '' $ac_executable_extensions; do
10462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10463 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10474 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10475 if test -n "$aros_kernel_objdump"; then
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10477 $as_echo "$aros_kernel_objdump" >&6; }
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10480 $as_echo "no" >&6; }
10487 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10488 set dummy
$aros_kernel_objdump; ac_word
=$2
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10490 $as_echo_n "checking for $ac_word... " >&6; }
10491 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10492 $as_echo_n "(cached) " >&6
10494 case $aros_kernel_objdump in
10496 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10500 for as_dir
in $PATH
10503 test -z "$as_dir" && as_dir
=.
10504 for ac_exec_ext
in '' $ac_executable_extensions; do
10505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10506 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10517 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10518 if test -n "$aros_kernel_objdump"; then
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10520 $as_echo "$aros_kernel_objdump" >&6; }
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10523 $as_echo "no" >&6; }
10529 if test "x${crosstools}" != "xyes" ; then
10530 if test "$aros_kernel_objcopy" = ""; then
10531 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10533 if test "$aros_kernel_objdump" = ""; then
10534 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10540 $as_echo_n "checking which target tools to use... " >&6; }
10541 if test "$crosstools" = "yes"; then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10543 $as_echo "$target_tool_prefix" >&6; }
10544 # We are are building AROS crosstools
10545 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10546 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10547 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10548 orig_target_cpp
="${tmp_tool_prefix}cpp"
10549 orig_target_ld
="${tmp_tool_prefix}ld"
10550 orig_target_as
="${tmp_tool_prefix}as"
10551 orig_target_ar
="${tmp_tool_prefix}ar"
10552 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10553 orig_target_nm
="${tmp_tool_prefix}nm"
10554 orig_target_strip
="${tmp_tool_prefix}strip"
10555 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10556 orig_target_objdump
="${tmp_tool_prefix}objdump"
10558 # We are *not* building AROS crosstools - use the kernel tools
10559 # However some ports (Windows-hosted for example) can't use kernel tools
10560 # to build AROS for sure. In this case we search for preinstalled AROS gcc
10561 # CHECKME: Currently i set need_crosstools only for mingw target, however
10562 # the same should be true for Android and Darwin ports.
10563 if test "$need_crosstools" = "yes" ; then
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu-aros" >&5
10565 $as_echo "$aros_target_cpu-aros" >&6; }
10566 # Extract the first word of ""$aros_target_cpu-aros-cpp"", so it can be a program name with args.
10567 set dummy
"$aros_target_cpu-aros-cpp"; ac_word
=$2
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10569 $as_echo_n "checking for $ac_word... " >&6; }
10570 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10571 $as_echo_n "(cached) " >&6
10573 case $orig_target_cpp in
10575 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10579 for as_dir
in $PATH
10582 test -z "$as_dir" && as_dir
=.
10583 for ac_exec_ext
in '' $ac_executable_extensions; do
10584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10585 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10596 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10597 if test -n "$orig_target_cpp"; then
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10599 $as_echo "$orig_target_cpp" >&6; }
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10602 $as_echo "no" >&6; }
10606 # Extract the first word of ""$aros_target_cpu-aros-gcc"", so it can be a program name with args.
10607 set dummy
"$aros_target_cpu-aros-gcc"; ac_word
=$2
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10609 $as_echo_n "checking for $ac_word... " >&6; }
10610 if ${ac_cv_path_orig_target_cc+:} false
; then :
10611 $as_echo_n "(cached) " >&6
10613 case $orig_target_cc in
10615 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10619 for as_dir
in $PATH
10622 test -z "$as_dir" && as_dir
=.
10623 for ac_exec_ext
in '' $ac_executable_extensions; do
10624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10625 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10636 orig_target_cc
=$ac_cv_path_orig_target_cc
10637 if test -n "$orig_target_cc"; then
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10639 $as_echo "$orig_target_cc" >&6; }
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10642 $as_echo "no" >&6; }
10646 # Extract the first word of ""$aros_target_cpu-aros-g++"", so it can be a program name with args.
10647 set dummy
"$aros_target_cpu-aros-g++"; ac_word
=$2
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10649 $as_echo_n "checking for $ac_word... " >&6; }
10650 if ${ac_cv_path_orig_target_cxx+:} false
; then :
10651 $as_echo_n "(cached) " >&6
10653 case $orig_target_cxx in
10655 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
10658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10659 for as_dir
in $PATH
10662 test -z "$as_dir" && as_dir
=.
10663 for ac_exec_ext
in '' $ac_executable_extensions; do
10664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10665 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10676 orig_target_cxx
=$ac_cv_path_orig_target_cxx
10677 if test -n "$orig_target_cxx"; then
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
10679 $as_echo "$orig_target_cxx" >&6; }
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10682 $as_echo "no" >&6; }
10686 # Extract the first word of ""$aros_target_cpu-aros-ld"", so it can be a program name with args.
10687 set dummy
"$aros_target_cpu-aros-ld"; ac_word
=$2
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10689 $as_echo_n "checking for $ac_word... " >&6; }
10690 if ${ac_cv_path_orig_target_ld+:} false
; then :
10691 $as_echo_n "(cached) " >&6
10693 case $orig_target_ld in
10695 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
10698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10699 for as_dir
in $PATH
10702 test -z "$as_dir" && as_dir
=.
10703 for ac_exec_ext
in '' $ac_executable_extensions; do
10704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10705 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
10706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10716 orig_target_ld
=$ac_cv_path_orig_target_ld
10717 if test -n "$orig_target_ld"; then
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
10719 $as_echo "$orig_target_ld" >&6; }
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10722 $as_echo "no" >&6; }
10726 # Extract the first word of ""$aros_target_cpu-aros-as"", so it can be a program name with args.
10727 set dummy
"$aros_target_cpu-aros-as"; ac_word
=$2
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10729 $as_echo_n "checking for $ac_word... " >&6; }
10730 if ${ac_cv_path_orig_target_as+:} false
; then :
10731 $as_echo_n "(cached) " >&6
10733 case $orig_target_as in
10735 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
10738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10739 for as_dir
in $PATH
10742 test -z "$as_dir" && as_dir
=.
10743 for ac_exec_ext
in '' $ac_executable_extensions; do
10744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10745 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
10746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10756 orig_target_as
=$ac_cv_path_orig_target_as
10757 if test -n "$orig_target_as"; then
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
10759 $as_echo "$orig_target_as" >&6; }
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10762 $as_echo "no" >&6; }
10766 # Extract the first word of ""$aros_target_cpu-aros-ar"", so it can be a program name with args.
10767 set dummy
"$aros_target_cpu-aros-ar"; ac_word
=$2
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10769 $as_echo_n "checking for $ac_word... " >&6; }
10770 if ${ac_cv_path_orig_target_ar+:} false
; then :
10771 $as_echo_n "(cached) " >&6
10773 case $orig_target_ar in
10775 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
10778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10779 for as_dir
in $PATH
10782 test -z "$as_dir" && as_dir
=.
10783 for ac_exec_ext
in '' $ac_executable_extensions; do
10784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10785 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
10786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10796 orig_target_ar
=$ac_cv_path_orig_target_ar
10797 if test -n "$orig_target_ar"; then
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
10799 $as_echo "$orig_target_ar" >&6; }
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10802 $as_echo "no" >&6; }
10806 # Extract the first word of ""$aros_target_cpu-aros-ranlib"", so it can be a program name with args.
10807 set dummy
"$aros_target_cpu-aros-ranlib"; ac_word
=$2
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10809 $as_echo_n "checking for $ac_word... " >&6; }
10810 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
10811 $as_echo_n "(cached) " >&6
10813 case $orig_target_ranlib in
10815 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
10818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10819 for as_dir
in $PATH
10822 test -z "$as_dir" && as_dir
=.
10823 for ac_exec_ext
in '' $ac_executable_extensions; do
10824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10825 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10836 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
10837 if test -n "$orig_target_ranlib"; then
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
10839 $as_echo "$orig_target_ranlib" >&6; }
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10842 $as_echo "no" >&6; }
10846 # Extract the first word of ""$aros_target_cpu-aros-nm"", so it can be a program name with args.
10847 set dummy
"$aros_target_cpu-aros-nm"; ac_word
=$2
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10849 $as_echo_n "checking for $ac_word... " >&6; }
10850 if ${ac_cv_path_orig_target_nm+:} false
; then :
10851 $as_echo_n "(cached) " >&6
10853 case $orig_target_nm in
10855 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
10858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10859 for as_dir
in $PATH
10862 test -z "$as_dir" && as_dir
=.
10863 for ac_exec_ext
in '' $ac_executable_extensions; do
10864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10865 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
10866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10876 orig_target_nm
=$ac_cv_path_orig_target_nm
10877 if test -n "$orig_target_nm"; then
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
10879 $as_echo "$orig_target_nm" >&6; }
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10882 $as_echo "no" >&6; }
10886 # Extract the first word of ""$aros_target_cpu-aros-strip"", so it can be a program name with args.
10887 set dummy
"$aros_target_cpu-aros-strip"; ac_word
=$2
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10889 $as_echo_n "checking for $ac_word... " >&6; }
10890 if ${ac_cv_path_orig_target_strip+:} false
; then :
10891 $as_echo_n "(cached) " >&6
10893 case $orig_target_strip in
10895 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
10898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10899 for as_dir
in $PATH
10902 test -z "$as_dir" && as_dir
=.
10903 for ac_exec_ext
in '' $ac_executable_extensions; do
10904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10905 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
10906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10916 orig_target_strip
=$ac_cv_path_orig_target_strip
10917 if test -n "$orig_target_strip"; then
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
10919 $as_echo "$orig_target_strip" >&6; }
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10922 $as_echo "no" >&6; }
10926 # Extract the first word of ""$aros_target_cpu-aros-objcopy"", so it can be a program name with args.
10927 set dummy
"$aros_target_cpu-aros-objcopy"; ac_word
=$2
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10929 $as_echo_n "checking for $ac_word... " >&6; }
10930 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
10931 $as_echo_n "(cached) " >&6
10933 case $orig_target_objcopy in
10935 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
10938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10939 for as_dir
in $PATH
10942 test -z "$as_dir" && as_dir
=.
10943 for ac_exec_ext
in '' $ac_executable_extensions; do
10944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10945 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10956 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
10957 if test -n "$orig_target_objcopy"; then
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
10959 $as_echo "$orig_target_objcopy" >&6; }
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10962 $as_echo "no" >&6; }
10966 # Extract the first word of ""$aros_target_cpu-aros-objdump"", so it can be a program name with args.
10967 set dummy
"$aros_target_cpu-aros-objdump"; ac_word
=$2
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10969 $as_echo_n "checking for $ac_word... " >&6; }
10970 if ${ac_cv_path_orig_target_objdump+:} false
; then :
10971 $as_echo_n "(cached) " >&6
10973 case $orig_target_objdump in
10975 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
10978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10979 for as_dir
in $PATH
10982 test -z "$as_dir" && as_dir
=.
10983 for ac_exec_ext
in '' $ac_executable_extensions; do
10984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10985 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
10986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10996 orig_target_objdump
=$ac_cv_path_orig_target_objdump
10997 if test -n "$orig_target_objdump"; then
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
10999 $as_echo "$orig_target_objdump" >&6; }
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11002 $as_echo "no" >&6; }
11006 if test "$aros_gcc_version" != ""; then
11007 orig_target_cpp
="$orig_target_cpp-$aros_gcc_version"
11008 orig_target_cc
="$orig_target_cc-$aros_gcc_version"
11009 orig_target_cxx
="$orig_target_cxx-$aros_gcc_version"
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
11013 $as_echo "$kernel_tool_prefix" >&6; }
11014 orig_target_cpp
="${aros_kernel_cpp}"
11015 orig_target_cc
="${aros_kernel_cc}"
11016 orig_target_cxx
="${aros_kernel_cxx}"
11017 orig_target_ld
="${aros_kernel_ld}"
11018 orig_target_as
="${aros_kernel_as}"
11019 orig_target_ar
="${aros_kernel_ar}"
11020 orig_target_ranlib
="${aros_kernel_ranlib}"
11021 orig_target_nm
="${aros_kernel_nm}"
11022 orig_target_strip
="${aros_kernel_strip}"
11023 orig_target_objcopy
="${aros_kernel_objcopy}"
11024 orig_target_objdump
="${aros_kernel_objdump}"
11027 if test "$orig_target_cpp" = ""; then
11028 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11030 if test "$orig_target_cc" = ""; then
11031 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11033 if test "x$orig_target_cxx" != "x" ; then
11034 if test "$orig_target_cxx" = ""; then
11035 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11038 if test "$orig_target_ld" = ""; then
11039 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11041 if test "$orig_target_as" = ""; then
11042 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11044 if test "$orig_target_ar" = ""; then
11045 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11047 if test "$orig_target_ranlib" = ""; then
11048 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11050 if test "$orig_target_nm" = ""; then
11051 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11053 if test "$orig_target_strip" = ""; then
11054 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11056 if test "$orig_target_objcopy" = ""; then
11057 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11059 if test "$orig_target_objdump" = ""; then
11060 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11064 # At this point, all aros_kernel_* and aros_target_*
11065 # tools should be set up correctly
11067 CC
="$aros_kernel_cc $kernel_tool_flags"
11068 CPP
="$aros_kernel_cpp"
11070 #-----------------------------------------------------------------------------
11072 # Disable pointer-signedness warnings if the compiler recognises the option
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
11075 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
11076 save_cflags
="$CFLAGS"
11077 if test "$crosstools" != "yes" ; then
11078 CFLAGS
="$CFLAGS -Wno-pointer-sign"
11079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11090 if ac_fn_c_try_compile
"$LINENO"; then :
11091 use_no_sign_warning
="yes"
11093 use_no_sign_warning
="no"
11095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11097 # we do know it is supported for the smallest version of gcc we are going to build
11098 # we assume it's also supported by later versions
11099 use_no_sign_warning
=yes
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
11102 $as_echo "$use_no_sign_warning" >&6; }
11103 if test "x-$use_no_sign_warning" = "x-yes" ; then
11104 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
11106 CFLAGS
="$save_cflags"
11108 #-----------------------------------------------------------------------------
11110 # Find all the tools we need to compile. This could be cross-compiling
11111 # though! If that is the case we use the GNU form of the target and
11112 # simply add this to the front of the binary name. This is rather simple,
11113 # but it should work under most circumstances.
11115 # The default tools are to use the same as the host, but only if the
11116 # host and target CPU are the same. With GCC this is normally enough.
11120 aros_shared_ld
="$aros_host_ld"
11122 aros_target_mkdep
="$aros_host_mkdep"
11124 # The default tools executables to be linked to.
11125 if test "$rescomp" != ""; then
11126 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
11127 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11129 $as_echo_n "checking for $ac_word... " >&6; }
11130 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
11131 $as_echo_n "(cached) " >&6
11133 case $aros_kernel_rescomp in
11135 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
11138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11139 for as_dir
in $PATH
11142 test -z "$as_dir" && as_dir
=.
11143 for ac_exec_ext
in '' $ac_executable_extensions; do
11144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11145 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
11146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11156 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
11157 if test -n "$aros_kernel_rescomp"; then
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
11159 $as_echo "$aros_kernel_rescomp" >&6; }
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11162 $as_echo "no" >&6; }
11166 if test "$aros_kernel_rescomp" = ""; then
11167 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
11171 # Set up the sources for the symlink farm
11172 if test "$crosstools" = "yes"; then
11173 crosstools_target
=tools-crosstools
11175 crosstools_cxx_target
=tools-crosstools
11178 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
11179 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
11182 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
11183 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
11184 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
11185 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
11186 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
11187 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
11188 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
11190 # aros_cc_pre is a variable that is added to the front of the compiler name
11191 # in the generated aros-gcc shell script. We need this to enable the cache
11192 # to work across cleaned builds. Also, support DISTCC using the correct
11193 # environment variable.
11196 if test "x${DISTCC}" != "x" ; then
11197 if test "x${CCACHE}" != "x" ; then
11198 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
11200 aros_cc_pre
="${DISTCC} "
11203 if test "x${CCACHE}" != "x" ; then
11204 aros_cc_pre
="${CCACHE} "
11208 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
11210 aros_target_nostdinc_cflags
=-nostdinc
11212 aros_target_nostartup_ldflags
=-nostartfiles
11214 aros_target_nix_ldflags
=-nix
11216 aros_target_detach_ldflags
=-detach
11218 aros_target_nostdlib_ldflags
=-nostdlib
11222 if test "$crosstools" != "yes"; then
11223 if test "$GCC" = "yes"; then
11224 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
11227 # We do not know which gcc version we are going to build and what we need to know
11228 # here is different for different versions so this will be set later during the
11229 # build of crosstools.
11230 aros_target_cc_path
=@aros_target_cc_path@
11232 aros_target_cpp
="${prefix}cpp"
11233 aros_target_cc
="${prefix}gcc"
11234 aros_target_cxx
="${prefix}g++"
11235 aros_target_as
="${prefix}as"
11236 aros_target_ld
="${prefix}ld"
11237 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
11238 aros_target_objcopy
="${prefix}objcopy"
11239 aros_target_objdump
="${prefix}objdump"
11240 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
11241 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
11242 aros_target_strip
="${prefix}strip"
11243 aros_plain_nm
="${prefix}nm"
11244 aros_plain_ar
="${prefix}ar"
11246 if test "$aros_kernel_includes" != "" ; then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
11248 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
11249 if test "$aros_kernel_cc_includes" = "" ; then
11250 # Try to guess where the directory is.
11251 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
11252 if test -d $aros_kernel_cc_includes; then
11253 # Check if there is also an include-fixed directory and add it
11254 # to kernel compiler's include path as it may contain some of
11255 # the headers we need.
11256 if test -d "$aros_kernel_cc_includes"-fixed; then
11257 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
11259 # Check for specific includes directory. Neede for Ubuntu 11.10
11260 if test -d "/usr/include/i386-linux-gnu"; then
11261 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
11264 # The directory doesn't exist, we need to do some more work.
11265 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
11267 # These are the headers we're looking for.
11268 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11269 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11273 for h
in $headers; do
11274 # Which other headers are needed by each of the above?
11275 deps
=$
(echo "#include <$h>" | \
11276 $aros_kernel_cc -E -M - 2>/dev
/null | \
11277 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11279 # Copy all the needed headers to a directory beneath gendir.
11282 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
11283 sed -n "s,^.*/include\(/.*\),\1,p")
11284 ! test -d $dir && mkdir
-p $dir
11285 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
11291 $as_echo "$aros_kernel_cc_includes" >&6; }
11292 # Adding -nostdinc to kernel includes as they are always used together.
11293 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
11296 if test "$crosstools" != "yes"; then
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
11298 $as_echo_n "checking for the target compiler's include path... " >&6; }
11299 if test "$aros_target_cc_includes" = "" ; then
11300 #try to guess where the directory is
11301 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
11302 if ! test -d $aros_target_cc_includes; then
11303 #the directory doesn't exist, we need to do some more work
11304 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
11306 #these are the headers we're looking for
11307 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11308 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11312 for h
in $headers; do
11313 #which other headers each of the above headers needs?
11314 deps
=$
(echo "#include <$h>" | \
11315 $orig_target_cc -E -M - 2>/dev
/null | \
11316 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11318 #copy all the needed headers to a directory beneath gendir
11321 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
11322 sed -n "s,^.*/include\(/.*\),\1,p")
11323 ! test -d $dir && mkdir
-p $dir
11324 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
11330 $as_echo "$aros_target_cc_includes" >&6; }
11332 # We do not know which gcc version we are going to build and what we need to know
11333 # here is different for different versions so this will be set later during the
11334 # build of crosstools.
11335 aros_target_cc_includes
=@aros_target_cc_includes@
11339 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11340 # On GCC >= 4.0 -iquote should be used
11344 save_cflags
="$CFLAGS"
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11347 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11348 if test "x-$crosstools" != "x-yes"; then
11349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11360 if ac_fn_c_try_compile
"$LINENO"; then :
11365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11367 # we do know it is supported for the smallest version of gcc we are going to build
11368 # we assume it's also supported by later versions
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11372 $as_echo "$has_iquote" >&6; }
11373 if test "x-$has_iquote" = "x-yes" ; then
11374 host_cflags_iquote
=-iquote
11375 host_cflags_iquote_end
=
11377 host_cflags_iquote
=-I
11378 host_cflags_iquote_end
=-I-
11380 kernel_cflags_iquote
=$host_cflags_iquote
11381 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11382 if test "x-$cross_compiling" = "x-yes"; then
11383 CC
="$aros_kernel_cc"
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
11385 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
11386 if test "x-$crosstools" != "x-yes"; then
11387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11398 if ac_fn_c_try_compile
"$LINENO"; then :
11399 use_no_stack_protector
="yes"
11401 use_no_stack_protector
="no"
11403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11405 # we do know it is supported for the smallest version of gcc we are going to build
11406 # we assume it's also supported by later versions
11407 use_no_stack_protector
=yes
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
11410 $as_echo "$use_no_stack_protector" >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11412 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11413 if test "x-$crosstools" != "x-yes"; then
11414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11425 if ac_fn_c_try_compile
"$LINENO"; then :
11430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11432 # we do know it is supported for the smallest version of gcc we are going to build
11433 # we assume it's also supported by later versions
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11437 $as_echo "$has_iquote" >&6; }
11438 if test "x-$has_iquote" = "x-yes" ; then
11439 kernel_cflags_iquote
=-iquote
11440 kernel_cflags_iquote_end
=
11442 kernel_cflags_iquote
=-I
11443 kernel_cflags_iquote_end
=-I-
11446 aros_cflags_iquote
=$kernel_cflags_iquote
11447 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11448 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11449 CC
="$orig_target_cc"
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11451 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11452 if test "x-$crosstools" != "x-yes"; then
11453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11464 if ac_fn_c_try_compile
"$LINENO"; then :
11469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11471 # we do know it is supported for the smallest version of gcc we are going to build
11472 # we assume it's also supported by later versions
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11476 $as_echo "$has_iquote" >&6; }
11477 if test "x-$has_iquote" = "x-yes" ; then
11478 aros_cflags_iquote
=-iquote
11479 aros_cflags_iquote_end
=
11481 aros_cflags_iquote
=-I
11482 aros_cflags_iquote_end
=-I-
11485 if test "x-$use_no_stack_protector" = "x-yes" ; then
11486 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
11490 #-----------------------------------------------------------------------------
11492 # Check if the target compiler supports some options used for delinting:
11493 # -Wunused-but-set-variable
11496 # -Wstrict-overflow
11497 # -Wformat-security
11499 if test "x-$crosstools" != "x-yes"; then
11500 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11501 CC
="$orig_target_cc"
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
11504 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
11505 CFLAGS
=-Wunused-but-set-variable
11506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11517 if ac_fn_c_try_compile
"$LINENO"; then :
11518 aros_unused_but_set_variable
="yes"
11520 aros_unused_but_set_variable
="no"
11522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
11524 $as_echo "$aros_unused_but_set_variable" >&6; }
11525 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
11526 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
11530 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
11531 CFLAGS
=-Warray-bounds
11532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11543 if ac_fn_c_try_compile
"$LINENO"; then :
11544 aros_array_bounds
="yes"
11546 aros_array_bounds
="no"
11548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
11550 $as_echo "$aros_array_bounds" >&6; }
11551 if test "x-$aros_array_bounds" = "x-yes" ; then
11552 aros_cflags_array_bounds
=-Wno-array-bounds
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
11556 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
11557 CFLAGS
=-Wenum-compare
11558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11569 if ac_fn_c_try_compile
"$LINENO"; then :
11570 aros_enum_compare
="yes"
11572 aros_enum_compare
="no"
11574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
11576 $as_echo "$aros_enum_compare" >&6; }
11577 if test "x-$aros_enum_compare" = "x-yes" ; then
11578 aros_cflags_enum_compare
=-Wno-enum-compare
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
11582 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
11583 CFLAGS
=-Wstrict-overflow
11584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11595 if ac_fn_c_try_compile
"$LINENO"; then :
11596 aros_strict_overflow
="yes"
11598 aros_strict_overflow
="no"
11600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
11602 $as_echo "$aros_strict_overflow" >&6; }
11603 if test "x-$aros_strict_overflow" = "x-yes" ; then
11604 aros_cflags_strict_overflow
=-Wno-strict-overflow
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
11608 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
11609 CFLAGS
=-Wformat-security
11610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11621 if ac_fn_c_try_compile
"$LINENO"; then :
11622 aros_format_security
="yes"
11624 aros_format_security
="no"
11626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
11628 $as_echo "$aros_format_security" >&6; }
11629 if test "x-$aros_format_security" = "x-yes" ; then
11630 aros_cflags_format_security
=-Wno-format-security
11633 # We do not know which gcc version we are going to build and what we need to know
11634 # here is different for different versions so this will be set later during the
11635 # build of crosstools.
11636 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
11637 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
11638 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
11639 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
11640 aros_cflags_format_security
=@aros_cflags_format_security@
11643 #-----------------------------------------------------------------------------
11645 # Check if we can explicitly choose older version of symbol hashing
11647 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
11648 CC
="$aros_kernel_cc"
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11650 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11662 if ac_fn_c_try_link
"$LINENO"; then :
11663 use_hash_style
="yes"
11665 use_hash_style
="no"
11667 rm -f core conftest.err conftest.
$ac_objext \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
11670 $as_echo "$use_hash_style" >&6; }
11671 if test "x-$use_hash_style" = "x-yes" ; then
11672 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11675 CFLAGS
="$save_cflags"
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
11686 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11688 # Check whether --with-resolution was given.
11689 if test "${with_resolution+set}" = set; then :
11690 withval
=$with_resolution; resolution
=$withval
11695 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11696 if test "$resolution" = "yes" ; then
11699 if test "$resolution" = "no" ; then
11702 if test "$resolution" != "none" ; then
11703 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11704 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11705 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11708 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11709 aros_cv_default_wbwidth
=$aros_default_wbwidth
11710 aros_cv_default_wbheight
=$aros_default_wbheight
11711 aros_cv_default_wbdepth
=$aros_default_wbdepth
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
11714 $as_echo_n "checking if serial debug is enabled... " >&6; }
11716 # Check whether --with-serial-debug was given.
11717 if test "${with_serial_debug+set}" = set; then :
11718 withval
=$with_serial_debug; serial_debug
=$withval
11723 if test "$aros_serial_debug" = 0 ; then
11724 serial_debug_forced
=""
11725 if test "$serial_debug" = "yes" ; then
11728 if test "$serial_debug" = "no" ; then
11729 serial_debug
="none"
11732 serial_debug_forced
="(forced)"
11733 serial_debug
=$aros_serial_debug
11735 if test "$serial_debug" != "none" ; then
11736 aros_serial_debug
=$serial_debug
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
11738 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 $as_echo "no" >&6; }
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
11745 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11746 # Check whether --enable-palm_debug_hack was given.
11747 if test "${enable_palm_debug_hack+set}" = set; then :
11748 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11750 palm_debug_hack
="no"
11753 if test "$palm_debug_hack" = "yes" ; then
11754 aros_palm_debug_hack
="1"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
11757 $as_echo "$palm_debug_hack" >&6; }
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
11760 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
11761 # Check whether --enable-usb30_code was given.
11762 if test "${enable_usb30_code+set}" = set; then :
11763 enableval
=$enable_usb30_code; usb30_code
="yes"
11768 if test "$usb30_code" = "yes" ; then
11769 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
11770 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
11773 $as_echo "$usb30_code" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
11776 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11777 # Check whether --enable-nesting_supervisor was given.
11778 if test "${enable_nesting_supervisor+set}" = set; then :
11779 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11781 nesting_supervisor
="no"
11784 if test "$nesting_supervisor" = "yes" ; then
11785 aros_nesting_supervisor
="1"
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
11788 $as_echo "$nesting_supervisor" >&6; }
11790 if test "$aros_enable_mmu" = "" ; then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
11792 $as_echo_n "checking if MMU support is enabled... " >&6; }
11793 # Check whether --enable-mmu was given.
11794 if test "${enable_mmu+set}" = set; then :
11795 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
11797 aros_enable_mmu
="yes"
11800 if test "$aros_enable_mmu" = "" ; then
11801 aros_enable_mmu
="yes"
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
11804 $as_echo "$aros_enable_mmu" >&6; }
11806 if test "$aros_enable_mmu" = "no" ; then
11807 aros_enable_mmu
="0"
11809 aros_enable_mmu
="1"
11813 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11815 if test "x-$need_dlopen" != "x-no" ; then
11816 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11817 if test "x$ac_cv_func_dlopen" = xyes
; then :
11823 if test "x-$have_dl" = "x-no" ; then
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11825 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11826 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11827 $as_echo_n "(cached) " >&6
11829 ac_check_lib_save_LIBS
=$LIBS
11831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11849 if ac_fn_c_try_link
"$LINENO"; then :
11850 ac_cv_lib_dl_dlopen
=yes
11852 ac_cv_lib_dl_dlopen
=no
11854 rm -f core conftest.err conftest.
$ac_objext \
11855 conftest
$ac_exeext conftest.
$ac_ext
11856 LIBS
=$ac_check_lib_save_LIBS
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11859 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11860 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11862 aros_host_ldflags
="$aros_host_ldflags -ldl"
11868 if test "x-$have_dl" = "x-no" ; then
11869 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
11874 # Check whether --enable-x11_hidd was given.
11875 if test "${enable_x11_hidd+set}" = set; then :
11876 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11878 x11_hidd
="$need_x11"
11881 case "x-$x11_hidd" in
11882 x-yes|x-no|x-auto
) ;;
11883 *) x11_hidd
="$need_x11" ;;
11888 if test "x-$x11_hidd" != "x-no" ; then
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11891 $as_echo_n "checking for X... " >&6; }
11894 # Check whether --with-x was given.
11895 if test "${with_x+set}" = set; then :
11899 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11900 if test "x$with_x" = xno
; then
11901 # The user explicitly disabled X.
11904 case $x_includes,$x_libraries in #(
11905 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
11906 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
11907 $as_echo_n "(cached) " >&6
11909 # One or both of the vars are not set, and there is no cached value.
11910 ac_x_includes
=no ac_x_libraries
=no
11911 rm -f -r conftest.dir
11912 if mkdir conftest.dir
; then
11914 cat >Imakefile
<<'_ACEOF'
11916 @echo incroot='${INCROOT}'
11918 @echo usrlibdir='${USRLIBDIR}'
11920 @echo libdir='${LIBDIR}'
11922 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11923 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11924 for ac_var
in incroot usrlibdir libdir
; do
11925 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11927 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11928 for ac_extension
in a so sl dylib la dll
; do
11929 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11930 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11931 ac_im_usrlibdir
=$ac_im_libdir; break
11934 # Screen out bogus values from the imake configuration. They are
11935 # bogus both because they are the default anyway, and because
11936 # using them would break gcc on systems where it needs fixed includes.
11937 case $ac_im_incroot in
11938 /usr
/include
) ac_x_includes
= ;;
11939 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11941 case $ac_im_usrlibdir in
11942 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
11943 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11947 rm -f -r conftest.dir
11950 # Standard set of common directories for X headers.
11951 # Check X11 before X11Rn because it is often a symlink to the current release.
11965 /usr/local/X11/include
11966 /usr/local/X11R7/include
11967 /usr/local/X11R6/include
11968 /usr/local/X11R5/include
11969 /usr/local/X11R4/include
11971 /usr/local/include/X11
11972 /usr/local/include/X11R7
11973 /usr/local/include/X11R6
11974 /usr/local/include/X11R5
11975 /usr/local/include/X11R4
11979 /usr/XFree86/include/X11
11983 /usr/unsupported/include
11984 /usr/athena/include
11985 /usr/local/x11r5/include
11986 /usr/lpp/Xamples/include
11988 /usr/openwin/include
11989 /usr/openwin/share/include'
11991 if test "$ac_x_includes" = no
; then
11992 # Guess where to find include files, by looking for Xlib.h.
11993 # First, try using that file with no special directory specified.
11994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11996 #include <X11/Xlib.h>
11998 if ac_fn_c_try_cpp
"$LINENO"; then :
11999 # We can compile using X headers with no special include directory.
12002 for ac_dir
in $ac_x_header_dirs; do
12003 if test -r "$ac_dir/X11/Xlib.h"; then
12004 ac_x_includes
=$ac_dir
12009 rm -f conftest.err conftest.i conftest.
$ac_ext
12010 fi # $ac_x_includes = no
12012 if test "$ac_x_libraries" = no
; then
12013 # Check for the libraries.
12014 # See if we find them without any special options.
12015 # Don't add to $LIBS permanently.
12018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12020 #include <X11/Xlib.h>
12029 if ac_fn_c_try_link
"$LINENO"; then :
12031 # We can link X programs with no special library path.
12035 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12037 # Don't even attempt the hair of trying to link an X program!
12038 for ac_extension
in a so sl dylib la dll
; do
12039 if test -r "$ac_dir/libX11.$ac_extension"; then
12040 ac_x_libraries
=$ac_dir
12046 rm -f core conftest.err conftest.
$ac_objext \
12047 conftest
$ac_exeext conftest.
$ac_ext
12048 fi # $ac_x_libraries = no
12050 case $ac_x_includes,$ac_x_libraries in #(
12051 no
,* |
*,no |
*\'*)
12052 # Didn't find X, or a directory has "'" in its name.
12053 ac_cv_have_x
="have_x=no";; #(
12055 # Record where we found X for the cache.
12056 ac_cv_have_x
="have_x=yes\
12057 ac_x_includes='$ac_x_includes'\
12058 ac_x_libraries='$ac_x_libraries'"
12064 eval "$ac_cv_have_x"
12067 if test "$have_x" != yes; then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12069 $as_echo "$have_x" >&6; }
12072 # If each of the values was on the command line, it overrides each guess.
12073 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
12074 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
12075 # Update the cache value to reflect the command line values.
12076 ac_cv_have_x
="have_x=yes\
12077 ac_x_includes='$x_includes'\
12078 ac_x_libraries='$x_libraries'"
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12080 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12085 for path
in $x_libraries
12087 x_cflags
="$x_cflags -L$path"
12090 for path
in $x_includes
12092 x_cflags
="$x_cflags -I$path"
12095 if test "x-$no_x" = "x-yes" ; then
12097 if test "x-$x11_hidd" != "x-auto" ; then
12098 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
12102 x11_hidd_target
=kernel-x11gfx-kobj
12105 # Check whether --enable-x11_shm was given.
12106 if test "${enable_x11_shm+set}" = set; then :
12107 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
12109 x11_hidd_shm
="auto"
12112 case "x-$x11_hidd_shm" in
12113 x-yes|x-no|x-auto
) ;;
12114 *) x11_hidd_shm
="auto" ;;
12119 if test "x-$x11_hidd_shm" != "x-no" ; then
12121 for ac_header
in sys
/ipc.h
12123 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
12124 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
12125 cat >>confdefs.h
<<_ACEOF
12126 #define HAVE_SYS_IPC_H 1
12133 for ac_header
in sys
/shm.h
12135 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
12136 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
12137 cat >>confdefs.h
<<_ACEOF
12138 #define HAVE_SYS_SHM_H 1
12146 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
12148 save_cflags
="$CFLAGS"
12149 CFLAGS
="$CFLAGS $x_cflags"
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
12151 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
12152 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
12153 $as_echo_n "(cached) " >&6
12155 ac_check_lib_save_LIBS
=$LIBS
12156 LIBS
="-lXext $LIBS"
12157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12166 char XShmQueryExtension ();
12170 return XShmQueryExtension ();
12175 if ac_fn_c_try_link
"$LINENO"; then :
12176 ac_cv_lib_Xext_XShmQueryExtension
=yes
12178 ac_cv_lib_Xext_XShmQueryExtension
=no
12180 rm -f core conftest.err conftest.
$ac_objext \
12181 conftest
$ac_exeext conftest.
$ac_ext
12182 LIBS
=$ac_check_lib_save_LIBS
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12185 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12186 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
12190 CFLAGS
="$save_cflags"
12194 if test "x-$have_xshm" = "x-yes" ; then
12195 DO_XSHM_SUPPORT
="1"
12196 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12197 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
12199 DO_XSHM_SUPPORT
="0"
12203 # Check whether --enable-x11_vidmode was given.
12204 if test "${enable_x11_vidmode+set}" = set; then :
12205 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
12207 x11_hidd_vidmode
="auto"
12210 case "x-$x11_hidd_vidmode" in
12211 x-yes|x-no|x-auto
) ;;
12212 *) x11_hidd_vidmode
="auto" ;;
12217 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12219 save_cflags
="$CFLAGS"
12220 CFLAGS
="$CFLAGS $x_cflags"
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12222 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
12223 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
12224 $as_echo_n "(cached) " >&6
12226 ac_check_lib_save_LIBS
=$LIBS
12227 LIBS
="-lXxf86vm $LIBS"
12228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12237 char XF86VidModeQueryExtension ();
12241 return XF86VidModeQueryExtension ();
12246 if ac_fn_c_try_link
"$LINENO"; then :
12247 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
12249 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
12251 rm -f core conftest.err conftest.
$ac_objext \
12252 conftest
$ac_exeext conftest.
$ac_ext
12253 LIBS
=$ac_check_lib_save_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12256 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12257 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
12261 CFLAGS
="$save_cflags"
12264 if test "x-$have_vidmode" = "x-yes" ; then
12265 DO_VIDMODE_SUPPORT
="1"
12266 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12267 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
12269 DO_VIDMODE_SUPPORT
="0"
12273 aros_host_x11_includes
=$x_includes
12274 aros_host_x11_libdirs
=$x_libraries
12278 # Check whether --enable-sdl_hidd was given.
12279 if test "${enable_sdl_hidd+set}" = set; then :
12280 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
12285 case "x-$sdl_hidd" in
12286 x-yes|x-no|x-auto
) ;;
12287 *) sdl_hidd
="auto" ;;
12290 if test "x-$sdl_hidd" != "x-no" ; then
12293 # Check whether --with-sdl-prefix was given.
12294 if test "${with_sdl_prefix+set}" = set; then :
12295 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
12301 # Check whether --with-sdl-exec-prefix was given.
12302 if test "${with_sdl_exec_prefix+set}" = set; then :
12303 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
12308 # Check whether --enable-sdltest was given.
12309 if test "${enable_sdltest+set}" = set; then :
12310 enableval
=$enable_sdltest;
12316 if test x
$sdl_exec_prefix != x
; then
12317 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
12318 if test x
${SDL_CONFIG+set} != xset
; then
12319 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
12322 if test x
$sdl_prefix != x
; then
12323 sdl_args
="$sdl_args --prefix=$sdl_prefix"
12324 if test x
${SDL_CONFIG+set} != xset
; then
12325 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
12329 if test "x$prefix" != xNONE
; then
12330 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
12332 # Extract the first word of "sdl-config", so it can be a program name with args.
12333 set dummy sdl-config
; ac_word
=$2
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12335 $as_echo_n "checking for $ac_word... " >&6; }
12336 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
12337 $as_echo_n "(cached) " >&6
12339 case $SDL_CONFIG in
12341 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
12344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12345 for as_dir
in $PATH
12348 test -z "$as_dir" && as_dir
=.
12349 for ac_exec_ext
in '' $ac_executable_extensions; do
12350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12351 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12359 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12363 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12364 if test -n "$SDL_CONFIG"; then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
12366 $as_echo "$SDL_CONFIG" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12369 $as_echo "no" >&6; }
12373 min_sdl_version
=1.2.10
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
12375 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
12377 if test "$SDL_CONFIG" = "no" ; then
12380 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12381 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12383 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12385 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12387 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12389 if test "x$enable_sdltest" = "xyes" ; then
12390 ac_save_CFLAGS
="$CFLAGS"
12391 ac_save_CXXFLAGS
="$CXXFLAGS"
12392 ac_save_LIBS
="$LIBS"
12393 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12394 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12395 LIBS
="$LIBS $SDL_LIBS"
12397 if test "$cross_compiling" = yes; then :
12398 echo $ac_n "cross compiling; assumed OK... $ac_c"
12400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12404 #include <stdlib.h>
12405 #include <string.h>
12409 my_strdup (char *str)
12415 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12416 strcpy (new_str, str);
12424 int main (int argc, char *argv[])
12426 int major, minor, micro;
12429 /* This hangs on some systems (?)
12430 system ("touch conf.sdltest");
12432 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12434 /* HP/UX 9 (%@#!) writes to sscanf strings */
12435 tmp_version = my_strdup("$min_sdl_version");
12436 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12437 printf("%s, bad version string\n", "$min_sdl_version");
12441 if (($sdl_major_version > major) ||
12442 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12443 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12449 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12450 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12451 printf("*** best to upgrade to the required version.\n");
12452 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12453 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12454 printf("*** config.cache before re-running configure\n");
12461 if ac_fn_c_try_run
"$LINENO"; then :
12466 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12467 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12470 CFLAGS
="$ac_save_CFLAGS"
12471 CXXFLAGS
="$ac_save_CXXFLAGS"
12472 LIBS
="$ac_save_LIBS"
12475 if test "x$no_sdl" = x
; then
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12477 $as_echo "yes" >&6; }
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12481 $as_echo "no" >&6; }
12482 if test "$SDL_CONFIG" = "no" ; then
12483 echo "*** The sdl-config script installed by SDL could not be found"
12484 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12485 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12486 echo "*** full path to sdl-config."
12488 if test -f conf.sdltest
; then
12491 echo "*** Could not run SDL test program, checking why..."
12492 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12493 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12494 LIBS
="$LIBS $SDL_LIBS"
12495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12501 int main(int argc, char *argv[])
12504 #define main K_and_R_C_main
12514 if ac_fn_c_try_link
"$LINENO"; then :
12515 echo "*** The test program compiled, but did not run. This usually means"
12516 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12517 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12518 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12519 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12520 echo "*** is required on your system"
12522 echo "*** If you have an old version installed, it is best to remove it, although"
12523 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12525 echo "*** The test program failed to compile or link. See the file config.log for the"
12526 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12527 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12528 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12530 rm -f core conftest.err conftest.
$ac_objext \
12531 conftest
$ac_exeext conftest.
$ac_ext
12532 CFLAGS
="$ac_save_CFLAGS"
12533 CXXFLAGS
="$ac_save_CXXFLAGS"
12534 LIBS
="$ac_save_LIBS"
12546 if test "x-$have_sdl" != "x-yes" ; then
12548 if test "x-$sdl_hidd" != "x-auto" ; then
12549 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
12553 sdl_hidd_target
=kernel-hidd-sdl
12554 aros_host_sdl_cflags
=SDL_CFLAGS
12555 aros_host_sdl_libs
=SDL_LIBS
12559 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12560 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12565 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
12566 oss_library_target
=workbench-libs-oss-unix
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
12572 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12573 # Check whether --enable-dbus was given.
12574 if test "${enable_dbus+set}" = set; then :
12575 enableval
=$enable_dbus; dbus
="yes"
12580 if test "$dbus" = "yes" ; then
12582 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12583 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12584 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12585 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
12590 $as_echo "$dbus" >&6; }
12592 if test "$use_kernel_cc_wrapper" = "yes" ; then
12593 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
12596 if test "${crosstools}" != "yes" ; then
12597 aros_target_toolchain
=no
12599 aros_target_toolchain
=yes
12615 # Compatability with other Amiga-like operation systems
12710 # Delinting target compiler flags
12734 # Native version related
12737 # Palm native version related
12743 # Unix/Hosted version related
12749 # Apple iOS related
12774 # Collect-aros stuff: "-ius" to ignore undefined symbols
12777 # C compiler related
12780 case "$aros_flavour" in
12781 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12782 aros_flavour
="emulation" ;;
12783 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12784 aros_flavour
="emulation" ;;
12785 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12786 aros_flavour
="standalone";;
12787 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12788 aros_flavour
="standalone";;
12789 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12790 aros_flavour
="native" ;;
12791 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12792 aros_flavour
="native" ;;
12793 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12794 aros_flavour
="linklib" ;;
12795 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12796 aros_flavour
="palmnative" ;;
12797 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12798 aros_flavour
="mac68knative" ;;
12799 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12800 aros_flavour
="ppcnative" ;;
12803 if test ! -d ${aros_inc_dir} ; then
12804 ${MKDIR} ${aros_inc_dir}
12806 if test ! -d ${aros_geninc_dir} ; then
12807 ${MKDIR} ${aros_geninc_dir}
12809 if test ! -d ${aros_hostcfg_dir} ; then
12810 ${MKDIR} ${aros_hostcfg_dir}
12812 if test ! -d ${aros_targetcfg_dir} ; then
12813 ${MKDIR} ${aros_targetcfg_dir}
12815 if test ! -d ${aros_tools_dir} ; then
12816 ${MKDIR} ${aros_tools_dir}
12818 if test ! -d ${aros_scripts_dir} ; then
12819 ${MKDIR} ${aros_scripts_dir}
12822 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12825 ac_config_commands
="$ac_config_commands compiler_executable"
12827 ac_config_commands
="$ac_config_commands genmf_executable"
12830 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"
12833 cat >confcache
<<\_ACEOF
12834 # This file is a shell script that caches the results of configure
12835 # tests run on this system so they can be shared between configure
12836 # scripts and configure runs, see configure's option --config-cache.
12837 # It is not useful on other systems. If it contains results you don't
12838 # want to keep, you may remove or edit it.
12840 # config.status only pays attention to the cache file if you give it
12841 # the --recheck option to rerun configure.
12843 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12844 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12845 # following values.
12849 # The following way of writing the cache mishandles newlines in values,
12850 # but we know of no workaround that is simple, portable, and efficient.
12851 # So, we kill variables containing newlines.
12852 # Ultrix sh set writes to stderr and can't be redirected directly,
12853 # and sets the high bit in the cache file unless we assign to the vars.
12855 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12856 eval ac_val
=\$
$ac_var
12860 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12861 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12864 _ | IFS | as_nl
) ;; #(
12865 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12866 *) { eval $ac_var=; unset $ac_var;} ;;
12872 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12873 *${as_nl}ac_space
=\
*)
12874 # `set' does not quote correctly, so add quotes: double-quote
12875 # substitution turns \\\\ into \\, and sed turns \\ into \.
12878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12881 # `set' quotes correctly as required by POSIX, so do not add quotes.
12882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12893 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12895 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12896 if test -w "$cache_file"; then
12897 if test "x$cache_file" != "x/dev/null"; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12899 $as_echo "$as_me: updating cache $cache_file" >&6;}
12900 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12901 cat confcache
>"$cache_file"
12903 case $cache_file in #(
12905 mv -f confcache
"$cache_file"$$
&&
12906 mv -f "$cache_file"$$
"$cache_file" ;; #(
12908 mv -f confcache
"$cache_file" ;;
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12914 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12919 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12920 # Let make expand exec_prefix.
12921 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12923 DEFS
=-DHAVE_CONFIG_H
12928 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12929 # 1. Remove the extension, and $U if already installed.
12930 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12931 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12932 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12933 # will be set to the directory where LIBOBJS objects are built.
12934 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12935 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12937 LIBOBJS
=$ac_libobjs
12939 LTLIBOBJS
=$ac_ltlibobjs
12943 : "${CONFIG_STATUS=./config.status}"
12945 ac_clean_files_save
=$ac_clean_files
12946 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12948 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12950 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12952 # Generated by $as_me.
12953 # Run this file to recreate the current configuration.
12954 # Compiler output produced by configure, useful for debugging
12955 # configure, is in config.log if it exists.
12958 ac_cs_recheck=false
12961 SHELL=\${CONFIG_SHELL-$SHELL}
12964 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12965 ## -------------------- ##
12966 ## M4sh Initialization. ##
12967 ## -------------------- ##
12969 # Be more Bourne compatible
12970 DUALCASE
=1; export DUALCASE
# for MKS sh
12971 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12974 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12975 # is contrary to our usage. Disable this feature.
12976 alias -g '${1+"$@"}'='"$@"'
12977 setopt NO_GLOB_SUBST
12979 case `(set -o) 2>/dev/null` in #(
12991 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12992 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12993 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12994 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12995 # Prefer a ksh shell builtin over an external printf program on Solaris,
12996 # but without wasting forks for bash or zsh.
12997 if test -z "$BASH_VERSION$ZSH_VERSION" \
12998 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12999 as_echo='print
-r --'
13000 as_echo_n='print
-rn --'
13001 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13002 as_echo='printf %s
\n'
13003 as_echo_n='printf %s
'
13005 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13006 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13007 as_echo_n='/usr
/ucb
/echo -n'
13009 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13010 as_echo_n_body='eval
13014 expr "X$arg" : "X\\(.*\\)$as_nl";
13015 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13017 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13019 export as_echo_n_body
13020 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13022 export as_echo_body
13023 as_echo='sh
-c $as_echo_body as_echo
'
13026 # The user is always right.
13027 if test "${PATH_SEPARATOR+set}" != set; then
13029 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13030 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13037 # We need space, tab and new line, in precisely that order. Quoting is
13038 # there to prevent editors from complaining about space-tab.
13039 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13040 # splitting by setting IFS to empty value.)
13043 # Find who we are. Look in the path if we contain no directory separator.
13046 *[\\/]* ) as_myself=$0 ;;
13047 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13048 for as_dir in $PATH
13051 test -z "$as_dir" && as_dir=.
13052 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13058 # We did not find ourselves, most probably we were run as `sh COMMAND'
13059 # in which case we are not to be found in the path.
13060 if test "x$as_myself" = x
; then
13063 if test ! -f "$as_myself"; then
13064 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13068 # Unset variables that we do not need and which cause bugs (e.g. in
13069 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13070 # suppresses any "Segmentation fault" message there. '((' could
13071 # trigger a bug in pdksh 5.2.14.
13072 for as_var
in BASH_ENV ENV MAIL MAILPATH
13073 do eval test x\
${$as_var+set} = xset \
13074 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13087 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13090 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13091 # ----------------------------------------
13092 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13093 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13094 # script with STATUS, using 1 if that was 0.
13097 as_status
=$1; test $as_status -eq 0 && as_status
=1
13099 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13100 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13102 $as_echo "$as_me: error: $2" >&2
13103 as_fn_exit
$as_status
13107 # as_fn_set_status STATUS
13108 # -----------------------
13109 # Set $? to STATUS, without forking.
13110 as_fn_set_status
()
13113 } # as_fn_set_status
13115 # as_fn_exit STATUS
13116 # -----------------
13117 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13121 as_fn_set_status
$1
13127 # Portably unset VAR.
13130 { eval $1=; unset $1;}
13132 as_unset
=as_fn_unset
13133 # as_fn_append VAR VALUE
13134 # ----------------------
13135 # Append the text in VALUE to the end of the definition contained in VAR. Take
13136 # advantage of any shell optimizations that allow amortized linear growth over
13137 # repeated appends, instead of the typical quadratic growth present in naive
13139 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13140 eval 'as_fn_append ()
13151 # as_fn_arith ARG...
13152 # ------------------
13153 # Perform arithmetic evaluation on the ARGs, and store the result in the
13154 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13155 # must be portable across $(()) and expr.
13156 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13157 eval 'as_fn_arith ()
13164 as_val
=`expr "$@" || test $? -eq 1`
13169 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13170 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13176 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13177 as_basename
=basename
13182 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13188 as_me
=`$as_basename -- "$0" ||
13189 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13190 X"$0" : 'X\(//\)$' \| \
13191 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13193 sed '/^.*\/\([^/][^/]*\)\/*$/{
13207 # Avoid depending upon Character Ranges.
13208 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13209 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13210 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13211 as_cr_digits
='0123456789'
13212 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13214 ECHO_C
= ECHO_N
= ECHO_T
=
13215 case `echo -n x` in #(((((
13217 case `echo 'xy\c'` in
13218 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13220 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13227 rm -f conf$$ conf$$.exe conf$$.
file
13228 if test -d conf$$.dir
; then
13229 rm -f conf$$.dir
/conf$$.
file
13232 mkdir conf$$.dir
2>/dev
/null
13234 if (echo >conf$$.
file) 2>/dev
/null
; then
13235 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13237 # ... but there are two gotchas:
13238 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13239 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13240 # In both cases, we have to default to `cp -p'.
13241 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13243 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13251 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13252 rmdir conf$$.dir
2>/dev
/null
13257 # Create "$as_dir" as a directory, including parents if necessary.
13262 -*) as_dir
=.
/$as_dir;;
13264 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13268 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13269 *) as_qdir
=$as_dir;;
13271 as_dirs
="'$as_qdir' $as_dirs"
13272 as_dir
=`$as_dirname -- "$as_dir" ||
13273 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13274 X"$as_dir" : 'X\(//\)[^/]' \| \
13275 X"$as_dir" : 'X\(//\)$' \| \
13276 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13277 $as_echo X"$as_dir" |
13278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13282 /^X\(\/\/\)[^/].*/{
13295 test -d "$as_dir" && break
13297 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13298 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13302 if mkdir
-p .
2>/dev
/null
; then
13303 as_mkdir_p
='mkdir -p "$as_dir"'
13305 test -d .
/-p && rmdir .
/-p
13309 if test -x / >/dev
/null
2>&1; then
13310 as_test_x
='test -x'
13312 if ls -dL / >/dev
/null
2>&1; then
13319 if test -d "$1"; then
13325 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13326 ???[sx]*):;;*)false;;esac;fi
13330 as_executable_p
=$as_test_x
13332 # Sed expression to map a string onto a valid CPP name.
13333 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13335 # Sed expression to map a string onto a valid variable name.
13336 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13340 ## ----------------------------------- ##
13341 ## Main body of $CONFIG_STATUS script. ##
13342 ## ----------------------------------- ##
13344 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13347 # Save the log message, to keep $0 and so on meaningful, and to
13348 # report actual input values of CONFIG_FILES etc. instead of their
13349 # values after options handling.
13351 This file was extended by $as_me, which was
13352 generated by GNU Autoconf 2.68. Invocation command line was
13354 CONFIG_FILES = $CONFIG_FILES
13355 CONFIG_HEADERS = $CONFIG_HEADERS
13356 CONFIG_LINKS = $CONFIG_LINKS
13357 CONFIG_COMMANDS = $CONFIG_COMMANDS
13360 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13365 case $ac_config_files in *"
13366 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13369 case $ac_config_headers in *"
13370 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13375 # Files that config.status was made for.
13376 config_files="$ac_config_files"
13377 config_headers="$ac_config_headers"
13378 config_commands="$ac_config_commands"
13382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13384 \`$as_me' instantiates files and other configuration actions
13385 from templates according to the current configuration. Unless the files
13386 and actions are specified as TAGs, all are instantiated by default.
13388 Usage: $0 [OPTION]... [TAG]...
13390 -h, --help print this help, then exit
13391 -V, --version print version number and configuration settings, then exit
13392 --config print configuration, then exit
13393 -q, --quiet, --silent
13394 do not print progress messages
13395 -d, --debug don't remove temporary files
13396 --recheck update $as_me by reconfiguring in the same conditions
13397 --file=FILE[:TEMPLATE]
13398 instantiate the configuration file FILE
13399 --header=FILE[:TEMPLATE]
13400 instantiate the configuration header FILE
13402 Configuration files:
13405 Configuration headers:
13408 Configuration commands:
13411 Report bugs to the package provider."
13414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13415 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13418 configured by $0, generated by GNU Autoconf 2.68,
13419 with options \\"\$ac_cs_config\\"
13421 Copyright (C) 2010 Free Software Foundation, Inc.
13422 This config.status script is free software; the Free Software Foundation
13423 gives unlimited permission to copy, distribute and modify it."
13427 test -n "\$AWK" || AWK=awk
13430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13431 # The default lists apply if the user does not specify any file.
13437 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13438 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13442 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13454 # Handling of the options.
13455 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13457 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13458 $as_echo "$ac_cs_version"; exit ;;
13459 --config |
--confi |
--conf |
--con |
--co |
--c )
13460 $as_echo "$ac_cs_config"; exit ;;
13461 --debug |
--debu |
--deb |
--de |
--d |
-d )
13463 --file |
--fil |
--fi |
--f )
13466 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13467 '') as_fn_error $?
"missing file argument" ;;
13469 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13470 ac_need_defaults
=false
;;
13471 --header |
--heade |
--head |
--hea )
13474 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13476 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13477 ac_need_defaults
=false
;;
13479 # Conflict between --help and --header
13480 as_fn_error $?
"ambiguous option: \`$1'
13481 Try \`$0 --help' for more information.";;
13482 --help |
--hel |
-h )
13483 $as_echo "$ac_cs_usage"; exit ;;
13484 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13485 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13488 # This is an error.
13489 -*) as_fn_error $?
"unrecognized option: \`$1'
13490 Try \`$0 --help' for more information." ;;
13492 *) as_fn_append ac_config_targets
" $1"
13493 ac_need_defaults
=false
;;
13499 ac_configure_extra_args
=
13501 if $ac_cs_silent; then
13503 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13508 if \$ac_cs_recheck; then
13509 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13511 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13512 CONFIG_SHELL='$SHELL'
13513 export CONFIG_SHELL
13518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13522 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13523 ## Running $as_me. ##
13529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13534 aros_host_exe_suffix=${aros_host_exe_suffix}
13535 aros_tools_dir=${aros_tools_dir}
13536 aros_target_cpu=${aros_target_cpu}
13537 aros_target_arch=${aros_target_arch}
13538 aros_target_suffix=${aros_target_suffix}
13539 orig_target_nm=${orig_target_nm}
13540 orig_target_as=${orig_target_as}
13541 orig_target_ar=${orig_target_ar}
13542 orig_target_ranlib=${orig_target_ranlib}
13543 orig_target_objdump=${orig_target_objdump}
13544 orig_target_objcopy=${orig_target_objcopy}
13545 orig_target_strip=${orig_target_strip}
13546 aros_kernel_ld=${aros_kernel_ld}
13549 aros_tools_dir=${aros_tools_dir}
13554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13556 # Handling of arguments.
13557 for ac_config_target
in $ac_config_targets
13559 case $ac_config_target in
13560 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13561 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13562 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13563 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13564 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13565 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13566 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13567 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13568 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13569 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13570 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13571 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13572 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
13573 "${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" ;;
13574 "${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" ;;
13575 "${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" ;;
13576 "${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" ;;
13577 "${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" ;;
13578 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13579 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13580 "${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" ;;
13582 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13587 # If the user did not use the arguments to specify the items to instantiate,
13588 # then the envvar interface is used. Set only those that are not.
13589 # We use the long form for the default assignment because of an extremely
13590 # bizarre bug on SunOS 4.1.3.
13591 if $ac_need_defaults; then
13592 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13593 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13594 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13597 # Have a temporary directory for convenience. Make it in the build tree
13598 # simply because there is no reason against having it here, and in addition,
13599 # creating and moving files from /tmp can sometimes cause problems.
13600 # Hook for its removal unless debugging.
13601 # Note that there is a small window in which the directory will not be cleaned:
13602 # after its creation but before its name has been assigned to `$tmp'.
13606 trap 'exit_status=$?
13607 : "${ac_tmp:=$tmp}"
13608 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13610 trap 'as_fn_exit 1' 1 2 13 15
13612 # Create a (secure) tmp directory for tmp files.
13615 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13619 tmp
=.
/conf$$
-$RANDOM
13620 (umask 077 && mkdir
"$tmp")
13621 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13624 # Set up the scripts for CONFIG_FILES section.
13625 # No need to generate them if there are no CONFIG_FILES.
13626 # This happens for instance with `./config.status config.h'.
13627 if test -n "$CONFIG_FILES"; then
13630 ac_cr
=`echo X | tr X '\015'`
13631 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13632 # But we know of no other shell where ac_cr would be empty at this
13633 # point, so we can use a bashism as a fallback.
13634 if test "x$ac_cr" = x
; then
13635 eval ac_cr
=\$
\'\\r
\'
13637 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13638 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13641 ac_cs_awk_cr
=$ac_cr
13644 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13649 echo "cat >conf$$subs.awk <<_ACEOF" &&
13650 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13652 } >conf$$subs.sh ||
13653 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13654 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13656 for ac_last_try in false false false false false :; do
13657 . ./conf$$subs.sh ||
13658 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13660 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13661 if test $ac_delim_n = $ac_delim_num; then
13663 elif $ac_last_try; then
13664 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13666 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13669 rm -f conf$$subs.sh
13671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13672 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13676 s/^/S["/; s
/!.
*/"]=/
13686 s/\(.\{148\}\)..*/\1/
13688 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13693 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13700 s/\(.\{148\}\)..*/\1/
13702 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13706 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13711 ' <conf$$subs.awk | sed '
13716 ' >>$CONFIG_STATUS || ac_write_fail=1
13717 rm -f conf$$subs.awk
13718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13720 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13721 for (key in S) S_is_set[key] = 1
13727 nfields = split(line, field, "@
")
13729 len = length(field[1])
13730 for (i = 2; i < nfields; i++) {
13732 keylen = length(key)
13733 if (S_is_set[key]) {
13735 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13736 len += length(value) + length(field[++i])
13747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13748 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13749 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13752 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13753 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13756 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13757 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13758 # trailing colons and then remove the whole line if VPATH becomes empty
13759 # (actually we leave an empty line to preserve line numbers).
13760 if test "x
$srcdir" = x.; then
13761 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13780 fi # test -n "$CONFIG_FILES"
13782 # Set up the scripts for CONFIG_HEADERS section.
13783 # No need to generate them if there are no CONFIG_HEADERS.
13784 # This happens for instance with `./config.status Makefile'.
13785 if test -n "$CONFIG_HEADERS"; then
13786 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13790 # Transform confdefs.h into an awk script `defines.awk', embedded as
13791 # here-document in config.status, that substitutes the proper values into
13792 # config.h.in to produce config.h.
13794 # Create a delimiter string that does not exist in confdefs.h, to ease
13795 # handling of long lines.
13797 for ac_last_try in false false :; do
13798 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13799 if test -z "$ac_tt"; then
13801 elif $ac_last_try; then
13802 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13804 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13808 # For the awk script, D is an array of macro values keyed by name,
13809 # likewise P contains macro parameters if any. Preserve backslash
13810 # newline sequences.
13812 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13814 s/.\{148\}/&'"$ac_delim"'/g
13817 s/^[ ]*#[ ]*define[ ][ ]*/ /
13824 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13826 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13830 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13831 D["\
1"]=" \
3\\\\\\n
"\\/p
13833 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13838 s/.\{148\}/&'"$ac_delim"'/g
13843 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13846 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13848 ' <confdefs.h | sed '
13849 s/'"$ac_delim"'/"\\\
13850 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13853 for (key in D) D_is_set[key] = 1
13856 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13858 split(line, arg, " ")
13859 if (arg[1] == "#") {
13863 defundef
= substr
(arg
[1], 2)
13866 split(mac1
, mac2
, "(") #)
13868 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13869 if (D_is_set
[macro
]) {
13870 # Preserve the white space surrounding the "#".
13871 print prefix
"define", macro P
[macro
] D
[macro
]
13874 # Replace #undef with comments. This is necessary, for example,
13875 # in the case of _POSIX_SOURCE, which is predefined and required
13876 # on some systems where configure will not decide to define it.
13877 if (defundef
== "undef") {
13878 print
"/*", prefix defundef
, macro
, "*/"
13886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13887 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13888 fi # test -n "$CONFIG_HEADERS"
13891 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13896 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13898 case $ac_mode$ac_tag in
13900 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13901 :[FH
]-) ac_tag
=-:-;;
13902 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13919 -) ac_f
="$ac_tmp/stdin";;
13920 *) # Look for the file first in the build tree, then in the source tree
13921 # (if the path is not absolute). The absolute path cannot be DOS-style,
13922 # because $ac_f cannot contain `:'.
13926 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13928 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13930 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13931 as_fn_append ac_file_inputs
" '$ac_f'"
13934 # Let's still pretend it is `configure' which instantiates (i.e., don't
13935 # use $as_me), people would be surprised to read:
13936 # /* config.h. Generated by config.status. */
13937 configure_input
='Generated from '`
13938 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13940 if test x
"$ac_file" != x-
; then
13941 configure_input
="$ac_file. $configure_input"
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13943 $as_echo "$as_me: creating $ac_file" >&6;}
13945 # Neutralize special characters interpreted by sed in replacement strings.
13946 case $configure_input in #(
13947 *\
&* |
*\|
* |
*\\* )
13948 ac_sed_conf_input
=`$as_echo "$configure_input" |
13949 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13950 *) ac_sed_conf_input
=$configure_input;;
13954 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13955 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13960 ac_dir
=`$as_dirname -- "$ac_file" ||
13961 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13962 X"$ac_file" : 'X\(//\)[^/]' \| \
13963 X"$ac_file" : 'X\(//\)$' \| \
13964 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13965 $as_echo X"$ac_file" |
13966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13970 /^X\(\/\/\)[^/].*/{
13983 as_dir
="$ac_dir"; as_fn_mkdir_p
13987 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13989 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13990 # A ".." for each directory in $ac_dir_suffix.
13991 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13992 case $ac_top_builddir_sub in
13993 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13994 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13997 ac_abs_top_builddir
=$ac_pwd
13998 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13999 # for backward compatibility:
14000 ac_top_builddir
=$ac_top_build_prefix
14003 .
) # We are building in place.
14005 ac_top_srcdir
=$ac_top_builddir_sub
14006 ac_abs_top_srcdir
=$ac_pwd ;;
14007 [\\/]* | ?
:[\\/]* ) # Absolute name.
14008 ac_srcdir
=$srcdir$ac_dir_suffix;
14009 ac_top_srcdir
=$srcdir
14010 ac_abs_top_srcdir
=$srcdir ;;
14011 *) # Relative name.
14012 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14013 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14014 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14016 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14028 # If the template does not know about datarootdir, expand it.
14029 # FIXME: This hack should be removed a few years after 2.60.
14030 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14041 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14042 *datarootdir
*) ac_datarootdir_seen
=yes;;
14043 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14045 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14048 ac_datarootdir_hack='
14049 s&@datadir@&$datadir&g
14050 s&@docdir@&$docdir&g
14051 s&@infodir@&$infodir&g
14052 s&@localedir@&$localedir&g
14053 s&@mandir@&$mandir&g
14054 s&\\\${datarootdir}&$datarootdir&g' ;;
14058 # Neutralize VPATH when `$srcdir' = `.'.
14059 # Shell code in configure.ac might set extrasub.
14060 # FIXME: do we really want to maintain this feature?
14061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14062 ac_sed_extra="$ac_vpsub
14065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14067 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14068 s|@configure_input@|
$ac_sed_conf_input|
;t t
14069 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14070 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14071 s
&@srcdir@
&$ac_srcdir&;t t
14072 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14073 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14074 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14075 s
&@builddir@
&$ac_builddir&;t t
14076 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14077 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14078 $ac_datarootdir_hack
14080 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14081 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14083 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14084 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14085 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14086 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14088 which seems to be undefined. Please make sure it is defined" >&5
14089 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14090 which seems to be undefined. Please make sure it is defined" >&2;}
14092 rm -f "$ac_tmp/stdin"
14094 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14095 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14097 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14103 if test x"$ac_file" != x-; then
14105 $as_echo "/* $configure_input */" \
14106 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14107 } >"$ac_tmp/config.h" \
14108 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14109 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14111 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14114 mv "$ac_tmp/config.h" "$ac_file" \
14115 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14118 $as_echo "/* $configure_input */" \
14119 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14120 || as_fn_error $? "could not create -" "$LINENO" 5
14124 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14125 $as_echo "$as_me: executing $ac_file commands" >&6;}
14130 case $ac_file$ac_mode in
14131 "compiler_executable":C)
14132 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14134 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14135 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
14139 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
14141 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
14142 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
14143 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
14144 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
14145 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
14146 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
14147 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
14149 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
14151 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
14159 ac_clean_files=$ac_clean_files_save
14161 test $ac_write_fail = 0 ||
14162 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14165 # configure is writing to config.log, and then calls config.status.
14166 # config.status does its own redirection, appending to config.log.
14167 # Unfortunately, on DOS this fails, as config.log is still kept open
14168 # by configure, so config.status won't be able to
write to it
; its
14169 # output is simply discarded. So we exec the FD to /dev/null,
14170 # effectively closing config.log, so it can be properly (re)opened and
14171 # appended to by config.status. When coming back to configure, we
14172 # need to make the FD available again.
14173 if test "$no_create" != yes; then
14175 ac_config_status_args
=
14176 test "$silent" = yes &&
14177 ac_config_status_args
="$ac_config_status_args --quiet"
14179 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14181 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14182 # would make configure fail if this is the last instruction.
14183 $ac_cs_success || as_fn_exit
1
14185 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14187 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14192 #XXX compatability...
14193 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14195 if test -n "$aros_shared_cflags" ; then
14196 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14197 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg