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"
7750 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7753 case "$aros_target_variant" in
7756 if test "$android_ndk_arch" = ""; then
7757 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7760 aros_default_wbwidth
=320
7761 aros_default_wbheight
=480
7762 if test "$aros_android_ndk" = "none"; then
7763 aros_kernel_cflags
="-mandroid"
7764 aros_kernel_ldflags
="-mandroid"
7767 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7768 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7769 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7770 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7771 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7772 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7775 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7776 # Disable implicit PIC mode
7777 aros_kernel_cflags
="$aros_kernel_cflags -fno-pic"
7778 aros_target_cflags
="$aros_target_cflags -fno-pic"
7779 kernel_tool_prefix
="$android_tool_prefix-"
7785 aros_target_arch
="pc"
7786 aros_shared_default
="no"
7787 target_bootloader
="grub2"
7788 case "$target_cpu" in
7790 aros_target_cpu
="i386"
7793 if test "$aros_object_format" = "" ; then
7794 aros_object_format
="elf_i386"
7796 aros_flavour
="standalone"
7797 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7798 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7799 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7800 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7801 aros_config_ldflags
="-m32 -march=i486"
7802 aros_kernel_ldflags
="-melf_i386"
7803 aros_default_wbwidth
=640
7804 aros_default_wbheight
=480
7805 gcc_target_cpu
="i386"
7808 aros_target_cpu
="x86_64"
7810 if test "$aros_object_format" = "" ; then
7811 aros_object_format
="elf_x86_64"
7813 aros_flavour
="standalone"
7814 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7815 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7816 aros_kernel_ldflags
=""
7817 aros_default_wbwidth
=640
7818 aros_default_wbheight
=480
7821 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7827 aros_target_arch
="prep"
7828 aros_shared_default
="no"
7829 aros_target_cpu
="ppc"
7830 aros_object_format
="elf32ppc"
7831 aros_flavour
="ppcnative"
7832 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7833 aros_kernel_ldflags
=""
7834 aros_default_wbwidth
=640
7835 aros_default_wbheight
=480
7836 gcc_target_cpu
="ppc"
7840 aros_target_arch
="freebsd"
7841 aros_target_family
="unix"
7842 aros_target_cpu
="i386"
7843 aros_flavour
="emulation"
7844 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7845 gcc_target_cpu
="i386"
7847 aros_target_strip_flags
="-x"
7851 aros_target_arch
="darwin"
7852 aros_target_family
="unix"
7853 aros_flavour
="emulation"
7854 case "$target_cpu" in
7856 aros_ios_platform
="iPhoneSimulator"
7857 aros_target_cpu
="i386"
7858 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7859 aros_kernel_ldflags
=""
7860 aros_macosx_version
="10.4"
7861 aros_default_wbdepth
=8
7862 gcc_target_cpu
="i386"
7863 aros_object_format
="elf_i386"
7864 aros_kernel_ar_flags
="-cr"
7865 aros_target_strip_flags
="-x"
7866 kernel_tool_flags
="-m32"
7869 aros_target_cpu
="x86_64"
7870 aros_object_format
="elf_x86_64"
7871 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7872 aros_macosx_version
="10.6"
7873 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7874 aros_kernel_cflags
="-m64"
7875 aros_kernel_ldflags
="-m64"
7876 aros_target_cflags
="-mcmodel=large"
7877 aros_default_wbdepth
=8
7879 aros_kernel_ar_flags
="-cr"
7881 aros_kernel_ranlib
="ranlib"
7884 aros_target_cpu
="ppc"
7885 aros_object_format
="elf32ppc"
7886 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7887 aros_kernel_ldflags
=""
7888 aros_macosx_version
="10.0"
7889 aros_default_wbdepth
=8
7890 gcc_target_cpu
="ppc"
7892 aros_kernel_ar_flags
="-cr"
7893 aros_kernel_ld
="ld -arch ppc"
7894 aros_kernel_ranlib
="ranlib -arch ppc"
7895 kernel_tool_prefix
="powerpc-apple-darwin10-"
7898 aros_ios_platform
="iPhoneOS"
7899 aros_target_cpu
="arm"
7900 aros_object_format
="armelf_linux_eabi"
7901 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7902 aros_arch_libs
="-laeabi"
7903 aros_default_wbdepth
=8
7904 gcc_target_cpu
="arm"
7906 aros_kernel_ar_flags
="-cr"
7907 aros_kernel_ld
="ld -arch arm"
7908 aros_kernel_ranlib
="ranlib -arch arm"
7909 kernel_tool_prefix
="arm-apple-darwin10-"
7910 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7913 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7916 case "$aros_target_variant" in
7918 aros_ios_version
="3.0"
7919 aros_default_wbwidth
=320
7920 aros_default_wbheight
=480
7921 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7922 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7923 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7925 # This is here because it may depend on iOS or SDK version
7926 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7927 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7928 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7931 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7932 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7938 aros_target_arch
="dragonfly"
7939 aros_target_family
="unix"
7940 aros_flavour
="emulation"
7941 case "$target_cpu" in
7943 aros_target_cpu
="i386"
7944 aros_object_format
="elf_i386"
7945 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7948 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7949 aros_target_cpu
="x86_64"
7950 aros_object_format
="elf_x86_64"
7951 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7954 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7960 aros_target_arch
="netbsd"
7961 aros_target_family
="unix"
7962 case "$target_cpu" in
7964 aros_target_cpu
="m68k"
7965 aros_object_format
="m68kelf"
7966 aros_flavour
="emulcompat"
7967 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7968 gcc_target_cpu
="mc68000"
7971 aros_target_cpu
="i386"
7972 aros_object_format
="elf_i386"
7973 aros_flavour
="emulation"
7974 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7975 aros_default_wbdepth
=8
7976 gcc_target_cpu
="i386"
7979 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7982 aros_target_genmap
="-Wl,-M -Xlinker >"
7983 aros_flavour
="emulation"
7984 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7988 aros_target_arch
="openbsd"
7989 aros_target_family
="unix"
7990 case "$target_cpu" in
7992 aros_target_cpu
="i386"
7993 aros_object_format
="elf_i386"
7994 aros_flavour
="emulation"
7995 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7996 gcc_target_cpu
="i386"
7999 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8002 aros_target_genmap
="-Wl,-M -Xlinker >"
8003 aros_target_nm_flags
="-u"
8004 aros_flavour
="emulation"
8008 aros_target_arch
="solaris"
8009 aros_target_family
="unix"
8010 case "$target_cpu" in
8012 aros_target_cpu
="i386"
8013 aros_object_format
="elf_i386"
8014 aros_flavour
="emulation"
8015 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8016 aros_default_wbdepth
=8
8017 gcc_target_cpu
="i386"
8020 aros_target_cpu
="sparc"
8021 aros_object_format
="elf_sparc"
8022 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8023 gcc_target_cpu
="sparc"
8026 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8029 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8030 aros_flavour
="emulation"
8034 aros_target_arch
="morphos"
8035 aros_shared_default
="no"
8036 aros_target_cpu
="ppc"
8037 aros_object_format
="elf_ppc"
8038 aros_flavour
="nativecompat"
8039 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8040 gcc_target_cpu
="ppc"
8044 aros_target_arch
="sam440"
8045 aros_shared_default
="no"
8046 aros_target_cpu
="ppc"
8047 aros_object_format
="elf32ppc"
8048 aros_flavour
="ppcnative"
8049 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8050 aros_kernel_ldflags
=""
8051 aros_default_wbwidth
=1024
8052 aros_default_wbheight
=768
8053 aros_default_wbdepth
=24
8054 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8055 gcc_target_cpu
="powerpc"
8059 aros_target_arch
="efika"
8060 aros_shared_default
="no"
8061 aros_target_cpu
="arm"
8062 aros_object_format
="armelf_linux_eabi"
8063 aros_flavour
="standalone"
8064 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8065 aros_kernel_ldflags
=""
8066 aros_default_wbwidth
=1024
8067 aros_default_wbheight
=600
8068 aros_arch_libs
="-laeabi"
8069 gcc_default_cpu
="armv7-a"
8070 gcc_default_fpu
="vfpv3"
8071 gcc_default_float_abi
="softfp"
8072 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8073 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8077 aros_target_arch
="chrp"
8078 aros_shared_default
="no"
8079 aros_target_cpu
="ppc"
8080 aros_object_format
="elf32ppc"
8081 aros_flavour
="ppcnative"
8082 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8083 aros_kernel_ldflags
=""
8084 aros_default_wbwidth
=640
8085 aros_default_wbheight
=480
8086 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8087 gcc_target_cpu
="powerpc"
8088 case "$aros_target_variant" in
8090 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8096 aros_target_arch
="amiga"
8097 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8098 aros_shared_default
="no"
8100 case "$target_cpu" in
8102 # Check whether --enable-amigaos_compliance was given.
8103 if test "${enable_amigaos_compliance+set}" = set; then :
8104 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8108 aros_target_cpu
="m68k"
8109 aros_object_format
="m68kelf"
8110 aros_flavour
="standcompat"
8111 gcc_target_cpu
="m68000"
8112 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
8113 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
8114 # Needed to get the correct multilib
8115 aros_config_ldflags
="-${gcc_target_cpu}"
8116 aros_shared_ldflags
="-${gcc_target_cpu}"
8117 aros_kernel_ldflags
="-${gcc_target_cpu}"
8118 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
8119 aros_target_strip_flags
="-R.comment --strip-debug"
8120 aros_default_wbwidth
=640
8121 aros_default_wbheight
=256
8122 aros_default_wbdepth
=2
8126 aros_flavour
="native"
8127 gcc_target_cpu
="ppc"
8130 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8136 aros_target_arch
="mingw32"
8137 aros_shared_default
="no"
8138 aros_flavour
="emulation"
8139 aros_shared_cflags
=""
8142 case "$target_cpu" in
8144 aros_target_cpu
="i386"
8145 aros_object_format
="elf_i386"
8146 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8147 aros_default_wbdepth
=8
8148 gcc_target_cpu
="i386"
8150 kernel_tool_prefix
="i386-mingw32-"
8153 aros_target_cpu
="x86_64"
8154 aros_object_format
="elf_x86_64"
8155 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8156 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8157 aros_default_wbdepth
=8
8158 kernel_tool_prefix
="x86_64-w64-mingw32-"
8161 aros_target_cpu
="arm"
8162 aros_object_format
="armelf_linux_eabi"
8163 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8164 aros_arch_libs
="-laeabi"
8165 aros_default_wbdepth
=8
8166 gcc_target_cpu
="arm"
8167 gcc_default_float_abi
="soft"
8168 kernel_tool_prefix
="arm-mingw32ce-"
8169 aros_default_wbwidth
=160
8170 aros_default_wbheight
=160
8173 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8176 if test $host_os = "cygwin"; then
8177 aros_kernel_cflags
="-mno-cygwin"
8181 aros_target_arch
="pp"
8182 aros_shared_default
="no"
8183 case "$target_cpu" in
8185 aros_target_cpu
="m68k"
8186 aros_object_format
="m68kelf"
8187 aros_flavour
="palmnative"
8188 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8189 aros_default_wbwidth
=160
8190 aros_default_wbheight
=160
8191 aros_default_wbdepth
=1
8192 aros_target_ar_flags
="cru"
8193 aros_compiler_libs
="-lgcc1"
8194 aros_shared_default
=no
8195 aros_shared_cflags
="-fpic"
8196 aros_shared_aflags
=""
8197 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8198 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8199 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8200 aros_debug_aflags
=""
8201 aros_debug_ldflags
="$aros_symbols_debug"
8202 aros_mungwall_debug
="0"
8203 aros_modules_debug
="0"
8204 gcc_target_cpu
="mc68000"
8205 ignore_undefined_symbols
="-ius"
8208 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8214 aros_target_arch
="mac"
8215 aros_shared_default
="no"
8216 case "$target_cpu" in
8218 aros_target_cpu
="m68k"
8219 aros_object_format
="m68kelf"
8220 aros_flavour
="mac68knative"
8221 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8222 aros_default_wbwidth
=512
8223 aros_default_wbheight
=384
8224 aros_default_wbdepth
=8
8225 aros_target_ar_flags
="cru"
8226 aros_compiler_libs
="-lgcc1"
8227 aros_shared_default
=no
8228 aros_shared_cflags
="-fpic"
8229 aros_shared_aflags
=""
8230 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8231 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8232 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
8233 aros_debug_aflags
=""
8234 aros_debug_ldflags
="$aros_symbols_debug"
8235 aros_mungwall_debug
="0"
8236 aros_modules_debug
="0"
8237 gcc_target_cpu
="mc68000"
8238 ignore_undefined_symbols
="-ius"
8241 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8247 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8251 #-----------------------------------------------------------------------------
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
8253 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
8255 # Check whether --with-crosstools was given.
8256 if test "${with_crosstools+set}" = set; then :
8257 withval
=$with_crosstools; with_crosstools
=$withval
8259 with_crosstools
="default"
8262 if test "$with_crosstools" = "default"; then
8263 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8265 # Disable building crosstools if we are using an external set - otherwise
8266 # we may attempt to overwrite them if the tools-crosstools target is made!
8268 AROS_CROSSTOOLSDIR
="$with_crosstools"
8269 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8272 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel tool prefix" >&5
8275 $as_echo_n "checking Kernel tool prefix... " >&6; }
8277 # Check whether --with-kernel-tool-prefix was given.
8278 if test "${with_kernel_tool_prefix+set}" = set; then :
8279 withval
=$with_kernel_tool_prefix; kernel_tool_prefix
="$withval"
8281 kernel_tool_prefix
="$kernel_tool_prefix"
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8285 $as_echo "$kernel_tool_prefix" >&6; }
8287 target_tool_prefix
=${target_cpu}-aros-
8289 # Now process extra architecture-specific options.
8290 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8291 # as well as floating-point ABI.
8292 case "$aros_target_cpu" in
8294 if test "$gcc_default_cpu" = ""; then
8295 gcc_default_cpu
="armv6"
8297 if test "$gcc_default_fpu" = ""; then
8298 gcc_default_fpu
="vfp"
8300 if test "$gcc_default_float_abi" = ""; then
8301 gcc_default_float_abi
="softfp"
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8305 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8307 # Check whether --with-cpu was given.
8308 if test "${with_cpu+set}" = set; then :
8309 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8311 aros_gcc_cpu
=$gcc_default_cpu
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8315 $as_echo "$aros_gcc_cpu" >&6; }
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8318 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8320 # Check whether --with-fpu was given.
8321 if test "${with_fpu+set}" = set; then :
8322 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8324 aros_gcc_fpu
=$gcc_default_fpu
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8328 $as_echo "$aros_gcc_fpu" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8331 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8333 # Check whether --with-float was given.
8334 if test "${with_float+set}" = set; then :
8335 withval
=$with_float; aros_gcc_float_abi
="$withval"
8337 aros_gcc_float_abi
=$gcc_default_float_abi
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8341 $as_echo "$aros_gcc_float_abi" >&6; }
8343 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"
8344 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"
8348 # Some formats need custom ELF specs.
8349 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8350 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8351 elf_specs_in
=config
/${aros_object_format}-specs.
in
8353 elf_specs_in
=config
/elf-specs.
in
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8357 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8359 # Check whether --with-aros-gcc was given.
8360 if test "${with_aros_gcc+set}" = set; then :
8361 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8367 $as_echo "$aros_gcc_version" >&6; }
8369 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8370 # Since we override specs, we may need to put these defines there
8371 if test "$gcc_target_cpu" != ""; then
8372 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8376 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8378 # Check whether --with-portssources was given.
8379 if test "${with_portssources+set}" = set; then :
8380 withval
=$with_portssources; with_portssrcdir
=$withval
8382 with_portssrcdir
="default"
8385 if test "$with_portssrcdir" = "default"; then
8386 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8388 AROS_PORTSSRCDIR
="$with_portssrcdir"
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8391 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8394 $as_echo_n "checking which bootloader to use... " >&6; }
8396 # Check whether --with-bootloader was given.
8397 if test "${with_bootloader+set}" = set; then :
8398 withval
=$with_bootloader; target_bootloader
=$withval
8400 target_bootloader
=$target_bootloader
8403 if test "$target_bootloader" = "none"; then
8404 aros_target_bootloader
=""
8406 aros_target_bootloader
="$target_bootloader"
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8409 $as_echo "$target_bootloader" >&6; }
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8412 $as_echo_n "checking which icon-set to use... " >&6; }
8414 # Check whether --with-iconset was given.
8415 if test "${with_iconset+set}" = set; then :
8416 withval
=$with_iconset; target_iconset
=$withval
8418 target_iconset
="default"
8421 if test "$target_iconset" = "default"; then
8422 aros_target_iconset
="Gorilla"
8423 target_iconset
="default (Gorilla)"
8425 aros_target_iconset
="$target_iconset"
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8428 $as_echo "$target_iconset" >&6; }
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8431 $as_echo_n "checking which GUI Theme to use... " >&6; }
8433 # Check whether --with-theme was given.
8434 if test "${with_theme+set}" = set; then :
8435 withval
=$with_theme; target_guitheme
=$withval
8437 target_guitheme
="default"
8440 if test "$target_guitheme" = "default"; then
8441 aros_target_guitheme
="Ice"
8443 aros_target_guitheme
="$target_guitheme"
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8446 $as_echo "$aros_target_guitheme" >&6; }
8448 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8451 if test "$aros_host_cpu" = "$aros_target_cpu" ; then
8452 # If host = target CPU, let's try to use the
8453 # host's toolchains if no others were requested
8454 if test "$kernel_tool_prefix" = "none" ; then
8455 kernel_tool_prefix
=""
8461 if test "$aros_host_cpu" == "x86_64" ; then
8462 if test "$aros_target_cpu" == "i386" ; then
8463 if test "$aros_target_arch" != "mingw32"; then
8465 kernel_tool_prefix
=""
8470 if test "$aros_host_arch" == "darwin" ; then
8471 if test "$aros_target_arch" != "darwin" ; then
8475 kernel_tool_prefix
=""
8479 if test "$aros_host_arch" == "mingw32" ; then
8480 if test "$aros_target_arch" != "mingw32" ; then
8485 #######################################################################
8486 ## Compute what toolchains to use, and their paths ##
8487 #######################################################################
8489 # This takes, as input:
8490 # crosstools {yes,no}
8491 # aros_gcc_version {default,[version]}
8492 # kernel_tool_prefix {none,[some-arch-os-]}
8493 # target_tool_prefix ${target_cpu}-aros-
8496 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8497 # Where the 'kernel' binaries are located
8498 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8499 # Where the 'target' binaries are located
8500 # (not the symlink farm - that is aros_target_*!)
8503 # if crosstools then
8504 # if kernel_tools_prefix = "no-kernel-prefix-"
8505 # aros_kernel_* = crosstools cc paths
8506 # aros_kernel_cc = elf cc wrapper around crosstools cc
8508 # VALIDATE(${kernel_tools_prefix}*)
8509 # aros_kernel_* = ${kernel_tools_prefix}*
8510 # if ${kernel_tools_prefix}cc is an AROS gcc
8511 # aros_kernel_cc = ${kernel_tools_prefix}cc
8513 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8517 # orig_target_* = aros built crosstools
8518 # orig_target_cc = elf cc wrapper around crosstools cc
8520 # VALIDATE(${kernel_tools_prefix}*)
8522 # orig_target_* = aros_kernel_*
8523 # if aros_kernel_cc is an AROS gcc
8524 # orig_target_cc = aros_kernel_cc
8526 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use external toolchain" >&5
8532 $as_echo_n "checking whether to use external toolchain... " >&6; }
8533 if test "$kernel_tool_prefix" = "none" ; then
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8535 $as_echo "no" >&6; };
8536 if test "$crosstools" != "yes"; then
8537 as_fn_error $?
"--disable-crosstools requires --with-kernel-tool-prefix= for this arch" "$LINENO" 5
8539 # We are building AROS crosstools, and no kernel
8540 # tools specified - assume target tools == kernel tools
8541 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
8542 aros_kernel_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
8543 aros_kernel_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
8544 aros_kernel_cpp
="${tmp_tool_prefix}cpp"
8545 aros_kernel_ld
="${tmp_tool_prefix}ld"
8546 aros_kernel_as
="${tmp_tool_prefix}as"
8547 aros_kernel_ar
="${tmp_tool_prefix}ar"
8548 aros_kernel_ranlib
="${tmp_tool_prefix}ranlib"
8549 aros_kernel_nm
="${tmp_tool_prefix}nm"
8550 aros_kernel_strip
="${tmp_tool_prefix}strip"
8551 aros_kernel_objcopy
="${tmp_tool_prefix}objcopy"
8552 aros_kernel_objdump
="${tmp_tool_prefix}objdump"
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8555 $as_echo "yes" >&6; };
8556 # Kernel tools specified - find them
8557 # Note that 'normally', aros_kernel_* overrides will
8558 # empty, unless specified in the per-arch sections above.
8561 if test "$aros_kernel_cpp" = ""; then
8562 if test "$cross_compiling" = "yes" ; then
8563 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8564 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8566 $as_echo_n "checking for $ac_word... " >&6; }
8567 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8568 $as_echo_n "(cached) " >&6
8570 case $aros_kernel_cpp in
8572 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8579 test -z "$as_dir" && as_dir
=.
8580 for ac_exec_ext
in '' $ac_executable_extensions; do
8581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8582 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8593 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8594 if test -n "$aros_kernel_cpp"; then
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8596 $as_echo "$aros_kernel_cpp" >&6; }
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8599 $as_echo "no" >&6; }
8604 if test "$GCC" = "yes"; then
8605 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8606 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8607 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8609 $as_echo_n "checking for $ac_word... " >&6; }
8610 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8611 $as_echo_n "(cached) " >&6
8613 case $aros_kernel_cpp in
8615 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8619 for as_dir
in `dirname $aros_gcc_cpp`
8622 test -z "$as_dir" && as_dir
=.
8623 for ac_exec_ext
in '' $ac_executable_extensions; do
8624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8625 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8636 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8637 if test -n "$aros_kernel_cpp"; then
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8639 $as_echo "$aros_kernel_cpp" >&6; }
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8642 $as_echo "no" >&6; }
8647 if test "$aros_kernel_cpp" = ""; then
8648 # Extract the first word of "cpp", so it can be a program name with args.
8649 set dummy cpp
; ac_word
=$2
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8651 $as_echo_n "checking for $ac_word... " >&6; }
8652 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8653 $as_echo_n "(cached) " >&6
8655 case $aros_kernel_cpp in
8657 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8664 test -z "$as_dir" && as_dir
=.
8665 for ac_exec_ext
in '' $ac_executable_extensions; do
8666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8667 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8678 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8679 if test -n "$aros_kernel_cpp"; then
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8681 $as_echo "$aros_kernel_cpp" >&6; }
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8684 $as_echo "no" >&6; }
8691 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8692 set dummy
$aros_kernel_cpp; ac_word
=$2
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8694 $as_echo_n "checking for $ac_word... " >&6; }
8695 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8696 $as_echo_n "(cached) " >&6
8698 case $aros_kernel_cpp in
8700 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8707 test -z "$as_dir" && as_dir
=.
8708 for ac_exec_ext
in '' $ac_executable_extensions; do
8709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8710 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8721 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8722 if test -n "$aros_kernel_cpp"; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8724 $as_echo "$aros_kernel_cpp" >&6; }
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8727 $as_echo "no" >&6; }
8733 if test "$aros_kernel_cpp" = ""; then
8734 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8736 if test "x$aros_kernel_cc" = "x"; then
8737 aros_kernel_cc
=${kernel_tool_prefix}gcc
8740 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8741 if test "$cross_compiling" = "yes" ; then
8742 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8743 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8745 $as_echo_n "checking for $ac_word... " >&6; }
8746 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8747 $as_echo_n "(cached) " >&6
8749 case $aros_kernel_cc in
8751 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8758 test -z "$as_dir" && as_dir
=.
8759 for ac_exec_ext
in '' $ac_executable_extensions; do
8760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8761 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8772 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8773 if test -n "$aros_kernel_cc"; then
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8775 $as_echo "$aros_kernel_cc" >&6; }
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8778 $as_echo "no" >&6; }
8783 if test "$GCC" = "yes"; then
8784 aros_gcc_cc
=`$CC -print-prog-name=cc`
8785 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8786 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8788 $as_echo_n "checking for $ac_word... " >&6; }
8789 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8790 $as_echo_n "(cached) " >&6
8792 case $aros_kernel_cc in
8794 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8798 for as_dir
in `dirname $aros_gcc_cc`
8801 test -z "$as_dir" && as_dir
=.
8802 for ac_exec_ext
in '' $ac_executable_extensions; do
8803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8804 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8815 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8816 if test -n "$aros_kernel_cc"; then
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8818 $as_echo "$aros_kernel_cc" >&6; }
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8821 $as_echo "no" >&6; }
8826 if test "$aros_kernel_cc" = ""; then
8827 # Extract the first word of "cc", so it can be a program name with args.
8828 set dummy cc
; ac_word
=$2
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8830 $as_echo_n "checking for $ac_word... " >&6; }
8831 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8832 $as_echo_n "(cached) " >&6
8834 case $aros_kernel_cc in
8836 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8843 test -z "$as_dir" && as_dir
=.
8844 for ac_exec_ext
in '' $ac_executable_extensions; do
8845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8846 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8857 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8858 if test -n "$aros_kernel_cc"; then
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8860 $as_echo "$aros_kernel_cc" >&6; }
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8863 $as_echo "no" >&6; }
8870 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8871 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8873 $as_echo_n "checking for $ac_word... " >&6; }
8874 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
8875 $as_echo_n "(cached) " >&6
8877 case $aros_kernel_cc in
8879 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8886 test -z "$as_dir" && as_dir
=.
8887 for ac_exec_ext
in '' $ac_executable_extensions; do
8888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8889 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8900 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8901 if test -n "$aros_kernel_cc"; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8903 $as_echo "$aros_kernel_cc" >&6; }
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8906 $as_echo "no" >&6; }
8912 if test "$aros_kernel_cc" = ""; then
8913 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
8915 if test "x$aros_kernel_cxx" = "x"; then
8916 aros_kernel_cxx
=${kernel_tool_prefix}g
++
8919 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
8920 if test "$cross_compiling" = "yes" ; then
8921 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
8922 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8924 $as_echo_n "checking for $ac_word... " >&6; }
8925 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
8926 $as_echo_n "(cached) " >&6
8928 case $aros_kernel_cxx in
8930 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
8933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8937 test -z "$as_dir" && as_dir
=.
8938 for ac_exec_ext
in '' $ac_executable_extensions; do
8939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8940 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
8941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8951 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
8952 if test -n "$aros_kernel_cxx"; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
8954 $as_echo "$aros_kernel_cxx" >&6; }
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8962 if test "$GCC" = "yes"; then
8963 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
8964 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
8965 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8967 $as_echo_n "checking for $ac_word... " >&6; }
8968 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
8969 $as_echo_n "(cached) " >&6
8971 case $aros_kernel_cxx in
8973 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
8976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8977 for as_dir
in `dirname $aros_gcc_cxx`
8980 test -z "$as_dir" && as_dir
=.
8981 for ac_exec_ext
in '' $ac_executable_extensions; do
8982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8983 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
8984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8994 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
8995 if test -n "$aros_kernel_cxx"; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
8997 $as_echo "$aros_kernel_cxx" >&6; }
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9000 $as_echo "no" >&6; }
9005 if test "$aros_kernel_cxx" = ""; then
9006 # Extract the first word of "cxx", so it can be a program name with args.
9007 set dummy cxx
; ac_word
=$2
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9009 $as_echo_n "checking for $ac_word... " >&6; }
9010 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9011 $as_echo_n "(cached) " >&6
9013 case $aros_kernel_cxx in
9015 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9022 test -z "$as_dir" && as_dir
=.
9023 for ac_exec_ext
in '' $ac_executable_extensions; do
9024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9025 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9036 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9037 if test -n "$aros_kernel_cxx"; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9039 $as_echo "$aros_kernel_cxx" >&6; }
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9042 $as_echo "no" >&6; }
9049 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9050 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9052 $as_echo_n "checking for $ac_word... " >&6; }
9053 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9054 $as_echo_n "(cached) " >&6
9056 case $aros_kernel_cxx in
9058 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9065 test -z "$as_dir" && as_dir
=.
9066 for ac_exec_ext
in '' $ac_executable_extensions; do
9067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9068 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9079 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9080 if test -n "$aros_kernel_cxx"; then
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9082 $as_echo "$aros_kernel_cxx" >&6; }
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9085 $as_echo "no" >&6; }
9091 # If it's set, make sure it's really there
9092 if test "x$aros_kernel_cxx" != "x" ; then
9093 if test "$aros_kernel_cxx" = ""; then
9094 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9098 if test "$aros_kernel_ld" = ""; then
9099 if test "$cross_compiling" = "yes" ; then
9100 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9101 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9103 $as_echo_n "checking for $ac_word... " >&6; }
9104 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9105 $as_echo_n "(cached) " >&6
9107 case $aros_kernel_ld in
9109 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9116 test -z "$as_dir" && as_dir
=.
9117 for ac_exec_ext
in '' $ac_executable_extensions; do
9118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9119 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9130 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9131 if test -n "$aros_kernel_ld"; then
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9133 $as_echo "$aros_kernel_ld" >&6; }
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9136 $as_echo "no" >&6; }
9141 if test "$GCC" = "yes"; then
9142 aros_gcc_ld
=`$CC -print-prog-name=ld`
9143 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9144 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9146 $as_echo_n "checking for $ac_word... " >&6; }
9147 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9148 $as_echo_n "(cached) " >&6
9150 case $aros_kernel_ld in
9152 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9156 for as_dir
in `dirname $aros_gcc_ld`
9159 test -z "$as_dir" && as_dir
=.
9160 for ac_exec_ext
in '' $ac_executable_extensions; do
9161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9162 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9173 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9174 if test -n "$aros_kernel_ld"; then
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9176 $as_echo "$aros_kernel_ld" >&6; }
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9179 $as_echo "no" >&6; }
9184 if test "$aros_kernel_ld" = ""; then
9185 # Extract the first word of "ld", so it can be a program name with args.
9186 set dummy ld
; ac_word
=$2
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9188 $as_echo_n "checking for $ac_word... " >&6; }
9189 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9190 $as_echo_n "(cached) " >&6
9192 case $aros_kernel_ld in
9194 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9201 test -z "$as_dir" && as_dir
=.
9202 for ac_exec_ext
in '' $ac_executable_extensions; do
9203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9204 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9215 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9216 if test -n "$aros_kernel_ld"; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9218 $as_echo "$aros_kernel_ld" >&6; }
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9221 $as_echo "no" >&6; }
9228 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9229 set dummy
$aros_kernel_ld; ac_word
=$2
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9231 $as_echo_n "checking for $ac_word... " >&6; }
9232 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9233 $as_echo_n "(cached) " >&6
9235 case $aros_kernel_ld in
9237 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9244 test -z "$as_dir" && as_dir
=.
9245 for ac_exec_ext
in '' $ac_executable_extensions; do
9246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9247 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9258 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9259 if test -n "$aros_kernel_ld"; then
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9261 $as_echo "$aros_kernel_ld" >&6; }
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9264 $as_echo "no" >&6; }
9270 if test "$aros_kernel_ld" = ""; then
9271 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9274 if test "$aros_kernel_as" = ""; then
9275 if test "$cross_compiling" = "yes" ; then
9276 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9277 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9279 $as_echo_n "checking for $ac_word... " >&6; }
9280 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9281 $as_echo_n "(cached) " >&6
9283 case $aros_kernel_as in
9285 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9292 test -z "$as_dir" && as_dir
=.
9293 for ac_exec_ext
in '' $ac_executable_extensions; do
9294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9295 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9306 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9307 if test -n "$aros_kernel_as"; then
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9309 $as_echo "$aros_kernel_as" >&6; }
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9312 $as_echo "no" >&6; }
9317 if test "$GCC" = "yes"; then
9318 aros_gcc_as
=`$CC -print-prog-name=as`
9319 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9320 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9322 $as_echo_n "checking for $ac_word... " >&6; }
9323 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9324 $as_echo_n "(cached) " >&6
9326 case $aros_kernel_as in
9328 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9332 for as_dir
in `dirname $aros_gcc_as`
9335 test -z "$as_dir" && as_dir
=.
9336 for ac_exec_ext
in '' $ac_executable_extensions; do
9337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9338 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9349 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9350 if test -n "$aros_kernel_as"; then
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9352 $as_echo "$aros_kernel_as" >&6; }
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9355 $as_echo "no" >&6; }
9360 if test "$aros_kernel_as" = ""; then
9361 # Extract the first word of "as", so it can be a program name with args.
9362 set dummy as
; ac_word
=$2
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9364 $as_echo_n "checking for $ac_word... " >&6; }
9365 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9366 $as_echo_n "(cached) " >&6
9368 case $aros_kernel_as in
9370 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9377 test -z "$as_dir" && as_dir
=.
9378 for ac_exec_ext
in '' $ac_executable_extensions; do
9379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9380 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9391 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9392 if test -n "$aros_kernel_as"; then
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9394 $as_echo "$aros_kernel_as" >&6; }
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9397 $as_echo "no" >&6; }
9404 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9405 set dummy
$aros_kernel_as; ac_word
=$2
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9407 $as_echo_n "checking for $ac_word... " >&6; }
9408 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9409 $as_echo_n "(cached) " >&6
9411 case $aros_kernel_as in
9413 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9420 test -z "$as_dir" && as_dir
=.
9421 for ac_exec_ext
in '' $ac_executable_extensions; do
9422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9423 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9434 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9435 if test -n "$aros_kernel_as"; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9437 $as_echo "$aros_kernel_as" >&6; }
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9440 $as_echo "no" >&6; }
9446 if test "$aros_kernel_as" = ""; then
9447 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9450 if test "$aros_kernel_ar" = ""; then
9451 if test "$cross_compiling" = "yes" ; then
9452 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9453 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9455 $as_echo_n "checking for $ac_word... " >&6; }
9456 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9457 $as_echo_n "(cached) " >&6
9459 case $aros_kernel_ar in
9461 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9468 test -z "$as_dir" && as_dir
=.
9469 for ac_exec_ext
in '' $ac_executable_extensions; do
9470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9471 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9482 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9483 if test -n "$aros_kernel_ar"; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9485 $as_echo "$aros_kernel_ar" >&6; }
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9488 $as_echo "no" >&6; }
9493 if test "$GCC" = "yes"; then
9494 aros_gcc_ar
=`$CC -print-prog-name=ar`
9495 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9496 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9498 $as_echo_n "checking for $ac_word... " >&6; }
9499 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9500 $as_echo_n "(cached) " >&6
9502 case $aros_kernel_ar in
9504 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9508 for as_dir
in `dirname $aros_gcc_ar`
9511 test -z "$as_dir" && as_dir
=.
9512 for ac_exec_ext
in '' $ac_executable_extensions; do
9513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9514 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9525 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9526 if test -n "$aros_kernel_ar"; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9528 $as_echo "$aros_kernel_ar" >&6; }
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9531 $as_echo "no" >&6; }
9536 if test "$aros_kernel_ar" = ""; then
9537 # Extract the first word of "ar", so it can be a program name with args.
9538 set dummy
ar; ac_word
=$2
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9540 $as_echo_n "checking for $ac_word... " >&6; }
9541 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9542 $as_echo_n "(cached) " >&6
9544 case $aros_kernel_ar in
9546 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9553 test -z "$as_dir" && as_dir
=.
9554 for ac_exec_ext
in '' $ac_executable_extensions; do
9555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9556 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9567 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9568 if test -n "$aros_kernel_ar"; then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9570 $as_echo "$aros_kernel_ar" >&6; }
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9573 $as_echo "no" >&6; }
9580 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9581 set dummy
$aros_kernel_ar; ac_word
=$2
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9583 $as_echo_n "checking for $ac_word... " >&6; }
9584 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9585 $as_echo_n "(cached) " >&6
9587 case $aros_kernel_ar in
9589 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9596 test -z "$as_dir" && as_dir
=.
9597 for ac_exec_ext
in '' $ac_executable_extensions; do
9598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9599 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9610 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9611 if test -n "$aros_kernel_ar"; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9613 $as_echo "$aros_kernel_ar" >&6; }
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9616 $as_echo "no" >&6; }
9622 if test "$aros_kernel_ar" = ""; then
9623 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9626 if test "$aros_kernel_ranlib" = ""; then
9627 if test "$cross_compiling" = "yes" ; then
9628 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9629 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9631 $as_echo_n "checking for $ac_word... " >&6; }
9632 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9633 $as_echo_n "(cached) " >&6
9635 case $aros_kernel_ranlib in
9637 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9644 test -z "$as_dir" && as_dir
=.
9645 for ac_exec_ext
in '' $ac_executable_extensions; do
9646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9647 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9658 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9659 if test -n "$aros_kernel_ranlib"; then
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9661 $as_echo "$aros_kernel_ranlib" >&6; }
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9664 $as_echo "no" >&6; }
9669 if test "$GCC" = "yes"; then
9670 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9671 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9672 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9674 $as_echo_n "checking for $ac_word... " >&6; }
9675 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9676 $as_echo_n "(cached) " >&6
9678 case $aros_kernel_ranlib in
9680 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9684 for as_dir
in `dirname $aros_gcc_ranlib`
9687 test -z "$as_dir" && as_dir
=.
9688 for ac_exec_ext
in '' $ac_executable_extensions; do
9689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9690 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9701 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9702 if test -n "$aros_kernel_ranlib"; then
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9704 $as_echo "$aros_kernel_ranlib" >&6; }
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9707 $as_echo "no" >&6; }
9712 if test "$aros_kernel_ranlib" = ""; then
9713 # Extract the first word of "ranlib", so it can be a program name with args.
9714 set dummy ranlib
; ac_word
=$2
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9716 $as_echo_n "checking for $ac_word... " >&6; }
9717 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9718 $as_echo_n "(cached) " >&6
9720 case $aros_kernel_ranlib in
9722 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9729 test -z "$as_dir" && as_dir
=.
9730 for ac_exec_ext
in '' $ac_executable_extensions; do
9731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9732 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9743 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9744 if test -n "$aros_kernel_ranlib"; then
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9746 $as_echo "$aros_kernel_ranlib" >&6; }
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9749 $as_echo "no" >&6; }
9756 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9757 set dummy
$aros_kernel_ranlib; ac_word
=$2
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9759 $as_echo_n "checking for $ac_word... " >&6; }
9760 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
9761 $as_echo_n "(cached) " >&6
9763 case $aros_kernel_ranlib in
9765 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9772 test -z "$as_dir" && as_dir
=.
9773 for ac_exec_ext
in '' $ac_executable_extensions; do
9774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9775 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9786 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9787 if test -n "$aros_kernel_ranlib"; then
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9789 $as_echo "$aros_kernel_ranlib" >&6; }
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9792 $as_echo "no" >&6; }
9798 if test "$aros_kernel_ranlib" = ""; then
9799 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9802 if test "$aros_kernel_nm" = ""; then
9803 if test "$cross_compiling" = "yes" ; then
9804 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9805 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9807 $as_echo_n "checking for $ac_word... " >&6; }
9808 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9809 $as_echo_n "(cached) " >&6
9811 case $aros_kernel_nm in
9813 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9820 test -z "$as_dir" && as_dir
=.
9821 for ac_exec_ext
in '' $ac_executable_extensions; do
9822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9823 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9834 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9835 if test -n "$aros_kernel_nm"; then
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9837 $as_echo "$aros_kernel_nm" >&6; }
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9840 $as_echo "no" >&6; }
9845 if test "$GCC" = "yes"; then
9846 aros_gcc_nm
=`$CC -print-prog-name=nm`
9847 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9848 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9850 $as_echo_n "checking for $ac_word... " >&6; }
9851 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9852 $as_echo_n "(cached) " >&6
9854 case $aros_kernel_nm in
9856 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9860 for as_dir
in `dirname $aros_gcc_nm`
9863 test -z "$as_dir" && as_dir
=.
9864 for ac_exec_ext
in '' $ac_executable_extensions; do
9865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9866 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9877 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9878 if test -n "$aros_kernel_nm"; then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9880 $as_echo "$aros_kernel_nm" >&6; }
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9883 $as_echo "no" >&6; }
9888 if test "$aros_kernel_nm" = ""; then
9889 # Extract the first word of "nm", so it can be a program name with args.
9890 set dummy nm
; ac_word
=$2
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9892 $as_echo_n "checking for $ac_word... " >&6; }
9893 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9894 $as_echo_n "(cached) " >&6
9896 case $aros_kernel_nm in
9898 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9905 test -z "$as_dir" && as_dir
=.
9906 for ac_exec_ext
in '' $ac_executable_extensions; do
9907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9908 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9919 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9920 if test -n "$aros_kernel_nm"; then
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9922 $as_echo "$aros_kernel_nm" >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9925 $as_echo "no" >&6; }
9932 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
9933 set dummy
$aros_kernel_nm; ac_word
=$2
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9935 $as_echo_n "checking for $ac_word... " >&6; }
9936 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
9937 $as_echo_n "(cached) " >&6
9939 case $aros_kernel_nm in
9941 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9948 test -z "$as_dir" && as_dir
=.
9949 for ac_exec_ext
in '' $ac_executable_extensions; do
9950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9951 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9962 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9963 if test -n "$aros_kernel_nm"; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9965 $as_echo "$aros_kernel_nm" >&6; }
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9968 $as_echo "no" >&6; }
9974 if test "$aros_kernel_nm" = ""; then
9975 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9978 if test "$aros_kernel_strip" = ""; then
9979 if test "$cross_compiling" = "yes" ; then
9980 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
9981 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9983 $as_echo_n "checking for $ac_word... " >&6; }
9984 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
9985 $as_echo_n "(cached) " >&6
9987 case $aros_kernel_strip in
9989 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
9992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9996 test -z "$as_dir" && as_dir
=.
9997 for ac_exec_ext
in '' $ac_executable_extensions; do
9998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9999 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10010 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10011 if test -n "$aros_kernel_strip"; then
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10013 $as_echo "$aros_kernel_strip" >&6; }
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10016 $as_echo "no" >&6; }
10021 if test "$GCC" = "yes"; then
10022 aros_gcc_strip
=`$CC -print-prog-name=strip`
10023 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10024 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10026 $as_echo_n "checking for $ac_word... " >&6; }
10027 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10028 $as_echo_n "(cached) " >&6
10030 case $aros_kernel_strip in
10032 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10036 for as_dir
in `dirname $aros_gcc_strip`
10039 test -z "$as_dir" && as_dir
=.
10040 for ac_exec_ext
in '' $ac_executable_extensions; do
10041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10042 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10053 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10054 if test -n "$aros_kernel_strip"; then
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10056 $as_echo "$aros_kernel_strip" >&6; }
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10059 $as_echo "no" >&6; }
10064 if test "$aros_kernel_strip" = ""; then
10065 # Extract the first word of "strip", so it can be a program name with args.
10066 set dummy strip
; ac_word
=$2
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10068 $as_echo_n "checking for $ac_word... " >&6; }
10069 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10070 $as_echo_n "(cached) " >&6
10072 case $aros_kernel_strip in
10074 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10078 for as_dir
in $PATH
10081 test -z "$as_dir" && as_dir
=.
10082 for ac_exec_ext
in '' $ac_executable_extensions; do
10083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10084 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10095 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10096 if test -n "$aros_kernel_strip"; then
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10098 $as_echo "$aros_kernel_strip" >&6; }
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10101 $as_echo "no" >&6; }
10108 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10109 set dummy
$aros_kernel_strip; ac_word
=$2
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10111 $as_echo_n "checking for $ac_word... " >&6; }
10112 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10113 $as_echo_n "(cached) " >&6
10115 case $aros_kernel_strip in
10117 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10121 for as_dir
in $PATH
10124 test -z "$as_dir" && as_dir
=.
10125 for ac_exec_ext
in '' $ac_executable_extensions; do
10126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10127 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10138 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10139 if test -n "$aros_kernel_strip"; then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10141 $as_echo "$aros_kernel_strip" >&6; }
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10144 $as_echo "no" >&6; }
10150 if test "$aros_kernel_strip" = ""; then
10151 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10154 # Objcopy and objdump are not required for the kernel
10155 # toolchain on many architectures.
10156 # So we'll look for them, but not make them strictly required.
10158 if test "$aros_kernel_objcopy" = ""; then
10159 if test "$cross_compiling" = "yes" ; then
10160 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10161 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10163 $as_echo_n "checking for $ac_word... " >&6; }
10164 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10165 $as_echo_n "(cached) " >&6
10167 case $aros_kernel_objcopy in
10169 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10173 for as_dir
in $PATH
10176 test -z "$as_dir" && as_dir
=.
10177 for ac_exec_ext
in '' $ac_executable_extensions; do
10178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10179 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10190 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10191 if test -n "$aros_kernel_objcopy"; then
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10193 $as_echo "$aros_kernel_objcopy" >&6; }
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10196 $as_echo "no" >&6; }
10201 if test "$GCC" = "yes"; then
10202 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10203 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10204 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10206 $as_echo_n "checking for $ac_word... " >&6; }
10207 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10208 $as_echo_n "(cached) " >&6
10210 case $aros_kernel_objcopy in
10212 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10216 for as_dir
in `dirname $aros_gcc_objcopy`
10219 test -z "$as_dir" && as_dir
=.
10220 for ac_exec_ext
in '' $ac_executable_extensions; do
10221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10222 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10233 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10234 if test -n "$aros_kernel_objcopy"; then
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10236 $as_echo "$aros_kernel_objcopy" >&6; }
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10239 $as_echo "no" >&6; }
10244 if test "$aros_kernel_objcopy" = ""; then
10245 # Extract the first word of "objcopy", so it can be a program name with args.
10246 set dummy objcopy
; ac_word
=$2
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10248 $as_echo_n "checking for $ac_word... " >&6; }
10249 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10250 $as_echo_n "(cached) " >&6
10252 case $aros_kernel_objcopy in
10254 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10258 for as_dir
in $PATH
10261 test -z "$as_dir" && as_dir
=.
10262 for ac_exec_ext
in '' $ac_executable_extensions; do
10263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10264 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10275 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10276 if test -n "$aros_kernel_objcopy"; then
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10278 $as_echo "$aros_kernel_objcopy" >&6; }
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10281 $as_echo "no" >&6; }
10288 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10289 set dummy
$aros_kernel_objcopy; ac_word
=$2
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10291 $as_echo_n "checking for $ac_word... " >&6; }
10292 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10293 $as_echo_n "(cached) " >&6
10295 case $aros_kernel_objcopy in
10297 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10301 for as_dir
in $PATH
10304 test -z "$as_dir" && as_dir
=.
10305 for ac_exec_ext
in '' $ac_executable_extensions; do
10306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10307 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10318 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10319 if test -n "$aros_kernel_objcopy"; then
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10321 $as_echo "$aros_kernel_objcopy" >&6; }
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10324 $as_echo "no" >&6; }
10331 if test "$aros_kernel_objdump" = ""; then
10332 if test "$cross_compiling" = "yes" ; then
10333 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10334 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10336 $as_echo_n "checking for $ac_word... " >&6; }
10337 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10338 $as_echo_n "(cached) " >&6
10340 case $aros_kernel_objdump in
10342 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10346 for as_dir
in $PATH
10349 test -z "$as_dir" && as_dir
=.
10350 for ac_exec_ext
in '' $ac_executable_extensions; do
10351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10352 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10363 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10364 if test -n "$aros_kernel_objdump"; then
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10366 $as_echo "$aros_kernel_objdump" >&6; }
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10369 $as_echo "no" >&6; }
10374 if test "$GCC" = "yes"; then
10375 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10376 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10377 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10379 $as_echo_n "checking for $ac_word... " >&6; }
10380 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10381 $as_echo_n "(cached) " >&6
10383 case $aros_kernel_objdump in
10385 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10389 for as_dir
in `dirname $aros_gcc_objdump`
10392 test -z "$as_dir" && as_dir
=.
10393 for ac_exec_ext
in '' $ac_executable_extensions; do
10394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10395 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10406 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10407 if test -n "$aros_kernel_objdump"; then
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10409 $as_echo "$aros_kernel_objdump" >&6; }
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10412 $as_echo "no" >&6; }
10417 if test "$aros_kernel_objdump" = ""; then
10418 # Extract the first word of "objdump", so it can be a program name with args.
10419 set dummy objdump
; ac_word
=$2
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10421 $as_echo_n "checking for $ac_word... " >&6; }
10422 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10423 $as_echo_n "(cached) " >&6
10425 case $aros_kernel_objdump in
10427 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10431 for as_dir
in $PATH
10434 test -z "$as_dir" && as_dir
=.
10435 for ac_exec_ext
in '' $ac_executable_extensions; do
10436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10437 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10448 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10449 if test -n "$aros_kernel_objdump"; then
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10451 $as_echo "$aros_kernel_objdump" >&6; }
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10454 $as_echo "no" >&6; }
10461 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10462 set dummy
$aros_kernel_objdump; ac_word
=$2
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10464 $as_echo_n "checking for $ac_word... " >&6; }
10465 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10466 $as_echo_n "(cached) " >&6
10468 case $aros_kernel_objdump in
10470 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10474 for as_dir
in $PATH
10477 test -z "$as_dir" && as_dir
=.
10478 for ac_exec_ext
in '' $ac_executable_extensions; do
10479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10480 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10491 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10492 if test -n "$aros_kernel_objdump"; then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10494 $as_echo "$aros_kernel_objdump" >&6; }
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10497 $as_echo "no" >&6; }
10503 if test "x${crosstools}" != "xyes" ; then
10504 if test "$aros_kernel_objcopy" = ""; then
10505 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10507 if test "$aros_kernel_objdump" = ""; then
10508 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools" >&5
10514 $as_echo_n "checking which target tools... " >&6; }
10515 if test "$crosstools" = "yes"; then
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10517 $as_echo "$target_tool_prefix" >&6; }
10518 # We are are building AROS crosstools
10519 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10520 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10521 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10522 orig_target_cpp
="${tmp_tool_prefix}cpp"
10523 orig_target_ld
="${tmp_tool_prefix}ld"
10524 orig_target_as
="${tmp_tool_prefix}as"
10525 orig_target_ar
="${tmp_tool_prefix}ar"
10526 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10527 orig_target_nm
="${tmp_tool_prefix}nm"
10528 orig_target_strip
="${tmp_tool_prefix}strip"
10529 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10530 orig_target_objdump
="${tmp_tool_prefix}objdump"
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
10533 $as_echo "$kernel_tool_prefix" >&6; }
10534 # We are *not* building AROS crosstools - use the kernel tools
10535 orig_target_cpp
="${aros_kernel_cpp}"
10536 if test "$orig_target_cpp" = ""; then
10537 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10539 orig_target_cc
="${aros_kernel_cc}"
10540 if test "$orig_target_cc" = ""; then
10541 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10543 orig_target_cxx
="${aros_kernel_cxx}"
10544 if test "x$orig_target_cxx" != "x" ; then
10545 if test "$orig_target_cxx" = ""; then
10546 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10549 orig_target_ld
="${aros_kernel_ld}"
10550 if test "$orig_target_ld" = ""; then
10551 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10553 orig_target_as
="${aros_kernel_as}"
10554 if test "$orig_target_as" = ""; then
10555 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10557 orig_target_ar
="${aros_kernel_ar}"
10558 if test "$orig_target_ar" = ""; then
10559 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10561 orig_target_ranlib
="${aros_kernel_ranlib}"
10562 if test "$orig_target_ranlib" = ""; then
10563 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10565 orig_target_nm
="${aros_kernel_nm}"
10566 if test "$orig_target_nm" = ""; then
10567 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10569 orig_target_strip
="${aros_kernel_strip}"
10570 if test "$orig_target_strip" = ""; then
10571 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10573 orig_target_objcopy
="${aros_kernel_objcopy}"
10574 if test "$orig_target_objcopy" = ""; then
10575 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10577 orig_target_objdump
="${aros_kernel_objdump}"
10578 if test "$orig_target_objdump" = ""; then
10579 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10583 # At this point, all aros_kernel_* and aros_target_*
10584 # tools should be set up correctly
10586 CC
="$aros_kernel_cc $kernel_tool_flags"
10587 CPP
="$aros_kernel_cpp"
10589 #-----------------------------------------------------------------------------
10591 # Disable pointer-signedness warnings if the compiler recognises the option
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
10594 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
10595 save_cflags
="$CFLAGS"
10596 if test "$crosstools" != "yes" ; then
10597 CFLAGS
="$CFLAGS -Wno-pointer-sign"
10598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10599 /* end confdefs.h. */
10609 if ac_fn_c_try_compile
"$LINENO"; then :
10610 use_no_sign_warning
="yes"
10612 use_no_sign_warning
="no"
10614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10616 # we do know it is supported for the smallest version of gcc we are going to build
10617 # we assume it's also supported by later versions
10618 use_no_sign_warning
=yes
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
10621 $as_echo "$use_no_sign_warning" >&6; }
10622 if test "x-$use_no_sign_warning" = "x-yes" ; then
10623 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
10625 CFLAGS
="$save_cflags"
10627 #-----------------------------------------------------------------------------
10629 # Find all the tools we need to compile. This could be cross-compiling
10630 # though! If that is the case we use the GNU form of the target and
10631 # simply add this to the front of the binary name. This is rather simple,
10632 # but it should work under most circumstances.
10634 # The default tools are to use the same as the host, but only if the
10635 # host and target CPU are the same. With GCC this is normally enough.
10639 aros_shared_ld
="$aros_host_ld"
10641 aros_target_mkdep
="$aros_host_mkdep"
10643 # The default tools executables to be linked to.
10644 if test "$rescomp" != ""; then
10646 if test "" = ""; then
10647 if test "$cross_compiling" = "yes" ; then
10648 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
10649 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10651 $as_echo_n "checking for $ac_word... " >&6; }
10652 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
10653 $as_echo_n "(cached) " >&6
10655 case $aros_kernel_rescomp in
10657 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
10660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10661 for as_dir
in $PATH
10664 test -z "$as_dir" && as_dir
=.
10665 for ac_exec_ext
in '' $ac_executable_extensions; do
10666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10667 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
10668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10678 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
10679 if test -n "$aros_kernel_rescomp"; then
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
10681 $as_echo "$aros_kernel_rescomp" >&6; }
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10684 $as_echo "no" >&6; }
10689 if test "$GCC" = "yes"; then
10690 aros_gcc_
$rescomp=`$CC -print-prog-name=$rescomp`
10691 # Extract the first word of "`basename $aros_gcc_[$rescomp]`", so it can be a program name with args.
10692 set dummy
`basename $aros_gcc_$rescomp`; ac_word
=$2
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10694 $as_echo_n "checking for $ac_word... " >&6; }
10695 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
10696 $as_echo_n "(cached) " >&6
10698 case $aros_kernel_rescomp in
10700 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
10703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10704 for as_dir
in `dirname $aros_gcc_$rescomp`
10707 test -z "$as_dir" && as_dir
=.
10708 for ac_exec_ext
in '' $ac_executable_extensions; do
10709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10710 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
10711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10721 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
10722 if test -n "$aros_kernel_rescomp"; then
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
10724 $as_echo "$aros_kernel_rescomp" >&6; }
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10727 $as_echo "no" >&6; }
10732 if test "$aros_kernel_rescomp" = ""; then
10733 # Extract the first word of "$rescomp", so it can be a program name with args.
10734 set dummy
$rescomp; ac_word
=$2
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10736 $as_echo_n "checking for $ac_word... " >&6; }
10737 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
10738 $as_echo_n "(cached) " >&6
10740 case $aros_kernel_rescomp in
10742 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
10745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10746 for as_dir
in $PATH
10749 test -z "$as_dir" && as_dir
=.
10750 for ac_exec_ext
in '' $ac_executable_extensions; do
10751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10752 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
10753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10763 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
10764 if test -n "$aros_kernel_rescomp"; then
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
10766 $as_echo "$aros_kernel_rescomp" >&6; }
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10769 $as_echo "no" >&6; }
10776 # Extract the first word of "", so it can be a program name with args.
10777 set dummy
; ac_word
=$2
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10779 $as_echo_n "checking for $ac_word... " >&6; }
10780 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
10781 $as_echo_n "(cached) " >&6
10783 case $aros_kernel_rescomp in
10785 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
10788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10789 for as_dir
in $PATH
10792 test -z "$as_dir" && as_dir
=.
10793 for ac_exec_ext
in '' $ac_executable_extensions; do
10794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10795 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
10796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10806 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
10807 if test -n "$aros_kernel_rescomp"; then
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
10809 $as_echo "$aros_kernel_rescomp" >&6; }
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10812 $as_echo "no" >&6; }
10818 if test "$aros_kernel_rescomp" = ""; then
10819 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
10823 # Set up the sources for the symlink farm
10824 if test "$crosstools" = "yes"; then
10825 crosstools_target
=tools-crosstools
10827 crosstools_cxx_target
=tools-crosstools
10830 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
10831 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
10834 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10835 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10836 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10837 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10838 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10839 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10840 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10842 # aros_cc_pre is a variable that is added to the front of the compiler name
10843 # in the generated aros-gcc shell script. We need this to enable the cache
10844 # to work across cleaned builds. Also, support DISTCC using the correct
10845 # environment variable.
10848 if test "x${DISTCC}" != "x" ; then
10849 if test "x${CCACHE}" != "x" ; then
10850 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10852 aros_cc_pre
="${DISTCC} "
10855 if test "x${CCACHE}" != "x" ; then
10856 aros_cc_pre
="${CCACHE} "
10860 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
10862 aros_target_nostdinc_cflags
=-nostdinc
10864 aros_target_nostartup_ldflags
=-nostartfiles
10866 aros_target_nix_ldflags
=-nix
10868 aros_target_detach_ldflags
=-detach
10870 aros_target_nostdlib_ldflags
=-nostdlib
10874 if test "$crosstools" != "yes"; then
10875 if test "$GCC" = "yes"; then
10876 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10879 # We do not know which gcc version we are going to build and what we need to know
10880 # here is different for different versions so this will be set later during the
10881 # build of crosstools.
10882 aros_target_cc_path
=@aros_target_cc_path@
10884 aros_target_cpp
="${prefix}cpp"
10885 aros_target_cc
="${prefix}gcc"
10886 aros_target_cxx
="${prefix}g++"
10887 aros_target_as
="${prefix}as"
10888 aros_target_ld
="${prefix}ld"
10889 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
10890 aros_target_objcopy
="${prefix}objcopy"
10891 aros_target_objdump
="${prefix}objdump"
10892 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
10893 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
10894 aros_target_strip
="${prefix}strip"
10895 aros_plain_nm
="${prefix}nm"
10896 aros_plain_ar
="${prefix}ar"
10898 if test "$aros_kernel_includes" != "" ; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
10900 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
10901 if test "$aros_kernel_cc_includes" = "" ; then
10902 # Try to guess where the directory is.
10903 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
10904 if test -d $aros_kernel_cc_includes; then
10905 # Check if there is also an include-fixed directory and add it
10906 # to kernel compiler's include path as it may contain some of
10907 # the headers we need.
10908 if test -d "$aros_kernel_cc_includes"-fixed; then
10909 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
10911 # Check for specific includes directory. Neede for Ubuntu 11.10
10912 if test -d "/usr/include/i386-linux-gnu"; then
10913 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
10916 # The directory doesn't exist, we need to do some more work.
10917 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
10919 # These are the headers we're looking for.
10920 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10921 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10925 for h
in $headers; do
10926 # Which other headers are needed by each of the above?
10927 deps
=$
(echo "#include <$h>" | \
10928 $aros_kernel_cc -E -M - 2>/dev
/null | \
10929 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10931 # Copy all the needed headers to a directory beneath gendir.
10934 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
10935 sed -n "s,^.*/include\(/.*\),\1,p")
10936 ! test -d $dir && mkdir
-p $dir
10937 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
10943 $as_echo "$aros_kernel_cc_includes" >&6; }
10944 # Adding -nostdinc to kernel includes as they are always used together.
10945 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
10948 if test "$crosstools" != "yes"; then
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
10950 $as_echo_n "checking for the target compiler's include path... " >&6; }
10951 if test "$aros_target_cc_includes" = "" ; then
10952 #try to guess where the directory is
10953 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10954 if ! test -d $aros_target_cc_includes; then
10955 #the directory doesn't exist, we need to do some more work
10956 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10958 #these are the headers we're looking for
10959 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10960 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10964 for h
in $headers; do
10965 #which other headers each of the above headers needs?
10966 deps
=$
(echo "#include <$h>" | \
10967 $orig_target_cc -E -M - 2>/dev
/null | \
10968 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10970 #copy all the needed headers to a directory beneath gendir
10973 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10974 sed -n "s,^.*/include\(/.*\),\1,p")
10975 ! test -d $dir && mkdir
-p $dir
10976 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
10982 $as_echo "$aros_target_cc_includes" >&6; }
10984 # We do not know which gcc version we are going to build and what we need to know
10985 # here is different for different versions so this will be set later during the
10986 # build of crosstools.
10987 aros_target_cc_includes
=@aros_target_cc_includes@
10991 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10992 # On GCC >= 4.0 -iquote should be used
10996 save_cflags
="$CFLAGS"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10999 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11000 if test "x-$crosstools" != "x-yes"; then
11001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11002 /* end confdefs.h. */
11012 if ac_fn_c_try_compile
"$LINENO"; then :
11017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11019 # we do know it is supported for the smallest version of gcc we are going to build
11020 # we assume it's also supported by later versions
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11024 $as_echo "$has_iquote" >&6; }
11025 if test "x-$has_iquote" = "x-yes" ; then
11026 host_cflags_iquote
=-iquote
11027 host_cflags_iquote_end
=
11029 host_cflags_iquote
=-I
11030 host_cflags_iquote_end
=-I-
11032 kernel_cflags_iquote
=$host_cflags_iquote
11033 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11034 if test "x-$cross_compiling" = "x-yes"; then
11035 CC
="$aros_kernel_cc"
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
11037 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
11038 if test "x-$crosstools" != "x-yes"; then
11039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11050 if ac_fn_c_try_compile
"$LINENO"; then :
11051 use_no_stack_protector
="yes"
11053 use_no_stack_protector
="no"
11055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11057 # we do know it is supported for the smallest version of gcc we are going to build
11058 # we assume it's also supported by later versions
11059 use_no_stack_protector
=yes
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
11062 $as_echo "$use_no_stack_protector" >&6; }
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11064 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11065 if test "x-$crosstools" != "x-yes"; then
11066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11077 if ac_fn_c_try_compile
"$LINENO"; then :
11082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11084 # we do know it is supported for the smallest version of gcc we are going to build
11085 # we assume it's also supported by later versions
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11089 $as_echo "$has_iquote" >&6; }
11090 if test "x-$has_iquote" = "x-yes" ; then
11091 kernel_cflags_iquote
=-iquote
11092 kernel_cflags_iquote_end
=
11094 kernel_cflags_iquote
=-I
11095 kernel_cflags_iquote_end
=-I-
11098 aros_cflags_iquote
=$kernel_cflags_iquote
11099 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11100 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11101 CC
="$orig_target_cc"
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11103 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11104 if test "x-$crosstools" != "x-yes"; then
11105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11116 if ac_fn_c_try_compile
"$LINENO"; then :
11121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11123 # we do know it is supported for the smallest version of gcc we are going to build
11124 # we assume it's also supported by later versions
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11128 $as_echo "$has_iquote" >&6; }
11129 if test "x-$has_iquote" = "x-yes" ; then
11130 aros_cflags_iquote
=-iquote
11131 aros_cflags_iquote_end
=
11133 aros_cflags_iquote
=-I
11134 aros_cflags_iquote_end
=-I-
11137 if test "x-$use_no_stack_protector" = "x-yes" ; then
11138 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
11142 #-----------------------------------------------------------------------------
11144 # Check if the target compiler supports some options used for delinting:
11145 # -Wunused-but-set-variable
11148 # -Wstrict-overflow
11149 # -Wformat-security
11151 if test "x-$crosstools" != "x-yes"; then
11152 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11153 CC
="$orig_target_cc"
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
11156 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
11157 CFLAGS
=-Wunused-but-set-variable
11158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11169 if ac_fn_c_try_compile
"$LINENO"; then :
11170 aros_unused_but_set_variable
="yes"
11172 aros_unused_but_set_variable
="no"
11174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
11176 $as_echo "$aros_unused_but_set_variable" >&6; }
11177 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
11178 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
11182 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
11183 CFLAGS
=-Warray-bounds
11184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11195 if ac_fn_c_try_compile
"$LINENO"; then :
11196 aros_array_bounds
="yes"
11198 aros_array_bounds
="no"
11200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
11202 $as_echo "$aros_array_bounds" >&6; }
11203 if test "x-$aros_array_bounds" = "x-yes" ; then
11204 aros_cflags_array_bounds
=-Wno-array-bounds
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
11208 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
11209 CFLAGS
=-Wenum-compare
11210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11221 if ac_fn_c_try_compile
"$LINENO"; then :
11222 aros_enum_compare
="yes"
11224 aros_enum_compare
="no"
11226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
11228 $as_echo "$aros_enum_compare" >&6; }
11229 if test "x-$aros_enum_compare" = "x-yes" ; then
11230 aros_cflags_enum_compare
=-Wno-enum-compare
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
11234 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
11235 CFLAGS
=-Wstrict-overflow
11236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11247 if ac_fn_c_try_compile
"$LINENO"; then :
11248 aros_strict_overflow
="yes"
11250 aros_strict_overflow
="no"
11252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
11254 $as_echo "$aros_strict_overflow" >&6; }
11255 if test "x-$aros_strict_overflow" = "x-yes" ; then
11256 aros_cflags_strict_overflow
=-Wno-strict-overflow
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
11260 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
11261 CFLAGS
=-Wformat-security
11262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11273 if ac_fn_c_try_compile
"$LINENO"; then :
11274 aros_format_security
="yes"
11276 aros_format_security
="no"
11278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
11280 $as_echo "$aros_format_security" >&6; }
11281 if test "x-$aros_format_security" = "x-yes" ; then
11282 aros_cflags_format_security
=-Wno-format-security
11285 # We do not know which gcc version we are going to build and what we need to know
11286 # here is different for different versions so this will be set later during the
11287 # build of crosstools.
11288 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
11289 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
11290 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
11291 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
11292 aros_cflags_format_security
=@aros_cflags_format_security@
11295 #-----------------------------------------------------------------------------
11297 # Check if we can explicitly choose older version of symbol hashing
11299 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
11300 CC
="$aros_kernel_cc"
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11302 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
11303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h. */
11314 if ac_fn_c_try_link
"$LINENO"; then :
11315 use_hash_style
="yes"
11317 use_hash_style
="no"
11319 rm -f core conftest.err conftest.
$ac_objext \
11320 conftest
$ac_exeext conftest.
$ac_ext
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
11322 $as_echo "$use_hash_style" >&6; }
11323 if test "x-$use_hash_style" = "x-yes" ; then
11324 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11327 CFLAGS
="$save_cflags"
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
11338 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11340 # Check whether --with-resolution was given.
11341 if test "${with_resolution+set}" = set; then :
11342 withval
=$with_resolution; resolution
=$withval
11347 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11348 if test "$resolution" = "yes" ; then
11351 if test "$resolution" = "no" ; then
11354 if test "$resolution" != "none" ; then
11355 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11356 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11357 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11360 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11361 aros_cv_default_wbwidth
=$aros_default_wbwidth
11362 aros_cv_default_wbheight
=$aros_default_wbheight
11363 aros_cv_default_wbdepth
=$aros_default_wbdepth
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
11366 $as_echo_n "checking if serial debug is enabled... " >&6; }
11368 # Check whether --with-serial-debug was given.
11369 if test "${with_serial_debug+set}" = set; then :
11370 withval
=$with_serial_debug; serial_debug
=$withval
11375 if test "$aros_serial_debug" = 0 ; then
11376 serial_debug_forced
=""
11377 if test "$serial_debug" = "yes" ; then
11380 if test "$serial_debug" = "no" ; then
11381 serial_debug
="none"
11384 serial_debug_forced
="(forced)"
11385 serial_debug
=$aros_serial_debug
11387 if test "$serial_debug" != "none" ; then
11388 aros_serial_debug
=$serial_debug
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
11390 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11393 $as_echo "no" >&6; }
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
11397 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11398 # Check whether --enable-palm_debug_hack was given.
11399 if test "${enable_palm_debug_hack+set}" = set; then :
11400 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11402 palm_debug_hack
="no"
11405 if test "$palm_debug_hack" = "yes" ; then
11406 aros_palm_debug_hack
="1"
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
11409 $as_echo "$palm_debug_hack" >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
11412 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
11413 # Check whether --enable-usb30_code was given.
11414 if test "${enable_usb30_code+set}" = set; then :
11415 enableval
=$enable_usb30_code; usb30_code
="yes"
11420 if test "$usb30_code" = "yes" ; then
11421 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
11422 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
11425 $as_echo "$usb30_code" >&6; }
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
11428 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11429 # Check whether --enable-nesting_supervisor was given.
11430 if test "${enable_nesting_supervisor+set}" = set; then :
11431 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11433 nesting_supervisor
="no"
11436 if test "$nesting_supervisor" = "yes" ; then
11437 aros_nesting_supervisor
="1"
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
11440 $as_echo "$nesting_supervisor" >&6; }
11442 if test "$aros_enable_mmu" = "" ; then
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
11444 $as_echo_n "checking if MMU support is enabled... " >&6; }
11445 # Check whether --enable-mmu was given.
11446 if test "${enable_mmu+set}" = set; then :
11447 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
11449 aros_enable_mmu
="yes"
11452 if test "$aros_enable_mmu" = "" ; then
11453 aros_enable_mmu
="yes"
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
11456 $as_echo "$aros_enable_mmu" >&6; }
11458 if test "$aros_enable_mmu" = "no" ; then
11459 aros_enable_mmu
="0"
11461 aros_enable_mmu
="1"
11465 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11467 if test "x-$need_dlopen" != "x-no" ; then
11468 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11469 if test "x$ac_cv_func_dlopen" = xyes
; then :
11475 if test "x-$have_dl" = "x-no" ; then
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11477 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11478 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11479 $as_echo_n "(cached) " >&6
11481 ac_check_lib_save_LIBS
=$LIBS
11483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11501 if ac_fn_c_try_link
"$LINENO"; then :
11502 ac_cv_lib_dl_dlopen
=yes
11504 ac_cv_lib_dl_dlopen
=no
11506 rm -f core conftest.err conftest.
$ac_objext \
11507 conftest
$ac_exeext conftest.
$ac_ext
11508 LIBS
=$ac_check_lib_save_LIBS
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11511 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11512 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11514 aros_host_ldflags
="$aros_host_ldflags -ldl"
11520 if test "x-$have_dl" = "x-no" ; then
11521 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
11526 # Check whether --enable-x11_hidd was given.
11527 if test "${enable_x11_hidd+set}" = set; then :
11528 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11530 x11_hidd
="$need_x11"
11533 case "x-$x11_hidd" in
11534 x-yes|x-no|x-auto
) ;;
11535 *) x11_hidd
="$need_x11" ;;
11540 if test "x-$x11_hidd" != "x-no" ; then
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11543 $as_echo_n "checking for X... " >&6; }
11546 # Check whether --with-x was given.
11547 if test "${with_x+set}" = set; then :
11551 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11552 if test "x$with_x" = xno
; then
11553 # The user explicitly disabled X.
11556 case $x_includes,$x_libraries in #(
11557 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
11558 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
11559 $as_echo_n "(cached) " >&6
11561 # One or both of the vars are not set, and there is no cached value.
11562 ac_x_includes
=no ac_x_libraries
=no
11563 rm -f -r conftest.dir
11564 if mkdir conftest.dir
; then
11566 cat >Imakefile
<<'_ACEOF'
11568 @echo incroot='${INCROOT}'
11570 @echo usrlibdir='${USRLIBDIR}'
11572 @echo libdir='${LIBDIR}'
11574 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11575 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11576 for ac_var
in incroot usrlibdir libdir
; do
11577 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11579 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11580 for ac_extension
in a so sl dylib la dll
; do
11581 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11582 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11583 ac_im_usrlibdir
=$ac_im_libdir; break
11586 # Screen out bogus values from the imake configuration. They are
11587 # bogus both because they are the default anyway, and because
11588 # using them would break gcc on systems where it needs fixed includes.
11589 case $ac_im_incroot in
11590 /usr
/include
) ac_x_includes
= ;;
11591 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11593 case $ac_im_usrlibdir in
11594 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
11595 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11599 rm -f -r conftest.dir
11602 # Standard set of common directories for X headers.
11603 # Check X11 before X11Rn because it is often a symlink to the current release.
11617 /usr/local/X11/include
11618 /usr/local/X11R7/include
11619 /usr/local/X11R6/include
11620 /usr/local/X11R5/include
11621 /usr/local/X11R4/include
11623 /usr/local/include/X11
11624 /usr/local/include/X11R7
11625 /usr/local/include/X11R6
11626 /usr/local/include/X11R5
11627 /usr/local/include/X11R4
11631 /usr/XFree86/include/X11
11635 /usr/unsupported/include
11636 /usr/athena/include
11637 /usr/local/x11r5/include
11638 /usr/lpp/Xamples/include
11640 /usr/openwin/include
11641 /usr/openwin/share/include'
11643 if test "$ac_x_includes" = no
; then
11644 # Guess where to find include files, by looking for Xlib.h.
11645 # First, try using that file with no special directory specified.
11646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11648 #include <X11/Xlib.h>
11650 if ac_fn_c_try_cpp
"$LINENO"; then :
11651 # We can compile using X headers with no special include directory.
11654 for ac_dir
in $ac_x_header_dirs; do
11655 if test -r "$ac_dir/X11/Xlib.h"; then
11656 ac_x_includes
=$ac_dir
11661 rm -f conftest.err conftest.i conftest.
$ac_ext
11662 fi # $ac_x_includes = no
11664 if test "$ac_x_libraries" = no
; then
11665 # Check for the libraries.
11666 # See if we find them without any special options.
11667 # Don't add to $LIBS permanently.
11670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11672 #include <X11/Xlib.h>
11681 if ac_fn_c_try_link
"$LINENO"; then :
11683 # We can link X programs with no special library path.
11687 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11689 # Don't even attempt the hair of trying to link an X program!
11690 for ac_extension
in a so sl dylib la dll
; do
11691 if test -r "$ac_dir/libX11.$ac_extension"; then
11692 ac_x_libraries
=$ac_dir
11698 rm -f core conftest.err conftest.
$ac_objext \
11699 conftest
$ac_exeext conftest.
$ac_ext
11700 fi # $ac_x_libraries = no
11702 case $ac_x_includes,$ac_x_libraries in #(
11703 no
,* |
*,no |
*\'*)
11704 # Didn't find X, or a directory has "'" in its name.
11705 ac_cv_have_x
="have_x=no";; #(
11707 # Record where we found X for the cache.
11708 ac_cv_have_x
="have_x=yes\
11709 ac_x_includes='$ac_x_includes'\
11710 ac_x_libraries='$ac_x_libraries'"
11716 eval "$ac_cv_have_x"
11719 if test "$have_x" != yes; then
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11721 $as_echo "$have_x" >&6; }
11724 # If each of the values was on the command line, it overrides each guess.
11725 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11726 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11727 # Update the cache value to reflect the command line values.
11728 ac_cv_have_x
="have_x=yes\
11729 ac_x_includes='$x_includes'\
11730 ac_x_libraries='$x_libraries'"
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11732 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11737 for path
in $x_libraries
11739 x_cflags
="$x_cflags -L$path"
11742 for path
in $x_includes
11744 x_cflags
="$x_cflags -I$path"
11747 if test "x-$no_x" = "x-yes" ; then
11749 if test "x-$x11_hidd" != "x-auto" ; then
11750 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
11754 x11_hidd_target
=kernel-x11gfx-kobj
11757 # Check whether --enable-x11_shm was given.
11758 if test "${enable_x11_shm+set}" = set; then :
11759 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11761 x11_hidd_shm
="auto"
11764 case "x-$x11_hidd_shm" in
11765 x-yes|x-no|x-auto
) ;;
11766 *) x11_hidd_shm
="auto" ;;
11771 if test "x-$x11_hidd_shm" != "x-no" ; then
11773 for ac_header
in sys
/ipc.h
11775 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
11776 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
11777 cat >>confdefs.h
<<_ACEOF
11778 #define HAVE_SYS_IPC_H 1
11785 for ac_header
in sys
/shm.h
11787 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
11788 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
11789 cat >>confdefs.h
<<_ACEOF
11790 #define HAVE_SYS_SHM_H 1
11798 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11800 save_cflags
="$CFLAGS"
11801 CFLAGS
="$CFLAGS $x_cflags"
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11803 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11804 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
11805 $as_echo_n "(cached) " >&6
11807 ac_check_lib_save_LIBS
=$LIBS
11808 LIBS
="-lXext $LIBS"
11809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11812 /* Override any GCC internal prototype to avoid an error.
11813 Use char because int might match the return type of a GCC
11814 builtin and then its argument prototype would still apply. */
11818 char XShmQueryExtension ();
11822 return XShmQueryExtension ();
11827 if ac_fn_c_try_link
"$LINENO"; then :
11828 ac_cv_lib_Xext_XShmQueryExtension
=yes
11830 ac_cv_lib_Xext_XShmQueryExtension
=no
11832 rm -f core conftest.err conftest.
$ac_objext \
11833 conftest
$ac_exeext conftest.
$ac_ext
11834 LIBS
=$ac_check_lib_save_LIBS
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11837 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11838 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
11842 CFLAGS
="$save_cflags"
11846 if test "x-$have_xshm" = "x-yes" ; then
11847 DO_XSHM_SUPPORT
="1"
11848 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11849 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
11851 DO_XSHM_SUPPORT
="0"
11855 # Check whether --enable-x11_vidmode was given.
11856 if test "${enable_x11_vidmode+set}" = set; then :
11857 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11859 x11_hidd_vidmode
="auto"
11862 case "x-$x11_hidd_vidmode" in
11863 x-yes|x-no|x-auto
) ;;
11864 *) x11_hidd_vidmode
="auto" ;;
11869 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11871 save_cflags
="$CFLAGS"
11872 CFLAGS
="$CFLAGS $x_cflags"
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11874 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11875 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
11876 $as_echo_n "(cached) " >&6
11878 ac_check_lib_save_LIBS
=$LIBS
11879 LIBS
="-lXxf86vm $LIBS"
11880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11883 /* Override any GCC internal prototype to avoid an error.
11884 Use char because int might match the return type of a GCC
11885 builtin and then its argument prototype would still apply. */
11889 char XF86VidModeQueryExtension ();
11893 return XF86VidModeQueryExtension ();
11898 if ac_fn_c_try_link
"$LINENO"; then :
11899 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11901 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11903 rm -f core conftest.err conftest.
$ac_objext \
11904 conftest
$ac_exeext conftest.
$ac_ext
11905 LIBS
=$ac_check_lib_save_LIBS
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11908 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11909 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
11913 CFLAGS
="$save_cflags"
11916 if test "x-$have_vidmode" = "x-yes" ; then
11917 DO_VIDMODE_SUPPORT
="1"
11918 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11919 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
11921 DO_VIDMODE_SUPPORT
="0"
11925 aros_host_x11_includes
=$x_includes
11926 aros_host_x11_libdirs
=$x_libraries
11930 # Check whether --enable-sdl_hidd was given.
11931 if test "${enable_sdl_hidd+set}" = set; then :
11932 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11937 case "x-$sdl_hidd" in
11938 x-yes|x-no|x-auto
) ;;
11939 *) sdl_hidd
="auto" ;;
11942 if test "x-$sdl_hidd" != "x-no" ; then
11945 # Check whether --with-sdl-prefix was given.
11946 if test "${with_sdl_prefix+set}" = set; then :
11947 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11953 # Check whether --with-sdl-exec-prefix was given.
11954 if test "${with_sdl_exec_prefix+set}" = set; then :
11955 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11960 # Check whether --enable-sdltest was given.
11961 if test "${enable_sdltest+set}" = set; then :
11962 enableval
=$enable_sdltest;
11968 if test x
$sdl_exec_prefix != x
; then
11969 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11970 if test x
${SDL_CONFIG+set} != xset
; then
11971 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11974 if test x
$sdl_prefix != x
; then
11975 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11976 if test x
${SDL_CONFIG+set} != xset
; then
11977 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11981 if test "x$prefix" != xNONE
; then
11982 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11984 # Extract the first word of "sdl-config", so it can be a program name with args.
11985 set dummy sdl-config
; ac_word
=$2
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11987 $as_echo_n "checking for $ac_word... " >&6; }
11988 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
11989 $as_echo_n "(cached) " >&6
11991 case $SDL_CONFIG in
11993 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11997 for as_dir
in $PATH
12000 test -z "$as_dir" && as_dir
=.
12001 for ac_exec_ext
in '' $ac_executable_extensions; do
12002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12003 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12011 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12015 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12016 if test -n "$SDL_CONFIG"; then
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
12018 $as_echo "$SDL_CONFIG" >&6; }
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12021 $as_echo "no" >&6; }
12025 min_sdl_version
=1.2.10
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
12027 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
12029 if test "$SDL_CONFIG" = "no" ; then
12032 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12033 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12035 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12037 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12039 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12041 if test "x$enable_sdltest" = "xyes" ; then
12042 ac_save_CFLAGS
="$CFLAGS"
12043 ac_save_CXXFLAGS
="$CXXFLAGS"
12044 ac_save_LIBS
="$LIBS"
12045 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12046 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12047 LIBS
="$LIBS $SDL_LIBS"
12049 if test "$cross_compiling" = yes; then :
12050 echo $ac_n "cross compiling; assumed OK... $ac_c"
12052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12056 #include <stdlib.h>
12057 #include <string.h>
12061 my_strdup (char *str)
12067 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12068 strcpy (new_str, str);
12076 int main (int argc, char *argv[])
12078 int major, minor, micro;
12081 /* This hangs on some systems (?)
12082 system ("touch conf.sdltest");
12084 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12086 /* HP/UX 9 (%@#!) writes to sscanf strings */
12087 tmp_version = my_strdup("$min_sdl_version");
12088 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12089 printf("%s, bad version string\n", "$min_sdl_version");
12093 if (($sdl_major_version > major) ||
12094 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12095 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12101 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12102 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12103 printf("*** best to upgrade to the required version.\n");
12104 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12105 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12106 printf("*** config.cache before re-running configure\n");
12113 if ac_fn_c_try_run
"$LINENO"; then :
12118 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12119 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12122 CFLAGS
="$ac_save_CFLAGS"
12123 CXXFLAGS
="$ac_save_CXXFLAGS"
12124 LIBS
="$ac_save_LIBS"
12127 if test "x$no_sdl" = x
; then
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12129 $as_echo "yes" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12134 if test "$SDL_CONFIG" = "no" ; then
12135 echo "*** The sdl-config script installed by SDL could not be found"
12136 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12137 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12138 echo "*** full path to sdl-config."
12140 if test -f conf.sdltest
; then
12143 echo "*** Could not run SDL test program, checking why..."
12144 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12145 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12146 LIBS
="$LIBS $SDL_LIBS"
12147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12153 int main(int argc, char *argv[])
12156 #define main K_and_R_C_main
12166 if ac_fn_c_try_link
"$LINENO"; then :
12167 echo "*** The test program compiled, but did not run. This usually means"
12168 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12169 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12170 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12171 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12172 echo "*** is required on your system"
12174 echo "*** If you have an old version installed, it is best to remove it, although"
12175 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12177 echo "*** The test program failed to compile or link. See the file config.log for the"
12178 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12179 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12180 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12182 rm -f core conftest.err conftest.
$ac_objext \
12183 conftest
$ac_exeext conftest.
$ac_ext
12184 CFLAGS
="$ac_save_CFLAGS"
12185 CXXFLAGS
="$ac_save_CXXFLAGS"
12186 LIBS
="$ac_save_LIBS"
12198 if test "x-$have_sdl" != "x-yes" ; then
12200 if test "x-$sdl_hidd" != "x-auto" ; then
12201 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
12205 sdl_hidd_target
=kernel-hidd-sdl
12206 aros_host_sdl_cflags
=SDL_CFLAGS
12207 aros_host_sdl_libs
=SDL_LIBS
12211 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12212 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12217 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
12218 oss_library_target
=workbench-libs-oss-unix
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
12224 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12225 # Check whether --enable-dbus was given.
12226 if test "${enable_dbus+set}" = set; then :
12227 enableval
=$enable_dbus; dbus
="yes"
12232 if test "$dbus" = "yes" ; then
12234 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12235 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12236 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12237 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
12242 $as_echo "$dbus" >&6; }
12244 if test "$use_kernel_cc_wrapper" = "yes" ; then
12245 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
12248 if test "${crosstools}" != "yes" ; then
12249 aros_target_toolchain
=no
12251 aros_target_toolchain
=yes
12267 # Compatability with other Amiga-like operation systems
12362 # Delinting target compiler flags
12386 # Native version related
12389 # Palm native version related
12395 # Unix/Hosted version related
12401 # Apple iOS related
12426 # Collect-aros stuff: "-ius" to ignore undefined symbols
12429 # C compiler related
12432 case "$aros_flavour" in
12433 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12434 aros_flavour
="emulation" ;;
12435 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12436 aros_flavour
="emulation" ;;
12437 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12438 aros_flavour
="standalone";;
12439 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12440 aros_flavour
="standalone";;
12441 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12442 aros_flavour
="native" ;;
12443 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12444 aros_flavour
="native" ;;
12445 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12446 aros_flavour
="linklib" ;;
12447 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12448 aros_flavour
="palmnative" ;;
12449 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12450 aros_flavour
="mac68knative" ;;
12451 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12452 aros_flavour
="ppcnative" ;;
12455 if test ! -d ${aros_inc_dir} ; then
12456 ${MKDIR} ${aros_inc_dir}
12458 if test ! -d ${aros_geninc_dir} ; then
12459 ${MKDIR} ${aros_geninc_dir}
12461 if test ! -d ${aros_hostcfg_dir} ; then
12462 ${MKDIR} ${aros_hostcfg_dir}
12464 if test ! -d ${aros_targetcfg_dir} ; then
12465 ${MKDIR} ${aros_targetcfg_dir}
12467 if test ! -d ${aros_tools_dir} ; then
12468 ${MKDIR} ${aros_tools_dir}
12470 if test ! -d ${aros_scripts_dir} ; then
12471 ${MKDIR} ${aros_scripts_dir}
12474 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12477 ac_config_commands
="$ac_config_commands compiler_executable"
12479 ac_config_commands
="$ac_config_commands genmf_executable"
12482 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"
12485 cat >confcache
<<\_ACEOF
12486 # This file is a shell script that caches the results of configure
12487 # tests run on this system so they can be shared between configure
12488 # scripts and configure runs, see configure's option --config-cache.
12489 # It is not useful on other systems. If it contains results you don't
12490 # want to keep, you may remove or edit it.
12492 # config.status only pays attention to the cache file if you give it
12493 # the --recheck option to rerun configure.
12495 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12496 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12497 # following values.
12501 # The following way of writing the cache mishandles newlines in values,
12502 # but we know of no workaround that is simple, portable, and efficient.
12503 # So, we kill variables containing newlines.
12504 # Ultrix sh set writes to stderr and can't be redirected directly,
12505 # and sets the high bit in the cache file unless we assign to the vars.
12507 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12508 eval ac_val
=\$
$ac_var
12512 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12513 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12516 _ | IFS | as_nl
) ;; #(
12517 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12518 *) { eval $ac_var=; unset $ac_var;} ;;
12524 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12525 *${as_nl}ac_space
=\
*)
12526 # `set' does not quote correctly, so add quotes: double-quote
12527 # substitution turns \\\\ into \\, and sed turns \\ into \.
12530 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12533 # `set' quotes correctly as required by POSIX, so do not add quotes.
12534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12543 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12545 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12547 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12548 if test -w "$cache_file"; then
12549 if test "x$cache_file" != "x/dev/null"; then
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12551 $as_echo "$as_me: updating cache $cache_file" >&6;}
12552 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12553 cat confcache
>"$cache_file"
12555 case $cache_file in #(
12557 mv -f confcache
"$cache_file"$$
&&
12558 mv -f "$cache_file"$$
"$cache_file" ;; #(
12560 mv -f confcache
"$cache_file" ;;
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12566 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12571 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12572 # Let make expand exec_prefix.
12573 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12575 DEFS
=-DHAVE_CONFIG_H
12580 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12581 # 1. Remove the extension, and $U if already installed.
12582 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12583 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12584 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12585 # will be set to the directory where LIBOBJS objects are built.
12586 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12587 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12589 LIBOBJS
=$ac_libobjs
12591 LTLIBOBJS
=$ac_ltlibobjs
12595 : "${CONFIG_STATUS=./config.status}"
12597 ac_clean_files_save
=$ac_clean_files
12598 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12600 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12602 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12604 # Generated by $as_me.
12605 # Run this file to recreate the current configuration.
12606 # Compiler output produced by configure, useful for debugging
12607 # configure, is in config.log if it exists.
12610 ac_cs_recheck=false
12613 SHELL=\${CONFIG_SHELL-$SHELL}
12616 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12617 ## -------------------- ##
12618 ## M4sh Initialization. ##
12619 ## -------------------- ##
12621 # Be more Bourne compatible
12622 DUALCASE
=1; export DUALCASE
# for MKS sh
12623 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12626 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12627 # is contrary to our usage. Disable this feature.
12628 alias -g '${1+"$@"}'='"$@"'
12629 setopt NO_GLOB_SUBST
12631 case `(set -o) 2>/dev/null` in #(
12643 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12644 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12646 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12647 # Prefer a ksh shell builtin over an external printf program on Solaris,
12648 # but without wasting forks for bash or zsh.
12649 if test -z "$BASH_VERSION$ZSH_VERSION" \
12650 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12651 as_echo='print
-r --'
12652 as_echo_n='print
-rn --'
12653 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12654 as_echo='printf %s
\n'
12655 as_echo_n='printf %s
'
12657 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12658 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12659 as_echo_n='/usr
/ucb
/echo -n'
12661 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12662 as_echo_n_body='eval
12666 expr "X$arg" : "X\\(.*\\)$as_nl";
12667 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12669 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12671 export as_echo_n_body
12672 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12674 export as_echo_body
12675 as_echo='sh
-c $as_echo_body as_echo
'
12678 # The user is always right.
12679 if test "${PATH_SEPARATOR+set}" != set; then
12681 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12682 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12689 # We need space, tab and new line, in precisely that order. Quoting is
12690 # there to prevent editors from complaining about space-tab.
12691 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12692 # splitting by setting IFS to empty value.)
12695 # Find who we are. Look in the path if we contain no directory separator.
12698 *[\\/]* ) as_myself=$0 ;;
12699 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12700 for as_dir in $PATH
12703 test -z "$as_dir" && as_dir=.
12704 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12710 # We did not find ourselves, most probably we were run as `sh COMMAND'
12711 # in which case we are not to be found in the path.
12712 if test "x$as_myself" = x
; then
12715 if test ! -f "$as_myself"; then
12716 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12720 # Unset variables that we do not need and which cause bugs (e.g. in
12721 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12722 # suppresses any "Segmentation fault" message there. '((' could
12723 # trigger a bug in pdksh 5.2.14.
12724 for as_var
in BASH_ENV ENV MAIL MAILPATH
12725 do eval test x\
${$as_var+set} = xset \
12726 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12739 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12742 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12743 # ----------------------------------------
12744 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12745 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12746 # script with STATUS, using 1 if that was 0.
12749 as_status
=$1; test $as_status -eq 0 && as_status
=1
12751 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12752 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12754 $as_echo "$as_me: error: $2" >&2
12755 as_fn_exit
$as_status
12759 # as_fn_set_status STATUS
12760 # -----------------------
12761 # Set $? to STATUS, without forking.
12762 as_fn_set_status
()
12765 } # as_fn_set_status
12767 # as_fn_exit STATUS
12768 # -----------------
12769 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12773 as_fn_set_status
$1
12779 # Portably unset VAR.
12782 { eval $1=; unset $1;}
12784 as_unset
=as_fn_unset
12785 # as_fn_append VAR VALUE
12786 # ----------------------
12787 # Append the text in VALUE to the end of the definition contained in VAR. Take
12788 # advantage of any shell optimizations that allow amortized linear growth over
12789 # repeated appends, instead of the typical quadratic growth present in naive
12791 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12792 eval 'as_fn_append ()
12803 # as_fn_arith ARG...
12804 # ------------------
12805 # Perform arithmetic evaluation on the ARGs, and store the result in the
12806 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12807 # must be portable across $(()) and expr.
12808 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12809 eval 'as_fn_arith ()
12816 as_val
=`expr "$@" || test $? -eq 1`
12821 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12822 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12828 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12829 as_basename
=basename
12834 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12840 as_me
=`$as_basename -- "$0" ||
12841 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12842 X"$0" : 'X\(//\)$' \| \
12843 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12845 sed '/^.*\/\([^/][^/]*\)\/*$/{
12859 # Avoid depending upon Character Ranges.
12860 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12861 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12862 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12863 as_cr_digits
='0123456789'
12864 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12866 ECHO_C
= ECHO_N
= ECHO_T
=
12867 case `echo -n x` in #(((((
12869 case `echo 'xy\c'` in
12870 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12872 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12879 rm -f conf$$ conf$$.exe conf$$.
file
12880 if test -d conf$$.dir
; then
12881 rm -f conf$$.dir
/conf$$.
file
12884 mkdir conf$$.dir
2>/dev
/null
12886 if (echo >conf$$.
file) 2>/dev
/null
; then
12887 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12889 # ... but there are two gotchas:
12890 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12891 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12892 # In both cases, we have to default to `cp -p'.
12893 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12895 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12903 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12904 rmdir conf$$.dir
2>/dev
/null
12909 # Create "$as_dir" as a directory, including parents if necessary.
12914 -*) as_dir
=.
/$as_dir;;
12916 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12920 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12921 *) as_qdir
=$as_dir;;
12923 as_dirs
="'$as_qdir' $as_dirs"
12924 as_dir
=`$as_dirname -- "$as_dir" ||
12925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12926 X"$as_dir" : 'X\(//\)[^/]' \| \
12927 X"$as_dir" : 'X\(//\)$' \| \
12928 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12929 $as_echo X"$as_dir" |
12930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12934 /^X\(\/\/\)[^/].*/{
12947 test -d "$as_dir" && break
12949 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12950 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12954 if mkdir
-p .
2>/dev
/null
; then
12955 as_mkdir_p
='mkdir -p "$as_dir"'
12957 test -d .
/-p && rmdir .
/-p
12961 if test -x / >/dev
/null
2>&1; then
12962 as_test_x
='test -x'
12964 if ls -dL / >/dev
/null
2>&1; then
12971 if test -d "$1"; then
12977 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12978 ???[sx]*):;;*)false;;esac;fi
12982 as_executable_p
=$as_test_x
12984 # Sed expression to map a string onto a valid CPP name.
12985 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12987 # Sed expression to map a string onto a valid variable name.
12988 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12992 ## ----------------------------------- ##
12993 ## Main body of $CONFIG_STATUS script. ##
12994 ## ----------------------------------- ##
12996 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12999 # Save the log message, to keep $0 and so on meaningful, and to
13000 # report actual input values of CONFIG_FILES etc. instead of their
13001 # values after options handling.
13003 This file was extended by $as_me, which was
13004 generated by GNU Autoconf 2.68. Invocation command line was
13006 CONFIG_FILES = $CONFIG_FILES
13007 CONFIG_HEADERS = $CONFIG_HEADERS
13008 CONFIG_LINKS = $CONFIG_LINKS
13009 CONFIG_COMMANDS = $CONFIG_COMMANDS
13012 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13017 case $ac_config_files in *"
13018 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13021 case $ac_config_headers in *"
13022 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13027 # Files that config.status was made for.
13028 config_files="$ac_config_files"
13029 config_headers="$ac_config_headers"
13030 config_commands="$ac_config_commands"
13034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13036 \`$as_me' instantiates files and other configuration actions
13037 from templates according to the current configuration. Unless the files
13038 and actions are specified as TAGs, all are instantiated by default.
13040 Usage: $0 [OPTION]... [TAG]...
13042 -h, --help print this help, then exit
13043 -V, --version print version number and configuration settings, then exit
13044 --config print configuration, then exit
13045 -q, --quiet, --silent
13046 do not print progress messages
13047 -d, --debug don't remove temporary files
13048 --recheck update $as_me by reconfiguring in the same conditions
13049 --file=FILE[:TEMPLATE]
13050 instantiate the configuration file FILE
13051 --header=FILE[:TEMPLATE]
13052 instantiate the configuration header FILE
13054 Configuration files:
13057 Configuration headers:
13060 Configuration commands:
13063 Report bugs to the package provider."
13066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13067 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13070 configured by $0, generated by GNU Autoconf 2.68,
13071 with options \\"\$ac_cs_config\\"
13073 Copyright (C) 2010 Free Software Foundation, Inc.
13074 This config.status script is free software; the Free Software Foundation
13075 gives unlimited permission to copy, distribute and modify it."
13079 test -n "\$AWK" || AWK=awk
13082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13083 # The default lists apply if the user does not specify any file.
13089 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13090 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13094 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13106 # Handling of the options.
13107 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13109 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13110 $as_echo "$ac_cs_version"; exit ;;
13111 --config |
--confi |
--conf |
--con |
--co |
--c )
13112 $as_echo "$ac_cs_config"; exit ;;
13113 --debug |
--debu |
--deb |
--de |
--d |
-d )
13115 --file |
--fil |
--fi |
--f )
13118 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13119 '') as_fn_error $?
"missing file argument" ;;
13121 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13122 ac_need_defaults
=false
;;
13123 --header |
--heade |
--head |
--hea )
13126 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13128 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13129 ac_need_defaults
=false
;;
13131 # Conflict between --help and --header
13132 as_fn_error $?
"ambiguous option: \`$1'
13133 Try \`$0 --help' for more information.";;
13134 --help |
--hel |
-h )
13135 $as_echo "$ac_cs_usage"; exit ;;
13136 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13137 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13140 # This is an error.
13141 -*) as_fn_error $?
"unrecognized option: \`$1'
13142 Try \`$0 --help' for more information." ;;
13144 *) as_fn_append ac_config_targets
" $1"
13145 ac_need_defaults
=false
;;
13151 ac_configure_extra_args
=
13153 if $ac_cs_silent; then
13155 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13160 if \$ac_cs_recheck; then
13161 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13163 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13164 CONFIG_SHELL='$SHELL'
13165 export CONFIG_SHELL
13170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13174 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13175 ## Running $as_me. ##
13181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13186 aros_host_exe_suffix=${aros_host_exe_suffix}
13187 aros_tools_dir=${aros_tools_dir}
13188 aros_target_cpu=${aros_target_cpu}
13189 aros_target_arch=${aros_target_arch}
13190 aros_target_suffix=${aros_target_suffix}
13191 orig_target_nm=${orig_target_nm}
13192 orig_target_as=${orig_target_as}
13193 orig_target_ar=${orig_target_ar}
13194 orig_target_ranlib=${orig_target_ranlib}
13195 orig_target_objdump=${orig_target_objdump}
13196 orig_target_objcopy=${orig_target_objcopy}
13197 orig_target_strip=${orig_target_strip}
13198 aros_kernel_ld=${aros_kernel_ld}
13201 aros_tools_dir=${aros_tools_dir}
13206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13208 # Handling of arguments.
13209 for ac_config_target
in $ac_config_targets
13211 case $ac_config_target in
13212 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13213 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13214 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13215 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13216 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13217 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13218 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13219 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13220 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13221 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13222 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13223 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13224 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
13225 "${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" ;;
13226 "${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" ;;
13227 "${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" ;;
13228 "${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" ;;
13229 "${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" ;;
13230 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13231 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13232 "${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" ;;
13234 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13239 # If the user did not use the arguments to specify the items to instantiate,
13240 # then the envvar interface is used. Set only those that are not.
13241 # We use the long form for the default assignment because of an extremely
13242 # bizarre bug on SunOS 4.1.3.
13243 if $ac_need_defaults; then
13244 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13245 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13246 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13249 # Have a temporary directory for convenience. Make it in the build tree
13250 # simply because there is no reason against having it here, and in addition,
13251 # creating and moving files from /tmp can sometimes cause problems.
13252 # Hook for its removal unless debugging.
13253 # Note that there is a small window in which the directory will not be cleaned:
13254 # after its creation but before its name has been assigned to `$tmp'.
13258 trap 'exit_status=$?
13259 : "${ac_tmp:=$tmp}"
13260 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13262 trap 'as_fn_exit 1' 1 2 13 15
13264 # Create a (secure) tmp directory for tmp files.
13267 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13271 tmp
=.
/conf$$
-$RANDOM
13272 (umask 077 && mkdir
"$tmp")
13273 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13276 # Set up the scripts for CONFIG_FILES section.
13277 # No need to generate them if there are no CONFIG_FILES.
13278 # This happens for instance with `./config.status config.h'.
13279 if test -n "$CONFIG_FILES"; then
13282 ac_cr
=`echo X | tr X '\015'`
13283 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13284 # But we know of no other shell where ac_cr would be empty at this
13285 # point, so we can use a bashism as a fallback.
13286 if test "x$ac_cr" = x
; then
13287 eval ac_cr
=\$
\'\\r
\'
13289 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13290 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13293 ac_cs_awk_cr
=$ac_cr
13296 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13301 echo "cat >conf$$subs.awk <<_ACEOF" &&
13302 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13304 } >conf$$subs.sh ||
13305 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13306 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13308 for ac_last_try in false false false false false :; do
13309 . ./conf$$subs.sh ||
13310 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13312 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13313 if test $ac_delim_n = $ac_delim_num; then
13315 elif $ac_last_try; then
13316 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13318 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13321 rm -f conf$$subs.sh
13323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13324 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13328 s/^/S["/; s
/!.
*/"]=/
13338 s/\(.\{148\}\)..*/\1/
13340 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13345 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13352 s/\(.\{148\}\)..*/\1/
13354 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13358 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13363 ' <conf$$subs.awk | sed '
13368 ' >>$CONFIG_STATUS || ac_write_fail=1
13369 rm -f conf$$subs.awk
13370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13372 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13373 for (key in S) S_is_set[key] = 1
13379 nfields = split(line, field, "@
")
13381 len = length(field[1])
13382 for (i = 2; i < nfields; i++) {
13384 keylen = length(key)
13385 if (S_is_set[key]) {
13387 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13388 len += length(value) + length(field[++i])
13399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13400 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13401 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13404 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13405 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13408 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13409 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13410 # trailing colons and then remove the whole line if VPATH becomes empty
13411 # (actually we leave an empty line to preserve line numbers).
13412 if test "x
$srcdir" = x.; then
13413 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13432 fi # test -n "$CONFIG_FILES"
13434 # Set up the scripts for CONFIG_HEADERS section.
13435 # No need to generate them if there are no CONFIG_HEADERS.
13436 # This happens for instance with `./config.status Makefile'.
13437 if test -n "$CONFIG_HEADERS"; then
13438 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13442 # Transform confdefs.h into an awk script `defines.awk', embedded as
13443 # here-document in config.status, that substitutes the proper values into
13444 # config.h.in to produce config.h.
13446 # Create a delimiter string that does not exist in confdefs.h, to ease
13447 # handling of long lines.
13449 for ac_last_try in false false :; do
13450 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13451 if test -z "$ac_tt"; then
13453 elif $ac_last_try; then
13454 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13456 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13460 # For the awk script, D is an array of macro values keyed by name,
13461 # likewise P contains macro parameters if any. Preserve backslash
13462 # newline sequences.
13464 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13466 s/.\{148\}/&'"$ac_delim"'/g
13469 s/^[ ]*#[ ]*define[ ][ ]*/ /
13476 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13478 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13482 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13483 D["\
1"]=" \
3\\\\\\n
"\\/p
13485 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13490 s/.\{148\}/&'"$ac_delim"'/g
13495 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13498 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13500 ' <confdefs.h | sed '
13501 s/'"$ac_delim"'/"\\\
13502 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13505 for (key in D) D_is_set[key] = 1
13508 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13510 split(line, arg, " ")
13511 if (arg[1] == "#") {
13515 defundef
= substr
(arg
[1], 2)
13518 split(mac1
, mac2
, "(") #)
13520 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13521 if (D_is_set
[macro
]) {
13522 # Preserve the white space surrounding the "#".
13523 print prefix
"define", macro P
[macro
] D
[macro
]
13526 # Replace #undef with comments. This is necessary, for example,
13527 # in the case of _POSIX_SOURCE, which is predefined and required
13528 # on some systems where configure will not decide to define it.
13529 if (defundef
== "undef") {
13530 print
"/*", prefix defundef
, macro
, "*/"
13538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13539 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13540 fi # test -n "$CONFIG_HEADERS"
13543 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13548 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13550 case $ac_mode$ac_tag in
13552 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13553 :[FH
]-) ac_tag
=-:-;;
13554 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13571 -) ac_f
="$ac_tmp/stdin";;
13572 *) # Look for the file first in the build tree, then in the source tree
13573 # (if the path is not absolute). The absolute path cannot be DOS-style,
13574 # because $ac_f cannot contain `:'.
13578 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13580 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13582 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13583 as_fn_append ac_file_inputs
" '$ac_f'"
13586 # Let's still pretend it is `configure' which instantiates (i.e., don't
13587 # use $as_me), people would be surprised to read:
13588 # /* config.h. Generated by config.status. */
13589 configure_input
='Generated from '`
13590 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13592 if test x
"$ac_file" != x-
; then
13593 configure_input
="$ac_file. $configure_input"
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13595 $as_echo "$as_me: creating $ac_file" >&6;}
13597 # Neutralize special characters interpreted by sed in replacement strings.
13598 case $configure_input in #(
13599 *\
&* |
*\|
* |
*\\* )
13600 ac_sed_conf_input
=`$as_echo "$configure_input" |
13601 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13602 *) ac_sed_conf_input
=$configure_input;;
13606 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13607 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13612 ac_dir
=`$as_dirname -- "$ac_file" ||
13613 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13614 X"$ac_file" : 'X\(//\)[^/]' \| \
13615 X"$ac_file" : 'X\(//\)$' \| \
13616 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13617 $as_echo X"$ac_file" |
13618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13622 /^X\(\/\/\)[^/].*/{
13635 as_dir
="$ac_dir"; as_fn_mkdir_p
13639 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13641 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13642 # A ".." for each directory in $ac_dir_suffix.
13643 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13644 case $ac_top_builddir_sub in
13645 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13646 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13649 ac_abs_top_builddir
=$ac_pwd
13650 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13651 # for backward compatibility:
13652 ac_top_builddir
=$ac_top_build_prefix
13655 .
) # We are building in place.
13657 ac_top_srcdir
=$ac_top_builddir_sub
13658 ac_abs_top_srcdir
=$ac_pwd ;;
13659 [\\/]* | ?
:[\\/]* ) # Absolute name.
13660 ac_srcdir
=$srcdir$ac_dir_suffix;
13661 ac_top_srcdir
=$srcdir
13662 ac_abs_top_srcdir
=$srcdir ;;
13663 *) # Relative name.
13664 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13665 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13666 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13668 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13680 # If the template does not know about datarootdir, expand it.
13681 # FIXME: This hack should be removed a few years after 2.60.
13682 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13693 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13694 *datarootdir
*) ac_datarootdir_seen
=yes;;
13695 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13697 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13700 ac_datarootdir_hack='
13701 s&@datadir@&$datadir&g
13702 s&@docdir@&$docdir&g
13703 s&@infodir@&$infodir&g
13704 s&@localedir@&$localedir&g
13705 s&@mandir@&$mandir&g
13706 s&\\\${datarootdir}&$datarootdir&g' ;;
13710 # Neutralize VPATH when `$srcdir' = `.'.
13711 # Shell code in configure.ac might set extrasub.
13712 # FIXME: do we really want to maintain this feature?
13713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13714 ac_sed_extra="$ac_vpsub
13717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13719 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13720 s|@configure_input@|
$ac_sed_conf_input|
;t t
13721 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13722 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13723 s
&@srcdir@
&$ac_srcdir&;t t
13724 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13725 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13726 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13727 s
&@builddir@
&$ac_builddir&;t t
13728 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13729 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13730 $ac_datarootdir_hack
13732 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13733 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13735 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13736 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13737 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13738 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13740 which seems to be undefined. Please make sure it is defined" >&5
13741 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13742 which seems to be undefined. Please make sure it is defined" >&2;}
13744 rm -f "$ac_tmp/stdin"
13746 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13747 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13749 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13755 if test x"$ac_file" != x-; then
13757 $as_echo "/* $configure_input */" \
13758 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13759 } >"$ac_tmp/config.h" \
13760 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13761 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13763 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13766 mv "$ac_tmp/config.h" "$ac_file" \
13767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13770 $as_echo "/* $configure_input */" \
13771 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13772 || as_fn_error $? "could not create -" "$LINENO" 5
13776 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13777 $as_echo "$as_me: executing $ac_file commands" >&6;}
13782 case $ac_file$ac_mode in
13783 "compiler_executable":C)
13784 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13786 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13787 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
13791 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
13793 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
13794 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
13795 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
13796 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
13797 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
13798 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
13799 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
13801 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
13803 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
13811 ac_clean_files=$ac_clean_files_save
13813 test $ac_write_fail = 0 ||
13814 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13817 # configure is writing to config.log, and then calls config.status.
13818 # config.status does its own redirection, appending to config.log.
13819 # Unfortunately, on DOS this fails, as config.log is still kept open
13820 # by configure, so config.status won't be able to
write to it
; its
13821 # output is simply discarded. So we exec the FD to /dev/null,
13822 # effectively closing config.log, so it can be properly (re)opened and
13823 # appended to by config.status. When coming back to configure, we
13824 # need to make the FD available again.
13825 if test "$no_create" != yes; then
13827 ac_config_status_args
=
13828 test "$silent" = yes &&
13829 ac_config_status_args
="$ac_config_status_args --quiet"
13831 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13833 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13834 # would make configure fail if this is the last instruction.
13835 $ac_cs_success || as_fn_exit
1
13837 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13839 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13844 #XXX compatability...
13845 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13847 if test -n "$aros_shared_cflags" ; then
13848 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13849 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg