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
691 aros_target_bootloader
711 aros_amigaos_compliance
717 aros_target_toolchain
726 aros_cflags_iquote_end
728 kernel_cflags_iquote_end
730 host_cflags_iquote_end
732 aros_target_nostdlib_ldflags
733 aros_target_detach_ldflags
734 aros_target_nix_ldflags
735 aros_target_nostartup_ldflags
736 aros_target_nostdinc_cflags
842 program_transform_name
855 enable_option_checking
864 enable_target_variant
870 enable_amigaos_compliance
872 with_kernel_tool_prefix
883 enable_palm_debug_hack
885 enable_nesting_supervisor
897 ac_precious_vars
='build_alias
912 # Initialize some variables set by options.
914 ac_init_version
=false
915 ac_unrecognized_opts
=
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
926 program_transform_name
=s
,x
,x
,
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir
='${exec_prefix}/bin'
941 sbindir
='${exec_prefix}/sbin'
942 libexecdir
='${exec_prefix}/libexec'
943 datarootdir
='${prefix}/share'
944 datadir
='${datarootdir}'
945 sysconfdir
='${prefix}/etc'
946 sharedstatedir
='${prefix}/com'
947 localstatedir
='${prefix}/var'
948 includedir
='${prefix}/include'
949 oldincludedir
='/usr/include'
950 docdir
='${datarootdir}/doc/${PACKAGE}'
951 infodir
='${datarootdir}/info'
956 libdir
='${exec_prefix}/lib'
957 localedir
='${datarootdir}/locale'
958 mandir
='${datarootdir}/man'
964 # If the previous option needs an argument, assign it.
965 if test -n "$ac_prev"; then
966 eval $ac_prev=\
$ac_option
972 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 # Accept the important Cygnus configure options, so we can diagnose typos.
979 case $ac_dashdash$ac_option in
983 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
985 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
988 -build |
--build |
--buil |
--bui |
--bu)
989 ac_prev
=build_alias
;;
990 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
991 build_alias
=$ac_optarg ;;
993 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
994 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
995 ac_prev
=cache_file
;;
996 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
997 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
998 cache_file
=$ac_optarg ;;
1000 --config-cache |
-C)
1001 cache_file
=config.cache
;;
1003 -datadir |
--datadir |
--datadi |
--datad)
1005 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1006 datadir
=$ac_optarg ;;
1008 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1009 |
--dataroo |
--dataro |
--datar)
1010 ac_prev
=datarootdir
;;
1011 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1012 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1013 datarootdir
=$ac_optarg ;;
1015 -disable-* |
--disable-*)
1016 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error $?
"invalid feature name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_
$ac_useropt"
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval enable_
$ac_useropt=no
;;
1031 -docdir |
--docdir |
--docdi |
--doc |
--do)
1033 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1034 docdir
=$ac_optarg ;;
1036 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1038 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1039 dvidir
=$ac_optarg ;;
1041 -enable-* |
--enable-*)
1042 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1045 as_fn_error $?
"invalid feature name: $ac_useropt"
1046 ac_useropt_orig
=$ac_useropt
1047 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "enable_
$ac_useropt"
1052 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1053 ac_unrecognized_sep
=', ';;
1055 eval enable_
$ac_useropt=\
$ac_optarg ;;
1057 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1058 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1059 |
--exec |
--exe |
--ex)
1060 ac_prev
=exec_prefix
;;
1061 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1062 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1063 |
--exec=* |
--exe=* |
--ex=*)
1064 exec_prefix
=$ac_optarg ;;
1066 -gas |
--gas |
--ga |
--g)
1067 # Obsolete; use --with-gas.
1070 -help |
--help |
--hel |
--he |
-h)
1071 ac_init_help
=long
;;
1072 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1073 ac_init_help
=recursive
;;
1074 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1075 ac_init_help
=short
;;
1077 -host |
--host |
--hos |
--ho)
1078 ac_prev
=host_alias
;;
1079 -host=* |
--host=* |
--hos=* |
--ho=*)
1080 host_alias
=$ac_optarg ;;
1082 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1084 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1086 htmldir
=$ac_optarg ;;
1088 -includedir |
--includedir |
--includedi |
--included |
--include \
1089 |
--includ |
--inclu |
--incl |
--inc)
1090 ac_prev
=includedir
;;
1091 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1092 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1093 includedir
=$ac_optarg ;;
1095 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1097 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1098 infodir
=$ac_optarg ;;
1100 -libdir |
--libdir |
--libdi |
--libd)
1102 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1103 libdir
=$ac_optarg ;;
1105 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1106 |
--libexe |
--libex |
--libe)
1107 ac_prev
=libexecdir
;;
1108 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1109 |
--libexe=* |
--libex=* |
--libe=*)
1110 libexecdir
=$ac_optarg ;;
1112 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1113 ac_prev
=localedir
;;
1114 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1115 localedir
=$ac_optarg ;;
1117 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1118 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1119 ac_prev
=localstatedir
;;
1120 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1121 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1122 localstatedir
=$ac_optarg ;;
1124 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1126 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1127 mandir
=$ac_optarg ;;
1129 -nfp |
--nfp |
--nf)
1130 # Obsolete; use --without-fp.
1133 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1134 |
--no-cr |
--no-c |
-n)
1137 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1138 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1141 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1142 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1143 |
--oldin |
--oldi |
--old |
--ol |
--o)
1144 ac_prev
=oldincludedir
;;
1145 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1146 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1147 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1148 oldincludedir
=$ac_optarg ;;
1150 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1152 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1153 prefix
=$ac_optarg ;;
1155 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1156 |
--program-pre |
--program-pr |
--program-p)
1157 ac_prev
=program_prefix
;;
1158 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1159 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1160 program_prefix
=$ac_optarg ;;
1162 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1163 |
--program-suf |
--program-su |
--program-s)
1164 ac_prev
=program_suffix
;;
1165 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1166 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1167 program_suffix
=$ac_optarg ;;
1169 -program-transform-name |
--program-transform-name \
1170 |
--program-transform-nam |
--program-transform-na \
1171 |
--program-transform-n |
--program-transform- \
1172 |
--program-transform |
--program-transfor \
1173 |
--program-transfo |
--program-transf \
1174 |
--program-trans |
--program-tran \
1175 |
--progr-tra |
--program-tr |
--program-t)
1176 ac_prev
=program_transform_name
;;
1177 -program-transform-name=* |
--program-transform-name=* \
1178 |
--program-transform-nam=* |
--program-transform-na=* \
1179 |
--program-transform-n=* |
--program-transform-=* \
1180 |
--program-transform=* |
--program-transfor=* \
1181 |
--program-transfo=* |
--program-transf=* \
1182 |
--program-trans=* |
--program-tran=* \
1183 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1184 program_transform_name
=$ac_optarg ;;
1186 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1188 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1189 pdfdir
=$ac_optarg ;;
1191 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1193 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1196 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1197 |
-silent |
--silent |
--silen |
--sile |
--sil)
1200 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1202 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1204 sbindir
=$ac_optarg ;;
1206 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1207 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1208 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1210 ac_prev
=sharedstatedir
;;
1211 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1212 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1213 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1215 sharedstatedir
=$ac_optarg ;;
1217 -site |
--site |
--sit)
1219 -site=* |
--site=* |
--sit=*)
1222 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1224 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1225 srcdir
=$ac_optarg ;;
1227 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1228 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1229 ac_prev
=sysconfdir
;;
1230 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1231 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1232 sysconfdir
=$ac_optarg ;;
1234 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1235 ac_prev
=target_alias
;;
1236 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1237 target_alias
=$ac_optarg ;;
1239 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1242 -version |
--version |
--versio |
--versi |
--vers |
-V)
1243 ac_init_version
=: ;;
1246 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1249 as_fn_error $?
"invalid package name: $ac_useropt"
1250 ac_useropt_orig
=$ac_useropt
1251 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1256 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1257 ac_unrecognized_sep
=', ';;
1259 eval with_
$ac_useropt=\
$ac_optarg ;;
1261 -without-* |
--without-*)
1262 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1265 as_fn_error $?
"invalid package name: $ac_useropt"
1266 ac_useropt_orig
=$ac_useropt
1267 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268 case $ac_user_opts in
1272 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1273 ac_unrecognized_sep
=', ';;
1275 eval with_
$ac_useropt=no
;;
1278 # Obsolete; use --with-x.
1281 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1282 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1283 ac_prev
=x_includes
;;
1284 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1285 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1286 x_includes
=$ac_optarg ;;
1288 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1289 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1290 ac_prev
=x_libraries
;;
1291 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1292 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1293 x_libraries
=$ac_optarg ;;
1295 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1296 Try \`$0 --help' for more information"
1300 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1301 # Reject names that are not valid shell variable names.
1302 case $ac_envvar in #(
1303 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1304 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1306 eval $ac_envvar=\
$ac_optarg
1307 export $ac_envvar ;;
1310 # FIXME: should be removed in autoconf 3.0.
1311 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1312 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1313 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1314 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1320 if test -n "$ac_prev"; then
1321 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1322 as_fn_error $?
"missing argument to $ac_option"
1325 if test -n "$ac_unrecognized_opts"; then
1326 case $enable_option_checking in
1328 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1329 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1333 # Check all directory arguments for consistency.
1334 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1335 datadir sysconfdir sharedstatedir localstatedir includedir \
1336 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1337 libdir localedir mandir
1339 eval ac_val
=\$
$ac_var
1340 # Remove trailing slashes.
1343 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1344 eval $ac_var=\
$ac_val;;
1346 # Be sure to have absolute directory names.
1348 [\\/$
]* | ?
:[\\/]* ) continue;;
1349 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1351 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1354 # There might be people who depend on the old broken behavior: `$host'
1355 # used to hold the argument of --host etc.
1356 # FIXME: To remove some day.
1359 target
=$target_alias
1361 # FIXME: To remove some day.
1362 if test "x$host_alias" != x
; then
1363 if test "x$build_alias" = x
; then
1364 cross_compiling
=maybe
1365 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1366 If a cross compiler is detected then cross compile mode will be used" >&2
1367 elif test "x$build_alias" != "x$host_alias"; then
1373 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1375 test "$silent" = yes && exec 6>/dev
/null
1378 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1379 ac_ls_di
=`ls -di .` &&
1380 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1381 as_fn_error $?
"working directory cannot be determined"
1382 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1383 as_fn_error $?
"pwd does not report name of working directory"
1386 # Find the source files, if location was not specified.
1387 if test -z "$srcdir"; then
1388 ac_srcdir_defaulted
=yes
1389 # Try the directory containing this script, then the parent directory.
1390 ac_confdir
=`$as_dirname -- "$as_myself" ||
1391 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1392 X"$as_myself" : 'X\(//\)[^/]' \| \
1393 X"$as_myself" : 'X\(//\)$' \| \
1394 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1395 $as_echo X"$as_myself" |
1396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1418 ac_srcdir_defaulted
=no
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1421 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1422 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1424 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1428 # When building in place, set srcdir=.
1429 if test "$ac_abs_confdir" = "$ac_pwd"; then
1432 # Remove unnecessary trailing slashes from srcdir.
1433 # Double slashes in file names in object file debugging info
1434 # mess up M-x gdb in Emacs.
1436 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 for ac_var
in $ac_precious_vars; do
1439 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1440 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1441 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1442 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1446 # Report the --help message.
1448 if test "$ac_init_help" = "long"; then
1449 # Omit some internal or obsolete options to make the list less imposing.
1450 # This message is too long to be a string in the A/UX 3.1 sh.
1452 \`configure' configures this package to adapt to many kinds of systems.
1454 Usage: $0 [OPTION]... [VAR=VALUE]...
1456 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1457 VAR=VALUE. See below for descriptions of some of the useful variables.
1459 Defaults for the options are specified in brackets.
1462 -h, --help display this help and exit
1463 --help=short display options specific to this package
1464 --help=recursive display the short help of all the included packages
1465 -V, --version display version information and exit
1466 -q, --quiet, --silent do not print \`checking ...' messages
1467 --cache-file=FILE cache test results in FILE [disabled]
1468 -C, --config-cache alias for \`--cache-file=config.cache'
1469 -n, --no-create do not create output files
1470 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1472 Installation directories:
1473 --prefix=PREFIX install architecture-independent files in PREFIX
1474 [$ac_default_prefix]
1475 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1478 By default, \`make install' will install all the files in
1479 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1480 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1481 for instance \`--prefix=\$HOME'.
1483 For better control, use the options below.
1485 Fine tuning of the installation directories:
1486 --bindir=DIR user executables [EPREFIX/bin]
1487 --sbindir=DIR system admin executables [EPREFIX/sbin]
1488 --libexecdir=DIR program executables [EPREFIX/libexec]
1489 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1490 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1491 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1492 --libdir=DIR object code libraries [EPREFIX/lib]
1493 --includedir=DIR C header files [PREFIX/include]
1494 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1495 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1496 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1497 --infodir=DIR info documentation [DATAROOTDIR/info]
1498 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1499 --mandir=DIR man documentation [DATAROOTDIR/man]
1500 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1501 --htmldir=DIR html documentation [DOCDIR]
1502 --dvidir=DIR dvi documentation [DOCDIR]
1503 --pdfdir=DIR pdf documentation [DOCDIR]
1504 --psdir=DIR ps documentation [DOCDIR]
1510 --x-includes=DIR X include files are
in DIR
1511 --x-libraries=DIR X library files are
in DIR
1514 --build=BUILD configure
for building on BUILD
[guessed
]
1515 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1519 if test -n "$ac_init_help"; then
1524 --disable-option-checking ignore unrecognized
--enable/--with options
1525 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1526 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1527 --enable-build-type=TYPE
1528 Select the build
type. Available types are
:
1529 personal
, nightly
, snapshot
, milestone
, release. Do
1530 NOT use this option unless you know what you are
1531 doing
! (default
=personal
)
1532 --enable-debug=list Enable different types of debug. Commas or
1533 whitespaces can be used to separate the items
in the
1534 list. Available types of debug are
: all
, none
,
1535 messages
, stack
, mungwall
, modules
, symbols. If no
1536 list is provided
then "all" is assumed.
1538 --disable-crosstools Do not build cross-compiler toolchain
1539 --enable-distcc Use distcc as a front end to the compiler
1541 --enable-ccache Use ccache as a front end to the compiler
1543 --enable-target-variant=NAME
1544 Enable a specific target variant
(default
=none
)
1545 --enable-amigaos-compliance=VERSION
1546 Enforce userspace AmigaOS compliance to a specific
1547 KickStart version
(default
=none
).
1548 --enable-palm-debug-hack
1549 Enable palm debug output hack
in palm native
1551 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1552 --enable-nesting-supervisor
1553 Enable nesting supervisor support
in unix
1555 --disable-mmu Disable MMU support
(default
=enabled
)
1556 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1557 --enable-x11-shm use X11 shared memory
(default
=auto
)
1558 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1559 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1560 --disable-sdltest Do not try to compile and run a
test SDL program
1561 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1564 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1565 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1566 --with-kernel-gcc-version=VERSION
1567 Use
host gcc-VERSION
for building AROS
1568 --with-gcc-version=VERSION
1569 Use
host gcc-VERSION
for building AROS
1570 --with-optimization=FLAGS
1571 Use optimization flags FLAGS
(default
=-O2).
1572 --with-paranoia=FLAGS CC flags to
enable paranoia
1573 --with-xcode=PATH Specify XCode path
for iOS targets
1574 (default
=/Developer
).
1575 --with-sdk-version=VERSION
1576 Use iOS SDK version VERSION
(default
=4.1).
1577 --with-sdk=PATH Specify Android SDK path
1578 (default
=$default_android_sdk).
1579 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1580 --with-sdk-version=LEVEL
1581 Use Android SDK
for API LEVEL
(default
=12).
1582 --with-ndk-version=LEVEL
1583 Use Android NDK
for API LEVEL
(default
=9).
1584 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1585 --with-kernel-tool-prefix=...
1586 Specify crosscompile toolchain prefix
for kernel
1588 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1589 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1590 --with-float=<spec
> Specify floating point ABI
1591 (default
=$gcc_default_float_abi).
1592 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1593 --with-portssources=DIR Where to download sourcecode
for external ports
1594 --with-bootloader=NAME Use a specific bootloader
1595 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1596 --with-theme=NAME Use a specific GUI Theme
1597 --with-resolution=XRESxYRESxDEPTH
1598 Default resolution of the initial WorkbenchScreen
1599 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1600 --with-x use the X Window System
1601 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1602 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1604 Some influential environment variables
:
1605 CC C compiler
command
1606 CFLAGS C compiler flags
1607 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1608 nonstandard directory
<lib dir
>
1609 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1610 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1611 you have headers
in a nonstandard directory
<include dir
>
1612 CXX C
++ compiler
command
1613 CXXFLAGS C
++ compiler flags
1615 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1617 Use these variables to override the choices made by
`configure' or to help
1618 it to find libraries and programs with nonstandard names/locations.
1620 Report bugs to the package provider.
1625 if test "$ac_init_help" = "recursive"; then
1626 # If there are subdirs, report their specific --help.
1627 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1628 test -d "$ac_dir" ||
1629 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1634 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1637 # A ".." for each directory in $ac_dir_suffix.
1638 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1639 case $ac_top_builddir_sub in
1640 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1641 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1644 ac_abs_top_builddir=$ac_pwd
1645 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1646 # for backward compatibility:
1647 ac_top_builddir=$ac_top_build_prefix
1650 .) # We are building in place.
1652 ac_top_srcdir=$ac_top_builddir_sub
1653 ac_abs_top_srcdir=$ac_pwd ;;
1654 [\\/]* | ?:[\\/]* ) # Absolute name.
1655 ac_srcdir=$srcdir$ac_dir_suffix;
1656 ac_top_srcdir=$srcdir
1657 ac_abs_top_srcdir=$srcdir ;;
1659 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1660 ac_top_srcdir=$ac_top_build_prefix$srcdir
1661 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1665 cd "$ac_dir" || { ac_status=$?; continue; }
1666 # Check for guested configure.
1667 if test -f "$ac_srcdir/configure.gnu"; then
1669 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1670 elif test -f "$ac_srcdir/configure"; then
1672 $SHELL "$ac_srcdir/configure" --help=recursive
1674 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 cd "$ac_pwd" || { ac_status=$?; break; }
1680 test -n "$ac_init_help" && exit $ac_status
1681 if $ac_init_version; then
1684 generated by GNU Autoconf 2.68
1686 Copyright (C) 2010 Free Software Foundation, Inc.
1687 This configure script is free software; the Free Software Foundation
1688 gives unlimited permission to copy, distribute and modify it.
1693 ## ------------------------ ##
1694 ## Autoconf initialization. ##
1695 ## ------------------------ ##
1697 # ac_fn_c_try_compile LINENO
1698 # --------------------------
1699 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1700 ac_fn_c_try_compile ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 rm -f conftest.$ac_objext
1704 if { { ac_try="$ac_compile"
1706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1707 *) ac_try_echo
=$ac_try;;
1709 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_compile") 2>conftest.err
1713 if test -s conftest.err
; then
1714 grep -v '^ *+' conftest.err
>conftest.er1
1715 cat conftest.er1
>&5
1716 mv -f conftest.er1 conftest.err
1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 test $ac_status = 0; } && {
1720 test -z "$ac_c_werror_flag" ||
1721 test ! -s conftest.err
1722 } && test -s conftest.
$ac_objext; then :
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.
$ac_ext >&5
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 as_fn_set_status
$ac_retval
1733 } # ac_fn_c_try_compile
1735 # ac_fn_cxx_try_compile LINENO
1736 # ----------------------------
1737 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1738 ac_fn_cxx_try_compile
()
1740 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1741 rm -f conftest.
$ac_objext
1742 if { { ac_try
="$ac_compile"
1744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1745 *) ac_try_echo=$ac_try;;
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_compile") 2>conftest.err
1751 if test -s conftest.err; then
1752 grep -v '^ *+' conftest.err >conftest.er1
1753 cat conftest.er1 >&5
1754 mv -f conftest.er1 conftest.err
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; } && {
1758 test -z "$ac_cxx_werror_flag" ||
1759 test ! -s conftest.err
1760 } && test -s conftest.$ac_objext; then :
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 as_fn_set_status $ac_retval
1771 } # ac_fn_cxx_try_compile
1773 # ac_fn_c_try_cpp LINENO
1774 # ----------------------
1775 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1782 *) ac_try_echo
=$ac_try;;
1784 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 $as_echo "$ac_try_echo"; } >&5
1786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788 if test -s conftest.err
; then
1789 grep -v '^ *+' conftest.err
>conftest.er1
1790 cat conftest.er1
>&5
1791 mv -f conftest.er1 conftest.err
1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794 test $ac_status = 0; } > conftest.i
&& {
1795 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1796 test ! -s conftest.err
1800 $as_echo "$as_me: failed program was:" >&5
1801 sed 's/^/| /' conftest.
$ac_ext >&5
1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 as_fn_set_status
$ac_retval
1810 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1811 # -------------------------------------------------------
1812 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1813 # the include files in INCLUDES and setting the cache variable VAR
1815 ac_fn_c_check_header_mongrel
()
1817 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1818 if eval \
${$3+:} false
; then :
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if eval \
${$3+:} false
; then :
1822 $as_echo_n "(cached) " >&6
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1828 # Is the header compilable?
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1830 $as_echo_n "checking $2 usability... " >&6; }
1831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1836 if ac_fn_c_try_compile
"$LINENO"; then :
1837 ac_header_compiler
=yes
1839 ac_header_compiler
=no
1841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1843 $as_echo "$ac_header_compiler" >&6; }
1845 # Is the header present?
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1847 $as_echo_n "checking $2 presence... " >&6; }
1848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1852 if ac_fn_c_try_cpp
"$LINENO"; then :
1853 ac_header_preproc
=yes
1855 ac_header_preproc
=no
1857 rm -f conftest.err conftest.i conftest.
$ac_ext
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1859 $as_echo "$ac_header_preproc" >&6; }
1861 # So? What about this header?
1862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1865 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1867 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1871 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1873 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1875 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1877 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1879 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883 $as_echo_n "checking for $2... " >&6; }
1884 if eval \
${$3+:} false
; then :
1885 $as_echo_n "(cached) " >&6
1887 eval "$3=\$ac_header_compiler"
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 } # ac_fn_c_check_header_mongrel
1897 # ac_fn_c_try_run LINENO
1898 # ----------------------
1899 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1900 # that executables *can* be run.
1903 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1904 if { { ac_try
="$ac_link"
1906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1907 *) ac_try_echo=$ac_try;;
1909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1910 $as_echo "$ac_try_echo"; } >&5
1911 (eval "$ac_link") 2>&5
1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1915 { { case "(($ac_try" in
1916 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1917 *) ac_try_echo
=$ac_try;;
1919 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1920 $as_echo "$ac_try_echo"; } >&5
1921 (eval "$ac_try") 2>&5
1923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1924 test $ac_status = 0; }; }; then :
1927 $as_echo "$as_me: program exited with status $ac_status" >&5
1928 $as_echo "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.
$ac_ext >&5
1931 ac_retval
=$ac_status
1933 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 as_fn_set_status
$ac_retval
1939 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1940 # -------------------------------------------------------
1941 # Tests whether HEADER exists and can be compiled using the include files in
1942 # INCLUDES, setting the cache variable VAR accordingly.
1943 ac_fn_c_check_header_compile
()
1945 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947 $as_echo_n "checking for $2... " >&6; }
1948 if eval \
${$3+:} false
; then :
1949 $as_echo_n "(cached) " >&6
1951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1956 if ac_fn_c_try_compile
"$LINENO"; then :
1961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 } # ac_fn_c_check_header_compile
1970 # ac_fn_c_try_link LINENO
1971 # -----------------------
1972 # Try to link conftest.$ac_ext, and return whether this succeeded.
1975 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1976 rm -f conftest.
$ac_objext conftest
$ac_exeext
1977 if { { ac_try
="$ac_link"
1979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1980 *) ac_try_echo=$ac_try;;
1982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983 $as_echo "$ac_try_echo"; } >&5
1984 (eval "$ac_link") 2>conftest.err
1986 if test -s conftest.err; then
1987 grep -v '^ *+' conftest.err >conftest.er1
1988 cat conftest.er1 >&5
1989 mv -f conftest.er1 conftest.err
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; } && {
1993 test -z "$ac_c_werror_flag" ||
1994 test ! -s conftest.err
1995 } && test -s conftest$ac_exeext && {
1996 test "$cross_compiling" = yes ||
1997 $as_test_x conftest$ac_exeext
2001 $as_echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.$ac_ext >&5
2006 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2007 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2008 # interfere with the next link command; also delete a directory that is
2009 # left behind by Apple's compiler. We do this before executing the actions.
2010 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012 as_fn_set_status $ac_retval
2014 } # ac_fn_c_try_link
2016 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2017 # ----------------------------------------------------
2018 # Tries to find if the field MEMBER exists in type AGGR, after including
2019 # INCLUDES, setting cache variable VAR accordingly.
2020 ac_fn_c_check_member ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2024 $as_echo_n "checking for $2.$3... " >&6; }
2025 if eval \${$4+:} false; then :
2026 $as_echo_n "(cached) " >&6
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2041 if ac_fn_c_try_compile "$LINENO"; then :
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2051 if (sizeof ac_aggr.$3)
2057 if ac_fn_c_try_compile "$LINENO"; then :
2062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2071 } # ac_fn_c_check_member
2073 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2074 # ---------------------------------------------
2075 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2077 ac_fn_c_check_decl ()
2079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2080 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2081 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2083 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2084 if eval \${$3+:} false; then :
2085 $as_echo_n "(cached) " >&6
2087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2093 #ifndef $as_decl_name
2095 (void) $as_decl_use;
2097 (void) $as_decl_name;
2105 if ac_fn_c_try_compile "$LINENO"; then :
2110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2114 $as_echo "$ac_res" >&6; }
2115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2117 } # ac_fn_c_check_decl
2119 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2120 # -------------------------------------------
2121 # Tests whether TYPE exists after having included INCLUDES, setting cache
2122 # variable VAR accordingly.
2123 ac_fn_c_check_type ()
2125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2127 $as_echo_n "checking for $2... " >&6; }
2128 if eval \${$3+:} false; then :
2129 $as_echo_n "(cached) " >&6
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2144 if ac_fn_c_try_compile "$LINENO"; then :
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2157 if ac_fn_c_try_compile "$LINENO"; then :
2162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168 $as_echo "$ac_res" >&6; }
2169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2171 } # ac_fn_c_check_type
2173 # ac_fn_c_check_func LINENO FUNC VAR
2174 # ----------------------------------
2175 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2176 ac_fn_c_check_func ()
2178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if eval \${$3+:} false; then :
2182 $as_echo_n "(cached) " >&6
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2188 #define $2 innocuous_$2
2190 /* System header to define __stub macros and hopefully few prototypes,
2191 which can conflict with char $2 (); below.
2192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2193 <limits.h> exists even on freestanding compilers. */
2196 # include <limits.h>
2198 # include <assert.h>
2203 /* Override any GCC internal prototype to avoid an error.
2204 Use char because int might match the return type of a GCC
2205 builtin and then its argument prototype would still apply. */
2210 /* The GNU C library defines this for functions which it implements
2211 to always fail with ENOSYS. Some functions are actually named
2212 something starting with __ and the normal name is an alias. */
2213 #if defined __stub_$2 || defined __stub___$2
2225 if ac_fn_c_try_link "$LINENO"; then :
2230 rm -f core conftest.err conftest.$ac_objext \
2231 conftest$ac_exeext conftest.$ac_ext
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2235 $as_echo "$ac_res" >&6; }
2236 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2238 } # ac_fn_c_check_func
2239 cat >config.log <<_ACEOF
2240 This file contains any messages produced by compilers while
2241 running configure, to aid debugging if configure makes a mistake.
2243 It was created by $as_me, which was
2244 generated by GNU Autoconf 2.68. Invocation command line was
2256 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2257 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2258 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2259 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2260 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2262 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2263 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2265 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2266 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2267 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2268 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2269 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2270 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2271 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir=.
2280 $as_echo "PATH: $as_dir"
2296 # Keep a trace of the command line.
2297 # Strip out --no-create and --no-recursion so they do not pile up.
2298 # Strip out --silent because we don't want to record it for future runs.
2299 # Also quote any args containing shell meta-characters.
2300 # Make two passes to allow for proper duplicate-argument suppression.
2304 ac_must_keep_next=false
2310 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2311 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2312 | -silent | --silent | --silen | --sile | --sil)
2315 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2318 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2320 as_fn_append ac_configure_args1 " '$ac_arg'"
2321 if test $ac_must_keep_next = true; then
2322 ac_must_keep_next=false # Got value, back to normal.
2325 *=* | --config-cache | -C | -disable-* | --disable-* \
2326 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2327 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2328 | -with-* | --with-* | -without-* | --without-* | --x)
2329 case "$ac_configure_args0 " in
2330 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2333 -* ) ac_must_keep_next=true ;;
2336 as_fn_append ac_configure_args " '$ac_arg'"
2341 { ac_configure_args0=; unset ac_configure_args0;}
2342 { ac_configure_args1=; unset ac_configure_args1;}
2344 # When interrupted or exit'd, cleanup temporary files, and complete
2345 # config.log. We remove comments because anyway the quotes in there
2346 # would cause problems or look ugly.
2347 # WARNING: Use '\'' to represent an apostrophe within the trap.
2348 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2349 trap 'exit_status=$?
2350 # Save into config.log some information that might help in debugging.
2354 $as_echo "## ---------------- ##
2355 ## Cache variables. ##
2356 ## ---------------- ##"
2358 # The following way of writing the cache mishandles newlines in values,
2360 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2361 eval ac_val=\$$ac_var
2365 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2366 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2369 _ | IFS | as_nl) ;; #(
2370 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2371 *) { eval $ac_var=; unset $ac_var;} ;;
2376 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2377 *${as_nl}ac_space=\ *)
2379 "s/'\''/'\''\\\\'\'''\''/g;
2380 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2383 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2390 $as_echo "## ----------------- ##
2391 ## Output variables. ##
2392 ## ----------------- ##"
2394 for ac_var in $ac_subst_vars
2396 eval ac_val=\$$ac_var
2398 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2400 $as_echo "$ac_var='\''$ac_val'\''"
2404 if test -n "$ac_subst_files"; then
2405 $as_echo "## ------------------- ##
2406 ## File substitutions. ##
2407 ## ------------------- ##"
2409 for ac_var in $ac_subst_files
2411 eval ac_val=\$$ac_var
2413 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415 $as_echo "$ac_var='\''$ac_val'\''"
2420 if test -s confdefs.h; then
2421 $as_echo "## ----------- ##
2428 test "$ac_signal" != 0 &&
2429 $as_echo "$as_me: caught signal $ac_signal"
2430 $as_echo "$as_me: exit $exit_status"
2432 rm -f core *.core core.conftest.* &&
2433 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2436 for ac_signal in 1 2 13 15; do
2437 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2441 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2442 rm -f -r conftest* confdefs.h
2444 $as_echo "/* confdefs.h */" > confdefs.h
2446 # Predefined preprocessor variables.
2448 cat >>confdefs.h <<_ACEOF
2449 #define PACKAGE_NAME "$PACKAGE_NAME"
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_STRING "$PACKAGE_STRING"
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_URL "$PACKAGE_URL"
2473 # Let the site file select an alternate cache file if it wants to.
2474 # Prefer an explicitly selected file to automatically selected ones.
2477 if test -n "$CONFIG_SITE"; then
2478 # We do not want a PATH search for config.site.
2479 case $CONFIG_SITE in #((
2480 -*) ac_site_file1=./$CONFIG_SITE;;
2481 */*) ac_site_file1=$CONFIG_SITE;;
2482 *) ac_site_file1=./$CONFIG_SITE;;
2484 elif test "x$prefix" != xNONE; then
2485 ac_site_file1=$prefix/share/config.site
2486 ac_site_file2=$prefix/etc/config.site
2488 ac_site_file1=$ac_default_prefix/share/config.site
2489 ac_site_file2=$ac_default_prefix/etc/config.site
2491 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2493 test "x$ac_site_file" = xNONE && continue
2494 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2496 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2497 sed 's/^/| /' "$ac_site_file" >&5
2499 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2501 as_fn_error $? "failed to load site
script $ac_site_file
2502 See \
`config.log' for more details" "$LINENO" 5; }
2506 if test -r "$cache_file"; then
2507 # Some versions of bash will fail to source /dev/null (special files
2508 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2509 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2511 $as_echo "$as_me: loading cache $cache_file" >&6;}
2513 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2514 *) . "./$cache_file";;
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2519 $as_echo "$as_me: creating cache $cache_file" >&6;}
2523 as_fn_append ac_header_list " stdlib.h"
2524 as_fn_append ac_header_list " unistd.h"
2525 as_fn_append ac_header_list " sys/param.h"
2526 # Check that the precious variables saved in the cache have kept the same
2528 ac_cache_corrupted=false
2529 for ac_var in $ac_precious_vars; do
2530 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2531 eval ac_new_set=\$ac_env_${ac_var}_set
2532 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2533 eval ac_new_val=\$ac_env_${ac_var}_value
2534 case $ac_old_set,$ac_new_set in
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2537 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2538 ac_cache_corrupted=: ;;
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2541 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2542 ac_cache_corrupted=: ;;
2545 if test "x$ac_old_val" != "x$ac_new_val"; then
2546 # differences in whitespace do not lead to failure.
2547 ac_old_val_w=`echo x
$ac_old_val`
2548 ac_new_val_w=`echo x
$ac_new_val`
2549 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2551 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2552 ac_cache_corrupted=:
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2555 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2556 eval $ac_var=\$ac_old_val
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2559 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2561 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2564 # Pass precious variables to config.status.
2565 if test "$ac_new_set" = set; then
2567 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2568 *) ac_arg=$ac_var=$ac_new_val ;;
2570 case " $ac_configure_args " in
2571 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2572 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2576 if $ac_cache_corrupted; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2580 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2581 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2583 ## -------------------- ##
2584 ## Main body of script. ##
2585 ## -------------------- ##
2588 ac_cpp='$CPP $CPPFLAGS'
2589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2596 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2597 if test -f "$ac_dir/install-sh"; then
2599 ac_install_sh="$ac_aux_dir/install-sh -c"
2601 elif test -f "$ac_dir/install.sh"; then
2603 ac_install_sh="$ac_aux_dir/install.sh -c"
2605 elif test -f "$ac_dir/shtool"; then
2607 ac_install_sh="$ac_aux_dir/shtool install -c"
2611 if test -z "$ac_aux_dir"; then
2612 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2615 # These three variables are undocumented and unsupported,
2616 # and are intended to be withdrawn in a future Autoconf release.
2617 # They can cause serious problems if a builder's source tree is in a directory
2618 # whose full name contains unusual characters.
2619 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2620 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2621 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2625 # Check what host we are running on.
2626 # If a target is not suggested, we use this one.
2627 # Note that what we call a target, Autoconf calls a host.
2628 # Make sure we can run config.sub.
2629 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2630 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2633 $as_echo_n "checking build system type... " >&6; }
2634 if ${ac_cv_build+:} false; then :
2635 $as_echo_n "(cached) " >&6
2637 ac_build_alias=$build_alias
2638 test "x$ac_build_alias" = x &&
2639 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2640 test "x$ac_build_alias" = x &&
2641 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2642 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2643 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2647 $as_echo "$ac_cv_build" >&6; }
2648 case $ac_cv_build in
2650 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2653 ac_save_IFS=$IFS; IFS='-'
2659 # Remember, the first character of IFS is used to create $*,
2660 # except with old shells:
2663 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2667 $as_echo_n "checking host system type... " >&6; }
2668 if ${ac_cv_host+:} false; then :
2669 $as_echo_n "(cached) " >&6
2671 if test "x$host_alias" = x; then
2672 ac_cv_host=$ac_cv_build
2674 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2675 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2680 $as_echo "$ac_cv_host" >&6; }
2683 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2686 ac_save_IFS=$IFS; IFS='-'
2692 # Remember, the first character of IFS is used to create $*,
2693 # except with old shells:
2696 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2700 # The AROS target is slightly different to the normal GNU style
2701 # format. We don't have the middle part, and we reverse the order
2702 # of the $(CPU) and $(OS) bits.
2704 # Don't strip the version of the target yet, it might be
2705 # useful on some systems.
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2708 $as_echo_n "checking for AROS style target... " >&6; }
2710 if test "$target" = "NONE" ; then
2711 target=$host_os-$host_cpu
2713 if test "$target" = "" ; then
2714 target=$host_os-$host_cpu
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2718 $as_echo "$target" >&6; }
2720 if test "$host_os" = "mingw32" ; then
2724 #don't know where else to put this...
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2726 $as_echo_n "checking building AROS in... " >&6; }
2727 AROS_BUILDDIR=`${PWDCMD-pwd}`
2728 AROS_BUILDDIR_UNIX=${PWD}
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2730 $as_echo "$AROS_BUILDDIR" >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2733 $as_echo_n "checking AROS source in... " >&6; }
2734 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2737 $as_echo "$SRCDIR" >&6; }
2739 # Parse the target field into something useful.
2741 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2742 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2745 aros_default_wbwidth=800
2746 aros_default_wbheight=600
2747 aros_default_wbdepth=4
2750 # The first step is to find the host binaries.
2751 # Check for a compiler.
2753 ac_cpp='$CPP $CPPFLAGS'
2754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2757 if test -n "$ac_tool_prefix"; then
2758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2759 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if ${ac_cv_prog_CC+:} false; then :
2763 $as_echo_n "(cached) " >&6
2765 if test -n "$CC"; then
2766 ac_cv_prog_CC="$CC" # Let the user override the test.
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 if test -n "$CC"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2788 $as_echo "$CC" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2796 if test -z "$ac_cv_prog_CC"; then
2798 # Extract the first word of "gcc", so it can be a program name with args.
2799 set dummy gcc; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$ac_ct_CC"; then
2806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_ac_ct_CC="gcc"
2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2826 if test -n "$ac_ct_CC"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2828 $as_echo "$ac_ct_CC" >&6; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2834 if test "x$ac_ct_CC" = x; then
2837 case $cross_compiling:$ac_tool_warned in
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2841 ac_tool_warned=yes ;;
2849 if test -z "$CC"; then
2850 if test -n "$ac_tool_prefix"; then
2851 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2852 set dummy ${ac_tool_prefix}cc; ac_word=$2
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2854 $as_echo_n "checking for $ac_word... " >&6; }
2855 if ${ac_cv_prog_CC+:} false; then :
2856 $as_echo_n "(cached) " >&6
2858 if test -n "$CC"; then
2859 ac_cv_prog_CC="$CC" # Let the user override the test.
2861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865 test -z "$as_dir" && as_dir=.
2866 for ac_exec_ext in '' $ac_executable_extensions; do
2867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2868 ac_cv_prog_CC="${ac_tool_prefix}cc"
2869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2879 if test -n "$CC"; then
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2881 $as_echo "$CC" >&6; }
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2884 $as_echo "no" >&6; }
2890 if test -z "$CC"; then
2891 # Extract the first word of "cc", so it can be a program name with args.
2892 set dummy cc; ac_word=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if ${ac_cv_prog_CC+:} false; then :
2896 $as_echo_n "(cached) " >&6
2898 if test -n "$CC"; then
2899 ac_cv_prog_CC="$CC" # Let the user override the test.
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir=.
2907 for ac_exec_ext in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2910 ac_prog_rejected=yes
2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 if test $ac_prog_rejected = yes; then
2922 # We found a bogon in the path, so make sure we never use it.
2923 set dummy $ac_cv_prog_CC
2925 if test $# != 0; then
2926 # We chose a different compiler from the bogus one.
2927 # However, it has the same basename, so the bogon will be chosen
2928 # first if we set CC to just the basename; use the full file name.
2930 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2936 if test -n "$CC"; then
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2938 $as_echo "$CC" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2946 if test -z "$CC"; then
2947 if test -n "$ac_tool_prefix"; then
2948 for ac_prog in cl.exe
2950 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2951 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953 $as_echo_n "checking for $ac_word... " >&6; }
2954 if ${ac_cv_prog_CC+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 if test -n "$CC"; then
2958 ac_cv_prog_CC="$CC" # Let the user override the test.
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 test -z "$as_dir" && as_dir=.
2965 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2967 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2978 if test -n "$CC"; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2980 $as_echo "$CC" >&6; }
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2987 test -n "$CC" && break
2990 if test -z "$CC"; then
2992 for ac_prog in cl.exe
2994 # Extract the first word of "$ac_prog", so it can be a program name with args.
2995 set dummy $ac_prog; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$ac_ct_CC"; then
3002 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011 ac_cv_prog_ac_ct_CC="$ac_prog"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3022 if test -n "$ac_ct_CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3024 $as_echo "$ac_ct_CC" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3031 test -n "$ac_ct_CC" && break
3034 if test "x$ac_ct_CC" = x; then
3037 case $cross_compiling:$ac_tool_warned in
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3041 ac_tool_warned=yes ;;
3050 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3053 See \
`config.log' for more details" "$LINENO" 5; }
3055 # Provide some information about the compiler.
3056 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3059 for ac_option in --version -v -V -qversion; do
3060 { { ac_try="$ac_compiler $ac_option >&5"
3062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3063 *) ac_try_echo
=$ac_try;;
3065 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3069 if test -s conftest.err
; then
3071 ... rest of stderr output deleted ...
3072 10q' conftest.err
>conftest.er1
3073 cat conftest.er1
>&5
3075 rm -f conftest.er1 conftest.err
3076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3077 test $ac_status = 0; }
3080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3091 ac_clean_files_save
=$ac_clean_files
3092 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3093 # Try to create an executable without -o first, disregard a.out.
3094 # It will help us diagnose broken compilers, and finding out an intuition
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3097 $as_echo_n "checking whether the C compiler works... " >&6; }
3098 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3100 # The possible output files:
3101 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3104 for ac_file
in $ac_files
3107 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3108 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3113 if { { ac_try
="$ac_link_default"
3115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119 $as_echo "$ac_try_echo"; } >&5
3120 (eval "$ac_link_default") 2>&5
3122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123 test $ac_status = 0; }; then :
3124 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3125 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3126 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3127 # so that the user can short-circuit this test for compilers unknown to
3129 for ac_file in $ac_files ''
3131 test -f "$ac_file" || continue
3133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3136 # We found the default executable, but exeext='' is most
3140 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3142 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3144 # We set ac_cv_exeext here because the later test for it is not
3145 # safe: cross compilers may not add the suffix if given an `-o'
3146 # argument, so we may need to know it at that point already.
3147 # Even if this section looks crufty: it has the advantage of
3154 test "$ac_cv_exeext" = no && ac_cv_exeext=
3159 if test -z "$ac_file"; then :
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3162 $as_echo "$as_me: failed program was:" >&5
3163 sed 's
/^
/|
/' conftest.$ac_ext >&5
3165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3166 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3167 as_fn_error 77 "C compiler cannot create executables
3168 See \`config.log
' for more details" "$LINENO" 5; }
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3171 $as_echo "yes" >&6; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3174 $as_echo_n "checking for C compiler default output file name... " >&6; }
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3176 $as_echo "$ac_file" >&6; }
3177 ac_exeext=$ac_cv_exeext
3179 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3180 ac_clean_files=$ac_clean_files_save
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3182 $as_echo_n "checking for suffix of executables... " >&6; }
3183 if { { ac_try="$ac_link"
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3189 $as_echo "$ac_try_echo"; } >&5
3190 (eval "$ac_link") 2>&5
3192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193 test $ac_status = 0; }; then :
3194 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3195 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3196 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3198 for ac_file
in conftest.exe conftest conftest.
*; do
3199 test -f "$ac_file" ||
continue
3201 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3202 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3210 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3211 See \`config.log' for more details" "$LINENO" 5; }
3213 rm -f conftest conftest
$ac_cv_exeext
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3215 $as_echo "$ac_cv_exeext" >&6; }
3217 rm -f conftest.
$ac_ext
3218 EXEEXT
=$ac_cv_exeext
3220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3226 FILE *f = fopen ("conftest.out", "w");
3227 return ferror (f) || fclose (f) != 0;
3233 ac_clean_files
="$ac_clean_files conftest.out"
3234 # Check that the compiler produces executables we can run. If not, either
3235 # the compiler is broken, or we cross compile.
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3237 $as_echo_n "checking whether we are cross compiling... " >&6; }
3238 if test "$cross_compiling" != yes; then
3239 { { ac_try
="$ac_link"
3241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_link") 2>&5
3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249 test $ac_status = 0; }
3250 if { ac_try='./conftest$ac_cv_exeext'
3251 { { case "(($ac_try" in
3252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3253 *) ac_try_echo
=$ac_try;;
3255 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3256 $as_echo "$ac_try_echo"; } >&5
3257 (eval "$ac_try") 2>&5
3259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3260 test $ac_status = 0; }; }; then
3263 if test "$cross_compiling" = maybe
; then
3266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3268 as_fn_error $?
"cannot run C compiled programs.
3269 If you meant to cross compile, use \`--host'.
3270 See \`config.log' for more details" "$LINENO" 5; }
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3275 $as_echo "$cross_compiling" >&6; }
3277 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3278 ac_clean_files
=$ac_clean_files_save
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3280 $as_echo_n "checking for suffix of object files... " >&6; }
3281 if ${ac_cv_objext+:} false
; then :
3282 $as_echo_n "(cached) " >&6
3284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 rm -f conftest.o conftest.obj
3296 if { { ac_try
="$ac_compile"
3298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3302 $as_echo "$ac_try_echo"; } >&5
3303 (eval "$ac_compile") 2>&5
3305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3306 test $ac_status = 0; }; then :
3307 for ac_file in conftest.o conftest.obj conftest.*; do
3308 test -f "$ac_file" || continue;
3310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3311 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3316 $as_echo "$as_me: failed program was:" >&5
3317 sed 's/^/| /' conftest.$ac_ext >&5
3319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3322 See \
`config.log' for more details" "$LINENO" 5; }
3324 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3327 $as_echo "$ac_cv_objext" >&6; }
3328 OBJEXT=$ac_cv_objext
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3331 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3332 if ${ac_cv_c_compiler_gnu+:} false; then :
3333 $as_echo_n "(cached) " >&6
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3349 if ac_fn_c_try_compile "$LINENO"; then :
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3359 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3360 if test $ac_compiler_gnu = yes; then
3365 ac_test_CFLAGS=${CFLAGS+set}
3366 ac_save_CFLAGS=$CFLAGS
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3368 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3369 if ${ac_cv_prog_cc_g+:} false; then :
3370 $as_echo_n "(cached) " >&6
3372 ac_save_c_werror_flag=$ac_c_werror_flag
3373 ac_c_werror_flag=yes
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3387 if ac_fn_c_try_compile "$LINENO"; then :
3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392 /* end confdefs.h. */
3402 if ac_fn_c_try_compile "$LINENO"; then :
3405 ac_c_werror_flag=$ac_save_c_werror_flag
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3418 if ac_fn_c_try_compile "$LINENO"; then :
3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426 ac_c_werror_flag=$ac_save_c_werror_flag
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3429 $as_echo "$ac_cv_prog_cc_g" >&6; }
3430 if test "$ac_test_CFLAGS" = set; then
3431 CFLAGS=$ac_save_CFLAGS
3432 elif test $ac_cv_prog_cc_g = yes; then
3433 if test "$GCC" = yes; then
3439 if test "$GCC" = yes; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3446 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3447 if ${ac_cv_prog_cc_c89+:} false; then :
3448 $as_echo_n "(cached) " >&6
3450 ac_cv_prog_cc_c89=no
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3456 #include <sys/types.h>
3457 #include <sys/stat.h>
3458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3459 struct buf { int x; };
3460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3461 static char *e (p, i)
3467 static char *f (char * (*g) (char **, int), char **p, ...)
3472 s = g (p, va_arg (v,int));
3477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3478 function prototypes and stuff, but not '\xHH' hex character constants.
3479 These don't provoke an error unfortunately, instead are silently treated
3480 as 'x'. The following induces an error, until -std is added to get
3481 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3482 array size at least. It's necessary to write '\x00'==0 to get something
3483 that's true only with -std. */
3484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3486 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3487 inside strings and character constants. */
3489 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3491 int test (int i, double x);
3492 struct s1 {int (*f) (int a);};
3493 struct s2 {int (*f) (double a);};
3494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3500 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3505 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3506 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3508 CC="$ac_save_CC $ac_arg"
3509 if ac_fn_c_try_compile "$LINENO"; then :
3510 ac_cv_prog_cc_c89=$ac_arg
3512 rm -f core conftest.err conftest.$ac_objext
3513 test "x$ac_cv_prog_cc_c89" != "xno" && break
3515 rm -f conftest.$ac_ext
3520 case "x$ac_cv_prog_cc_c89" in
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3523 $as_echo "none needed" >&6; } ;;
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3526 $as_echo "unsupported" >&6; } ;;
3528 CC="$CC $ac_cv_prog_cc_c89"
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3530 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3532 if test "x$ac_cv_prog_cc_c89" != xno; then :
3537 ac_cpp='$CPP $CPPFLAGS'
3538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542 case $ac_cv_prog_cc_stdc in #(
3544 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3547 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3548 if ${ac_cv_prog_cc_c99+:} false; then :
3549 $as_echo_n "(cached) " >&6
3551 ac_cv_prog_cc_c99=no
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3556 #include <stdbool.h>
3561 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3562 #define debug(...) fprintf (stderr, __VA_ARGS__)
3563 #define showlist(...) puts (#__VA_ARGS__)
3564 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3566 test_varargs_macros (void)
3571 debug ("X = %d\n", x);
3572 showlist (The first, second, and third items.);
3573 report (x>y, "x is %d but y is %d", x, y);
3576 // Check long long types.
3577 #define BIG64 18446744073709551615ull
3578 #define BIG32 4294967295ul
3579 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3581 your preprocessor is broken;
3585 your preprocessor is broken;
3587 static long long int bignum = -9223372036854775807LL;
3588 static unsigned long long int ubignum = BIG64;
3590 struct incomplete_array
3598 const wchar_t *name;
3602 typedef const char *ccp;
3605 test_restrict (ccp restrict text)
3607 // See if C++-style comments work.
3608 // Iterate through items via the restricted pointer.
3609 // Also check for declarations in for loops.
3610 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3615 // Check varargs and va_copy.
3617 test_varargs (const char *format, ...)
3620 va_start (args, format);
3622 va_copy (args_copy, args);
3633 str = va_arg (args_copy, const char *);
3636 number = va_arg (args_copy, int);
3639 fnumber = va_arg (args_copy, double);
3654 _Bool success = false;
3657 if (test_restrict ("String literal") == 0)
3659 char *restrict newvar = "Another string";
3662 test_varargs ("s, d' f .", "string", 65, 34.234);
3663 test_varargs_macros ();
3665 // Check flexible array members.
3666 struct incomplete_array *ia =
3667 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3669 for (int i = 0; i < ia->datasize; ++i)
3670 ia->data[i] = i * 1.234;
3672 // Check named initializers.
3673 struct named_init ni = {
3675 .name = L"Test wide string",
3676 .average = 543.34343,
3681 int dynamic_array[ni.number];
3682 dynamic_array[ni.number - 1] = 543;
3684 // work around unused variable warnings
3685 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3686 || dynamic_array[ni.number - 1] != 543);
3692 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3694 CC="$ac_save_CC $ac_arg"
3695 if ac_fn_c_try_compile "$LINENO"; then :
3696 ac_cv_prog_cc_c99=$ac_arg
3698 rm -f core conftest.err conftest.$ac_objext
3699 test "x$ac_cv_prog_cc_c99" != "xno" && break
3701 rm -f conftest.$ac_ext
3706 case "x$ac_cv_prog_cc_c99" in
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3709 $as_echo "none needed" >&6; } ;;
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3712 $as_echo "unsupported" >&6; } ;;
3714 CC="$CC $ac_cv_prog_cc_c99"
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3716 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3718 if test "x$ac_cv_prog_cc_c99" != xno; then :
3719 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3723 if ${ac_cv_prog_cc_c89+:} false; then :
3724 $as_echo_n "(cached) " >&6
3726 ac_cv_prog_cc_c89=no
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3732 #include <sys/types.h>
3733 #include <sys/stat.h>
3734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3735 struct buf { int x; };
3736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3737 static char *e (p, i)
3743 static char *f (char * (*g) (char **, int), char **p, ...)
3748 s = g (p, va_arg (v,int));
3753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3754 function prototypes and stuff, but not '\xHH' hex character constants.
3755 These don't provoke an error unfortunately, instead are silently treated
3756 as 'x'. The following induces an error, until -std is added to get
3757 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3758 array size at least. It's necessary to write '\x00'==0 to get something
3759 that's true only with -std. */
3760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3762 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3763 inside strings and character constants. */
3765 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3767 int test (int i, double x);
3768 struct s1 {int (*f) (int a);};
3769 struct s2 {int (*f) (double a);};
3770 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3776 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3781 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3782 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3784 CC="$ac_save_CC $ac_arg"
3785 if ac_fn_c_try_compile "$LINENO"; then :
3786 ac_cv_prog_cc_c89=$ac_arg
3788 rm -f core conftest.err conftest.$ac_objext
3789 test "x$ac_cv_prog_cc_c89" != "xno" && break
3791 rm -f conftest.$ac_ext
3796 case "x$ac_cv_prog_cc_c89" in
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3799 $as_echo "none needed" >&6; } ;;
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3802 $as_echo "unsupported" >&6; } ;;
3804 CC="$CC $ac_cv_prog_cc_c89"
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3806 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3808 if test "x$ac_cv_prog_cc_c89" != xno; then :
3809 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3811 ac_cv_prog_cc_stdc=no
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3818 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3819 if ${ac_cv_prog_cc_stdc+:} false; then :
3820 $as_echo_n "(cached) " >&6
3823 case $ac_cv_prog_cc_stdc in #(
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3826 $as_echo "unsupported" >&6; } ;; #(
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3829 $as_echo "none needed" >&6; } ;; #(
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3832 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3836 ac_cpp='$CXXCPP $CPPFLAGS'
3837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3840 if test -z "$CXX"; then
3841 if test -n "$CCC"; then
3844 if test -n "$ac_tool_prefix"; then
3845 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3848 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if ${ac_cv_prog_CXX+:} false; then :
3852 $as_echo_n "(cached) " >&6
3854 if test -n "$CXX"; then
3855 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861 test -z "$as_dir" && as_dir=.
3862 for ac_exec_ext in '' $ac_executable_extensions; do
3863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3864 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3875 if test -n "$CXX"; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3877 $as_echo "$CXX" >&6; }
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3884 test -n "$CXX" && break
3887 if test -z "$CXX"; then
3889 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3891 # Extract the first word of "$ac_prog", so it can be a program name with args.
3892 set dummy $ac_prog; ac_word=$2
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3894 $as_echo_n "checking for $ac_word... " >&6; }
3895 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3896 $as_echo_n "(cached) " >&6
3898 if test -n "$ac_ct_CXX"; then
3899 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir=.
3906 for ac_exec_ext in '' $ac_executable_extensions; do
3907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3908 ac_cv_prog_ac_ct_CXX="$ac_prog"
3909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3919 if test -n "$ac_ct_CXX"; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3921 $as_echo "$ac_ct_CXX" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3928 test -n "$ac_ct_CXX" && break
3931 if test "x$ac_ct_CXX" = x; then
3934 case $cross_compiling:$ac_tool_warned in
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3938 ac_tool_warned=yes ;;
3946 # Provide some information about the compiler.
3947 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3950 for ac_option in --version -v -V -qversion; do
3951 { { ac_try="$ac_compiler $ac_option >&5"
3953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3954 *) ac_try_echo
=$ac_try;;
3956 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3957 $as_echo "$ac_try_echo"; } >&5
3958 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3960 if test -s conftest.err
; then
3962 ... rest of stderr output deleted ...
3963 10q' conftest.err
>conftest.er1
3964 cat conftest.er1
>&5
3966 rm -f conftest.er1 conftest.err
3967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968 test $ac_status = 0; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3972 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3973 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3974 $as_echo_n "(cached) " >&6
3976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3977 /* end confdefs.h. */
3990 if ac_fn_cxx_try_compile
"$LINENO"; then :
3995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3996 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4000 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4001 if test $ac_compiler_gnu = yes; then
4006 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4007 ac_save_CXXFLAGS
=$CXXFLAGS
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4009 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4010 if ${ac_cv_prog_cxx_g+:} false
; then :
4011 $as_echo_n "(cached) " >&6
4013 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4014 ac_cxx_werror_flag
=yes
4017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4028 if ac_fn_cxx_try_compile
"$LINENO"; then :
4029 ac_cv_prog_cxx_g
=yes
4032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4043 if ac_fn_cxx_try_compile
"$LINENO"; then :
4046 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4059 if ac_fn_cxx_try_compile
"$LINENO"; then :
4060 ac_cv_prog_cxx_g
=yes
4062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4067 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4070 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4071 if test "$ac_test_CXXFLAGS" = set; then
4072 CXXFLAGS
=$ac_save_CXXFLAGS
4073 elif test $ac_cv_prog_cxx_g = yes; then
4074 if test "$GXX" = yes; then
4080 if test "$GXX" = yes; then
4087 ac_cpp
='$CPP $CPPFLAGS'
4088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4093 ac_cpp
='$CPP $CPPFLAGS'
4094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4098 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4099 # On Suns, sometimes $CPP names a directory.
4100 if test -n "$CPP" && test -d "$CPP"; then
4103 if test -z "$CPP"; then
4104 if ${ac_cv_prog_CPP+:} false
; then :
4105 $as_echo_n "(cached) " >&6
4107 # Double quotes because CPP needs to be expanded
4108 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4111 for ac_c_preproc_warn_flag
in '' yes
4113 # Use a header file that comes with gcc, so configuring glibc
4114 # with a fresh cross-compiler works.
4115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4116 # <limits.h> exists even on freestanding compilers.
4117 # On the NeXT, cc -E runs the code through the compiler's parser,
4118 # not just through cpp. "Syntax error" is here to catch this case.
4119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4122 # include <limits.h>
4124 # include <assert.h>
4128 if ac_fn_c_try_cpp
"$LINENO"; then :
4131 # Broken: fails on valid input.
4134 rm -f conftest.err conftest.i conftest.
$ac_ext
4136 # OK, works on sane cases. Now check whether nonexistent headers
4137 # can be detected and how.
4138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4140 #include <ac_nonexistent.h>
4142 if ac_fn_c_try_cpp
"$LINENO"; then :
4143 # Broken: success on invalid input.
4146 # Passes both tests.
4150 rm -f conftest.err conftest.i conftest.
$ac_ext
4153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4154 rm -f conftest.i conftest.err conftest.
$ac_ext
4155 if $ac_preproc_ok; then :
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4168 $as_echo "$CPP" >&6; }
4170 for ac_c_preproc_warn_flag
in '' yes
4172 # Use a header file that comes with gcc, so configuring glibc
4173 # with a fresh cross-compiler works.
4174 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4175 # <limits.h> exists even on freestanding compilers.
4176 # On the NeXT, cc -E runs the code through the compiler's parser,
4177 # not just through cpp. "Syntax error" is here to catch this case.
4178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4181 # include <limits.h>
4183 # include <assert.h>
4187 if ac_fn_c_try_cpp
"$LINENO"; then :
4190 # Broken: fails on valid input.
4193 rm -f conftest.err conftest.i conftest.
$ac_ext
4195 # OK, works on sane cases. Now check whether nonexistent headers
4196 # can be detected and how.
4197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4199 #include <ac_nonexistent.h>
4201 if ac_fn_c_try_cpp
"$LINENO"; then :
4202 # Broken: success on invalid input.
4205 # Passes both tests.
4209 rm -f conftest.err conftest.i conftest.
$ac_ext
4212 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4213 rm -f conftest.i conftest.err conftest.
$ac_ext
4214 if $ac_preproc_ok; then :
4217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4219 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4220 See \`config.log' for more details" "$LINENO" 5; }
4224 ac_cpp
='$CPP $CPPFLAGS'
4225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4230 # Check for a compatible awk
4231 for ac_prog
in gawk nawk
4233 # Extract the first word of "$ac_prog", so it can be a program name with args.
4234 set dummy
$ac_prog; ac_word
=$2
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236 $as_echo_n "checking for $ac_word... " >&6; }
4237 if ${ac_cv_prog_AWK+:} false
; then :
4238 $as_echo_n "(cached) " >&6
4240 if test -n "$AWK"; then
4241 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4247 test -z "$as_dir" && as_dir
=.
4248 for ac_exec_ext
in '' $ac_executable_extensions; do
4249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4250 ac_cv_prog_AWK
="$ac_prog"
4251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 if test -n "$AWK"; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4263 $as_echo "$AWK" >&6; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266 $as_echo "no" >&6; }
4270 test -n "$AWK" && break
4273 if test "$AWK" = ""; then
4274 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4276 # Extract the first word of "mmake", so it can be a program name with args.
4277 set dummy mmake
; ac_word
=$2
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4279 $as_echo_n "checking for $ac_word... " >&6; }
4280 if ${ac_cv_prog_MMAKE+:} false
; then :
4281 $as_echo_n "(cached) " >&6
4283 if test -n "$MMAKE"; then
4284 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4290 test -z "$as_dir" && as_dir
=.
4291 for ac_exec_ext
in '' $ac_executable_extensions; do
4292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4293 ac_cv_prog_MMAKE
="mmake "
4294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4303 MMAKE
=$ac_cv_prog_MMAKE
4304 if test -n "$MMAKE"; then
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4306 $as_echo "$MMAKE" >&6; }
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4309 $as_echo "no" >&6; }
4314 # Perform some default variable assignments. Note all of these will be
4315 # Regenerated from the script, so there is no need to cache them.
4317 aros_host_cpp
="$CPP"
4319 aros_host_cxx
="$CXX"
4320 if test "$GCC" = "yes"; then
4321 aros_gcc_ld
=`$CC -print-prog-name=ld`
4322 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4323 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4325 $as_echo_n "checking for $ac_word... " >&6; }
4326 if ${ac_cv_path_aros_host_ld+:} false
; then :
4327 $as_echo_n "(cached) " >&6
4329 case $aros_host_ld in
4331 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4335 for as_dir
in `dirname $aros_gcc_ld`
4338 test -z "$as_dir" && as_dir
=.
4339 for ac_exec_ext
in '' $ac_executable_extensions; do
4340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4341 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 aros_host_ld
=$ac_cv_path_aros_host_ld
4353 if test -n "$aros_host_ld"; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4355 $as_echo "$aros_host_ld" >&6; }
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358 $as_echo "no" >&6; }
4363 if test "$aros_host_ld" = ""; then
4364 # Extract the first word of "ld", so it can be a program name with args.
4365 set dummy ld
; ac_word
=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if ${ac_cv_path_aros_host_ld+:} false
; then :
4369 $as_echo_n "(cached) " >&6
4371 case $aros_host_ld in
4373 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4380 test -z "$as_dir" && as_dir
=.
4381 for ac_exec_ext
in '' $ac_executable_extensions; do
4382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4383 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 aros_host_ld
=$ac_cv_path_aros_host_ld
4395 if test -n "$aros_host_ld"; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4397 $as_echo "$aros_host_ld" >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4405 if test "$aros_host_ld" = ""; then
4406 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4408 aros_host_make
="make"
4409 aros_host_cflags
=$CFLAGS
4410 aros_host_cxxflags
=$CXXFLAGS
4411 aros_host_ldflags
=$LDFLAGS
4412 aros_host_debug
="-g -O0"
4413 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4414 aros_host_mkargs
="--no-print-directory"
4415 aros_host_exe_suffix
="$EXEEXT"
4416 aros_host_lib_suffix
=""
4418 # Ignore all compliance, AROS ROMs = 0
4419 # KickStart v1.0 = 30
4420 # KickStart v1.3 = 34
4421 # KickStart v2.0 = 37
4422 # KickStart v3.0 = 39
4423 # KickStart v3.1 = 40
4425 aros_amigaos_compliance
=0
4427 for ac_prog
in aclocal aclocal19 aclocal-1.9
4429 # Extract the first word of "$ac_prog", so it can be a program name with args.
4430 set dummy
$ac_prog; ac_word
=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4434 $as_echo_n "(cached) " >&6
4436 if test -n "$aros_host_aclocal"; then
4437 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4443 test -z "$as_dir" && as_dir
=.
4444 for ac_exec_ext
in '' $ac_executable_extensions; do
4445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4446 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4456 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4457 if test -n "$aros_host_aclocal"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4459 $as_echo "$aros_host_aclocal" >&6; }
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4466 test -n "$aros_host_aclocal" && break
4469 for ac_prog
in autoconf autoconf259 autoconf253
4471 # Extract the first word of "$ac_prog", so it can be a program name with args.
4472 set dummy
$ac_prog; ac_word
=$2
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4476 $as_echo_n "(cached) " >&6
4478 if test -n "$aros_host_autoconf"; then
4479 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4485 test -z "$as_dir" && as_dir
=.
4486 for ac_exec_ext
in '' $ac_executable_extensions; do
4487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4488 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4499 if test -n "$aros_host_autoconf"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4501 $as_echo "$aros_host_autoconf" >&6; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4508 test -n "$aros_host_autoconf" && break
4511 for ac_prog
in autoheader autoheader259 autoheader253
4513 # Extract the first word of "$ac_prog", so it can be a program name with args.
4514 set dummy
$ac_prog; ac_word
=$2
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4516 $as_echo_n "checking for $ac_word... " >&6; }
4517 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4518 $as_echo_n "(cached) " >&6
4520 if test -n "$aros_host_autoheader"; then
4521 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4527 test -z "$as_dir" && as_dir
=.
4528 for ac_exec_ext
in '' $ac_executable_extensions; do
4529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4530 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4541 if test -n "$aros_host_autoheader"; then
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4543 $as_echo "$aros_host_autoheader" >&6; }
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546 $as_echo "no" >&6; }
4550 test -n "$aros_host_autoheader" && break
4553 for ac_prog
in automake automake19 automake-1.9
4555 # Extract the first word of "$ac_prog", so it can be a program name with args.
4556 set dummy
$ac_prog; ac_word
=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4560 $as_echo_n "(cached) " >&6
4562 if test -n "$aros_host_automake"; then
4563 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4569 test -z "$as_dir" && as_dir
=.
4570 for ac_exec_ext
in '' $ac_executable_extensions; do
4571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4572 ac_cv_prog_aros_host_automake
="$ac_prog"
4573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4582 aros_host_automake
=$ac_cv_prog_aros_host_automake
4583 if test -n "$aros_host_automake"; then
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4585 $as_echo "$aros_host_automake" >&6; }
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588 $as_echo "no" >&6; }
4592 test -n "$aros_host_automake" && break
4596 if test "$aros_host_aclocal" = ""; then
4597 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4599 if test "$aros_host_automake" = ""; then
4600 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4603 case "$aros_host_cc" in
4605 aros_host_cc_pipe
="-pipe"
4608 aros_host_cc_pipe
=""
4611 aros_host_cc_pipe
=""
4615 aros_kernel_cc_includes
=""
4616 aros_target_cc_includes
=""
4618 # ----------------------------------------------------------------------------------------
4619 # Host-specific defaults
4621 # This is the main host configuration section. It is where the host
4622 # can change the values of any variables it needs to change. We do
4623 # not look at anything that compiles to the target yet, we'll get
4628 aros_host_arch
="aros"
4629 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4632 aros_host_cpu
="i386"
4635 aros_host_cpu
="x86_64"
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4642 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4643 aros_host_cpu
="$host_cpu"
4649 aros_host_arch
="linux"
4650 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4651 android_build_os
="linux-x86"
4652 android_tool
="android"
4653 default_android_sdk
="/opt/android-sdk-linux_x86"
4656 aros_host_cpu
="i386"
4659 aros_host_cpu
="x86_64"
4662 aros_host_cpu
="m68k"
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4672 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4673 aros_host_cpu
="$host_cpu"
4679 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4680 aros_host_make
="gmake"
4681 aros_host_arch
="freebsd"
4682 aros_host_cpu
="i386"
4684 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4688 aros_object_format
="elf_i386"
4692 aros_object_format
="elf_i386_fbsd"
4699 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4700 aros_host_arch
="darwin"
4701 android_build_os
="darwin-x86"
4702 android_tool
="android"
4703 default_android_sdk
="/android-sdk-mac_x86"
4706 aros_host_cpu
="i386"
4709 aros_host_cpu
="x86_64"
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4716 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4717 aros_host_cpu
="$host_cpu"
4721 aros_host_ldflags
="$aros_host_ldflags -liconv"
4726 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4727 aros_host_make
="gmake"
4728 aros_host_arch
="dragonfly"
4731 aros_host_cpu
="i386"
4734 aros_host_cpu
="x86_64"
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4738 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4739 aros_host_cpu
="$host_cpu"
4745 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4746 aros_host_make
="gmake"
4747 aros_host_arch
="netbsd"
4750 aros_host_cpu
="i386"
4753 aros_host_cpu
="m68k"
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4757 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4758 aros_host_cpu
="$host_cpu"
4761 aros_host_lib_suffix
=".0.0"
4765 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4766 aros_host_make
="gmake"
4767 aros_host_arch
="openbsd"
4770 aros_host_cpu
="i386"
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4774 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4775 aros_host_cpu
="$host_cpu"
4781 aros_host_arch
="solaris"
4782 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4785 aros_host_cpu
="i386"
4788 aros_host_cpu
="sparc"
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4792 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4793 aros_host_cpu
="$host_cpu"
4799 aros_host_arch
="morphos"
4804 aros_host_arch
="amiga"
4809 TOUCH
="/gg/bin/touch"
4812 aros_host_cpu
="m68k"
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4819 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4820 aros_host_cpu
="$host_cpu"
4826 aros_host_arch
="cygwin"
4827 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4828 android_build_os
="windows"
4829 android_tool
="android.bat"
4830 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4834 aros_host_cpu
="i386"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4838 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4839 aros_host_cpu
="$host_cpu"
4845 aros_host_arch
="mingw32"
4846 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4847 android_build_os
="windows"
4848 android_tool
="android.bat"
4849 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4855 $as_echo_n "checking for Windows native gcc target... " >&6; }
4856 host_cpu
=`gcc -dumpmachine`
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4858 $as_echo "$host_cpu" >&6; }
4865 aros_host_cpu
="i386"
4869 aros_host_cpu
="x86_64"
4870 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4875 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4876 aros_host_cpu
="$host_cpu"
4881 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4885 # Extract the first word of "ar", so it can be a program name with args.
4886 set dummy
ar; ac_word
=$2
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888 $as_echo_n "checking for $ac_word... " >&6; }
4889 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4890 $as_echo_n "(cached) " >&6
4892 if test -n "$aros_host_ar"; then
4893 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4899 test -z "$as_dir" && as_dir
=.
4900 for ac_exec_ext
in '' $ac_executable_extensions; do
4901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4902 ac_cv_prog_aros_host_ar
="ar cr"
4903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 aros_host_ar
=$ac_cv_prog_aros_host_ar
4913 if test -n "$aros_host_ar"; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4915 $as_echo "$aros_host_ar" >&6; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4922 if test "$aros_host_ar" = ""; then
4923 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4925 # Extract the first word of "ranlib", so it can be a program name with args.
4926 set dummy ranlib
; ac_word
=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4930 $as_echo_n "(cached) " >&6
4932 if test -n "$aros_host_ranlib"; then
4933 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir
=.
4940 for ac_exec_ext
in '' $ac_executable_extensions; do
4941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4942 ac_cv_prog_aros_host_ranlib
="ranlib "
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4953 if test -n "$aros_host_ranlib"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4955 $as_echo "$aros_host_ranlib" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4962 if test "$aros_host_ranlib" = ""; then
4963 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4965 # Extract the first word of "strip", so it can be a program name with args.
4966 set dummy strip
; ac_word
=$2
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 $as_echo_n "checking for $ac_word... " >&6; }
4969 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4970 $as_echo_n "(cached) " >&6
4972 if test -n "$aros_host_strip"; then
4973 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4979 test -z "$as_dir" && as_dir
=.
4980 for ac_exec_ext
in '' $ac_executable_extensions; do
4981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4982 ac_cv_prog_aros_host_strip
="strip "
4983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 aros_host_strip
=$ac_cv_prog_aros_host_strip
4993 if test -n "$aros_host_strip"; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4995 $as_echo "$aros_host_strip" >&6; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 $as_echo "no" >&6; }
5002 if test "$aros_host_strip" = ""; then
5003 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5006 # Extract the first word of "rm", so it can be a program name with args.
5007 set dummy
rm; ac_word
=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if ${ac_cv_prog_RM+:} false
; then :
5011 $as_echo_n "(cached) " >&6
5013 if test -n "$RM"; then
5014 ac_cv_prog_RM
="$RM" # Let the user override the test.
5016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5020 test -z "$as_dir" && as_dir
=.
5021 for ac_exec_ext
in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023 ac_cv_prog_RM
="rm -rf"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 if test -n "$RM"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5036 $as_echo "$RM" >&6; }
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5043 if test "$RM" = ""; then
5044 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5046 # Extract the first word of "cp", so it can be a program name with args.
5047 set dummy
cp; ac_word
=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if ${ac_cv_prog_CP+:} false
; then :
5051 $as_echo_n "(cached) " >&6
5053 if test -n "$CP"; then
5054 ac_cv_prog_CP
="$CP" # Let the user override the test.
5056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5060 test -z "$as_dir" && as_dir
=.
5061 for ac_exec_ext
in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 if test -n "$CP"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5076 $as_echo "$CP" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5083 if test "$CP" = ""; then
5084 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5086 # Extract the first word of "mv", so it can be a program name with args.
5087 set dummy
mv; ac_word
=$2
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5089 $as_echo_n "checking for $ac_word... " >&6; }
5090 if ${ac_cv_prog_MV+:} false
; then :
5091 $as_echo_n "(cached) " >&6
5093 if test -n "$MV"; then
5094 ac_cv_prog_MV
="$MV" # Let the user override the test.
5096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5100 test -z "$as_dir" && as_dir
=.
5101 for ac_exec_ext
in '' $ac_executable_extensions; do
5102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 if test -n "$MV"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5116 $as_echo "$MV" >&6; }
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5123 if test "$MV" = ""; then
5124 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5126 # Extract the first word of "echo", so it can be a program name with args.
5127 set dummy
echo; ac_word
=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if ${ac_cv_prog_ECHO+:} false
; then :
5131 $as_echo_n "(cached) " >&6
5133 if test -n "$ECHO"; then
5134 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir
=.
5141 for ac_exec_ext
in '' $ac_executable_extensions; do
5142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5143 ac_cv_prog_ECHO
="echo "
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 ECHO
=$ac_cv_prog_ECHO
5154 if test -n "$ECHO"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5156 $as_echo "$ECHO" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5163 if test "$ECHO" = ""; then
5164 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5166 # Extract the first word of "mkdir", so it can be a program name with args.
5167 set dummy mkdir
; ac_word
=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if ${ac_cv_prog_MKDIR+:} false
; then :
5171 $as_echo_n "(cached) " >&6
5173 if test -n "$MKDIR"; then
5174 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5180 test -z "$as_dir" && as_dir
=.
5181 for ac_exec_ext
in '' $ac_executable_extensions; do
5182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183 ac_cv_prog_MKDIR
="mkdir -p"
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 MKDIR
=$ac_cv_prog_MKDIR
5194 if test -n "$MKDIR"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5196 $as_echo "$MKDIR" >&6; }
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5203 if test "$MKDIR" = ""; then
5204 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5206 # Extract the first word of "touch", so it can be a program name with args.
5207 set dummy
touch; ac_word
=$2
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if ${ac_cv_prog_TOUCH+:} false
; then :
5211 $as_echo_n "(cached) " >&6
5213 if test -n "$TOUCH"; then
5214 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5220 test -z "$as_dir" && as_dir
=.
5221 for ac_exec_ext
in '' $ac_executable_extensions; do
5222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 ac_cv_prog_TOUCH
="touch "
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 TOUCH
=$ac_cv_prog_TOUCH
5234 if test -n "$TOUCH"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5236 $as_echo "$TOUCH" >&6; }
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5243 if test "$TOUCH" = ""; then
5244 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5246 # Extract the first word of "sort", so it can be a program name with args.
5247 set dummy
sort; ac_word
=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if ${ac_cv_prog_SORT+:} false
; then :
5251 $as_echo_n "(cached) " >&6
5253 if test -n "$SORT"; then
5254 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir
=.
5261 for ac_exec_ext
in '' $ac_executable_extensions; do
5262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_prog_SORT
="sort "
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 SORT
=$ac_cv_prog_SORT
5274 if test -n "$SORT"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5276 $as_echo "$SORT" >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5283 if test "$SORT" = ""; then
5284 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5286 # Extract the first word of "uniq", so it can be a program name with args.
5287 set dummy
uniq; ac_word
=$2
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289 $as_echo_n "checking for $ac_word... " >&6; }
5290 if ${ac_cv_prog_UNIQ+:} false
; then :
5291 $as_echo_n "(cached) " >&6
5293 if test -n "$UNIQ"; then
5294 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_exec_ext
in '' $ac_executable_extensions; do
5302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5303 ac_cv_prog_UNIQ
="uniq "
5304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 UNIQ
=$ac_cv_prog_UNIQ
5314 if test -n "$UNIQ"; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5316 $as_echo "$UNIQ" >&6; }
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 $as_echo "no" >&6; }
5323 if test "$UNIQ" = ""; then
5324 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5326 # Extract the first word of "true", so it can be a program name with args.
5327 set dummy true
; ac_word
=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_NOP+:} false
; then :
5331 $as_echo_n "(cached) " >&6
5333 if test -n "$NOP"; then
5334 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5340 test -z "$as_dir" && as_dir
=.
5341 for ac_exec_ext
in '' $ac_executable_extensions; do
5342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5343 ac_cv_prog_NOP
="true "
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 if test -n "$NOP"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5356 $as_echo "$NOP" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5363 if test "$NOP" = ""; then
5364 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5366 # Extract the first word of "cat", so it can be a program name with args.
5367 set dummy
cat; ac_word
=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_CAT+:} false
; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -n "$CAT"; then
5374 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5380 test -z "$as_dir" && as_dir
=.
5381 for ac_exec_ext
in '' $ac_executable_extensions; do
5382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5383 ac_cv_prog_CAT
="cat "
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 if test -n "$CAT"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5396 $as_echo "$CAT" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5403 if test "$CAT" = ""; then
5404 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5406 # Extract the first word of "bison", so it can be a program name with args.
5407 set dummy bison
; ac_word
=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_BISON+:} false
; then :
5411 $as_echo_n "(cached) " >&6
5413 if test -n "$BISON"; then
5414 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5420 test -z "$as_dir" && as_dir
=.
5421 for ac_exec_ext
in '' $ac_executable_extensions; do
5422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5423 ac_cv_prog_BISON
="bison "
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 BISON
=$ac_cv_prog_BISON
5434 if test -n "$BISON"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5436 $as_echo "$BISON" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 if test "$BISON" = ""; then
5444 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5446 # Extract the first word of "flex", so it can be a program name with args.
5447 set dummy flex
; ac_word
=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_FLEX+:} false
; then :
5451 $as_echo_n "(cached) " >&6
5453 if test -n "$FLEX"; then
5454 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir
=.
5461 for ac_exec_ext
in '' $ac_executable_extensions; do
5462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463 ac_cv_prog_FLEX
="flex "
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 FLEX
=$ac_cv_prog_FLEX
5474 if test -n "$FLEX"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5476 $as_echo "$FLEX" >&6; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5483 if test "$FLEX" = ""; then
5484 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5486 # Extract the first word of "pngtopnm", so it can be a program name with args.
5487 set dummy pngtopnm
; ac_word
=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5491 $as_echo_n "(cached) " >&6
5493 if test -n "$PNGTOPNM"; then
5494 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5500 test -z "$as_dir" && as_dir
=.
5501 for ac_exec_ext
in '' $ac_executable_extensions; do
5502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5503 ac_cv_prog_PNGTOPNM
="pngtopnm "
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5514 if test -n "$PNGTOPNM"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5516 $as_echo "$PNGTOPNM" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5523 if test "$PNGTOPNM" = ""; then
5524 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5526 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5527 set dummy ppmtoilbm
; ac_word
=$2
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5529 $as_echo_n "checking for $ac_word... " >&6; }
5530 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5531 $as_echo_n "(cached) " >&6
5533 if test -n "$PPMTOILBM"; then
5534 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5540 test -z "$as_dir" && as_dir
=.
5541 for ac_exec_ext
in '' $ac_executable_extensions; do
5542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5543 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5554 if test -n "$PPMTOILBM"; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5556 $as_echo "$PPMTOILBM" >&6; }
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 $as_echo "no" >&6; }
5563 if test "$PPMTOILBM" = ""; then
5564 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5566 # Extract the first word of "sed", so it can be a program name with args.
5567 set dummy
sed; ac_word
=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if ${ac_cv_prog_SED+:} false
; then :
5571 $as_echo_n "(cached) " >&6
5573 if test -n "$SED"; then
5574 ac_cv_prog_SED
="$SED" # Let the user override the test.
5576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5580 test -z "$as_dir" && as_dir
=.
5581 for ac_exec_ext
in '' $ac_executable_extensions; do
5582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5583 ac_cv_prog_SED
="sed "
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 if test -n "$SED"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5596 $as_echo "$SED" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5603 if test "$SED" = ""; then
5604 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5606 # Extract the first word of "chmod", so it can be a program name with args.
5607 set dummy
chmod; ac_word
=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if ${ac_cv_prog_CHMOD+:} false
; then :
5611 $as_echo_n "(cached) " >&6
5613 if test -n "$CHMOD"; then
5614 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5620 test -z "$as_dir" && as_dir
=.
5621 for ac_exec_ext
in '' $ac_executable_extensions; do
5622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5623 ac_cv_prog_CHMOD
="chmod "
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 CHMOD
=$ac_cv_prog_CHMOD
5634 if test -n "$CHMOD"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5636 $as_echo "$CHMOD" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5643 if test "$CHMOD" = ""; then
5644 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5646 # Extract the first word of "patch", so it can be a program name with args.
5647 set dummy
patch; ac_word
=$2
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649 $as_echo_n "checking for $ac_word... " >&6; }
5650 if ${ac_cv_prog_PATCH+:} false
; then :
5651 $as_echo_n "(cached) " >&6
5653 if test -n "$PATCH"; then
5654 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5660 test -z "$as_dir" && as_dir
=.
5661 for ac_exec_ext
in '' $ac_executable_extensions; do
5662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5663 ac_cv_prog_PATCH
="patch "
5664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 PATCH
=$ac_cv_prog_PATCH
5674 if test -n "$PATCH"; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5676 $as_echo "$PATCH" >&6; }
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5683 if test "$PATCH" = ""; then
5684 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5691 if test -n "$PYTHON"; then
5692 # If the user set $PYTHON, use it and don't search something else.
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5694 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5695 prog
="import sys, string
5696 # split strings by '.' and convert to numeric. Append some zeros
5697 # because we need at least 4 digits for the hex conversion.
5698 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5700 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5701 sys.exit(sys.hexversion < minverhex)"
5702 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5703 ($PYTHON -c "$prog") >&5 2>&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; then :
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5708 $as_echo "yes" >&6; }
5710 as_fn_error $?
"too old" "$LINENO" 5
5712 am_display_PYTHON
=$PYTHON
5714 # Otherwise, try each interpreter until we find one that satisfies
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5717 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5718 if ${am_cv_pathless_PYTHON+:} false
; then :
5719 $as_echo_n "(cached) " >&6
5722 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
5723 test "$am_cv_pathless_PYTHON" = none
&& break
5724 prog
="import sys, string
5725 # split strings by '.' and convert to numeric. Append some zeros
5726 # because we need at least 4 digits for the hex conversion.
5727 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5729 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5730 sys.exit(sys.hexversion < minverhex)"
5731 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5732 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); }; then :
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5741 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5742 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5743 if test "$am_cv_pathless_PYTHON" = none
; then
5746 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5747 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_path_PYTHON+:} false
; then :
5751 $as_echo_n "(cached) " >&6
5755 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir
=.
5763 for ac_exec_ext
in '' $ac_executable_extensions; do
5764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5765 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 PYTHON
=$ac_cv_path_PYTHON
5777 if test -n "$PYTHON"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5779 $as_echo "$PYTHON" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }
5787 am_display_PYTHON
=$am_cv_pathless_PYTHON
5791 if test "$PYTHON" = :; then
5792 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5797 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5798 if ${am_cv_python_version+:} false
; then :
5799 $as_echo_n "(cached) " >&6
5801 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5804 $as_echo "$am_cv_python_version" >&6; }
5805 PYTHON_VERSION
=$am_cv_python_version
5809 PYTHON_PREFIX
='${prefix}'
5811 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5816 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5817 if ${am_cv_python_platform+:} false
; then :
5818 $as_echo_n "(cached) " >&6
5820 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5823 $as_echo "$am_cv_python_platform" >&6; }
5824 PYTHON_PLATFORM
=$am_cv_python_platform
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5830 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5831 if ${am_cv_python_pythondir+:} false
; then :
5832 $as_echo_n "(cached) " >&6
5834 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5835 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5838 $as_echo "$am_cv_python_pythondir" >&6; }
5839 pythondir
=$am_cv_python_pythondir
5843 pkgpythondir
=\
${pythondir}/$PACKAGE
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5847 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5848 if ${am_cv_python_pyexecdir+:} false
; then :
5849 $as_echo_n "(cached) " >&6
5851 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5852 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5855 $as_echo "$am_cv_python_pyexecdir" >&6; }
5856 pyexecdir
=$am_cv_python_pyexecdir
5860 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5878 # Check for some includes for the X11 HIDD and the kernel
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5882 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5883 if ${ac_cv_path_GREP+:} false
; then :
5884 $as_echo_n "(cached) " >&6
5886 if test -z "$GREP"; then
5887 ac_path_GREP_found
=false
5888 # Loop through the user's path and test for each of PROGNAME-LIST
5889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5890 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5893 test -z "$as_dir" && as_dir
=.
5894 for ac_prog
in grep ggrep
; do
5895 for ac_exec_ext
in '' $ac_executable_extensions; do
5896 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5897 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5898 # Check for GNU ac_path_GREP and select it if it is found.
5899 # Check for GNU $ac_path_GREP
5900 case `"$ac_path_GREP" --version 2>&1` in
5902 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5905 $as_echo_n 0123456789 >"conftest.in"
5908 cat "conftest.in" "conftest.in" >"conftest.tmp"
5909 mv "conftest.tmp" "conftest.in"
5910 cp "conftest.in" "conftest.nl"
5911 $as_echo 'GREP' >> "conftest.nl"
5912 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5913 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5914 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5915 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5916 # Best one so far, save it but keep looking for a better one
5917 ac_cv_path_GREP
="$ac_path_GREP"
5918 ac_path_GREP_max
=$ac_count
5920 # 10*(2^10) chars as input seems more than enough
5921 test $ac_count -gt 10 && break
5923 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5926 $ac_path_GREP_found && break 3
5931 if test -z "$ac_cv_path_GREP"; then
5932 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5935 ac_cv_path_GREP
=$GREP
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5940 $as_echo "$ac_cv_path_GREP" >&6; }
5941 GREP
="$ac_cv_path_GREP"
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5945 $as_echo_n "checking for egrep... " >&6; }
5946 if ${ac_cv_path_EGREP+:} false
; then :
5947 $as_echo_n "(cached) " >&6
5949 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5950 then ac_cv_path_EGREP
="$GREP -E"
5952 if test -z "$EGREP"; then
5953 ac_path_EGREP_found
=false
5954 # Loop through the user's path and test for each of PROGNAME-LIST
5955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5956 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5959 test -z "$as_dir" && as_dir
=.
5960 for ac_prog
in egrep; do
5961 for ac_exec_ext
in '' $ac_executable_extensions; do
5962 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5963 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5964 # Check for GNU ac_path_EGREP and select it if it is found.
5965 # Check for GNU $ac_path_EGREP
5966 case `"$ac_path_EGREP" --version 2>&1` in
5968 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5971 $as_echo_n 0123456789 >"conftest.in"
5974 cat "conftest.in" "conftest.in" >"conftest.tmp"
5975 mv "conftest.tmp" "conftest.in"
5976 cp "conftest.in" "conftest.nl"
5977 $as_echo 'EGREP' >> "conftest.nl"
5978 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5979 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5980 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5981 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5982 # Best one so far, save it but keep looking for a better one
5983 ac_cv_path_EGREP
="$ac_path_EGREP"
5984 ac_path_EGREP_max
=$ac_count
5986 # 10*(2^10) chars as input seems more than enough
5987 test $ac_count -gt 10 && break
5989 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5992 $ac_path_EGREP_found && break 3
5997 if test -z "$ac_cv_path_EGREP"; then
5998 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6001 ac_cv_path_EGREP
=$EGREP
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6007 $as_echo "$ac_cv_path_EGREP" >&6; }
6008 EGREP
="$ac_cv_path_EGREP"
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6012 $as_echo_n "checking for ANSI C header files... " >&6; }
6013 if ${ac_cv_header_stdc+:} false
; then :
6014 $as_echo_n "(cached) " >&6
6016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6031 if ac_fn_c_try_compile
"$LINENO"; then :
6032 ac_cv_header_stdc
=yes
6034 ac_cv_header_stdc
=no
6036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6038 if test $ac_cv_header_stdc = yes; then
6039 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6046 $EGREP "memchr" >/dev
/null
2>&1; then :
6049 ac_cv_header_stdc
=no
6055 if test $ac_cv_header_stdc = yes; then
6056 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6063 $EGREP "free" >/dev
/null
2>&1; then :
6066 ac_cv_header_stdc
=no
6072 if test $ac_cv_header_stdc = yes; then
6073 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6074 if test "$cross_compiling" = yes; then :
6077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6078 /* end confdefs.h. */
6081 #if ((' ' & 0x0FF) == 0x020)
6082 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6083 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6085 # define ISLOWER(c) \
6086 (('a' <= (c) && (c) <= 'i') \
6087 || ('j' <= (c) && (c) <= 'r') \
6088 || ('s' <= (c) && (c) <= 'z'))
6089 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6092 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6097 for (i = 0; i < 256; i++)
6098 if (XOR (islower (i), ISLOWER (i))
6099 || toupper (i) != TOUPPER (i))
6104 if ac_fn_c_try_run
"$LINENO"; then :
6107 ac_cv_header_stdc
=no
6109 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6110 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6116 $as_echo "$ac_cv_header_stdc" >&6; }
6117 if test $ac_cv_header_stdc = yes; then
6119 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6123 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6124 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6125 inttypes.h stdint.h unistd.h
6127 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6128 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6130 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6131 cat >>confdefs.h
<<_ACEOF
6132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6140 for ac_header
in sys
/ipc.h sys
/shm.h \
6141 sys
/mmap.h sys
/mman.h sysexits.h \
6142 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6145 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6146 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6147 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6148 cat >>confdefs.h
<<_ACEOF
6149 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6157 for ac_header
in sys
/mount.h
6159 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6161 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6162 cat >>confdefs.h
<<_ACEOF
6163 #define HAVE_SYS_MOUNT_H 1
6172 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6173 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6175 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6176 if eval \
${$as_ac_Header+:} false
; then :
6177 $as_echo_n "(cached) " >&6
6179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6181 #include <sys/types.h>
6193 if ac_fn_c_try_compile
"$LINENO"; then :
6194 eval "$as_ac_Header=yes"
6196 eval "$as_ac_Header=no"
6198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6200 eval ac_res
=\$
$as_ac_Header
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6202 $as_echo "$ac_res" >&6; }
6203 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6204 cat >>confdefs.h
<<_ACEOF
6205 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6208 ac_header_dirent
=$ac_hdr; break
6212 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6213 if test $ac_header_dirent = dirent.h
; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6215 $as_echo_n "checking for library containing opendir... " >&6; }
6216 if ${ac_cv_search_opendir+:} false
; then :
6217 $as_echo_n "(cached) " >&6
6219 ac_func_search_save_LIBS
=$LIBS
6220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6223 /* Override any GCC internal prototype to avoid an error.
6224 Use char because int might match the return type of a GCC
6225 builtin and then its argument prototype would still apply. */
6238 for ac_lib
in '' dir
; do
6239 if test -z "$ac_lib"; then
6240 ac_res
="none required"
6243 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6245 if ac_fn_c_try_link
"$LINENO"; then :
6246 ac_cv_search_opendir
=$ac_res
6248 rm -f core conftest.err conftest.
$ac_objext \
6250 if ${ac_cv_search_opendir+:} false
; then :
6254 if ${ac_cv_search_opendir+:} false
; then :
6257 ac_cv_search_opendir
=no
6260 LIBS
=$ac_func_search_save_LIBS
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6263 $as_echo "$ac_cv_search_opendir" >&6; }
6264 ac_res
=$ac_cv_search_opendir
6265 if test "$ac_res" != no
; then :
6266 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6272 $as_echo_n "checking for library containing opendir... " >&6; }
6273 if ${ac_cv_search_opendir+:} false
; then :
6274 $as_echo_n "(cached) " >&6
6276 ac_func_search_save_LIBS
=$LIBS
6277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6280 /* Override any GCC internal prototype to avoid an error.
6281 Use char because int might match the return type of a GCC
6282 builtin and then its argument prototype would still apply. */
6295 for ac_lib
in '' x
; do
6296 if test -z "$ac_lib"; then
6297 ac_res
="none required"
6300 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6302 if ac_fn_c_try_link
"$LINENO"; then :
6303 ac_cv_search_opendir
=$ac_res
6305 rm -f core conftest.err conftest.
$ac_objext \
6307 if ${ac_cv_search_opendir+:} false
; then :
6311 if ${ac_cv_search_opendir+:} false
; then :
6314 ac_cv_search_opendir
=no
6317 LIBS
=$ac_func_search_save_LIBS
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6320 $as_echo "$ac_cv_search_opendir" >&6; }
6321 ac_res
=$ac_cv_search_opendir
6322 if test "$ac_res" != no
; then :
6323 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6330 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6331 if ${ac_cv_header_stat_broken+:} false
; then :
6332 $as_echo_n "(cached) " >&6
6334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6335 /* end confdefs.h. */
6336 #include <sys/types.h>
6337 #include <sys/stat.h>
6339 #if defined S_ISBLK && defined S_IFDIR
6340 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6343 #if defined S_ISBLK && defined S_IFCHR
6344 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6347 #if defined S_ISLNK && defined S_IFREG
6348 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6351 #if defined S_ISSOCK && defined S_IFREG
6352 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6356 if ac_fn_c_try_compile
"$LINENO"; then :
6357 ac_cv_header_stat_broken
=no
6359 ac_cv_header_stat_broken
=yes
6361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6364 $as_echo "$ac_cv_header_stat_broken" >&6; }
6365 if test $ac_cv_header_stat_broken = yes; then
6367 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6372 $as_echo_n "checking for ANSI C header files... " >&6; }
6373 if ${ac_cv_header_stdc+:} false
; then :
6374 $as_echo_n "(cached) " >&6
6376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h. */
6391 if ac_fn_c_try_compile
"$LINENO"; then :
6392 ac_cv_header_stdc
=yes
6394 ac_cv_header_stdc
=no
6396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6398 if test $ac_cv_header_stdc = yes; then
6399 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6406 $EGREP "memchr" >/dev
/null
2>&1; then :
6409 ac_cv_header_stdc
=no
6415 if test $ac_cv_header_stdc = yes; then
6416 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6418 /* end confdefs.h. */
6422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6423 $EGREP "free" >/dev
/null
2>&1; then :
6426 ac_cv_header_stdc
=no
6432 if test $ac_cv_header_stdc = yes; then
6433 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6434 if test "$cross_compiling" = yes; then :
6437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6441 #if ((' ' & 0x0FF) == 0x020)
6442 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6443 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6445 # define ISLOWER(c) \
6446 (('a' <= (c) && (c) <= 'i') \
6447 || ('j' <= (c) && (c) <= 'r') \
6448 || ('s' <= (c) && (c) <= 'z'))
6449 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6452 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6457 for (i = 0; i < 256; i++)
6458 if (XOR (islower (i), ISLOWER (i))
6459 || toupper (i) != TOUPPER (i))
6464 if ac_fn_c_try_run
"$LINENO"; then :
6467 ac_cv_header_stdc
=no
6469 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6470 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6476 $as_echo "$ac_cv_header_stdc" >&6; }
6477 if test $ac_cv_header_stdc = yes; then
6479 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6484 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6485 if ${ac_cv_header_sys_wait_h+:} false
; then :
6486 $as_echo_n "(cached) " >&6
6488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6490 #include <sys/types.h>
6491 #include <sys/wait.h>
6493 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6496 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6504 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6509 if ac_fn_c_try_compile
"$LINENO"; then :
6510 ac_cv_header_sys_wait_h
=yes
6512 ac_cv_header_sys_wait_h
=no
6514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6517 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6518 if test $ac_cv_header_sys_wait_h = yes; then
6520 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6525 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6526 if ${ac_cv_header_time+:} false
; then :
6527 $as_echo_n "(cached) " >&6
6529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6531 #include <sys/types.h>
6532 #include <sys/time.h>
6538 if ((struct tm *) 0)
6544 if ac_fn_c_try_compile
"$LINENO"; then :
6545 ac_cv_header_time
=yes
6547 ac_cv_header_time
=no
6549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6552 $as_echo "$ac_cv_header_time" >&6; }
6553 if test $ac_cv_header_time = yes; then
6555 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6559 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6560 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6562 cat >>confdefs.h
<<_ACEOF
6563 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6567 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6572 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6573 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6575 cat >>confdefs.h
<<_ACEOF
6576 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6580 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6583 case " $LIBOBJS " in
6584 *" fileblocks.$ac_objext "* ) ;;
6585 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6592 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6593 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6595 cat >>confdefs.h
<<_ACEOF
6596 #define HAVE_STRUCT_STAT_ST_RDEV 1
6600 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6606 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6607 if ${ac_cv_struct_tm+:} false
; then :
6608 $as_echo_n "(cached) " >&6
6610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 #include <sys/types.h>
6619 int *p = &tm.tm_sec;
6625 if ac_fn_c_try_compile
"$LINENO"; then :
6626 ac_cv_struct_tm
=time.h
6628 ac_cv_struct_tm
=sys
/time.h
6630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6633 $as_echo "$ac_cv_struct_tm" >&6; }
6634 if test $ac_cv_struct_tm = sys
/time.h
; then
6636 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6640 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6641 #include <$ac_cv_struct_tm>
6644 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6646 cat >>confdefs.h
<<_ACEOF
6647 #define HAVE_STRUCT_TM_TM_ZONE 1
6653 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6655 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6658 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6660 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6666 cat >>confdefs.h
<<_ACEOF
6667 #define HAVE_DECL_TZNAME $ac_have_decl
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6671 $as_echo_n "checking for tzname... " >&6; }
6672 if ${ac_cv_var_tzname+:} false
; then :
6673 $as_echo_n "(cached) " >&6
6675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6676 /* end confdefs.h. */
6678 #if !HAVE_DECL_TZNAME
6679 extern char *tzname[];
6685 return tzname[0][0];
6690 if ac_fn_c_try_link
"$LINENO"; then :
6691 ac_cv_var_tzname
=yes
6695 rm -f core conftest.err conftest.
$ac_objext \
6696 conftest
$ac_exeext conftest.
$ac_ext
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6699 $as_echo "$ac_cv_var_tzname" >&6; }
6700 if test $ac_cv_var_tzname = yes; then
6702 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6707 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6708 if test "x$ac_cv_type_off_t" = xyes
; then :
6712 cat >>confdefs.h
<<_ACEOF
6713 #define off_t long int
6718 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6719 if test "x$ac_cv_type_pid_t" = xyes
; then :
6723 cat >>confdefs.h
<<_ACEOF
6729 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6730 if test "x$ac_cv_type_size_t" = xyes
; then :
6734 cat >>confdefs.h
<<_ACEOF
6735 #define size_t unsigned int
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6741 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6742 if ${ac_cv_type_uid_t+:} false
; then :
6743 $as_echo_n "(cached) " >&6
6745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6746 /* end confdefs.h. */
6747 #include <sys/types.h>
6750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6751 $EGREP "uid_t" >/dev
/null
2>&1; then :
6752 ac_cv_type_uid_t
=yes
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6760 $as_echo "$ac_cv_type_uid_t" >&6; }
6761 if test $ac_cv_type_uid_t = no
; then
6763 $as_echo "#define uid_t int" >>confdefs.h
6766 $as_echo "#define gid_t int" >>confdefs.h
6771 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6772 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6774 cat >>confdefs.h
<<_ACEOF
6775 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6782 # Look for some functions
6783 for ac_func
in getpagesize kqueue statfs statvfs \
6784 clone kse_create rfork_thread thr_create sa_register \
6785 getcontext makecontext setcontext sigaltstack swapcontext
6787 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6788 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6789 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6790 cat >>confdefs.h
<<_ACEOF
6791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6801 for ac_header
in $ac_header_list
6803 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6804 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6806 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6807 cat >>confdefs.h
<<_ACEOF
6808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6822 for ac_func
in getpagesize
6824 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6825 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6826 cat >>confdefs.h
<<_ACEOF
6827 #define HAVE_GETPAGESIZE 1
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6834 $as_echo_n "checking for working mmap... " >&6; }
6835 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6836 $as_echo_n "(cached) " >&6
6838 if test "$cross_compiling" = yes; then :
6839 ac_cv_func_mmap_fixed_mapped
=no
6841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6843 $ac_includes_default
6844 /* malloc might have been renamed as rpl_malloc. */
6847 /* Thanks to Mike Haertel and Jim Avera for this test.
6848 Here is a matrix of mmap possibilities:
6849 mmap private not fixed
6850 mmap private fixed at somewhere currently unmapped
6851 mmap private fixed at somewhere already mapped
6852 mmap shared not fixed
6853 mmap shared fixed at somewhere currently unmapped
6854 mmap shared fixed at somewhere already mapped
6855 For private mappings, we should verify that changes cannot be read()
6856 back from the file, nor mmap's back from the file at a different
6857 address. (There have been systems where private was not correctly
6858 implemented like the infamous i386 svr4.0, and systems where the
6859 VM page cache was not coherent with the file system buffer cache
6860 like early versions of FreeBSD and possibly contemporary NetBSD.)
6861 For shared mappings, we should conversely verify that changes get
6862 propagated back to all the places they're supposed to be.
6864 Grep wants private fixed already mapped.
6865 The main things grep needs to know about mmap are:
6866 * does it exist and is it safe to write into the mmap'd area
6867 * how to use it (BSD variants) */
6870 #include <sys/mman.h>
6872 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6876 /* This mess was copied from the GNU getpagesize.h. */
6877 #ifndef HAVE_GETPAGESIZE
6878 # ifdef _SC_PAGESIZE
6879 # define getpagesize() sysconf(_SC_PAGESIZE)
6880 # else /* no _SC_PAGESIZE */
6881 # ifdef HAVE_SYS_PARAM_H
6882 # include <sys/param.h>
6883 # ifdef EXEC_PAGESIZE
6884 # define getpagesize() EXEC_PAGESIZE
6885 # else /* no EXEC_PAGESIZE */
6887 # define getpagesize() NBPG * CLSIZE
6890 # endif /* no CLSIZE */
6891 # else /* no NBPG */
6893 # define getpagesize() NBPC
6894 # else /* no NBPC */
6896 # define getpagesize() PAGESIZE
6897 # endif /* PAGESIZE */
6898 # endif /* no NBPC */
6899 # endif /* no NBPG */
6900 # endif /* no EXEC_PAGESIZE */
6901 # else /* no HAVE_SYS_PARAM_H */
6902 # define getpagesize() 8192 /* punt totally */
6903 # endif /* no HAVE_SYS_PARAM_H */
6904 # endif /* no _SC_PAGESIZE */
6906 #endif /* no HAVE_GETPAGESIZE */
6911 char *data, *data2, *data3;
6916 pagesize = getpagesize ();
6918 /* First, make a file with some known garbage in it. */
6919 data = (char *) malloc (pagesize);
6922 for (i = 0; i < pagesize; ++i)
6923 *(data + i) = rand ();
6925 fd = creat ("conftest.mmap", 0600);
6928 if (write (fd, data, pagesize) != pagesize)
6932 /* Next, check that the tail of a page is zero-filled. File must have
6933 non-zero length, otherwise we risk SIGBUS for entire page. */
6934 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6938 if (write (fd2, cdata2, 1) != 1)
6940 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6941 if (data2 == MAP_FAILED)
6943 for (i = 0; i < pagesize; ++i)
6947 if (munmap (data2, pagesize))
6950 /* Next, try to mmap the file at a fixed address which already has
6951 something else allocated at it. If we can, also make sure that
6952 we see the same garbage. */
6953 fd = open ("conftest.mmap", O_RDWR);
6956 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6957 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6959 for (i = 0; i < pagesize; ++i)
6960 if (*(data + i) != *(data2 + i))
6963 /* Finally, make sure that changes to the mapped area do not
6964 percolate back to the file as seen by read(). (This is a bug on
6965 some variants of i386 svr4.0.) */
6966 for (i = 0; i < pagesize; ++i)
6967 *(data2 + i) = *(data2 + i) + 1;
6968 data3 = (char *) malloc (pagesize);
6971 if (read (fd, data3, pagesize) != pagesize)
6973 for (i = 0; i < pagesize; ++i)
6974 if (*(data + i) != *(data3 + i))
6980 if ac_fn_c_try_run
"$LINENO"; then :
6981 ac_cv_func_mmap_fixed_mapped
=yes
6983 ac_cv_func_mmap_fixed_mapped
=no
6985 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6986 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6991 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6992 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6994 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6997 rm -f conftest.mmap conftest.txt
7002 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7003 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7004 aros_config_ldflags
=""
7006 aros_shared_default
=yes
7008 aros_shared_cflags
="-fPIC"
7009 aros_shared_aflags
=""
7010 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7011 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7013 aros_kernel_ar_flags
="cr"
7014 aros_target_ar_flags
="cr"
7015 aros_target_nm_flags
="-C -ul"
7016 aros_target_strip_flags
="--strip-unneeded -R.comment"
7021 aros_target_genmap
="-Wl,-Map -Xlinker"
7023 # Native flavour stuff
7024 aros_serial_debug
="0"
7026 # Palm native flavour stuff
7027 aros_palm_debug_hack
="0"
7029 # Unix flavour stuff
7030 aros_nesting_supervisor
="0"
7032 # Collect-aros stuff: "-ius" to ignore undefined symbols
7033 ignore_undefined_symbols
=""
7035 # Check for X11 by default
7038 # Leave at 'none' for no external toolchain
7039 kernel_tool_prefix
="none"
7041 #-----------------------------------------------------------------------------
7044 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7045 # it switched on by default, and we use the host compiler, so it compiles AROS
7046 # code with this enabled resulting in link failures as we don't have support
7049 # We use two methods to disable it. For the host compiler (used to compile
7050 # some hosted modules), we test to see if the compiler supports stack
7051 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7052 # work on all platforms.
7054 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7055 # (this is done unconditionally, as it should have no effect on compilers
7056 # without the stack protection feature). This may be specific to the way that
7057 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7058 # strong enough to disable it in a generic way though, so we'll live with it
7059 # until another vendor ships GCC with it enabled in a different way, and deal
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7064 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7065 save_cflags
="$CFLAGS"
7066 CFLAGS
="$CFLAGS -fno-stack-protector"
7067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7068 /* end confdefs.h. */
7078 if ac_fn_c_try_compile
"$LINENO"; then :
7079 use_no_stack_protector
="yes"
7081 use_no_stack_protector
="no"
7083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7085 $as_echo "$use_no_stack_protector" >&6; }
7086 if test "x-$use_no_stack_protector" = "x-yes" ; then
7087 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7089 CFLAGS
="$save_cflags"
7091 #-----------------------------------------------------------------------------
7093 # Disable pointer-signedness warnings if the compiler recognises the option
7094 # (this only works for the host compiler at the moment)
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7097 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7098 save_cflags
="$CFLAGS"
7099 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7111 if ac_fn_c_try_compile
"$LINENO"; then :
7112 use_no_sign_warning
="yes"
7114 use_no_sign_warning
="no"
7116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7118 $as_echo "$use_no_sign_warning" >&6; }
7119 if test "x-$use_no_sign_warning" = "x-yes" ; then
7120 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7122 CFLAGS
="$save_cflags"
7124 #-----------------------------------------------------------------------------
7126 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7129 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7130 save_cflags
="$CFLAGS"
7131 CFLAGS
="$CFLAGS -fgnu89-inline"
7132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7133 /* end confdefs.h. */
7143 if ac_fn_c_try_compile
"$LINENO"; then :
7144 use_gnu89_inline
="yes"
7146 use_gnu89_inline
="no"
7148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7150 $as_echo "$use_gnu89_inline" >&6; }
7151 if test "x-$use_gnu89_inline" = "x-yes" ; then
7152 gnu89_inline
="-fgnu89-inline"
7154 CFLAGS
="$save_cflags"
7156 #-----------------------------------------------------------------------------
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7159 $as_echo_n "checking for type of build... " >&6; }
7160 # Check whether --enable-build_type was given.
7161 if test "${enable_build_type+set}" = set; then :
7162 enableval
=$enable_build_type; build_type
=$enableval
7164 build_type
="personal"
7168 if test "$build_type" = "nightly"; then
7169 build_type_string
="NIGHTLY"
7170 elif test "$build_type" = "snapshot"; then
7171 build_type_string
="SNAPSHOT"
7172 elif test "$build_type" = "milestone"; then
7173 build_type_string
="MILESTONE"
7174 elif test "$build_type" = "release"; then
7175 build_type_string
="RELEASE"
7177 build_type_string
="PERSONAL"
7178 build_type
="personal"
7181 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7184 $as_echo "$build_type" >&6; }
7186 #-----------------------------------------------------------------------------
7187 all_debug_types
="messages stack modules mungwall symbols"
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7190 $as_echo_n "checking which debug types to enable... " >&6; }
7191 # Check whether --enable-debug was given.
7192 if test "${enable_debug+set}" = set; then :
7193 enableval
=$enable_debug; debug
="$enableval"
7199 if test "$debug" = "" -o "$debug" = "no"; then
7201 elif test "$debug" = "yes"; then
7205 if test "$debug" = "all" ; then
7206 debug
="messages stack modules symbols"
7207 for d
in $all_debug_types; do
7208 export aros_
${d}_debug
="1"
7211 for d
in $all_debug_types; do
7212 export aros_
${d}_debug
="0"
7216 if test "$debug" != "none"; then
7217 debug
=`echo $debug | sed s/,/\ /g`
7220 for d2
in $all_debug_types; do
7221 if test "$d2" = "$d"; then
7226 if test "$found" = "0"; then
7227 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7229 export aros_
${d}_debug
="1"
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7234 $as_echo "$debug" >&6; }
7236 if test "$aros_messages_debug" = "1"; then
7237 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7239 aros_messages_debug
=""
7241 if test "$aros_symbols_debug" = "1"; then
7242 aros_symbols_debug
="-g"
7244 aros_symbols_debug
=""
7247 # These are the flags to pass when compiling debugged programs
7248 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7249 aros_debug_aflags
=""
7250 aros_debug_ldflags
="$aros_symbols_debug"
7252 #-----------------------------------------------------------------------------
7253 # Checking if we should build crosstools..
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
7255 $as_echo_n "checking whether to build crosstools... " >&6; }
7256 # Check whether --enable-crosstools was given.
7257 if test "${enable_crosstools+set}" = set; then :
7258 enableval
=$enable_crosstools; crosstools
="$enableval"
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
7264 $as_echo "$crosstools" >&6; }
7266 #-----------------------------------------------------------------------------
7267 # Checking for distcc and ccache.
7269 # Always apply the transforms in this particular order. Basically you should
7270 # always run 'ccache distcc compiler' in that order for the best performance.
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7273 $as_echo_n "checking whether to enable distcc... " >&6; }
7274 # Check whether --enable-distcc was given.
7275 if test "${enable_distcc+set}" = set; then :
7276 enableval
=$enable_distcc; distcc
="$enableval"
7281 if test "$distcc" != "" -a "$distcc" != "no"; then
7282 # AC_CHECK_PROG will print out the result in this case
7283 # Extract the first word of "distcc", so it can be a program name with args.
7284 set dummy distcc
; ac_word
=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_path_DISTCC+:} false
; then :
7288 $as_echo_n "(cached) " >&6
7292 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir
=.
7300 for ac_exec_ext
in '' $ac_executable_extensions; do
7301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7302 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7310 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7314 DISTCC
=$ac_cv_path_DISTCC
7315 if test -n "$DISTCC"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7317 $as_echo "$DISTCC" >&6; }
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 $as_echo "no" >&6; }
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7330 $as_echo_n "checking whether to enable ccache... " >&6; }
7331 # Check whether --enable-ccache was given.
7332 if test "${enable_ccache+set}" = set; then :
7333 enableval
=$enable_ccache; ccache
="$enableval"
7338 if test "$ccache" != "" -a "$ccache" != "no"; then
7339 # AC_CHECK_PROG will print out the result in this case
7340 # Extract the first word of "ccache", so it can be a program name with args.
7341 set dummy ccache
; ac_word
=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_CCACHE+:} false
; then :
7345 $as_echo_n "(cached) " >&6
7347 if test -n "$CCACHE"; then
7348 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir
=.
7355 for ac_exec_ext
in '' $ac_executable_extensions; do
7356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7357 ac_cv_prog_CCACHE
="ccache"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 CCACHE
=$ac_cv_prog_CCACHE
7368 if test -n "$CCACHE"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7370 $as_echo "$CCACHE" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7382 #-----------------------------------------------------------------------------
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7384 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7386 # Check whether --with-gcc-version was given.
7387 if test "${with_gcc_version+set}" = set; then :
7388 withval
=$with_gcc_version; kernel_tool_version
="$withval"
7390 kernel_tool_version
="default"
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7394 $as_echo "$kernel_tool_version" >&6; }
7396 #-----------------------------------------------------------------------------
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7398 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7400 # Check whether --with-gcc-version was given.
7401 if test "${with_gcc_version+set}" = set; then :
7402 withval
=$with_gcc_version; target_tool_version
="$withval"
7404 target_tool_version
="default"
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7408 $as_echo "$target_tool_version" >&6; }
7410 #-----------------------------------------------------------------------------
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7412 $as_echo_n "checking what optimization flags to use... " >&6; }
7414 # Check whether --with-optimization was given.
7415 if test "${with_optimization+set}" = set; then :
7416 withval
=$with_optimization; optimization
="$withval"
7418 optimization
="unknown"
7421 if test "$optimization" = "unknown"; then
7422 if test "$debug" != "none"; then
7428 aros_config_cflags
="$aros_config_cflags $optimization"
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7430 $as_echo "$optimization" >&6; }
7432 #-----------------------------------------------------------------------------
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7434 $as_echo_n "checking what paranoia flags to use... " >&6; }
7436 # Check whether --with-paranoia was given.
7437 if test "${with_paranoia+set}" = set; then :
7438 withval
=$with_paranoia; paranoia_flags
="$withval"
7440 paranoia_flags
="default"
7443 if test "$paranoia_flags" = "default"; then
7445 else if test "$paranoia_flags" = "yes"; then
7446 paranoia_flags
="-Wall -Werror"
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7449 $as_echo "$paranoia_flags" >&6; }
7450 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7452 #-----------------------------------------------------------------------------
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7454 $as_echo_n "checking what target variant to enable... " >&6; }
7455 # Check whether --enable-target_variant was given.
7456 if test "${enable_target_variant+set}" = set; then :
7457 enableval
=$enable_target_variant; target_variant
=$enableval
7462 if test "$target_variant" = ""; then
7463 aros_target_variant
=""
7464 aros_target_suffix
=""
7467 aros_target_variant
="$target_variant"
7468 aros_target_suffix
="-$target_variant"
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7471 $as_echo "$enableval" >&6; }
7473 #-----------------------------------------------------------------------------
7474 # Target-specific defaults. You can override then on a per-target basis.
7476 # Bootloader name. Currently used by PC target.
7477 target_bootloader
="none"
7479 #-----------------------------------------------------------------------------
7480 # Additional options for some specific targets
7482 case "$aros_target_variant" in
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7485 $as_echo_n "checking XCode path... " >&6; }
7487 # Check whether --with-xcode was given.
7488 if test "${with_xcode+set}" = set; then :
7489 withval
=$with_xcode; aros_xcode_path
="$withval"
7491 aros_xcode_path
="/Developer"
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7495 $as_echo "$aros_xcode_path" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7498 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7500 # Check whether --with-sdk-version was given.
7501 if test "${with_sdk_version+set}" = set; then :
7502 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7504 aros_sdk_version
="4.1"
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7508 $as_echo "$aros_sdk_version" >&6; }
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7514 $as_echo_n "checking Android SDK path... " >&6; }
7516 # Check whether --with-sdk was given.
7517 if test "${with_sdk+set}" = set; then :
7518 withval
=$with_sdk; aros_android_sdk
="$withval"
7520 aros_android_sdk
=$default_android_sdk
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7524 $as_echo "$aros_android_sdk" >&6; }
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7527 $as_echo_n "checking Android NDK path... " >&6; }
7529 # Check whether --with-ndk was given.
7530 if test "${with_ndk+set}" = set; then :
7531 withval
=$with_ndk; aros_android_ndk
="$withval"
7533 aros_android_ndk
="none"
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7537 $as_echo "$aros_android_ndk" >&6; }
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7540 $as_echo_n "checking what Android SDK version to use... " >&6; }
7542 # Check whether --with-sdk-version was given.
7543 if test "${with_sdk_version+set}" = set; then :
7544 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7546 aros_sdk_version
="12"
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7550 $as_echo "$aros_sdk_version" >&6; }
7552 if test "$aros_android_ndk" != "none"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7554 $as_echo_n "checking what Android NDK version to use... " >&6; }
7556 # Check whether --with-ndk-version was given.
7557 if test "${with_ndk_version+set}" = set; then :
7558 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7560 aros_ndk_version
="9"
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7564 $as_echo "$aros_ndk_version" >&6; }
7567 export PATH
="$aros_android_sdk/tools:$PATH"
7568 # Extract the first word of "$android_tool", so it can be a program name with args.
7569 set dummy
$android_tool; ac_word
=$2
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571 $as_echo_n "checking for $ac_word... " >&6; }
7572 if ${ac_cv_path_android_tool+:} false
; then :
7573 $as_echo_n "(cached) " >&6
7575 case $android_tool in
7577 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7584 test -z "$as_dir" && as_dir
=.
7585 for ac_exec_ext
in '' $ac_executable_extensions; do
7586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7587 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7598 android_tool
=$ac_cv_path_android_tool
7599 if test -n "$android_tool"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7601 $as_echo "$android_tool" >&6; }
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7608 if test "$android_tool" = ""; then
7609 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7612 aros_android_level
=android-
$aros_sdk_version
7613 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7614 echo "Platform $aros_android_level is not installed in your SDK"
7615 echo "Use --with-sdk-version=<API level number> to select another platform version"
7616 echo "You can check what plaform versions are installed in your SDK"
7617 echo "by examining contents of $aros_android_sdk/platforms directory"
7618 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7621 # Extract the first word of "ant", so it can be a program name with args.
7622 set dummy ant
; ac_word
=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7624 $as_echo_n "checking for $ac_word... " >&6; }
7625 if ${ac_cv_path_ant+:} false
; then :
7626 $as_echo_n "(cached) " >&6
7630 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7637 test -z "$as_dir" && as_dir
=.
7638 for ac_exec_ext
in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 if test -n "$ant"; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7654 $as_echo "$ant" >&6; }
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 $as_echo "no" >&6; }
7661 if test "$ant" = ""; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7663 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7666 if test "$host_os" = "mingw32"; then
7667 android_tool
="cmd //c $android_tool"
7673 #-----------------------------------------------------------------------------
7675 # This is the target configuration switch.
7676 case "$target_os" in
7678 aros_target_arch
="linux"
7679 aros_target_family
="unix"
7680 case "$target_cpu" in
7682 aros_target_cpu
="m68k"
7683 aros_object_format
="m68kelf"
7684 aros_flavour
="emulcompat"
7685 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7686 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7687 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7688 gcc_target_cpu
="mc68000"
7691 aros_target_cpu
="i386"
7692 aros_object_format
="elf_i386"
7693 aros_flavour
="emulation"
7694 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7695 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7696 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7697 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7698 aros_config_ldflags
="-m32 -march=i486"
7699 aros_kernel_ldflags
="-melf_i386"
7700 aros_default_wbdepth
=8
7701 gcc_target_cpu
="i386"
7702 pci_hidd_target
="hidd-pci-linux"
7703 android_tool_dir_prefix
="x86"
7704 android_tool_prefix
="i686-android-linux"
7705 android_ndk_arch
="x86"
7708 aros_target_cpu
="x86_64"
7709 aros_object_format
="elf_x86_64"
7710 aros_flavour
="emulation"
7711 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7712 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7713 aros_default_wbdepth
=8
7714 pci_hidd_target
="hidd-pci-linux"
7717 aros_target_cpu
="ppc"
7718 aros_object_format
="elf32ppc"
7719 aros_flavour
="emulation"
7720 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7721 aros_default_wbdepth
=8
7722 gcc_target_cpu
="ppc"
7725 # Same as powerpc, but I need this for the nightly build to work again.
7726 # Actually, the nightly should be made working with powerpc target.
7727 # That just was too much work for the moment, another week or two.
7729 aros_target_cpu
="ppc"
7730 aros_object_format
="elf32ppc"
7731 aros_flavour
="emulation"
7732 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7733 aros_default_wbdepth
=8
7734 gcc_target_cpu
="ppc"
7737 aros_target_cpu
="arm"
7738 aros_object_format
="armelf_linux_eabi"
7739 aros_flavour
="emulation"
7740 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7741 gcc_target_cpu
="arm"
7742 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7743 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7744 aros_arch_libs
="-laeabi"
7745 android_tool_dir_prefix
="arm-linux-androideabi"
7746 android_tool_prefix
="arm-linux-androideabi"
7747 android_ndk_arch
="arm"
7748 if test "$aros_host_cpu" != "arm" ; then
7749 kernel_tool_prefix
="arm-linux-gnueabi-"
7753 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7756 case "$aros_target_variant" in
7759 if test "$android_ndk_arch" = ""; then
7760 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7763 aros_default_wbwidth
=320
7764 aros_default_wbheight
=480
7765 if test "$aros_android_ndk" = "none"; then
7766 aros_kernel_cflags
="-mandroid"
7767 aros_kernel_ldflags
="-mandroid"
7770 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7771 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7772 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7773 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7774 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7775 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7778 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7779 # Disable implicit PIC mode
7780 aros_kernel_cflags
="$aros_kernel_cflags -fno-pic"
7781 aros_target_cflags
="$aros_target_cflags -fno-pic"
7782 kernel_tool_prefix
="$android_tool_prefix-"
7788 aros_target_arch
="pc"
7789 aros_shared_default
="no"
7790 target_bootloader
="grub2"
7791 case "$target_cpu" in
7793 aros_target_cpu
="i386"
7796 if test "$aros_object_format" = "" ; then
7797 aros_object_format
="elf_i386"
7799 aros_flavour
="standalone"
7800 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7801 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7802 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7803 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7804 aros_config_ldflags
="-m32 -march=i486"
7805 aros_kernel_ldflags
="-melf_i386"
7806 aros_default_wbwidth
=640
7807 aros_default_wbheight
=480
7808 gcc_target_cpu
="i386"
7811 aros_target_cpu
="x86_64"
7813 if test "$aros_object_format" = "" ; then
7814 aros_object_format
="elf_x86_64"
7816 aros_flavour
="standalone"
7817 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7818 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7819 aros_kernel_ldflags
=""
7820 aros_default_wbwidth
=640
7821 aros_default_wbheight
=480
7824 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7830 aros_target_arch
="prep"
7831 aros_shared_default
="no"
7832 aros_target_cpu
="ppc"
7833 aros_object_format
="elf32ppc"
7834 aros_flavour
="ppcnative"
7835 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7836 aros_kernel_ldflags
=""
7837 aros_default_wbwidth
=640
7838 aros_default_wbheight
=480
7839 gcc_target_cpu
="ppc"
7843 aros_target_arch
="freebsd"
7844 aros_target_family
="unix"
7845 aros_target_cpu
="i386"
7846 aros_flavour
="emulation"
7847 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7848 gcc_target_cpu
="i386"
7850 aros_target_strip_flags
="-x"
7854 aros_target_arch
="darwin"
7855 aros_target_family
="unix"
7856 aros_flavour
="emulation"
7857 case "$target_cpu" in
7859 aros_ios_platform
="iPhoneSimulator"
7860 aros_target_cpu
="i386"
7861 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7862 aros_kernel_ldflags
=""
7863 aros_macosx_version
="10.4"
7864 aros_default_wbdepth
=8
7865 gcc_target_cpu
="i386"
7866 aros_object_format
="elf_i386"
7867 aros_kernel_ar_flags
="-cr"
7868 aros_target_strip_flags
="-x"
7869 kernel_tool_flags
="-m32"
7872 aros_target_cpu
="x86_64"
7873 aros_object_format
="elf_x86_64"
7874 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7875 aros_macosx_version
="10.6"
7876 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7877 aros_kernel_cflags
="-m64"
7878 aros_kernel_ldflags
="-m64"
7879 aros_target_cflags
="-mcmodel=large"
7880 aros_default_wbdepth
=8
7882 aros_kernel_ar_flags
="-cr"
7884 aros_kernel_ranlib
="ranlib"
7887 aros_target_cpu
="ppc"
7888 aros_object_format
="elf32ppc"
7889 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7890 aros_kernel_ldflags
=""
7891 aros_macosx_version
="10.0"
7892 aros_default_wbdepth
=8
7893 gcc_target_cpu
="ppc"
7895 aros_kernel_ar_flags
="-cr"
7896 aros_kernel_ld
="ld -arch ppc"
7897 aros_kernel_ranlib
="ranlib -arch ppc"
7898 kernel_tool_prefix
="powerpc-apple-darwin10-"
7901 aros_ios_platform
="iPhoneOS"
7902 aros_target_cpu
="arm"
7903 aros_object_format
="armelf_linux_eabi"
7904 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7905 aros_arch_libs
="-laeabi"
7906 aros_default_wbdepth
=8
7907 gcc_target_cpu
="arm"
7909 aros_kernel_ar_flags
="-cr"
7910 aros_kernel_ld
="ld -arch arm"
7911 aros_kernel_ranlib
="ranlib -arch arm"
7912 kernel_tool_prefix
="arm-apple-darwin10-"
7913 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7916 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7919 case "$aros_target_variant" in
7921 aros_ios_version
="3.0"
7922 aros_default_wbwidth
=320
7923 aros_default_wbheight
=480
7924 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7925 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7926 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7928 # This is here because it may depend on iOS or SDK version
7929 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7930 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7931 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7934 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7935 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7941 aros_target_arch
="dragonfly"
7942 aros_target_family
="unix"
7943 aros_flavour
="emulation"
7944 case "$target_cpu" in
7946 aros_target_cpu
="i386"
7947 aros_object_format
="elf_i386"
7948 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7951 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7952 aros_target_cpu
="x86_64"
7953 aros_object_format
="elf_x86_64"
7954 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7957 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7963 aros_target_arch
="netbsd"
7964 aros_target_family
="unix"
7965 case "$target_cpu" in
7967 aros_target_cpu
="m68k"
7968 aros_object_format
="m68kelf"
7969 aros_flavour
="emulcompat"
7970 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7971 gcc_target_cpu
="mc68000"
7974 aros_target_cpu
="i386"
7975 aros_object_format
="elf_i386"
7976 aros_flavour
="emulation"
7977 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7978 aros_default_wbdepth
=8
7979 gcc_target_cpu
="i386"
7982 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7985 aros_target_genmap
="-Wl,-M -Xlinker >"
7986 aros_flavour
="emulation"
7987 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7991 aros_target_arch
="openbsd"
7992 aros_target_family
="unix"
7993 case "$target_cpu" in
7995 aros_target_cpu
="i386"
7996 aros_object_format
="elf_i386"
7997 aros_flavour
="emulation"
7998 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7999 gcc_target_cpu
="i386"
8002 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8005 aros_target_genmap
="-Wl,-M -Xlinker >"
8006 aros_target_nm_flags
="-u"
8007 aros_flavour
="emulation"
8011 aros_target_arch
="solaris"
8012 aros_target_family
="unix"
8013 case "$target_cpu" in
8015 aros_target_cpu
="i386"
8016 aros_object_format
="elf_i386"
8017 aros_flavour
="emulation"
8018 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8019 aros_default_wbdepth
=8
8020 gcc_target_cpu
="i386"
8023 aros_target_cpu
="sparc"
8024 aros_object_format
="elf_sparc"
8025 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8026 gcc_target_cpu
="sparc"
8029 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8032 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8033 aros_flavour
="emulation"
8037 aros_target_arch
="morphos"
8038 aros_shared_default
="no"
8039 aros_target_cpu
="ppc"
8040 aros_object_format
="elf_ppc"
8041 aros_flavour
="nativecompat"
8042 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8043 gcc_target_cpu
="ppc"
8047 aros_target_arch
="sam440"
8048 aros_shared_default
="no"
8049 aros_target_cpu
="ppc"
8050 aros_object_format
="elf32ppc"
8051 aros_flavour
="ppcnative"
8052 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8053 aros_kernel_ldflags
=""
8054 aros_default_wbwidth
=1024
8055 aros_default_wbheight
=768
8056 aros_default_wbdepth
=24
8057 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8058 gcc_target_cpu
="powerpc"
8062 aros_target_arch
="efika"
8063 aros_shared_default
="no"
8064 aros_target_cpu
="arm"
8065 aros_object_format
="armelf_linux_eabi"
8066 aros_flavour
="standalone"
8067 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8068 aros_kernel_ldflags
=""
8069 aros_default_wbwidth
=1024
8070 aros_default_wbheight
=600
8071 aros_arch_libs
="-laeabi"
8072 gcc_default_cpu
="armv7-a"
8073 gcc_default_fpu
="vfpv3"
8074 gcc_default_float_abi
="softfp"
8075 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8076 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8080 aros_target_arch
="chrp"
8081 aros_shared_default
="no"
8082 aros_target_cpu
="ppc"
8083 aros_object_format
="elf32ppc"
8084 aros_flavour
="ppcnative"
8085 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8086 aros_kernel_ldflags
=""
8087 aros_default_wbwidth
=640
8088 aros_default_wbheight
=480
8089 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8090 gcc_target_cpu
="powerpc"
8091 case "$aros_target_variant" in
8093 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8099 aros_target_arch
="amiga"
8100 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8101 aros_shared_default
="no"
8103 case "$target_cpu" in
8105 # Check whether --enable-amigaos_compliance was given.
8106 if test "${enable_amigaos_compliance+set}" = set; then :
8107 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8111 aros_target_cpu
="m68k"
8112 aros_object_format
="m68kelf"
8113 aros_flavour
="standcompat"
8114 gcc_target_cpu
="m68000"
8115 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
8116 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
8117 # Needed to get the correct multilib
8118 aros_config_ldflags
="-${gcc_target_cpu}"
8119 aros_shared_ldflags
="-${gcc_target_cpu}"
8120 aros_kernel_ldflags
="-${gcc_target_cpu}"
8121 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
8122 aros_target_strip_flags
="-R.comment --strip-debug"
8123 aros_default_wbwidth
=640
8124 aros_default_wbheight
=256
8125 aros_default_wbdepth
=2
8129 aros_flavour
="native"
8130 gcc_target_cpu
="ppc"
8133 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8139 aros_target_arch
="mingw32"
8140 aros_shared_default
="no"
8141 aros_flavour
="emulation"
8142 aros_shared_cflags
=""
8145 case "$target_cpu" in
8147 aros_target_cpu
="i386"
8148 aros_object_format
="elf_i386"
8149 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8150 aros_default_wbdepth
=8
8151 gcc_target_cpu
="i386"
8153 kernel_tool_prefix
="i386-mingw32-"
8156 aros_target_cpu
="x86_64"
8157 aros_object_format
="elf_x86_64"
8158 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8159 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8160 aros_default_wbdepth
=8
8161 kernel_tool_prefix
="x86_64-w64-mingw32-"
8164 aros_target_cpu
="arm"
8165 aros_object_format
="armelf_linux_eabi"
8166 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8167 aros_arch_libs
="-laeabi"
8168 aros_default_wbdepth
=8
8169 gcc_target_cpu
="arm"
8170 gcc_default_float_abi
="soft"
8171 kernel_tool_prefix
="arm-mingw32ce-"
8172 aros_default_wbwidth
=160
8173 aros_default_wbheight
=160
8176 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8179 if test $host_os = "cygwin"; then
8180 aros_kernel_cflags
="-mno-cygwin"
8184 aros_target_arch
="pp"
8185 aros_shared_default
="no"
8186 case "$target_cpu" in
8188 aros_target_cpu
="m68k"
8189 aros_object_format
="m68kelf"
8190 aros_flavour
="palmnative"
8191 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8192 aros_default_wbwidth
=160
8193 aros_default_wbheight
=160
8194 aros_default_wbdepth
=1
8195 aros_target_ar_flags
="cru"
8196 aros_compiler_libs
="-lgcc1"
8197 aros_shared_default
=no
8198 aros_shared_cflags
="-fpic"
8199 aros_shared_aflags
=""
8200 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8201 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8202 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8203 aros_debug_aflags
=""
8204 aros_debug_ldflags
="$aros_symbols_debug"
8205 aros_mungwall_debug
="0"
8206 aros_modules_debug
="0"
8207 gcc_target_cpu
="mc68000"
8208 ignore_undefined_symbols
="-ius"
8211 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8217 aros_target_arch
="mac"
8218 aros_shared_default
="no"
8219 case "$target_cpu" in
8221 aros_target_cpu
="m68k"
8222 aros_object_format
="m68kelf"
8223 aros_flavour
="mac68knative"
8224 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8225 aros_default_wbwidth
=512
8226 aros_default_wbheight
=384
8227 aros_default_wbdepth
=8
8228 aros_target_ar_flags
="cru"
8229 aros_compiler_libs
="-lgcc1"
8230 aros_shared_default
=no
8231 aros_shared_cflags
="-fpic"
8232 aros_shared_aflags
=""
8233 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8234 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8235 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
8236 aros_debug_aflags
=""
8237 aros_debug_ldflags
="$aros_symbols_debug"
8238 aros_mungwall_debug
="0"
8239 aros_modules_debug
="0"
8240 gcc_target_cpu
="mc68000"
8241 ignore_undefined_symbols
="-ius"
8244 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8250 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8254 #-----------------------------------------------------------------------------
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
8256 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
8258 # Check whether --with-crosstools was given.
8259 if test "${with_crosstools+set}" = set; then :
8260 withval
=$with_crosstools; with_crosstools
=$withval
8262 with_crosstools
="default"
8265 if test "$with_crosstools" = "default"; then
8266 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8268 # Disable building crosstools if we are using an external set - otherwise
8269 # we may attempt to overwrite them if the tools-crosstools target is made!
8271 AROS_CROSSTOOLSDIR
="$with_crosstools"
8272 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8275 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel tool prefix" >&5
8278 $as_echo_n "checking Kernel tool prefix... " >&6; }
8280 # Check whether --with-kernel-tool-prefix was given.
8281 if test "${with_kernel_tool_prefix+set}" = set; then :
8282 withval
=$with_kernel_tool_prefix; kernel_tool_prefix
="$withval"
8284 kernel_tool_prefix
="$kernel_tool_prefix"
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8288 $as_echo "$kernel_tool_prefix" >&6; }
8290 target_tool_prefix
=${target_cpu}-aros-
8292 # Now process extra architecture-specific options.
8293 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8294 # as well as floating-point ABI.
8295 case "$aros_target_cpu" in
8297 if test "$gcc_default_cpu" = ""; then
8298 gcc_default_cpu
="armv6"
8300 if test "$gcc_default_fpu" = ""; then
8301 gcc_default_fpu
="vfp"
8303 if test "$gcc_default_float_abi" = ""; then
8304 gcc_default_float_abi
="softfp"
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8308 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8310 # Check whether --with-cpu was given.
8311 if test "${with_cpu+set}" = set; then :
8312 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8314 aros_gcc_cpu
=$gcc_default_cpu
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8318 $as_echo "$aros_gcc_cpu" >&6; }
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8321 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8323 # Check whether --with-fpu was given.
8324 if test "${with_fpu+set}" = set; then :
8325 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8327 aros_gcc_fpu
=$gcc_default_fpu
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8331 $as_echo "$aros_gcc_fpu" >&6; }
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8334 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8336 # Check whether --with-float was given.
8337 if test "${with_float+set}" = set; then :
8338 withval
=$with_float; aros_gcc_float_abi
="$withval"
8340 aros_gcc_float_abi
=$gcc_default_float_abi
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8344 $as_echo "$aros_gcc_float_abi" >&6; }
8346 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"
8347 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"
8351 # Some formats need custom ELF specs.
8352 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8353 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8354 elf_specs_in
=config
/${aros_object_format}-specs.
in
8356 elf_specs_in
=config
/elf-specs.
in
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8360 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8362 # Check whether --with-aros-gcc was given.
8363 if test "${with_aros_gcc+set}" = set; then :
8364 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8370 $as_echo "$aros_gcc_version" >&6; }
8372 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8373 # Since we override specs, we may need to put these defines there
8374 if test "$gcc_target_cpu" != ""; then
8375 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8379 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8381 # Check whether --with-portssources was given.
8382 if test "${with_portssources+set}" = set; then :
8383 withval
=$with_portssources; with_portssrcdir
=$withval
8385 with_portssrcdir
="default"
8388 if test "$with_portssrcdir" = "default"; then
8389 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8391 AROS_PORTSSRCDIR
="$with_portssrcdir"
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8394 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8397 $as_echo_n "checking which bootloader to use... " >&6; }
8399 # Check whether --with-bootloader was given.
8400 if test "${with_bootloader+set}" = set; then :
8401 withval
=$with_bootloader; target_bootloader
=$withval
8403 target_bootloader
=$target_bootloader
8406 if test "$target_bootloader" = "none"; then
8407 aros_target_bootloader
=""
8409 aros_target_bootloader
="$target_bootloader"
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8412 $as_echo "$target_bootloader" >&6; }
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8415 $as_echo_n "checking which icon-set to use... " >&6; }
8417 # Check whether --with-iconset was given.
8418 if test "${with_iconset+set}" = set; then :
8419 withval
=$with_iconset; target_iconset
=$withval
8421 target_iconset
="default"
8424 if test "$target_iconset" = "default"; then
8425 aros_target_iconset
="Gorilla"
8426 target_iconset
="default (Gorilla)"
8428 aros_target_iconset
="$target_iconset"
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8431 $as_echo "$target_iconset" >&6; }
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8434 $as_echo_n "checking which GUI Theme to use... " >&6; }
8436 # Check whether --with-theme was given.
8437 if test "${with_theme+set}" = set; then :
8438 withval
=$with_theme; target_guitheme
=$withval
8440 target_guitheme
="default"
8443 if test "$target_guitheme" = "default"; then
8444 aros_target_guitheme
="Ice"
8446 aros_target_guitheme
="$target_guitheme"
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8449 $as_echo "$aros_target_guitheme" >&6; }
8451 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8454 if test "$aros_host_cpu" = "$aros_target_cpu" ; then
8455 # If host = target CPU, let's try to use the
8456 # host's toolchains if no others were requested
8457 if test "$kernel_tool_prefix" = "none" ; then
8458 kernel_tool_prefix
=""
8464 if test "$aros_host_cpu" == "x86_64" ; then
8465 if test "$aros_target_cpu" == "i386" ; then
8466 if test "$aros_target_arch" != "mingw32"; then
8468 kernel_tool_prefix
=""
8473 if test "$aros_host_arch" == "darwin" ; then
8474 if test "$aros_target_arch" != "darwin" ; then
8478 kernel_tool_prefix
=""
8482 if test "$aros_host_arch" == "mingw32" ; then
8483 if test "$aros_target_arch" != "mingw32" ; then
8488 #######################################################################
8489 ## Compute what toolchains to use, and their paths ##
8490 #######################################################################
8492 # This takes, as input:
8493 # crosstools {yes,no}
8494 # aros_gcc_version {default,[version]}
8495 # kernel_tool_prefix {none,[some-arch-os-]}
8496 # target_tool_prefix ${target_cpu}-aros-
8499 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8500 # Where the 'kernel' binaries are located
8501 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8502 # Where the 'target' binaries are located
8503 # (not the symlink farm - that is aros_target_*!)
8506 # if crosstools then
8507 # if kernel_tools_prefix = "no-kernel-prefix-"
8508 # aros_kernel_* = crosstools cc paths
8509 # aros_kernel_cc = elf cc wrapper around crosstools cc
8511 # VALIDATE(${kernel_tools_prefix}*)
8512 # aros_kernel_* = ${kernel_tools_prefix}*
8513 # if ${kernel_tools_prefix}cc is an AROS gcc
8514 # aros_kernel_cc = ${kernel_tools_prefix}cc
8516 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8520 # orig_target_* = aros built crosstools
8521 # orig_target_cc = elf cc wrapper around crosstools cc
8523 # VALIDATE(${kernel_tools_prefix}*)
8525 # orig_target_* = aros_kernel_*
8526 # if aros_kernel_cc is an AROS gcc
8527 # orig_target_cc = aros_kernel_cc
8529 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use external toolchain" >&5
8535 $as_echo_n "checking whether to use external toolchain... " >&6; }
8536 if test "$kernel_tool_prefix" = "none" ; then
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8538 $as_echo "no" >&6; };
8539 if test "$crosstools" != "yes"; then
8540 as_fn_error $?
"--disable-crosstools requires --with-kernel-tool-prefix= for this arch" "$LINENO" 5
8542 # We are building AROS crosstools, and no kernel
8543 # tools specified - assume target tools == kernel tools
8544 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
8545 aros_kernel_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
8546 aros_kernel_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
8547 aros_kernel_cpp
="${tmp_tool_prefix}cpp"
8548 aros_kernel_ld
="${tmp_tool_prefix}ld"
8549 aros_kernel_as
="${tmp_tool_prefix}as"
8550 aros_kernel_ar
="${tmp_tool_prefix}ar"
8551 aros_kernel_ranlib
="${tmp_tool_prefix}ranlib"
8552 aros_kernel_nm
="${tmp_tool_prefix}nm"
8553 aros_kernel_strip
="${tmp_tool_prefix}strip"
8554 aros_kernel_objcopy
="${tmp_tool_prefix}objcopy"
8555 aros_kernel_objdump
="${tmp_tool_prefix}objdump"
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8558 $as_echo "yes" >&6; };
8559 # Kernel tools specified - find them
8560 # Note that 'normally', aros_kernel_* overrides will
8561 # empty, unless specified in the per-arch sections above.
8564 if test "$aros_kernel_cpp" = ""; then
8565 if test "$cross_compiling" = "yes" ; then
8566 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8567 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8569 $as_echo_n "checking for $ac_word... " >&6; }
8570 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8571 $as_echo_n "(cached) " >&6
8573 case $aros_kernel_cpp in
8575 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8582 test -z "$as_dir" && as_dir
=.
8583 for ac_exec_ext
in '' $ac_executable_extensions; do
8584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8585 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8596 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8597 if test -n "$aros_kernel_cpp"; then
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8599 $as_echo "$aros_kernel_cpp" >&6; }
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8602 $as_echo "no" >&6; }
8607 if test "$GCC" = "yes"; then
8608 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8609 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8610 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8612 $as_echo_n "checking for $ac_word... " >&6; }
8613 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8614 $as_echo_n "(cached) " >&6
8616 case $aros_kernel_cpp in
8618 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8622 for as_dir
in `dirname $aros_gcc_cpp`
8625 test -z "$as_dir" && as_dir
=.
8626 for ac_exec_ext
in '' $ac_executable_extensions; do
8627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8628 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8639 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8640 if test -n "$aros_kernel_cpp"; then
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8642 $as_echo "$aros_kernel_cpp" >&6; }
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8645 $as_echo "no" >&6; }
8650 if test "$aros_kernel_cpp" = ""; then
8651 # Extract the first word of "cpp", so it can be a program name with args.
8652 set dummy cpp
; ac_word
=$2
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8654 $as_echo_n "checking for $ac_word... " >&6; }
8655 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8656 $as_echo_n "(cached) " >&6
8658 case $aros_kernel_cpp in
8660 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8667 test -z "$as_dir" && as_dir
=.
8668 for ac_exec_ext
in '' $ac_executable_extensions; do
8669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8670 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8681 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8682 if test -n "$aros_kernel_cpp"; then
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8684 $as_echo "$aros_kernel_cpp" >&6; }
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8687 $as_echo "no" >&6; }
8694 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8695 set dummy
$aros_kernel_cpp; ac_word
=$2
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8697 $as_echo_n "checking for $ac_word... " >&6; }
8698 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8699 $as_echo_n "(cached) " >&6
8701 case $aros_kernel_cpp in
8703 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8710 test -z "$as_dir" && as_dir
=.
8711 for ac_exec_ext
in '' $ac_executable_extensions; do
8712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8713 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8724 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8725 if test -n "$aros_kernel_cpp"; then
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8727 $as_echo "$aros_kernel_cpp" >&6; }
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8730 $as_echo "no" >&6; }
8736 if test "$aros_kernel_cpp" = ""; then
8737 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8739 if test "x$aros_kernel_cc" = "x"; then
8740 aros_kernel_cc
=${kernel_tool_prefix}gcc
8743 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8744 if test "$cross_compiling" = "yes" ; then
8745 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8746 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8748 $as_echo_n "checking for $ac_word... " >&6; }
8749 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8750 $as_echo_n "(cached) " >&6
8752 case $aros_kernel_cc in
8754 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8761 test -z "$as_dir" && as_dir
=.
8762 for ac_exec_ext
in '' $ac_executable_extensions; do
8763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8764 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8775 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8776 if test -n "$aros_kernel_cc"; then
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8778 $as_echo "$aros_kernel_cc" >&6; }
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8781 $as_echo "no" >&6; }
8786 if test "$GCC" = "yes"; then
8787 aros_gcc_cc
=`$CC -print-prog-name=cc`
8788 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8789 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8791 $as_echo_n "checking for $ac_word... " >&6; }
8792 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8793 $as_echo_n "(cached) " >&6
8795 case $aros_kernel_cc in
8797 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8801 for as_dir
in `dirname $aros_gcc_cc`
8804 test -z "$as_dir" && as_dir
=.
8805 for ac_exec_ext
in '' $ac_executable_extensions; do
8806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8807 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8818 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8819 if test -n "$aros_kernel_cc"; then
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8821 $as_echo "$aros_kernel_cc" >&6; }
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8824 $as_echo "no" >&6; }
8829 if test "$aros_kernel_cc" = ""; then
8830 # Extract the first word of "cc", so it can be a program name with args.
8831 set dummy cc
; ac_word
=$2
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8833 $as_echo_n "checking for $ac_word... " >&6; }
8834 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8835 $as_echo_n "(cached) " >&6
8837 case $aros_kernel_cc in
8839 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8846 test -z "$as_dir" && as_dir
=.
8847 for ac_exec_ext
in '' $ac_executable_extensions; do
8848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8849 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8860 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8861 if test -n "$aros_kernel_cc"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8863 $as_echo "$aros_kernel_cc" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8873 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8874 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8876 $as_echo_n "checking for $ac_word... " >&6; }
8877 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8878 $as_echo_n "(cached) " >&6
8880 case $aros_kernel_cc in
8882 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8889 test -z "$as_dir" && as_dir
=.
8890 for ac_exec_ext
in '' $ac_executable_extensions; do
8891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8892 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8903 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8904 if test -n "$aros_kernel_cc"; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8906 $as_echo "$aros_kernel_cc" >&6; }
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8909 $as_echo "no" >&6; }
8915 if test "$aros_kernel_cc" = ""; then
8916 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
8918 if test "x$aros_kernel_cxx" = "x"; then
8919 aros_kernel_cxx
=${kernel_tool_prefix}g
++
8922 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
8923 if test "$cross_compiling" = "yes" ; then
8924 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
8925 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8927 $as_echo_n "checking for $ac_word... " >&6; }
8928 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
8929 $as_echo_n "(cached) " >&6
8931 case $aros_kernel_cxx in
8933 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
8936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8940 test -z "$as_dir" && as_dir
=.
8941 for ac_exec_ext
in '' $ac_executable_extensions; do
8942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8943 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
8944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8954 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
8955 if test -n "$aros_kernel_cxx"; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
8957 $as_echo "$aros_kernel_cxx" >&6; }
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8960 $as_echo "no" >&6; }
8965 if test "$GCC" = "yes"; then
8966 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
8967 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
8968 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8970 $as_echo_n "checking for $ac_word... " >&6; }
8971 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
8972 $as_echo_n "(cached) " >&6
8974 case $aros_kernel_cxx in
8976 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
8979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8980 for as_dir
in `dirname $aros_gcc_cxx`
8983 test -z "$as_dir" && as_dir
=.
8984 for ac_exec_ext
in '' $ac_executable_extensions; do
8985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8986 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
8987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8997 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
8998 if test -n "$aros_kernel_cxx"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9000 $as_echo "$aros_kernel_cxx" >&6; }
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9003 $as_echo "no" >&6; }
9008 if test "$aros_kernel_cxx" = ""; then
9009 # Extract the first word of "cxx", so it can be a program name with args.
9010 set dummy cxx
; ac_word
=$2
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9012 $as_echo_n "checking for $ac_word... " >&6; }
9013 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9014 $as_echo_n "(cached) " >&6
9016 case $aros_kernel_cxx in
9018 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9025 test -z "$as_dir" && as_dir
=.
9026 for ac_exec_ext
in '' $ac_executable_extensions; do
9027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9028 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9039 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9040 if test -n "$aros_kernel_cxx"; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9042 $as_echo "$aros_kernel_cxx" >&6; }
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9045 $as_echo "no" >&6; }
9052 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9053 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9055 $as_echo_n "checking for $ac_word... " >&6; }
9056 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9057 $as_echo_n "(cached) " >&6
9059 case $aros_kernel_cxx in
9061 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9068 test -z "$as_dir" && as_dir
=.
9069 for ac_exec_ext
in '' $ac_executable_extensions; do
9070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9071 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9082 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9083 if test -n "$aros_kernel_cxx"; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9085 $as_echo "$aros_kernel_cxx" >&6; }
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9088 $as_echo "no" >&6; }
9094 # If it's set, make sure it's really there
9095 if test "x$aros_kernel_cxx" != "x" ; then
9096 if test "$aros_kernel_cxx" = ""; then
9097 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9101 if test "$aros_kernel_ld" = ""; then
9102 if test "$cross_compiling" = "yes" ; then
9103 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9104 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9106 $as_echo_n "checking for $ac_word... " >&6; }
9107 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9108 $as_echo_n "(cached) " >&6
9110 case $aros_kernel_ld in
9112 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9119 test -z "$as_dir" && as_dir
=.
9120 for ac_exec_ext
in '' $ac_executable_extensions; do
9121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9122 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9133 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9134 if test -n "$aros_kernel_ld"; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9136 $as_echo "$aros_kernel_ld" >&6; }
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9139 $as_echo "no" >&6; }
9144 if test "$GCC" = "yes"; then
9145 aros_gcc_ld
=`$CC -print-prog-name=ld`
9146 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9147 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9149 $as_echo_n "checking for $ac_word... " >&6; }
9150 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9151 $as_echo_n "(cached) " >&6
9153 case $aros_kernel_ld in
9155 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9159 for as_dir
in `dirname $aros_gcc_ld`
9162 test -z "$as_dir" && as_dir
=.
9163 for ac_exec_ext
in '' $ac_executable_extensions; do
9164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9165 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9176 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9177 if test -n "$aros_kernel_ld"; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9179 $as_echo "$aros_kernel_ld" >&6; }
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9182 $as_echo "no" >&6; }
9187 if test "$aros_kernel_ld" = ""; then
9188 # Extract the first word of "ld", so it can be a program name with args.
9189 set dummy ld
; ac_word
=$2
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191 $as_echo_n "checking for $ac_word... " >&6; }
9192 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9193 $as_echo_n "(cached) " >&6
9195 case $aros_kernel_ld in
9197 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9204 test -z "$as_dir" && as_dir
=.
9205 for ac_exec_ext
in '' $ac_executable_extensions; do
9206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9207 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9218 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9219 if test -n "$aros_kernel_ld"; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9221 $as_echo "$aros_kernel_ld" >&6; }
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9224 $as_echo "no" >&6; }
9231 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9232 set dummy
$aros_kernel_ld; ac_word
=$2
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9234 $as_echo_n "checking for $ac_word... " >&6; }
9235 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9236 $as_echo_n "(cached) " >&6
9238 case $aros_kernel_ld in
9240 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9247 test -z "$as_dir" && as_dir
=.
9248 for ac_exec_ext
in '' $ac_executable_extensions; do
9249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9250 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9261 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9262 if test -n "$aros_kernel_ld"; then
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9264 $as_echo "$aros_kernel_ld" >&6; }
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9267 $as_echo "no" >&6; }
9273 if test "$aros_kernel_ld" = ""; then
9274 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9277 if test "$aros_kernel_as" = ""; then
9278 if test "$cross_compiling" = "yes" ; then
9279 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9280 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9282 $as_echo_n "checking for $ac_word... " >&6; }
9283 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9284 $as_echo_n "(cached) " >&6
9286 case $aros_kernel_as in
9288 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9295 test -z "$as_dir" && as_dir
=.
9296 for ac_exec_ext
in '' $ac_executable_extensions; do
9297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9298 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9309 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9310 if test -n "$aros_kernel_as"; then
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9312 $as_echo "$aros_kernel_as" >&6; }
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9315 $as_echo "no" >&6; }
9320 if test "$GCC" = "yes"; then
9321 aros_gcc_as
=`$CC -print-prog-name=as`
9322 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9323 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9325 $as_echo_n "checking for $ac_word... " >&6; }
9326 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9327 $as_echo_n "(cached) " >&6
9329 case $aros_kernel_as in
9331 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9335 for as_dir
in `dirname $aros_gcc_as`
9338 test -z "$as_dir" && as_dir
=.
9339 for ac_exec_ext
in '' $ac_executable_extensions; do
9340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9341 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9352 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9353 if test -n "$aros_kernel_as"; then
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9355 $as_echo "$aros_kernel_as" >&6; }
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9358 $as_echo "no" >&6; }
9363 if test "$aros_kernel_as" = ""; then
9364 # Extract the first word of "as", so it can be a program name with args.
9365 set dummy as
; ac_word
=$2
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9367 $as_echo_n "checking for $ac_word... " >&6; }
9368 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9369 $as_echo_n "(cached) " >&6
9371 case $aros_kernel_as in
9373 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9380 test -z "$as_dir" && as_dir
=.
9381 for ac_exec_ext
in '' $ac_executable_extensions; do
9382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9383 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9394 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9395 if test -n "$aros_kernel_as"; then
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9397 $as_echo "$aros_kernel_as" >&6; }
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9400 $as_echo "no" >&6; }
9407 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9408 set dummy
$aros_kernel_as; ac_word
=$2
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9410 $as_echo_n "checking for $ac_word... " >&6; }
9411 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9412 $as_echo_n "(cached) " >&6
9414 case $aros_kernel_as in
9416 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9423 test -z "$as_dir" && as_dir
=.
9424 for ac_exec_ext
in '' $ac_executable_extensions; do
9425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9426 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9437 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9438 if test -n "$aros_kernel_as"; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9440 $as_echo "$aros_kernel_as" >&6; }
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9443 $as_echo "no" >&6; }
9449 if test "$aros_kernel_as" = ""; then
9450 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9453 if test "$aros_kernel_ar" = ""; then
9454 if test "$cross_compiling" = "yes" ; then
9455 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9456 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9458 $as_echo_n "checking for $ac_word... " >&6; }
9459 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9460 $as_echo_n "(cached) " >&6
9462 case $aros_kernel_ar in
9464 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9471 test -z "$as_dir" && as_dir
=.
9472 for ac_exec_ext
in '' $ac_executable_extensions; do
9473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9474 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9485 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9486 if test -n "$aros_kernel_ar"; then
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9488 $as_echo "$aros_kernel_ar" >&6; }
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9491 $as_echo "no" >&6; }
9496 if test "$GCC" = "yes"; then
9497 aros_gcc_ar
=`$CC -print-prog-name=ar`
9498 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9499 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9501 $as_echo_n "checking for $ac_word... " >&6; }
9502 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9503 $as_echo_n "(cached) " >&6
9505 case $aros_kernel_ar in
9507 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9511 for as_dir
in `dirname $aros_gcc_ar`
9514 test -z "$as_dir" && as_dir
=.
9515 for ac_exec_ext
in '' $ac_executable_extensions; do
9516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9517 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9528 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9529 if test -n "$aros_kernel_ar"; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9531 $as_echo "$aros_kernel_ar" >&6; }
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9534 $as_echo "no" >&6; }
9539 if test "$aros_kernel_ar" = ""; then
9540 # Extract the first word of "ar", so it can be a program name with args.
9541 set dummy
ar; ac_word
=$2
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9543 $as_echo_n "checking for $ac_word... " >&6; }
9544 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9545 $as_echo_n "(cached) " >&6
9547 case $aros_kernel_ar in
9549 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9556 test -z "$as_dir" && as_dir
=.
9557 for ac_exec_ext
in '' $ac_executable_extensions; do
9558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9559 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9570 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9571 if test -n "$aros_kernel_ar"; then
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9573 $as_echo "$aros_kernel_ar" >&6; }
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9576 $as_echo "no" >&6; }
9583 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9584 set dummy
$aros_kernel_ar; ac_word
=$2
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9586 $as_echo_n "checking for $ac_word... " >&6; }
9587 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9588 $as_echo_n "(cached) " >&6
9590 case $aros_kernel_ar in
9592 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9599 test -z "$as_dir" && as_dir
=.
9600 for ac_exec_ext
in '' $ac_executable_extensions; do
9601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9602 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9613 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9614 if test -n "$aros_kernel_ar"; then
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9616 $as_echo "$aros_kernel_ar" >&6; }
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9619 $as_echo "no" >&6; }
9625 if test "$aros_kernel_ar" = ""; then
9626 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9629 if test "$aros_kernel_ranlib" = ""; then
9630 if test "$cross_compiling" = "yes" ; then
9631 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9632 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9634 $as_echo_n "checking for $ac_word... " >&6; }
9635 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9636 $as_echo_n "(cached) " >&6
9638 case $aros_kernel_ranlib in
9640 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9647 test -z "$as_dir" && as_dir
=.
9648 for ac_exec_ext
in '' $ac_executable_extensions; do
9649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9650 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9661 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9662 if test -n "$aros_kernel_ranlib"; then
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9664 $as_echo "$aros_kernel_ranlib" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9667 $as_echo "no" >&6; }
9672 if test "$GCC" = "yes"; then
9673 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9674 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9675 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9677 $as_echo_n "checking for $ac_word... " >&6; }
9678 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9679 $as_echo_n "(cached) " >&6
9681 case $aros_kernel_ranlib in
9683 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9687 for as_dir
in `dirname $aros_gcc_ranlib`
9690 test -z "$as_dir" && as_dir
=.
9691 for ac_exec_ext
in '' $ac_executable_extensions; do
9692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9693 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9704 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9705 if test -n "$aros_kernel_ranlib"; then
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9707 $as_echo "$aros_kernel_ranlib" >&6; }
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9710 $as_echo "no" >&6; }
9715 if test "$aros_kernel_ranlib" = ""; then
9716 # Extract the first word of "ranlib", so it can be a program name with args.
9717 set dummy ranlib
; ac_word
=$2
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9719 $as_echo_n "checking for $ac_word... " >&6; }
9720 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9721 $as_echo_n "(cached) " >&6
9723 case $aros_kernel_ranlib in
9725 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9732 test -z "$as_dir" && as_dir
=.
9733 for ac_exec_ext
in '' $ac_executable_extensions; do
9734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9735 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9746 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9747 if test -n "$aros_kernel_ranlib"; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9749 $as_echo "$aros_kernel_ranlib" >&6; }
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9752 $as_echo "no" >&6; }
9759 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9760 set dummy
$aros_kernel_ranlib; ac_word
=$2
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9762 $as_echo_n "checking for $ac_word... " >&6; }
9763 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9764 $as_echo_n "(cached) " >&6
9766 case $aros_kernel_ranlib in
9768 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9775 test -z "$as_dir" && as_dir
=.
9776 for ac_exec_ext
in '' $ac_executable_extensions; do
9777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9778 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9789 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9790 if test -n "$aros_kernel_ranlib"; then
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9792 $as_echo "$aros_kernel_ranlib" >&6; }
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9795 $as_echo "no" >&6; }
9801 if test "$aros_kernel_ranlib" = ""; then
9802 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9805 if test "$aros_kernel_nm" = ""; then
9806 if test "$cross_compiling" = "yes" ; then
9807 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9808 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9810 $as_echo_n "checking for $ac_word... " >&6; }
9811 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9812 $as_echo_n "(cached) " >&6
9814 case $aros_kernel_nm in
9816 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9823 test -z "$as_dir" && as_dir
=.
9824 for ac_exec_ext
in '' $ac_executable_extensions; do
9825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9826 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9837 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9838 if test -n "$aros_kernel_nm"; then
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9840 $as_echo "$aros_kernel_nm" >&6; }
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9843 $as_echo "no" >&6; }
9848 if test "$GCC" = "yes"; then
9849 aros_gcc_nm
=`$CC -print-prog-name=nm`
9850 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9851 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9853 $as_echo_n "checking for $ac_word... " >&6; }
9854 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9855 $as_echo_n "(cached) " >&6
9857 case $aros_kernel_nm in
9859 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9863 for as_dir
in `dirname $aros_gcc_nm`
9866 test -z "$as_dir" && as_dir
=.
9867 for ac_exec_ext
in '' $ac_executable_extensions; do
9868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9869 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9880 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9881 if test -n "$aros_kernel_nm"; then
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9883 $as_echo "$aros_kernel_nm" >&6; }
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9886 $as_echo "no" >&6; }
9891 if test "$aros_kernel_nm" = ""; then
9892 # Extract the first word of "nm", so it can be a program name with args.
9893 set dummy nm
; ac_word
=$2
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9895 $as_echo_n "checking for $ac_word... " >&6; }
9896 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9897 $as_echo_n "(cached) " >&6
9899 case $aros_kernel_nm in
9901 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9908 test -z "$as_dir" && as_dir
=.
9909 for ac_exec_ext
in '' $ac_executable_extensions; do
9910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9911 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9922 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9923 if test -n "$aros_kernel_nm"; then
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9925 $as_echo "$aros_kernel_nm" >&6; }
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9928 $as_echo "no" >&6; }
9935 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
9936 set dummy
$aros_kernel_nm; ac_word
=$2
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9938 $as_echo_n "checking for $ac_word... " >&6; }
9939 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9940 $as_echo_n "(cached) " >&6
9942 case $aros_kernel_nm in
9944 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9951 test -z "$as_dir" && as_dir
=.
9952 for ac_exec_ext
in '' $ac_executable_extensions; do
9953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9954 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9965 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9966 if test -n "$aros_kernel_nm"; then
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9968 $as_echo "$aros_kernel_nm" >&6; }
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9971 $as_echo "no" >&6; }
9977 if test "$aros_kernel_nm" = ""; then
9978 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9981 if test "$aros_kernel_strip" = ""; then
9982 if test "$cross_compiling" = "yes" ; then
9983 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
9984 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9986 $as_echo_n "checking for $ac_word... " >&6; }
9987 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
9988 $as_echo_n "(cached) " >&6
9990 case $aros_kernel_strip in
9992 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
9995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9999 test -z "$as_dir" && as_dir
=.
10000 for ac_exec_ext
in '' $ac_executable_extensions; do
10001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10002 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10013 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10014 if test -n "$aros_kernel_strip"; then
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10016 $as_echo "$aros_kernel_strip" >&6; }
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10019 $as_echo "no" >&6; }
10024 if test "$GCC" = "yes"; then
10025 aros_gcc_strip
=`$CC -print-prog-name=strip`
10026 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10027 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10029 $as_echo_n "checking for $ac_word... " >&6; }
10030 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10031 $as_echo_n "(cached) " >&6
10033 case $aros_kernel_strip in
10035 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10039 for as_dir
in `dirname $aros_gcc_strip`
10042 test -z "$as_dir" && as_dir
=.
10043 for ac_exec_ext
in '' $ac_executable_extensions; do
10044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10045 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10056 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10057 if test -n "$aros_kernel_strip"; then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10059 $as_echo "$aros_kernel_strip" >&6; }
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10062 $as_echo "no" >&6; }
10067 if test "$aros_kernel_strip" = ""; then
10068 # Extract the first word of "strip", so it can be a program name with args.
10069 set dummy strip
; ac_word
=$2
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10071 $as_echo_n "checking for $ac_word... " >&6; }
10072 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10073 $as_echo_n "(cached) " >&6
10075 case $aros_kernel_strip in
10077 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10081 for as_dir
in $PATH
10084 test -z "$as_dir" && as_dir
=.
10085 for ac_exec_ext
in '' $ac_executable_extensions; do
10086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10087 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10098 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10099 if test -n "$aros_kernel_strip"; then
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10101 $as_echo "$aros_kernel_strip" >&6; }
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10104 $as_echo "no" >&6; }
10111 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10112 set dummy
$aros_kernel_strip; ac_word
=$2
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10114 $as_echo_n "checking for $ac_word... " >&6; }
10115 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10116 $as_echo_n "(cached) " >&6
10118 case $aros_kernel_strip in
10120 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10124 for as_dir
in $PATH
10127 test -z "$as_dir" && as_dir
=.
10128 for ac_exec_ext
in '' $ac_executable_extensions; do
10129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10130 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10141 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10142 if test -n "$aros_kernel_strip"; then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10144 $as_echo "$aros_kernel_strip" >&6; }
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10147 $as_echo "no" >&6; }
10153 if test "$aros_kernel_strip" = ""; then
10154 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10157 # Objcopy and objdump are not required for the kernel
10158 # toolchain on many architectures.
10159 # So we'll look for them, but not make them strictly required.
10161 if test "$aros_kernel_objcopy" = ""; then
10162 if test "$cross_compiling" = "yes" ; then
10163 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10164 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10166 $as_echo_n "checking for $ac_word... " >&6; }
10167 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10168 $as_echo_n "(cached) " >&6
10170 case $aros_kernel_objcopy in
10172 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10176 for as_dir
in $PATH
10179 test -z "$as_dir" && as_dir
=.
10180 for ac_exec_ext
in '' $ac_executable_extensions; do
10181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10182 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10193 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10194 if test -n "$aros_kernel_objcopy"; then
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10196 $as_echo "$aros_kernel_objcopy" >&6; }
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10199 $as_echo "no" >&6; }
10204 if test "$GCC" = "yes"; then
10205 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10206 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10207 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10209 $as_echo_n "checking for $ac_word... " >&6; }
10210 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10211 $as_echo_n "(cached) " >&6
10213 case $aros_kernel_objcopy in
10215 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10219 for as_dir
in `dirname $aros_gcc_objcopy`
10222 test -z "$as_dir" && as_dir
=.
10223 for ac_exec_ext
in '' $ac_executable_extensions; do
10224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10225 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10236 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10237 if test -n "$aros_kernel_objcopy"; then
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10239 $as_echo "$aros_kernel_objcopy" >&6; }
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10242 $as_echo "no" >&6; }
10247 if test "$aros_kernel_objcopy" = ""; then
10248 # Extract the first word of "objcopy", so it can be a program name with args.
10249 set dummy objcopy
; ac_word
=$2
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10251 $as_echo_n "checking for $ac_word... " >&6; }
10252 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10253 $as_echo_n "(cached) " >&6
10255 case $aros_kernel_objcopy in
10257 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10261 for as_dir
in $PATH
10264 test -z "$as_dir" && as_dir
=.
10265 for ac_exec_ext
in '' $ac_executable_extensions; do
10266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10267 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10278 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10279 if test -n "$aros_kernel_objcopy"; then
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10281 $as_echo "$aros_kernel_objcopy" >&6; }
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10284 $as_echo "no" >&6; }
10291 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10292 set dummy
$aros_kernel_objcopy; ac_word
=$2
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10294 $as_echo_n "checking for $ac_word... " >&6; }
10295 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10296 $as_echo_n "(cached) " >&6
10298 case $aros_kernel_objcopy in
10300 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10304 for as_dir
in $PATH
10307 test -z "$as_dir" && as_dir
=.
10308 for ac_exec_ext
in '' $ac_executable_extensions; do
10309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10310 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10321 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10322 if test -n "$aros_kernel_objcopy"; then
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10324 $as_echo "$aros_kernel_objcopy" >&6; }
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10327 $as_echo "no" >&6; }
10334 if test "$aros_kernel_objdump" = ""; then
10335 if test "$cross_compiling" = "yes" ; then
10336 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10337 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10339 $as_echo_n "checking for $ac_word... " >&6; }
10340 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10341 $as_echo_n "(cached) " >&6
10343 case $aros_kernel_objdump in
10345 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10349 for as_dir
in $PATH
10352 test -z "$as_dir" && as_dir
=.
10353 for ac_exec_ext
in '' $ac_executable_extensions; do
10354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10355 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10366 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10367 if test -n "$aros_kernel_objdump"; then
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10369 $as_echo "$aros_kernel_objdump" >&6; }
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10372 $as_echo "no" >&6; }
10377 if test "$GCC" = "yes"; then
10378 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10379 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10380 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10382 $as_echo_n "checking for $ac_word... " >&6; }
10383 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10384 $as_echo_n "(cached) " >&6
10386 case $aros_kernel_objdump in
10388 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10392 for as_dir
in `dirname $aros_gcc_objdump`
10395 test -z "$as_dir" && as_dir
=.
10396 for ac_exec_ext
in '' $ac_executable_extensions; do
10397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10398 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10409 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10410 if test -n "$aros_kernel_objdump"; then
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10412 $as_echo "$aros_kernel_objdump" >&6; }
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10415 $as_echo "no" >&6; }
10420 if test "$aros_kernel_objdump" = ""; then
10421 # Extract the first word of "objdump", so it can be a program name with args.
10422 set dummy objdump
; ac_word
=$2
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10424 $as_echo_n "checking for $ac_word... " >&6; }
10425 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10426 $as_echo_n "(cached) " >&6
10428 case $aros_kernel_objdump in
10430 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10434 for as_dir
in $PATH
10437 test -z "$as_dir" && as_dir
=.
10438 for ac_exec_ext
in '' $ac_executable_extensions; do
10439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10440 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10451 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10452 if test -n "$aros_kernel_objdump"; then
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10454 $as_echo "$aros_kernel_objdump" >&6; }
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10457 $as_echo "no" >&6; }
10464 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10465 set dummy
$aros_kernel_objdump; ac_word
=$2
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10467 $as_echo_n "checking for $ac_word... " >&6; }
10468 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10469 $as_echo_n "(cached) " >&6
10471 case $aros_kernel_objdump in
10473 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10477 for as_dir
in $PATH
10480 test -z "$as_dir" && as_dir
=.
10481 for ac_exec_ext
in '' $ac_executable_extensions; do
10482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10483 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10494 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10495 if test -n "$aros_kernel_objdump"; then
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10497 $as_echo "$aros_kernel_objdump" >&6; }
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10500 $as_echo "no" >&6; }
10506 if test "x${crosstools}" != "xyes" ; then
10507 if test "$aros_kernel_objcopy" = ""; then
10508 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10510 if test "$aros_kernel_objdump" = ""; then
10511 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools" >&5
10517 $as_echo_n "checking which target tools... " >&6; }
10518 if test "$crosstools" = "yes"; then
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10520 $as_echo "$target_tool_prefix" >&6; }
10521 # We are are building AROS crosstools
10522 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10523 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10524 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10525 orig_target_cpp
="${tmp_tool_prefix}cpp"
10526 orig_target_ld
="${tmp_tool_prefix}ld"
10527 orig_target_as
="${tmp_tool_prefix}as"
10528 orig_target_ar
="${tmp_tool_prefix}ar"
10529 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10530 orig_target_nm
="${tmp_tool_prefix}nm"
10531 orig_target_strip
="${tmp_tool_prefix}strip"
10532 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10533 orig_target_objdump
="${tmp_tool_prefix}objdump"
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
10536 $as_echo "$kernel_tool_prefix" >&6; }
10537 # We are *not* building AROS crosstools - use the kernel tools
10538 orig_target_cpp
="${aros_kernel_cpp}"
10539 if test "$orig_target_cpp" = ""; then
10540 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10542 orig_target_cc
="${aros_kernel_cc}"
10543 if test "$orig_target_cc" = ""; then
10544 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10546 orig_target_cxx
="${aros_kernel_cxx}"
10547 if test "x$orig_target_cxx" != "x" ; then
10548 if test "$orig_target_cxx" = ""; then
10549 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10552 orig_target_ld
="${aros_kernel_ld}"
10553 if test "$orig_target_ld" = ""; then
10554 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10556 orig_target_as
="${aros_kernel_as}"
10557 if test "$orig_target_as" = ""; then
10558 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10560 orig_target_ar
="${aros_kernel_ar}"
10561 if test "$orig_target_ar" = ""; then
10562 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10564 orig_target_ranlib
="${aros_kernel_ranlib}"
10565 if test "$orig_target_ranlib" = ""; then
10566 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10568 orig_target_nm
="${aros_kernel_nm}"
10569 if test "$orig_target_nm" = ""; then
10570 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10572 orig_target_strip
="${aros_kernel_strip}"
10573 if test "$orig_target_strip" = ""; then
10574 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10576 orig_target_objcopy
="${aros_kernel_objcopy}"
10577 if test "$orig_target_objcopy" = ""; then
10578 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10580 orig_target_objdump
="${aros_kernel_objdump}"
10581 if test "$orig_target_objdump" = ""; then
10582 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10586 # At this point, all aros_kernel_* and aros_target_*
10587 # tools should be set up correctly
10589 CC
="$aros_kernel_cc $kernel_tool_flags"
10590 CPP
="$aros_kernel_cpp"
10592 #-----------------------------------------------------------------------------
10594 # Disable pointer-signedness warnings if the compiler recognises the option
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
10597 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
10598 save_cflags
="$CFLAGS"
10599 if test "$crosstools" != "yes" ; then
10600 CFLAGS
="$CFLAGS -Wno-pointer-sign"
10601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10612 if ac_fn_c_try_compile
"$LINENO"; then :
10613 use_no_sign_warning
="yes"
10615 use_no_sign_warning
="no"
10617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10619 # we do know it is supported for the smallest version of gcc we are going to build
10620 # we assume it's also supported by later versions
10621 use_no_sign_warning
=yes
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
10624 $as_echo "$use_no_sign_warning" >&6; }
10625 if test "x-$use_no_sign_warning" = "x-yes" ; then
10626 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
10628 CFLAGS
="$save_cflags"
10630 #-----------------------------------------------------------------------------
10632 # Find all the tools we need to compile. This could be cross-compiling
10633 # though! If that is the case we use the GNU form of the target and
10634 # simply add this to the front of the binary name. This is rather simple,
10635 # but it should work under most circumstances.
10637 # The default tools are to use the same as the host, but only if the
10638 # host and target CPU are the same. With GCC this is normally enough.
10642 aros_shared_ld
="$aros_host_ld"
10644 aros_target_mkdep
="$aros_host_mkdep"
10646 # The default tools executables to be linked to.
10647 if test "$rescomp" != ""; then
10649 if test "" = ""; then
10650 if test "$cross_compiling" = "yes" ; then
10651 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
10652 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10654 $as_echo_n "checking for $ac_word... " >&6; }
10655 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
10656 $as_echo_n "(cached) " >&6
10658 case $aros_kernel_rescomp in
10660 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
10663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10664 for as_dir
in $PATH
10667 test -z "$as_dir" && as_dir
=.
10668 for ac_exec_ext
in '' $ac_executable_extensions; do
10669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10670 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
10671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10681 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
10682 if test -n "$aros_kernel_rescomp"; then
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
10684 $as_echo "$aros_kernel_rescomp" >&6; }
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10687 $as_echo "no" >&6; }
10692 if test "$GCC" = "yes"; then
10693 aros_gcc_
$rescomp=`$CC -print-prog-name=$rescomp`
10694 # Extract the first word of "`basename $aros_gcc_[$rescomp]`", so it can be a program name with args.
10695 set dummy
`basename $aros_gcc_$rescomp`; ac_word
=$2
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10697 $as_echo_n "checking for $ac_word... " >&6; }
10698 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
10699 $as_echo_n "(cached) " >&6
10701 case $aros_kernel_rescomp in
10703 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
10706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10707 for as_dir
in `dirname $aros_gcc_$rescomp`
10710 test -z "$as_dir" && as_dir
=.
10711 for ac_exec_ext
in '' $ac_executable_extensions; do
10712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10713 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
10714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10724 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
10725 if test -n "$aros_kernel_rescomp"; then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
10727 $as_echo "$aros_kernel_rescomp" >&6; }
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10730 $as_echo "no" >&6; }
10735 if test "$aros_kernel_rescomp" = ""; then
10736 # Extract the first word of "$rescomp", so it can be a program name with args.
10737 set dummy
$rescomp; ac_word
=$2
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10739 $as_echo_n "checking for $ac_word... " >&6; }
10740 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
10741 $as_echo_n "(cached) " >&6
10743 case $aros_kernel_rescomp in
10745 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
10748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10749 for as_dir
in $PATH
10752 test -z "$as_dir" && as_dir
=.
10753 for ac_exec_ext
in '' $ac_executable_extensions; do
10754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10755 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
10756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10766 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
10767 if test -n "$aros_kernel_rescomp"; then
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
10769 $as_echo "$aros_kernel_rescomp" >&6; }
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10772 $as_echo "no" >&6; }
10779 # Extract the first word of "", so it can be a program name with args.
10780 set dummy
; ac_word
=$2
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10782 $as_echo_n "checking for $ac_word... " >&6; }
10783 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
10784 $as_echo_n "(cached) " >&6
10786 case $aros_kernel_rescomp in
10788 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
10791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10792 for as_dir
in $PATH
10795 test -z "$as_dir" && as_dir
=.
10796 for ac_exec_ext
in '' $ac_executable_extensions; do
10797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10798 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
10799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10809 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
10810 if test -n "$aros_kernel_rescomp"; then
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
10812 $as_echo "$aros_kernel_rescomp" >&6; }
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10815 $as_echo "no" >&6; }
10821 if test "$aros_kernel_rescomp" = ""; then
10822 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
10826 # Set up the sources for the symlink farm
10827 if test "$crosstools" = "yes"; then
10828 crosstools_target
=tools-crosstools
10830 crosstools_cxx_target
=tools-crosstools
10833 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
10834 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
10837 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10838 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10839 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10840 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10841 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10842 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10843 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10845 # aros_cc_pre is a variable that is added to the front of the compiler name
10846 # in the generated aros-gcc shell script. We need this to enable the cache
10847 # to work across cleaned builds. Also, support DISTCC using the correct
10848 # environment variable.
10851 if test "x${DISTCC}" != "x" ; then
10852 if test "x${CCACHE}" != "x" ; then
10853 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10855 aros_cc_pre
="${DISTCC} "
10858 if test "x${CCACHE}" != "x" ; then
10859 aros_cc_pre
="${CCACHE} "
10863 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
10865 aros_target_nostdinc_cflags
=-nostdinc
10867 aros_target_nostartup_ldflags
=-nostartfiles
10869 aros_target_nix_ldflags
=-nix
10871 aros_target_detach_ldflags
=-detach
10873 aros_target_nostdlib_ldflags
=-nostdlib
10877 if test "$crosstools" != "yes"; then
10878 if test "$GCC" = "yes"; then
10879 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10882 # We do not know which gcc version we are going to build and what we need to know
10883 # here is different for different versions so this will be set later during the
10884 # build of crosstools.
10885 aros_target_cc_path
=@aros_target_cc_path@
10887 aros_target_cpp
="${prefix}cpp"
10888 aros_target_cc
="${prefix}gcc"
10889 aros_target_cxx
="${prefix}g++"
10890 aros_target_as
="${prefix}as"
10891 aros_target_ld
="${prefix}ld"
10892 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
10893 aros_target_objcopy
="${prefix}objcopy"
10894 aros_target_objdump
="${prefix}objdump"
10895 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
10896 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
10897 aros_target_strip
="${prefix}strip"
10898 aros_plain_nm
="${prefix}nm"
10899 aros_plain_ar
="${prefix}ar"
10901 if test "$aros_kernel_includes" != "" ; then
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
10903 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
10904 if test "$aros_kernel_cc_includes" = "" ; then
10905 # Try to guess where the directory is.
10906 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
10907 if test -d $aros_kernel_cc_includes; then
10908 # Check if there is also an include-fixed directory and add it
10909 # to kernel compiler's include path as it may contain some of
10910 # the headers we need.
10911 if test -d "$aros_kernel_cc_includes"-fixed; then
10912 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
10914 # Check for specific includes directory. Neede for Ubuntu 11.10
10915 if test -d "/usr/include/i386-linux-gnu"; then
10916 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
10919 # The directory doesn't exist, we need to do some more work.
10920 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
10922 # These are the headers we're looking for.
10923 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10924 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10928 for h
in $headers; do
10929 # Which other headers are needed by each of the above?
10930 deps
=$
(echo "#include <$h>" | \
10931 $aros_kernel_cc -E -M - 2>/dev
/null | \
10932 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10934 # Copy all the needed headers to a directory beneath gendir.
10937 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
10938 sed -n "s,^.*/include\(/.*\),\1,p")
10939 ! test -d $dir && mkdir
-p $dir
10940 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
10946 $as_echo "$aros_kernel_cc_includes" >&6; }
10947 # Adding -nostdinc to kernel includes as they are always used together.
10948 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
10951 if test "$crosstools" != "yes"; then
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
10953 $as_echo_n "checking for the target compiler's include path... " >&6; }
10954 if test "$aros_target_cc_includes" = "" ; then
10955 #try to guess where the directory is
10956 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10957 if ! test -d $aros_target_cc_includes; then
10958 #the directory doesn't exist, we need to do some more work
10959 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10961 #these are the headers we're looking for
10962 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10963 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10967 for h
in $headers; do
10968 #which other headers each of the above headers needs?
10969 deps
=$
(echo "#include <$h>" | \
10970 $orig_target_cc -E -M - 2>/dev
/null | \
10971 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10973 #copy all the needed headers to a directory beneath gendir
10976 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10977 sed -n "s,^.*/include\(/.*\),\1,p")
10978 ! test -d $dir && mkdir
-p $dir
10979 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
10985 $as_echo "$aros_target_cc_includes" >&6; }
10987 # We do not know which gcc version we are going to build and what we need to know
10988 # here is different for different versions so this will be set later during the
10989 # build of crosstools.
10990 aros_target_cc_includes
=@aros_target_cc_includes@
10994 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10995 # On GCC >= 4.0 -iquote should be used
10999 save_cflags
="$CFLAGS"
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11002 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11003 if test "x-$crosstools" != "x-yes"; then
11004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11015 if ac_fn_c_try_compile
"$LINENO"; then :
11020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11022 # we do know it is supported for the smallest version of gcc we are going to build
11023 # we assume it's also supported by later versions
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11027 $as_echo "$has_iquote" >&6; }
11028 if test "x-$has_iquote" = "x-yes" ; then
11029 host_cflags_iquote
=-iquote
11030 host_cflags_iquote_end
=
11032 host_cflags_iquote
=-I
11033 host_cflags_iquote_end
=-I-
11035 kernel_cflags_iquote
=$host_cflags_iquote
11036 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11037 if test "x-$cross_compiling" = "x-yes"; then
11038 CC
="$aros_kernel_cc"
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
11040 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
11041 if test "x-$crosstools" != "x-yes"; then
11042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h. */
11053 if ac_fn_c_try_compile
"$LINENO"; then :
11054 use_no_stack_protector
="yes"
11056 use_no_stack_protector
="no"
11058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11060 # we do know it is supported for the smallest version of gcc we are going to build
11061 # we assume it's also supported by later versions
11062 use_no_stack_protector
=yes
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
11065 $as_echo "$use_no_stack_protector" >&6; }
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11067 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11068 if test "x-$crosstools" != "x-yes"; then
11069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11080 if ac_fn_c_try_compile
"$LINENO"; then :
11085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11087 # we do know it is supported for the smallest version of gcc we are going to build
11088 # we assume it's also supported by later versions
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11092 $as_echo "$has_iquote" >&6; }
11093 if test "x-$has_iquote" = "x-yes" ; then
11094 kernel_cflags_iquote
=-iquote
11095 kernel_cflags_iquote_end
=
11097 kernel_cflags_iquote
=-I
11098 kernel_cflags_iquote_end
=-I-
11101 aros_cflags_iquote
=$kernel_cflags_iquote
11102 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11103 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11104 CC
="$orig_target_cc"
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11106 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11107 if test "x-$crosstools" != "x-yes"; then
11108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11119 if ac_fn_c_try_compile
"$LINENO"; then :
11124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11126 # we do know it is supported for the smallest version of gcc we are going to build
11127 # we assume it's also supported by later versions
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11131 $as_echo "$has_iquote" >&6; }
11132 if test "x-$has_iquote" = "x-yes" ; then
11133 aros_cflags_iquote
=-iquote
11134 aros_cflags_iquote_end
=
11136 aros_cflags_iquote
=-I
11137 aros_cflags_iquote_end
=-I-
11140 if test "x-$use_no_stack_protector" = "x-yes" ; then
11141 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
11145 #-----------------------------------------------------------------------------
11147 # Check if the target compiler supports some options used for delinting:
11148 # -Wunused-but-set-variable
11151 # -Wstrict-overflow
11152 # -Wformat-security
11154 if test "x-$crosstools" != "x-yes"; then
11155 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11156 CC
="$orig_target_cc"
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
11159 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
11160 CFLAGS
=-Wunused-but-set-variable
11161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11172 if ac_fn_c_try_compile
"$LINENO"; then :
11173 aros_unused_but_set_variable
="yes"
11175 aros_unused_but_set_variable
="no"
11177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
11179 $as_echo "$aros_unused_but_set_variable" >&6; }
11180 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
11181 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
11185 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
11186 CFLAGS
=-Warray-bounds
11187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11198 if ac_fn_c_try_compile
"$LINENO"; then :
11199 aros_array_bounds
="yes"
11201 aros_array_bounds
="no"
11203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
11205 $as_echo "$aros_array_bounds" >&6; }
11206 if test "x-$aros_array_bounds" = "x-yes" ; then
11207 aros_cflags_array_bounds
=-Wno-array-bounds
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
11211 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
11212 CFLAGS
=-Wenum-compare
11213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11224 if ac_fn_c_try_compile
"$LINENO"; then :
11225 aros_enum_compare
="yes"
11227 aros_enum_compare
="no"
11229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
11231 $as_echo "$aros_enum_compare" >&6; }
11232 if test "x-$aros_enum_compare" = "x-yes" ; then
11233 aros_cflags_enum_compare
=-Wno-enum-compare
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
11237 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
11238 CFLAGS
=-Wstrict-overflow
11239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11250 if ac_fn_c_try_compile
"$LINENO"; then :
11251 aros_strict_overflow
="yes"
11253 aros_strict_overflow
="no"
11255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
11257 $as_echo "$aros_strict_overflow" >&6; }
11258 if test "x-$aros_strict_overflow" = "x-yes" ; then
11259 aros_cflags_strict_overflow
=-Wno-strict-overflow
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
11263 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
11264 CFLAGS
=-Wformat-security
11265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11276 if ac_fn_c_try_compile
"$LINENO"; then :
11277 aros_format_security
="yes"
11279 aros_format_security
="no"
11281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
11283 $as_echo "$aros_format_security" >&6; }
11284 if test "x-$aros_format_security" = "x-yes" ; then
11285 aros_cflags_format_security
=-Wno-format-security
11288 # We do not know which gcc version we are going to build and what we need to know
11289 # here is different for different versions so this will be set later during the
11290 # build of crosstools.
11291 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
11292 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
11293 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
11294 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
11295 aros_cflags_format_security
=@aros_cflags_format_security@
11298 #-----------------------------------------------------------------------------
11300 # Check if we can explicitly choose older version of symbol hashing
11302 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
11303 CC
="$aros_kernel_cc"
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11305 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
11306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11317 if ac_fn_c_try_link
"$LINENO"; then :
11318 use_hash_style
="yes"
11320 use_hash_style
="no"
11322 rm -f core conftest.err conftest.
$ac_objext \
11323 conftest
$ac_exeext conftest.
$ac_ext
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
11325 $as_echo "$use_hash_style" >&6; }
11326 if test "x-$use_hash_style" = "x-yes" ; then
11327 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11330 CFLAGS
="$save_cflags"
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
11341 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11343 # Check whether --with-resolution was given.
11344 if test "${with_resolution+set}" = set; then :
11345 withval
=$with_resolution; resolution
=$withval
11350 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11351 if test "$resolution" = "yes" ; then
11354 if test "$resolution" = "no" ; then
11357 if test "$resolution" != "none" ; then
11358 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11359 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11360 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11363 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11364 aros_cv_default_wbwidth
=$aros_default_wbwidth
11365 aros_cv_default_wbheight
=$aros_default_wbheight
11366 aros_cv_default_wbdepth
=$aros_default_wbdepth
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
11369 $as_echo_n "checking if serial debug is enabled... " >&6; }
11371 # Check whether --with-serial-debug was given.
11372 if test "${with_serial_debug+set}" = set; then :
11373 withval
=$with_serial_debug; serial_debug
=$withval
11378 if test "$aros_serial_debug" = 0 ; then
11379 serial_debug_forced
=""
11380 if test "$serial_debug" = "yes" ; then
11383 if test "$serial_debug" = "no" ; then
11384 serial_debug
="none"
11387 serial_debug_forced
="(forced)"
11388 serial_debug
=$aros_serial_debug
11390 if test "$serial_debug" != "none" ; then
11391 aros_serial_debug
=$serial_debug
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
11393 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11396 $as_echo "no" >&6; }
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
11400 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11401 # Check whether --enable-palm_debug_hack was given.
11402 if test "${enable_palm_debug_hack+set}" = set; then :
11403 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11405 palm_debug_hack
="no"
11408 if test "$palm_debug_hack" = "yes" ; then
11409 aros_palm_debug_hack
="1"
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
11412 $as_echo "$palm_debug_hack" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
11415 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
11416 # Check whether --enable-usb30_code was given.
11417 if test "${enable_usb30_code+set}" = set; then :
11418 enableval
=$enable_usb30_code; usb30_code
="yes"
11423 if test "$usb30_code" = "yes" ; then
11424 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
11425 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
11428 $as_echo "$usb30_code" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
11431 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11432 # Check whether --enable-nesting_supervisor was given.
11433 if test "${enable_nesting_supervisor+set}" = set; then :
11434 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11436 nesting_supervisor
="no"
11439 if test "$nesting_supervisor" = "yes" ; then
11440 aros_nesting_supervisor
="1"
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
11443 $as_echo "$nesting_supervisor" >&6; }
11445 if test "$aros_enable_mmu" = "" ; then
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
11447 $as_echo_n "checking if MMU support is enabled... " >&6; }
11448 # Check whether --enable-mmu was given.
11449 if test "${enable_mmu+set}" = set; then :
11450 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
11452 aros_enable_mmu
="yes"
11455 if test "$aros_enable_mmu" = "" ; then
11456 aros_enable_mmu
="yes"
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
11459 $as_echo "$aros_enable_mmu" >&6; }
11461 if test "$aros_enable_mmu" = "no" ; then
11462 aros_enable_mmu
="0"
11464 aros_enable_mmu
="1"
11468 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11470 if test "x-$need_dlopen" != "x-no" ; then
11471 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11472 if test "x$ac_cv_func_dlopen" = xyes
; then :
11478 if test "x-$have_dl" = "x-no" ; then
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11480 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11481 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11482 $as_echo_n "(cached) " >&6
11484 ac_check_lib_save_LIBS
=$LIBS
11486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11504 if ac_fn_c_try_link
"$LINENO"; then :
11505 ac_cv_lib_dl_dlopen
=yes
11507 ac_cv_lib_dl_dlopen
=no
11509 rm -f core conftest.err conftest.
$ac_objext \
11510 conftest
$ac_exeext conftest.
$ac_ext
11511 LIBS
=$ac_check_lib_save_LIBS
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11514 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11515 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11517 aros_host_ldflags
="$aros_host_ldflags -ldl"
11523 if test "x-$have_dl" = "x-no" ; then
11524 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
11529 # Check whether --enable-x11_hidd was given.
11530 if test "${enable_x11_hidd+set}" = set; then :
11531 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11533 x11_hidd
="$need_x11"
11536 case "x-$x11_hidd" in
11537 x-yes|x-no|x-auto
) ;;
11538 *) x11_hidd
="$need_x11" ;;
11543 if test "x-$x11_hidd" != "x-no" ; then
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11546 $as_echo_n "checking for X... " >&6; }
11549 # Check whether --with-x was given.
11550 if test "${with_x+set}" = set; then :
11554 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11555 if test "x$with_x" = xno
; then
11556 # The user explicitly disabled X.
11559 case $x_includes,$x_libraries in #(
11560 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
11561 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
11562 $as_echo_n "(cached) " >&6
11564 # One or both of the vars are not set, and there is no cached value.
11565 ac_x_includes
=no ac_x_libraries
=no
11566 rm -f -r conftest.dir
11567 if mkdir conftest.dir
; then
11569 cat >Imakefile
<<'_ACEOF'
11571 @echo incroot='${INCROOT}'
11573 @echo usrlibdir='${USRLIBDIR}'
11575 @echo libdir='${LIBDIR}'
11577 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11578 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11579 for ac_var
in incroot usrlibdir libdir
; do
11580 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11582 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11583 for ac_extension
in a so sl dylib la dll
; do
11584 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11585 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11586 ac_im_usrlibdir
=$ac_im_libdir; break
11589 # Screen out bogus values from the imake configuration. They are
11590 # bogus both because they are the default anyway, and because
11591 # using them would break gcc on systems where it needs fixed includes.
11592 case $ac_im_incroot in
11593 /usr
/include
) ac_x_includes
= ;;
11594 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11596 case $ac_im_usrlibdir in
11597 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
11598 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11602 rm -f -r conftest.dir
11605 # Standard set of common directories for X headers.
11606 # Check X11 before X11Rn because it is often a symlink to the current release.
11620 /usr/local/X11/include
11621 /usr/local/X11R7/include
11622 /usr/local/X11R6/include
11623 /usr/local/X11R5/include
11624 /usr/local/X11R4/include
11626 /usr/local/include/X11
11627 /usr/local/include/X11R7
11628 /usr/local/include/X11R6
11629 /usr/local/include/X11R5
11630 /usr/local/include/X11R4
11634 /usr/XFree86/include/X11
11638 /usr/unsupported/include
11639 /usr/athena/include
11640 /usr/local/x11r5/include
11641 /usr/lpp/Xamples/include
11643 /usr/openwin/include
11644 /usr/openwin/share/include'
11646 if test "$ac_x_includes" = no
; then
11647 # Guess where to find include files, by looking for Xlib.h.
11648 # First, try using that file with no special directory specified.
11649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11650 /* end confdefs.h. */
11651 #include <X11/Xlib.h>
11653 if ac_fn_c_try_cpp
"$LINENO"; then :
11654 # We can compile using X headers with no special include directory.
11657 for ac_dir
in $ac_x_header_dirs; do
11658 if test -r "$ac_dir/X11/Xlib.h"; then
11659 ac_x_includes
=$ac_dir
11664 rm -f conftest.err conftest.i conftest.
$ac_ext
11665 fi # $ac_x_includes = no
11667 if test "$ac_x_libraries" = no
; then
11668 # Check for the libraries.
11669 # See if we find them without any special options.
11670 # Don't add to $LIBS permanently.
11673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11675 #include <X11/Xlib.h>
11684 if ac_fn_c_try_link
"$LINENO"; then :
11686 # We can link X programs with no special library path.
11690 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11692 # Don't even attempt the hair of trying to link an X program!
11693 for ac_extension
in a so sl dylib la dll
; do
11694 if test -r "$ac_dir/libX11.$ac_extension"; then
11695 ac_x_libraries
=$ac_dir
11701 rm -f core conftest.err conftest.
$ac_objext \
11702 conftest
$ac_exeext conftest.
$ac_ext
11703 fi # $ac_x_libraries = no
11705 case $ac_x_includes,$ac_x_libraries in #(
11706 no
,* |
*,no |
*\'*)
11707 # Didn't find X, or a directory has "'" in its name.
11708 ac_cv_have_x
="have_x=no";; #(
11710 # Record where we found X for the cache.
11711 ac_cv_have_x
="have_x=yes\
11712 ac_x_includes='$ac_x_includes'\
11713 ac_x_libraries='$ac_x_libraries'"
11719 eval "$ac_cv_have_x"
11722 if test "$have_x" != yes; then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11724 $as_echo "$have_x" >&6; }
11727 # If each of the values was on the command line, it overrides each guess.
11728 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11729 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11730 # Update the cache value to reflect the command line values.
11731 ac_cv_have_x
="have_x=yes\
11732 ac_x_includes='$x_includes'\
11733 ac_x_libraries='$x_libraries'"
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11735 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11740 for path
in $x_libraries
11742 x_cflags
="$x_cflags -L$path"
11745 for path
in $x_includes
11747 x_cflags
="$x_cflags -I$path"
11750 if test "x-$no_x" = "x-yes" ; then
11752 if test "x-$x11_hidd" != "x-auto" ; then
11753 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
11757 x11_hidd_target
=kernel-x11gfx-kobj
11760 # Check whether --enable-x11_shm was given.
11761 if test "${enable_x11_shm+set}" = set; then :
11762 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11764 x11_hidd_shm
="auto"
11767 case "x-$x11_hidd_shm" in
11768 x-yes|x-no|x-auto
) ;;
11769 *) x11_hidd_shm
="auto" ;;
11774 if test "x-$x11_hidd_shm" != "x-no" ; then
11776 for ac_header
in sys
/ipc.h
11778 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
11779 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
11780 cat >>confdefs.h
<<_ACEOF
11781 #define HAVE_SYS_IPC_H 1
11788 for ac_header
in sys
/shm.h
11790 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
11791 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
11792 cat >>confdefs.h
<<_ACEOF
11793 #define HAVE_SYS_SHM_H 1
11801 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11803 save_cflags
="$CFLAGS"
11804 CFLAGS
="$CFLAGS $x_cflags"
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11806 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11807 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
11808 $as_echo_n "(cached) " >&6
11810 ac_check_lib_save_LIBS
=$LIBS
11811 LIBS
="-lXext $LIBS"
11812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11821 char XShmQueryExtension ();
11825 return XShmQueryExtension ();
11830 if ac_fn_c_try_link
"$LINENO"; then :
11831 ac_cv_lib_Xext_XShmQueryExtension
=yes
11833 ac_cv_lib_Xext_XShmQueryExtension
=no
11835 rm -f core conftest.err conftest.
$ac_objext \
11836 conftest
$ac_exeext conftest.
$ac_ext
11837 LIBS
=$ac_check_lib_save_LIBS
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11840 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11841 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
11845 CFLAGS
="$save_cflags"
11849 if test "x-$have_xshm" = "x-yes" ; then
11850 DO_XSHM_SUPPORT
="1"
11851 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11852 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
11854 DO_XSHM_SUPPORT
="0"
11858 # Check whether --enable-x11_vidmode was given.
11859 if test "${enable_x11_vidmode+set}" = set; then :
11860 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11862 x11_hidd_vidmode
="auto"
11865 case "x-$x11_hidd_vidmode" in
11866 x-yes|x-no|x-auto
) ;;
11867 *) x11_hidd_vidmode
="auto" ;;
11872 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11874 save_cflags
="$CFLAGS"
11875 CFLAGS
="$CFLAGS $x_cflags"
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11877 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11878 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
11879 $as_echo_n "(cached) " >&6
11881 ac_check_lib_save_LIBS
=$LIBS
11882 LIBS
="-lXxf86vm $LIBS"
11883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11886 /* Override any GCC internal prototype to avoid an error.
11887 Use char because int might match the return type of a GCC
11888 builtin and then its argument prototype would still apply. */
11892 char XF86VidModeQueryExtension ();
11896 return XF86VidModeQueryExtension ();
11901 if ac_fn_c_try_link
"$LINENO"; then :
11902 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11904 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11906 rm -f core conftest.err conftest.
$ac_objext \
11907 conftest
$ac_exeext conftest.
$ac_ext
11908 LIBS
=$ac_check_lib_save_LIBS
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11911 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11912 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
11916 CFLAGS
="$save_cflags"
11919 if test "x-$have_vidmode" = "x-yes" ; then
11920 DO_VIDMODE_SUPPORT
="1"
11921 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11922 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
11924 DO_VIDMODE_SUPPORT
="0"
11928 aros_host_x11_includes
=$x_includes
11929 aros_host_x11_libdirs
=$x_libraries
11933 # Check whether --enable-sdl_hidd was given.
11934 if test "${enable_sdl_hidd+set}" = set; then :
11935 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11940 case "x-$sdl_hidd" in
11941 x-yes|x-no|x-auto
) ;;
11942 *) sdl_hidd
="auto" ;;
11945 if test "x-$sdl_hidd" != "x-no" ; then
11948 # Check whether --with-sdl-prefix was given.
11949 if test "${with_sdl_prefix+set}" = set; then :
11950 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11956 # Check whether --with-sdl-exec-prefix was given.
11957 if test "${with_sdl_exec_prefix+set}" = set; then :
11958 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11963 # Check whether --enable-sdltest was given.
11964 if test "${enable_sdltest+set}" = set; then :
11965 enableval
=$enable_sdltest;
11971 if test x
$sdl_exec_prefix != x
; then
11972 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11973 if test x
${SDL_CONFIG+set} != xset
; then
11974 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11977 if test x
$sdl_prefix != x
; then
11978 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11979 if test x
${SDL_CONFIG+set} != xset
; then
11980 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11984 if test "x$prefix" != xNONE
; then
11985 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11987 # Extract the first word of "sdl-config", so it can be a program name with args.
11988 set dummy sdl-config
; ac_word
=$2
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11990 $as_echo_n "checking for $ac_word... " >&6; }
11991 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
11992 $as_echo_n "(cached) " >&6
11994 case $SDL_CONFIG in
11996 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12000 for as_dir
in $PATH
12003 test -z "$as_dir" && as_dir
=.
12004 for ac_exec_ext
in '' $ac_executable_extensions; do
12005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12006 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12014 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12018 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12019 if test -n "$SDL_CONFIG"; then
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
12021 $as_echo "$SDL_CONFIG" >&6; }
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12024 $as_echo "no" >&6; }
12028 min_sdl_version
=1.2.10
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
12030 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
12032 if test "$SDL_CONFIG" = "no" ; then
12035 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12036 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12038 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12040 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12042 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12044 if test "x$enable_sdltest" = "xyes" ; then
12045 ac_save_CFLAGS
="$CFLAGS"
12046 ac_save_CXXFLAGS
="$CXXFLAGS"
12047 ac_save_LIBS
="$LIBS"
12048 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12049 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12050 LIBS
="$LIBS $SDL_LIBS"
12052 if test "$cross_compiling" = yes; then :
12053 echo $ac_n "cross compiling; assumed OK... $ac_c"
12055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12059 #include <stdlib.h>
12060 #include <string.h>
12064 my_strdup (char *str)
12070 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12071 strcpy (new_str, str);
12079 int main (int argc, char *argv[])
12081 int major, minor, micro;
12084 /* This hangs on some systems (?)
12085 system ("touch conf.sdltest");
12087 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12089 /* HP/UX 9 (%@#!) writes to sscanf strings */
12090 tmp_version = my_strdup("$min_sdl_version");
12091 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12092 printf("%s, bad version string\n", "$min_sdl_version");
12096 if (($sdl_major_version > major) ||
12097 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12098 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12104 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12105 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12106 printf("*** best to upgrade to the required version.\n");
12107 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12108 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12109 printf("*** config.cache before re-running configure\n");
12116 if ac_fn_c_try_run
"$LINENO"; then :
12121 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12122 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12125 CFLAGS
="$ac_save_CFLAGS"
12126 CXXFLAGS
="$ac_save_CXXFLAGS"
12127 LIBS
="$ac_save_LIBS"
12130 if test "x$no_sdl" = x
; then
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12132 $as_echo "yes" >&6; }
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12136 $as_echo "no" >&6; }
12137 if test "$SDL_CONFIG" = "no" ; then
12138 echo "*** The sdl-config script installed by SDL could not be found"
12139 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12140 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12141 echo "*** full path to sdl-config."
12143 if test -f conf.sdltest
; then
12146 echo "*** Could not run SDL test program, checking why..."
12147 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12148 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12149 LIBS
="$LIBS $SDL_LIBS"
12150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12156 int main(int argc, char *argv[])
12159 #define main K_and_R_C_main
12169 if ac_fn_c_try_link
"$LINENO"; then :
12170 echo "*** The test program compiled, but did not run. This usually means"
12171 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12172 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12173 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12174 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12175 echo "*** is required on your system"
12177 echo "*** If you have an old version installed, it is best to remove it, although"
12178 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12180 echo "*** The test program failed to compile or link. See the file config.log for the"
12181 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12182 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12183 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12185 rm -f core conftest.err conftest.
$ac_objext \
12186 conftest
$ac_exeext conftest.
$ac_ext
12187 CFLAGS
="$ac_save_CFLAGS"
12188 CXXFLAGS
="$ac_save_CXXFLAGS"
12189 LIBS
="$ac_save_LIBS"
12201 if test "x-$have_sdl" != "x-yes" ; then
12203 if test "x-$sdl_hidd" != "x-auto" ; then
12204 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
12208 sdl_hidd_target
=kernel-hidd-sdl
12209 aros_host_sdl_cflags
=SDL_CFLAGS
12210 aros_host_sdl_libs
=SDL_LIBS
12214 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12215 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12220 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
12221 oss_library_target
=workbench-libs-oss-unix
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
12227 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12228 # Check whether --enable-dbus was given.
12229 if test "${enable_dbus+set}" = set; then :
12230 enableval
=$enable_dbus; dbus
="yes"
12235 if test "$dbus" = "yes" ; then
12237 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12238 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12239 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12240 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
12245 $as_echo "$dbus" >&6; }
12247 if test "$use_kernel_cc_wrapper" = "yes" ; then
12248 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
12251 if test "${crosstools}" != "yes" ; then
12252 aros_target_toolchain
=no
12254 aros_target_toolchain
=yes
12270 # Compatability with other Amiga-like operation systems
12365 # Delinting target compiler flags
12389 # Native version related
12392 # Palm native version related
12398 # Unix/Hosted version related
12404 # Apple iOS related
12429 # Collect-aros stuff: "-ius" to ignore undefined symbols
12432 # C compiler related
12435 case "$aros_flavour" in
12436 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12437 aros_flavour
="emulation" ;;
12438 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12439 aros_flavour
="emulation" ;;
12440 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12441 aros_flavour
="standalone";;
12442 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12443 aros_flavour
="standalone";;
12444 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12445 aros_flavour
="native" ;;
12446 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12447 aros_flavour
="native" ;;
12448 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12449 aros_flavour
="linklib" ;;
12450 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12451 aros_flavour
="palmnative" ;;
12452 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12453 aros_flavour
="mac68knative" ;;
12454 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12455 aros_flavour
="ppcnative" ;;
12458 if test ! -d ${aros_inc_dir} ; then
12459 ${MKDIR} ${aros_inc_dir}
12461 if test ! -d ${aros_geninc_dir} ; then
12462 ${MKDIR} ${aros_geninc_dir}
12464 if test ! -d ${aros_hostcfg_dir} ; then
12465 ${MKDIR} ${aros_hostcfg_dir}
12467 if test ! -d ${aros_targetcfg_dir} ; then
12468 ${MKDIR} ${aros_targetcfg_dir}
12470 if test ! -d ${aros_tools_dir} ; then
12471 ${MKDIR} ${aros_tools_dir}
12473 if test ! -d ${aros_scripts_dir} ; then
12474 ${MKDIR} ${aros_scripts_dir}
12477 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12480 ac_config_commands
="$ac_config_commands compiler_executable"
12482 ac_config_commands
="$ac_config_commands genmf_executable"
12485 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"
12488 cat >confcache
<<\_ACEOF
12489 # This file is a shell script that caches the results of configure
12490 # tests run on this system so they can be shared between configure
12491 # scripts and configure runs, see configure's option --config-cache.
12492 # It is not useful on other systems. If it contains results you don't
12493 # want to keep, you may remove or edit it.
12495 # config.status only pays attention to the cache file if you give it
12496 # the --recheck option to rerun configure.
12498 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12499 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12500 # following values.
12504 # The following way of writing the cache mishandles newlines in values,
12505 # but we know of no workaround that is simple, portable, and efficient.
12506 # So, we kill variables containing newlines.
12507 # Ultrix sh set writes to stderr and can't be redirected directly,
12508 # and sets the high bit in the cache file unless we assign to the vars.
12510 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12511 eval ac_val
=\$
$ac_var
12515 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12516 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12519 _ | IFS | as_nl
) ;; #(
12520 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12521 *) { eval $ac_var=; unset $ac_var;} ;;
12527 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12528 *${as_nl}ac_space
=\
*)
12529 # `set' does not quote correctly, so add quotes: double-quote
12530 # substitution turns \\\\ into \\, and sed turns \\ into \.
12533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12536 # `set' quotes correctly as required by POSIX, so do not add quotes.
12537 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12546 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12548 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12550 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12551 if test -w "$cache_file"; then
12552 if test "x$cache_file" != "x/dev/null"; then
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12554 $as_echo "$as_me: updating cache $cache_file" >&6;}
12555 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12556 cat confcache
>"$cache_file"
12558 case $cache_file in #(
12560 mv -f confcache
"$cache_file"$$
&&
12561 mv -f "$cache_file"$$
"$cache_file" ;; #(
12563 mv -f confcache
"$cache_file" ;;
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12569 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12574 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12575 # Let make expand exec_prefix.
12576 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12578 DEFS
=-DHAVE_CONFIG_H
12583 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12584 # 1. Remove the extension, and $U if already installed.
12585 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12586 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12587 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12588 # will be set to the directory where LIBOBJS objects are built.
12589 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12590 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12592 LIBOBJS
=$ac_libobjs
12594 LTLIBOBJS
=$ac_ltlibobjs
12598 : "${CONFIG_STATUS=./config.status}"
12600 ac_clean_files_save
=$ac_clean_files
12601 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12603 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12605 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12607 # Generated by $as_me.
12608 # Run this file to recreate the current configuration.
12609 # Compiler output produced by configure, useful for debugging
12610 # configure, is in config.log if it exists.
12613 ac_cs_recheck=false
12616 SHELL=\${CONFIG_SHELL-$SHELL}
12619 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12620 ## -------------------- ##
12621 ## M4sh Initialization. ##
12622 ## -------------------- ##
12624 # Be more Bourne compatible
12625 DUALCASE
=1; export DUALCASE
# for MKS sh
12626 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12629 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12630 # is contrary to our usage. Disable this feature.
12631 alias -g '${1+"$@"}'='"$@"'
12632 setopt NO_GLOB_SUBST
12634 case `(set -o) 2>/dev/null` in #(
12646 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12647 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12649 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12650 # Prefer a ksh shell builtin over an external printf program on Solaris,
12651 # but without wasting forks for bash or zsh.
12652 if test -z "$BASH_VERSION$ZSH_VERSION" \
12653 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12654 as_echo='print
-r --'
12655 as_echo_n='print
-rn --'
12656 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12657 as_echo='printf %s
\n'
12658 as_echo_n='printf %s
'
12660 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12661 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12662 as_echo_n='/usr
/ucb
/echo -n'
12664 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12665 as_echo_n_body='eval
12669 expr "X$arg" : "X\\(.*\\)$as_nl";
12670 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12672 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12674 export as_echo_n_body
12675 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12677 export as_echo_body
12678 as_echo='sh
-c $as_echo_body as_echo
'
12681 # The user is always right.
12682 if test "${PATH_SEPARATOR+set}" != set; then
12684 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12685 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12692 # We need space, tab and new line, in precisely that order. Quoting is
12693 # there to prevent editors from complaining about space-tab.
12694 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12695 # splitting by setting IFS to empty value.)
12698 # Find who we are. Look in the path if we contain no directory separator.
12701 *[\\/]* ) as_myself=$0 ;;
12702 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12703 for as_dir in $PATH
12706 test -z "$as_dir" && as_dir=.
12707 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12713 # We did not find ourselves, most probably we were run as `sh COMMAND'
12714 # in which case we are not to be found in the path.
12715 if test "x$as_myself" = x
; then
12718 if test ! -f "$as_myself"; then
12719 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12723 # Unset variables that we do not need and which cause bugs (e.g. in
12724 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12725 # suppresses any "Segmentation fault" message there. '((' could
12726 # trigger a bug in pdksh 5.2.14.
12727 for as_var
in BASH_ENV ENV MAIL MAILPATH
12728 do eval test x\
${$as_var+set} = xset \
12729 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12742 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12745 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12746 # ----------------------------------------
12747 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12748 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12749 # script with STATUS, using 1 if that was 0.
12752 as_status
=$1; test $as_status -eq 0 && as_status
=1
12754 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12755 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12757 $as_echo "$as_me: error: $2" >&2
12758 as_fn_exit
$as_status
12762 # as_fn_set_status STATUS
12763 # -----------------------
12764 # Set $? to STATUS, without forking.
12765 as_fn_set_status
()
12768 } # as_fn_set_status
12770 # as_fn_exit STATUS
12771 # -----------------
12772 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12776 as_fn_set_status
$1
12782 # Portably unset VAR.
12785 { eval $1=; unset $1;}
12787 as_unset
=as_fn_unset
12788 # as_fn_append VAR VALUE
12789 # ----------------------
12790 # Append the text in VALUE to the end of the definition contained in VAR. Take
12791 # advantage of any shell optimizations that allow amortized linear growth over
12792 # repeated appends, instead of the typical quadratic growth present in naive
12794 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12795 eval 'as_fn_append ()
12806 # as_fn_arith ARG...
12807 # ------------------
12808 # Perform arithmetic evaluation on the ARGs, and store the result in the
12809 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12810 # must be portable across $(()) and expr.
12811 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12812 eval 'as_fn_arith ()
12819 as_val
=`expr "$@" || test $? -eq 1`
12824 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12825 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12831 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12832 as_basename
=basename
12837 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12843 as_me
=`$as_basename -- "$0" ||
12844 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12845 X"$0" : 'X\(//\)$' \| \
12846 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12848 sed '/^.*\/\([^/][^/]*\)\/*$/{
12862 # Avoid depending upon Character Ranges.
12863 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12864 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12865 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12866 as_cr_digits
='0123456789'
12867 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12869 ECHO_C
= ECHO_N
= ECHO_T
=
12870 case `echo -n x` in #(((((
12872 case `echo 'xy\c'` in
12873 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12875 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12882 rm -f conf$$ conf$$.exe conf$$.
file
12883 if test -d conf$$.dir
; then
12884 rm -f conf$$.dir
/conf$$.
file
12887 mkdir conf$$.dir
2>/dev
/null
12889 if (echo >conf$$.
file) 2>/dev
/null
; then
12890 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12892 # ... but there are two gotchas:
12893 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12894 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12895 # In both cases, we have to default to `cp -p'.
12896 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12898 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12906 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12907 rmdir conf$$.dir
2>/dev
/null
12912 # Create "$as_dir" as a directory, including parents if necessary.
12917 -*) as_dir
=.
/$as_dir;;
12919 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12923 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12924 *) as_qdir
=$as_dir;;
12926 as_dirs
="'$as_qdir' $as_dirs"
12927 as_dir
=`$as_dirname -- "$as_dir" ||
12928 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12929 X"$as_dir" : 'X\(//\)[^/]' \| \
12930 X"$as_dir" : 'X\(//\)$' \| \
12931 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12932 $as_echo X"$as_dir" |
12933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12937 /^X\(\/\/\)[^/].*/{
12950 test -d "$as_dir" && break
12952 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12953 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12957 if mkdir
-p .
2>/dev
/null
; then
12958 as_mkdir_p
='mkdir -p "$as_dir"'
12960 test -d .
/-p && rmdir .
/-p
12964 if test -x / >/dev
/null
2>&1; then
12965 as_test_x
='test -x'
12967 if ls -dL / >/dev
/null
2>&1; then
12974 if test -d "$1"; then
12980 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12981 ???[sx]*):;;*)false;;esac;fi
12985 as_executable_p
=$as_test_x
12987 # Sed expression to map a string onto a valid CPP name.
12988 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12990 # Sed expression to map a string onto a valid variable name.
12991 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12995 ## ----------------------------------- ##
12996 ## Main body of $CONFIG_STATUS script. ##
12997 ## ----------------------------------- ##
12999 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13002 # Save the log message, to keep $0 and so on meaningful, and to
13003 # report actual input values of CONFIG_FILES etc. instead of their
13004 # values after options handling.
13006 This file was extended by $as_me, which was
13007 generated by GNU Autoconf 2.68. Invocation command line was
13009 CONFIG_FILES = $CONFIG_FILES
13010 CONFIG_HEADERS = $CONFIG_HEADERS
13011 CONFIG_LINKS = $CONFIG_LINKS
13012 CONFIG_COMMANDS = $CONFIG_COMMANDS
13015 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13020 case $ac_config_files in *"
13021 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13024 case $ac_config_headers in *"
13025 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13030 # Files that config.status was made for.
13031 config_files="$ac_config_files"
13032 config_headers="$ac_config_headers"
13033 config_commands="$ac_config_commands"
13037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13039 \`$as_me' instantiates files and other configuration actions
13040 from templates according to the current configuration. Unless the files
13041 and actions are specified as TAGs, all are instantiated by default.
13043 Usage: $0 [OPTION]... [TAG]...
13045 -h, --help print this help, then exit
13046 -V, --version print version number and configuration settings, then exit
13047 --config print configuration, then exit
13048 -q, --quiet, --silent
13049 do not print progress messages
13050 -d, --debug don't remove temporary files
13051 --recheck update $as_me by reconfiguring in the same conditions
13052 --file=FILE[:TEMPLATE]
13053 instantiate the configuration file FILE
13054 --header=FILE[:TEMPLATE]
13055 instantiate the configuration header FILE
13057 Configuration files:
13060 Configuration headers:
13063 Configuration commands:
13066 Report bugs to the package provider."
13069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13070 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13073 configured by $0, generated by GNU Autoconf 2.68,
13074 with options \\"\$ac_cs_config\\"
13076 Copyright (C) 2010 Free Software Foundation, Inc.
13077 This config.status script is free software; the Free Software Foundation
13078 gives unlimited permission to copy, distribute and modify it."
13082 test -n "\$AWK" || AWK=awk
13085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13086 # The default lists apply if the user does not specify any file.
13092 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13093 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13097 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13109 # Handling of the options.
13110 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13112 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13113 $as_echo "$ac_cs_version"; exit ;;
13114 --config |
--confi |
--conf |
--con |
--co |
--c )
13115 $as_echo "$ac_cs_config"; exit ;;
13116 --debug |
--debu |
--deb |
--de |
--d |
-d )
13118 --file |
--fil |
--fi |
--f )
13121 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13122 '') as_fn_error $?
"missing file argument" ;;
13124 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13125 ac_need_defaults
=false
;;
13126 --header |
--heade |
--head |
--hea )
13129 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13131 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13132 ac_need_defaults
=false
;;
13134 # Conflict between --help and --header
13135 as_fn_error $?
"ambiguous option: \`$1'
13136 Try \`$0 --help' for more information.";;
13137 --help |
--hel |
-h )
13138 $as_echo "$ac_cs_usage"; exit ;;
13139 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13140 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13143 # This is an error.
13144 -*) as_fn_error $?
"unrecognized option: \`$1'
13145 Try \`$0 --help' for more information." ;;
13147 *) as_fn_append ac_config_targets
" $1"
13148 ac_need_defaults
=false
;;
13154 ac_configure_extra_args
=
13156 if $ac_cs_silent; then
13158 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13163 if \$ac_cs_recheck; then
13164 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13166 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13167 CONFIG_SHELL='$SHELL'
13168 export CONFIG_SHELL
13173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13177 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13178 ## Running $as_me. ##
13184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13189 aros_host_exe_suffix=${aros_host_exe_suffix}
13190 aros_tools_dir=${aros_tools_dir}
13191 aros_target_cpu=${aros_target_cpu}
13192 aros_target_arch=${aros_target_arch}
13193 aros_target_suffix=${aros_target_suffix}
13194 orig_target_nm=${orig_target_nm}
13195 orig_target_as=${orig_target_as}
13196 orig_target_ar=${orig_target_ar}
13197 orig_target_ranlib=${orig_target_ranlib}
13198 orig_target_objdump=${orig_target_objdump}
13199 orig_target_objcopy=${orig_target_objcopy}
13200 orig_target_strip=${orig_target_strip}
13201 aros_kernel_ld=${aros_kernel_ld}
13204 aros_tools_dir=${aros_tools_dir}
13209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13211 # Handling of arguments.
13212 for ac_config_target
in $ac_config_targets
13214 case $ac_config_target in
13215 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13216 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13217 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13218 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13219 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13220 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13221 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13222 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13223 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13224 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13225 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13226 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13227 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
13228 "${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" ;;
13229 "${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" ;;
13230 "${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" ;;
13231 "${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" ;;
13232 "${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" ;;
13233 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13234 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13235 "${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" ;;
13237 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13242 # If the user did not use the arguments to specify the items to instantiate,
13243 # then the envvar interface is used. Set only those that are not.
13244 # We use the long form for the default assignment because of an extremely
13245 # bizarre bug on SunOS 4.1.3.
13246 if $ac_need_defaults; then
13247 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13248 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13249 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13252 # Have a temporary directory for convenience. Make it in the build tree
13253 # simply because there is no reason against having it here, and in addition,
13254 # creating and moving files from /tmp can sometimes cause problems.
13255 # Hook for its removal unless debugging.
13256 # Note that there is a small window in which the directory will not be cleaned:
13257 # after its creation but before its name has been assigned to `$tmp'.
13261 trap 'exit_status=$?
13262 : "${ac_tmp:=$tmp}"
13263 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13265 trap 'as_fn_exit 1' 1 2 13 15
13267 # Create a (secure) tmp directory for tmp files.
13270 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13274 tmp
=.
/conf$$
-$RANDOM
13275 (umask 077 && mkdir
"$tmp")
13276 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13279 # Set up the scripts for CONFIG_FILES section.
13280 # No need to generate them if there are no CONFIG_FILES.
13281 # This happens for instance with `./config.status config.h'.
13282 if test -n "$CONFIG_FILES"; then
13285 ac_cr
=`echo X | tr X '\015'`
13286 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13287 # But we know of no other shell where ac_cr would be empty at this
13288 # point, so we can use a bashism as a fallback.
13289 if test "x$ac_cr" = x
; then
13290 eval ac_cr
=\$
\'\\r
\'
13292 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13293 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13296 ac_cs_awk_cr
=$ac_cr
13299 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13304 echo "cat >conf$$subs.awk <<_ACEOF" &&
13305 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13307 } >conf$$subs.sh ||
13308 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13309 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13311 for ac_last_try in false false false false false :; do
13312 . ./conf$$subs.sh ||
13313 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13315 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13316 if test $ac_delim_n = $ac_delim_num; then
13318 elif $ac_last_try; then
13319 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13321 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13324 rm -f conf$$subs.sh
13326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13327 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13331 s/^/S["/; s
/!.
*/"]=/
13341 s/\(.\{148\}\)..*/\1/
13343 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13348 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13355 s/\(.\{148\}\)..*/\1/
13357 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13361 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13366 ' <conf$$subs.awk | sed '
13371 ' >>$CONFIG_STATUS || ac_write_fail=1
13372 rm -f conf$$subs.awk
13373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13375 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13376 for (key in S) S_is_set[key] = 1
13382 nfields = split(line, field, "@
")
13384 len = length(field[1])
13385 for (i = 2; i < nfields; i++) {
13387 keylen = length(key)
13388 if (S_is_set[key]) {
13390 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13391 len += length(value) + length(field[++i])
13402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13403 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13404 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13407 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13408 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13411 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13412 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13413 # trailing colons and then remove the whole line if VPATH becomes empty
13414 # (actually we leave an empty line to preserve line numbers).
13415 if test "x
$srcdir" = x.; then
13416 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13435 fi # test -n "$CONFIG_FILES"
13437 # Set up the scripts for CONFIG_HEADERS section.
13438 # No need to generate them if there are no CONFIG_HEADERS.
13439 # This happens for instance with `./config.status Makefile'.
13440 if test -n "$CONFIG_HEADERS"; then
13441 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13445 # Transform confdefs.h into an awk script `defines.awk', embedded as
13446 # here-document in config.status, that substitutes the proper values into
13447 # config.h.in to produce config.h.
13449 # Create a delimiter string that does not exist in confdefs.h, to ease
13450 # handling of long lines.
13452 for ac_last_try in false false :; do
13453 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13454 if test -z "$ac_tt"; then
13456 elif $ac_last_try; then
13457 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13459 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13463 # For the awk script, D is an array of macro values keyed by name,
13464 # likewise P contains macro parameters if any. Preserve backslash
13465 # newline sequences.
13467 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13469 s/.\{148\}/&'"$ac_delim"'/g
13472 s/^[ ]*#[ ]*define[ ][ ]*/ /
13479 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13481 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13485 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13486 D["\
1"]=" \
3\\\\\\n
"\\/p
13488 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13493 s/.\{148\}/&'"$ac_delim"'/g
13498 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13501 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13503 ' <confdefs.h | sed '
13504 s/'"$ac_delim"'/"\\\
13505 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13508 for (key in D) D_is_set[key] = 1
13511 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13513 split(line, arg, " ")
13514 if (arg[1] == "#") {
13518 defundef
= substr
(arg
[1], 2)
13521 split(mac1
, mac2
, "(") #)
13523 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13524 if (D_is_set
[macro
]) {
13525 # Preserve the white space surrounding the "#".
13526 print prefix
"define", macro P
[macro
] D
[macro
]
13529 # Replace #undef with comments. This is necessary, for example,
13530 # in the case of _POSIX_SOURCE, which is predefined and required
13531 # on some systems where configure will not decide to define it.
13532 if (defundef
== "undef") {
13533 print
"/*", prefix defundef
, macro
, "*/"
13541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13542 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13543 fi # test -n "$CONFIG_HEADERS"
13546 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13551 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13553 case $ac_mode$ac_tag in
13555 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13556 :[FH
]-) ac_tag
=-:-;;
13557 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13574 -) ac_f
="$ac_tmp/stdin";;
13575 *) # Look for the file first in the build tree, then in the source tree
13576 # (if the path is not absolute). The absolute path cannot be DOS-style,
13577 # because $ac_f cannot contain `:'.
13581 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13583 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13585 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13586 as_fn_append ac_file_inputs
" '$ac_f'"
13589 # Let's still pretend it is `configure' which instantiates (i.e., don't
13590 # use $as_me), people would be surprised to read:
13591 # /* config.h. Generated by config.status. */
13592 configure_input
='Generated from '`
13593 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13595 if test x
"$ac_file" != x-
; then
13596 configure_input
="$ac_file. $configure_input"
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13598 $as_echo "$as_me: creating $ac_file" >&6;}
13600 # Neutralize special characters interpreted by sed in replacement strings.
13601 case $configure_input in #(
13602 *\
&* |
*\|
* |
*\\* )
13603 ac_sed_conf_input
=`$as_echo "$configure_input" |
13604 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13605 *) ac_sed_conf_input
=$configure_input;;
13609 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13610 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13615 ac_dir
=`$as_dirname -- "$ac_file" ||
13616 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13617 X"$ac_file" : 'X\(//\)[^/]' \| \
13618 X"$ac_file" : 'X\(//\)$' \| \
13619 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13620 $as_echo X"$ac_file" |
13621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13625 /^X\(\/\/\)[^/].*/{
13638 as_dir
="$ac_dir"; as_fn_mkdir_p
13642 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13644 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13645 # A ".." for each directory in $ac_dir_suffix.
13646 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13647 case $ac_top_builddir_sub in
13648 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13649 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13652 ac_abs_top_builddir
=$ac_pwd
13653 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13654 # for backward compatibility:
13655 ac_top_builddir
=$ac_top_build_prefix
13658 .
) # We are building in place.
13660 ac_top_srcdir
=$ac_top_builddir_sub
13661 ac_abs_top_srcdir
=$ac_pwd ;;
13662 [\\/]* | ?
:[\\/]* ) # Absolute name.
13663 ac_srcdir
=$srcdir$ac_dir_suffix;
13664 ac_top_srcdir
=$srcdir
13665 ac_abs_top_srcdir
=$srcdir ;;
13666 *) # Relative name.
13667 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13668 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13669 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13671 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13683 # If the template does not know about datarootdir, expand it.
13684 # FIXME: This hack should be removed a few years after 2.60.
13685 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13696 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13697 *datarootdir
*) ac_datarootdir_seen
=yes;;
13698 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13700 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13703 ac_datarootdir_hack='
13704 s&@datadir@&$datadir&g
13705 s&@docdir@&$docdir&g
13706 s&@infodir@&$infodir&g
13707 s&@localedir@&$localedir&g
13708 s&@mandir@&$mandir&g
13709 s&\\\${datarootdir}&$datarootdir&g' ;;
13713 # Neutralize VPATH when `$srcdir' = `.'.
13714 # Shell code in configure.ac might set extrasub.
13715 # FIXME: do we really want to maintain this feature?
13716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13717 ac_sed_extra="$ac_vpsub
13720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13722 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13723 s|@configure_input@|
$ac_sed_conf_input|
;t t
13724 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13725 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13726 s
&@srcdir@
&$ac_srcdir&;t t
13727 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13728 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13729 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13730 s
&@builddir@
&$ac_builddir&;t t
13731 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13732 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13733 $ac_datarootdir_hack
13735 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13736 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13738 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13739 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13740 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13741 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13743 which seems to be undefined. Please make sure it is defined" >&5
13744 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13745 which seems to be undefined. Please make sure it is defined" >&2;}
13747 rm -f "$ac_tmp/stdin"
13749 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13750 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13752 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13758 if test x"$ac_file" != x-; then
13760 $as_echo "/* $configure_input */" \
13761 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13762 } >"$ac_tmp/config.h" \
13763 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13764 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13766 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13769 mv "$ac_tmp/config.h" "$ac_file" \
13770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13773 $as_echo "/* $configure_input */" \
13774 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13775 || as_fn_error $? "could not create -" "$LINENO" 5
13779 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13780 $as_echo "$as_me: executing $ac_file commands" >&6;}
13785 case $ac_file$ac_mode in
13786 "compiler_executable":C)
13787 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13789 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13790 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
13794 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
13796 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
13797 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
13798 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
13799 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
13800 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
13801 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
13802 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
13804 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
13806 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
13814 ac_clean_files=$ac_clean_files_save
13816 test $ac_write_fail = 0 ||
13817 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13820 # configure is writing to config.log, and then calls config.status.
13821 # config.status does its own redirection, appending to config.log.
13822 # Unfortunately, on DOS this fails, as config.log is still kept open
13823 # by configure, so config.status won't be able to
write to it
; its
13824 # output is simply discarded. So we exec the FD to /dev/null,
13825 # effectively closing config.log, so it can be properly (re)opened and
13826 # appended to by config.status. When coming back to configure, we
13827 # need to make the FD available again.
13828 if test "$no_create" != yes; then
13830 ac_config_status_args
=
13831 test "$silent" = yes &&
13832 ac_config_status_args
="$ac_config_status_args --quiet"
13834 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13836 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13837 # would make configure fail if this is the last instruction.
13838 $ac_cs_success || as_fn_exit
1
13840 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13842 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13847 #XXX compatability...
13848 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13850 if test -n "$aros_shared_cflags" ; then
13851 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13852 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg