2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status
=$1; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="mmakefile"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
595 ac_subst_vars
='LTLIBOBJS
597 ignore_undefined_symbols
613 aros_nesting_supervisor
618 aros_host_x11_libdirs
619 aros_host_x11_includes
623 aros_default_wbheight
629 aros_cflags_format_security
630 aros_cflags_strict_overflow
631 aros_cflags_enum_compare
632 aros_cflags_array_bounds
633 aros_cflags_unused_but_set_variable
634 crosstools_cxx_target
636 aros_target_strip_flags
643 aros_kernel_objcflags
662 aros_target_cc_includes
677 aros_target_bootloader
697 aros_amigaos_compliance
703 aros_target_toolchain
712 aros_cflags_iquote_end
714 kernel_cflags_iquote_end
716 host_cflags_iquote_end
718 aros_target_nostdlib_ldflags
719 aros_target_detach_ldflags
720 aros_target_nix_ldflags
721 aros_target_nostartup_ldflags
722 aros_target_nostdinc_cflags
839 program_transform_name
852 enable_option_checking
861 enable_target_variant
867 enable_amigaos_compliance
869 with_kernel_tool_prefix
880 enable_palm_debug_hack
881 enable_nesting_supervisor
893 ac_precious_vars
='build_alias
908 # Initialize some variables set by options.
910 ac_init_version
=false
911 ac_unrecognized_opts
=
913 # The variables have the same names as the options, with
914 # dashes changed to underlines.
922 program_transform_name
=s
,x
,x
,
930 # Installation directory options.
931 # These are left unexpanded so users can "make install exec_prefix=/foo"
932 # and all the variables that are supposed to be based on exec_prefix
933 # by default will actually change.
934 # Use braces instead of parens because sh, perl, etc. also accept them.
935 # (The list follows the same order as the GNU Coding Standards.)
936 bindir
='${exec_prefix}/bin'
937 sbindir
='${exec_prefix}/sbin'
938 libexecdir
='${exec_prefix}/libexec'
939 datarootdir
='${prefix}/share'
940 datadir
='${datarootdir}'
941 sysconfdir
='${prefix}/etc'
942 sharedstatedir
='${prefix}/com'
943 localstatedir
='${prefix}/var'
944 includedir
='${prefix}/include'
945 oldincludedir
='/usr/include'
946 docdir
='${datarootdir}/doc/${PACKAGE}'
947 infodir
='${datarootdir}/info'
952 libdir
='${exec_prefix}/lib'
953 localedir
='${datarootdir}/locale'
954 mandir
='${datarootdir}/man'
960 # If the previous option needs an argument, assign it.
961 if test -n "$ac_prev"; then
962 eval $ac_prev=\
$ac_option
968 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 # Accept the important Cygnus configure options, so we can diagnose typos.
975 case $ac_dashdash$ac_option in
979 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
981 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
984 -build |
--build |
--buil |
--bui |
--bu)
985 ac_prev
=build_alias
;;
986 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
987 build_alias
=$ac_optarg ;;
989 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
990 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
991 ac_prev
=cache_file
;;
992 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
993 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
994 cache_file
=$ac_optarg ;;
997 cache_file
=config.cache
;;
999 -datadir |
--datadir |
--datadi |
--datad)
1001 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1002 datadir
=$ac_optarg ;;
1004 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1005 |
--dataroo |
--dataro |
--datar)
1006 ac_prev
=datarootdir
;;
1007 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1008 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1009 datarootdir
=$ac_optarg ;;
1011 -disable-* |
--disable-*)
1012 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1015 as_fn_error $?
"invalid feature name: $ac_useropt"
1016 ac_useropt_orig
=$ac_useropt
1017 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "enable_
$ac_useropt"
1022 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1023 ac_unrecognized_sep
=', ';;
1025 eval enable_
$ac_useropt=no
;;
1027 -docdir |
--docdir |
--docdi |
--doc |
--do)
1029 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1030 docdir
=$ac_optarg ;;
1032 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1034 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1035 dvidir
=$ac_optarg ;;
1037 -enable-* |
--enable-*)
1038 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1041 as_fn_error $?
"invalid feature name: $ac_useropt"
1042 ac_useropt_orig
=$ac_useropt
1043 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1046 "enable_
$ac_useropt"
1048 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1049 ac_unrecognized_sep
=', ';;
1051 eval enable_
$ac_useropt=\
$ac_optarg ;;
1053 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1054 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1055 |
--exec |
--exe |
--ex)
1056 ac_prev
=exec_prefix
;;
1057 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1058 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1059 |
--exec=* |
--exe=* |
--ex=*)
1060 exec_prefix
=$ac_optarg ;;
1062 -gas |
--gas |
--ga |
--g)
1063 # Obsolete; use --with-gas.
1066 -help |
--help |
--hel |
--he |
-h)
1067 ac_init_help
=long
;;
1068 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1069 ac_init_help
=recursive
;;
1070 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1071 ac_init_help
=short
;;
1073 -host |
--host |
--hos |
--ho)
1074 ac_prev
=host_alias
;;
1075 -host=* |
--host=* |
--hos=* |
--ho=*)
1076 host_alias
=$ac_optarg ;;
1078 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1080 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1082 htmldir
=$ac_optarg ;;
1084 -includedir |
--includedir |
--includedi |
--included |
--include \
1085 |
--includ |
--inclu |
--incl |
--inc)
1086 ac_prev
=includedir
;;
1087 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1088 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1089 includedir
=$ac_optarg ;;
1091 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1093 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1094 infodir
=$ac_optarg ;;
1096 -libdir |
--libdir |
--libdi |
--libd)
1098 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1099 libdir
=$ac_optarg ;;
1101 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1102 |
--libexe |
--libex |
--libe)
1103 ac_prev
=libexecdir
;;
1104 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1105 |
--libexe=* |
--libex=* |
--libe=*)
1106 libexecdir
=$ac_optarg ;;
1108 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1109 ac_prev
=localedir
;;
1110 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1111 localedir
=$ac_optarg ;;
1113 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1114 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1115 ac_prev
=localstatedir
;;
1116 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1117 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1118 localstatedir
=$ac_optarg ;;
1120 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1122 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1123 mandir
=$ac_optarg ;;
1125 -nfp |
--nfp |
--nf)
1126 # Obsolete; use --without-fp.
1129 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1130 |
--no-cr |
--no-c |
-n)
1133 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1134 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1137 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1138 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1139 |
--oldin |
--oldi |
--old |
--ol |
--o)
1140 ac_prev
=oldincludedir
;;
1141 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1142 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1143 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1144 oldincludedir
=$ac_optarg ;;
1146 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1148 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1149 prefix
=$ac_optarg ;;
1151 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1152 |
--program-pre |
--program-pr |
--program-p)
1153 ac_prev
=program_prefix
;;
1154 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1155 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1156 program_prefix
=$ac_optarg ;;
1158 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1159 |
--program-suf |
--program-su |
--program-s)
1160 ac_prev
=program_suffix
;;
1161 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1162 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1163 program_suffix
=$ac_optarg ;;
1165 -program-transform-name |
--program-transform-name \
1166 |
--program-transform-nam |
--program-transform-na \
1167 |
--program-transform-n |
--program-transform- \
1168 |
--program-transform |
--program-transfor \
1169 |
--program-transfo |
--program-transf \
1170 |
--program-trans |
--program-tran \
1171 |
--progr-tra |
--program-tr |
--program-t)
1172 ac_prev
=program_transform_name
;;
1173 -program-transform-name=* |
--program-transform-name=* \
1174 |
--program-transform-nam=* |
--program-transform-na=* \
1175 |
--program-transform-n=* |
--program-transform-=* \
1176 |
--program-transform=* |
--program-transfor=* \
1177 |
--program-transfo=* |
--program-transf=* \
1178 |
--program-trans=* |
--program-tran=* \
1179 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1180 program_transform_name
=$ac_optarg ;;
1182 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1184 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1185 pdfdir
=$ac_optarg ;;
1187 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1189 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1192 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1193 |
-silent |
--silent |
--silen |
--sile |
--sil)
1196 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1198 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1200 sbindir
=$ac_optarg ;;
1202 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1203 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1204 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1206 ac_prev
=sharedstatedir
;;
1207 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1208 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1209 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1211 sharedstatedir
=$ac_optarg ;;
1213 -site |
--site |
--sit)
1215 -site=* |
--site=* |
--sit=*)
1218 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1220 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1221 srcdir
=$ac_optarg ;;
1223 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1224 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1225 ac_prev
=sysconfdir
;;
1226 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1227 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1228 sysconfdir
=$ac_optarg ;;
1230 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1231 ac_prev
=target_alias
;;
1232 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1233 target_alias
=$ac_optarg ;;
1235 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1238 -version |
--version |
--versio |
--versi |
--vers |
-V)
1239 ac_init_version
=: ;;
1242 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1245 as_fn_error $?
"invalid package name: $ac_useropt"
1246 ac_useropt_orig
=$ac_useropt
1247 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1252 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1253 ac_unrecognized_sep
=', ';;
1255 eval with_
$ac_useropt=\
$ac_optarg ;;
1257 -without-* |
--without-*)
1258 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1261 as_fn_error $?
"invalid package name: $ac_useropt"
1262 ac_useropt_orig
=$ac_useropt
1263 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1268 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1269 ac_unrecognized_sep
=', ';;
1271 eval with_
$ac_useropt=no
;;
1274 # Obsolete; use --with-x.
1277 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1278 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1279 ac_prev
=x_includes
;;
1280 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1281 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1282 x_includes
=$ac_optarg ;;
1284 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1285 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1286 ac_prev
=x_libraries
;;
1287 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1288 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1289 x_libraries
=$ac_optarg ;;
1291 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1292 Try \`$0 --help' for more information"
1296 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1297 # Reject names that are not valid shell variable names.
1298 case $ac_envvar in #(
1299 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1300 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1302 eval $ac_envvar=\
$ac_optarg
1303 export $ac_envvar ;;
1306 # FIXME: should be removed in autoconf 3.0.
1307 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1308 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1309 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1310 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1316 if test -n "$ac_prev"; then
1317 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1318 as_fn_error $?
"missing argument to $ac_option"
1321 if test -n "$ac_unrecognized_opts"; then
1322 case $enable_option_checking in
1324 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1325 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1329 # Check all directory arguments for consistency.
1330 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1331 datadir sysconfdir sharedstatedir localstatedir includedir \
1332 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1333 libdir localedir mandir
1335 eval ac_val
=\$
$ac_var
1336 # Remove trailing slashes.
1339 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1340 eval $ac_var=\
$ac_val;;
1342 # Be sure to have absolute directory names.
1344 [\\/$
]* | ?
:[\\/]* ) continue;;
1345 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1347 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1350 # There might be people who depend on the old broken behavior: `$host'
1351 # used to hold the argument of --host etc.
1352 # FIXME: To remove some day.
1355 target
=$target_alias
1357 # FIXME: To remove some day.
1358 if test "x$host_alias" != x
; then
1359 if test "x$build_alias" = x
; then
1360 cross_compiling
=maybe
1361 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1362 If a cross compiler is detected then cross compile mode will be used" >&2
1363 elif test "x$build_alias" != "x$host_alias"; then
1369 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1371 test "$silent" = yes && exec 6>/dev
/null
1374 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1375 ac_ls_di
=`ls -di .` &&
1376 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1377 as_fn_error $?
"working directory cannot be determined"
1378 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1379 as_fn_error $?
"pwd does not report name of working directory"
1382 # Find the source files, if location was not specified.
1383 if test -z "$srcdir"; then
1384 ac_srcdir_defaulted
=yes
1385 # Try the directory containing this script, then the parent directory.
1386 ac_confdir
=`$as_dirname -- "$as_myself" ||
1387 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1388 X"$as_myself" : 'X\(//\)[^/]' \| \
1389 X"$as_myself" : 'X\(//\)$' \| \
1390 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1391 $as_echo X"$as_myself" |
1392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1414 ac_srcdir_defaulted
=no
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1417 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1418 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1420 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1422 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1424 # When building in place, set srcdir=.
1425 if test "$ac_abs_confdir" = "$ac_pwd"; then
1428 # Remove unnecessary trailing slashes from srcdir.
1429 # Double slashes in file names in object file debugging info
1430 # mess up M-x gdb in Emacs.
1432 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1434 for ac_var
in $ac_precious_vars; do
1435 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1436 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1437 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1438 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1442 # Report the --help message.
1444 if test "$ac_init_help" = "long"; then
1445 # Omit some internal or obsolete options to make the list less imposing.
1446 # This message is too long to be a string in the A/UX 3.1 sh.
1448 \`configure' configures this package to adapt to many kinds of systems.
1450 Usage: $0 [OPTION]... [VAR=VALUE]...
1452 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1453 VAR=VALUE. See below for descriptions of some of the useful variables.
1455 Defaults for the options are specified in brackets.
1458 -h, --help display this help and exit
1459 --help=short display options specific to this package
1460 --help=recursive display the short help of all the included packages
1461 -V, --version display version information and exit
1462 -q, --quiet, --silent do not print \`checking ...' messages
1463 --cache-file=FILE cache test results in FILE [disabled]
1464 -C, --config-cache alias for \`--cache-file=config.cache'
1465 -n, --no-create do not create output files
1466 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1468 Installation directories:
1469 --prefix=PREFIX install architecture-independent files in PREFIX
1470 [$ac_default_prefix]
1471 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1474 By default, \`make install' will install all the files in
1475 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1476 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1477 for instance \`--prefix=\$HOME'.
1479 For better control, use the options below.
1481 Fine tuning of the installation directories:
1482 --bindir=DIR user executables [EPREFIX/bin]
1483 --sbindir=DIR system admin executables [EPREFIX/sbin]
1484 --libexecdir=DIR program executables [EPREFIX/libexec]
1485 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1486 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1487 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1488 --libdir=DIR object code libraries [EPREFIX/lib]
1489 --includedir=DIR C header files [PREFIX/include]
1490 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1491 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1492 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1493 --infodir=DIR info documentation [DATAROOTDIR/info]
1494 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1495 --mandir=DIR man documentation [DATAROOTDIR/man]
1496 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1497 --htmldir=DIR html documentation [DOCDIR]
1498 --dvidir=DIR dvi documentation [DOCDIR]
1499 --pdfdir=DIR pdf documentation [DOCDIR]
1500 --psdir=DIR ps documentation [DOCDIR]
1506 --x-includes=DIR X include files are
in DIR
1507 --x-libraries=DIR X library files are
in DIR
1510 --build=BUILD configure
for building on BUILD
[guessed
]
1511 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1515 if test -n "$ac_init_help"; then
1520 --disable-option-checking ignore unrecognized
--enable/--with options
1521 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1522 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1523 --enable-build-type=TYPE
1524 Select the build
type. Available types are
:
1525 personal
, nightly
, snapshot
, milestone
, release. Do
1526 NOT use this option unless you know what you are
1527 doing
! (default
=personal
)
1528 --enable-debug=list Enable different types of debug. Commas or
1529 whitespaces can be used to separate the items
in the
1530 list. Available types of debug are
: all
, none
,
1531 messages
, stack
, mungwall
, modules
, symbols. If no
1532 list is provided
then "all" is assumed.
1534 --disable-crosstools Do not build cross-compiler toolchain
1535 --enable-distcc Use distcc as a front end to the compiler
1537 --enable-ccache Use ccache as a front end to the compiler
1539 --enable-target-variant=NAME
1540 Enable a specific target variant
(default
=none
)
1541 --enable-amigaos-compliance=VERSION
1542 Enforce userspace AmigaOS compliance to a specific
1543 KickStart version
(default
=none
).
1544 --enable-palm-debug-hack
1545 Enable palm debug output hack
in palm native
1547 --enable-nesting-supervisor
1548 Enable nesting supervisor support
in unix
1550 --disable-mmu Disable MMU support
(default
=enabled
)
1551 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1552 --enable-x11-shm use X11 shared memory
(default
=auto
)
1553 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1554 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1555 --disable-sdltest Do not try to compile and run a
test SDL program
1556 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1559 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1560 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1561 --with-kernel-gcc-version=VERSION
1562 Use
host gcc-VERSION
for building AROS
1563 --with-gcc-version=VERSION
1564 Use
host gcc-VERSION
for building AROS
1565 --with-optimization=FLAGS
1566 Use optimization flags FLAGS
(default
=-O2).
1567 --with-paranoia=FLAGS CC flags to
enable paranoia
1568 --with-xcode=PATH Specify XCode path
for iOS targets
1569 (default
=/Developer
).
1570 --with-sdk-version=VERSION
1571 Use iOS SDK version VERSION
(default
=4.1).
1572 --with-sdk=PATH Specify Android SDK path
1573 (default
=$default_android_sdk).
1574 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1575 --with-sdk-version=LEVEL
1576 Use Android SDK
for API LEVEL
(default
=12).
1577 --with-ndk-version=LEVEL
1578 Use Android NDK
for API LEVEL
(default
=9).
1579 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1580 --with-kernel-tool-prefix=...
1581 Specify crosscompile toolchain prefix
for kernel
1583 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1584 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1585 --with-float=<spec
> Specify floating point ABI
1586 (default
=$gcc_default_float_abi).
1587 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1588 --with-portssources=DIR Where to download sourcecode
for external ports
1589 --with-bootloader=NAME Use a specific bootloader
1590 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1591 --with-theme=NAME Use a specific GUI Theme
1592 --with-resolution=XRESxYRESxDEPTH
1593 Default resolution of the initial WorkbenchScreen
1594 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1595 --with-x use the X Window System
1596 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1597 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1599 Some influential environment variables
:
1600 CC C compiler
command
1601 CFLAGS C compiler flags
1602 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1603 nonstandard directory
<lib dir
>
1604 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1605 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1606 you have headers
in a nonstandard directory
<include dir
>
1607 CXX C
++ compiler
command
1608 CXXFLAGS C
++ compiler flags
1610 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1612 Use these variables to override the choices made by
`configure' or to help
1613 it to find libraries and programs with nonstandard names/locations.
1615 Report bugs to the package provider.
1620 if test "$ac_init_help" = "recursive"; then
1621 # If there are subdirs, report their specific --help.
1622 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1623 test -d "$ac_dir" ||
1624 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1629 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1631 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1632 # A ".." for each directory in $ac_dir_suffix.
1633 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1634 case $ac_top_builddir_sub in
1635 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1639 ac_abs_top_builddir=$ac_pwd
1640 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1641 # for backward compatibility:
1642 ac_top_builddir=$ac_top_build_prefix
1645 .) # We are building in place.
1647 ac_top_srcdir=$ac_top_builddir_sub
1648 ac_abs_top_srcdir=$ac_pwd ;;
1649 [\\/]* | ?:[\\/]* ) # Absolute name.
1650 ac_srcdir=$srcdir$ac_dir_suffix;
1651 ac_top_srcdir=$srcdir
1652 ac_abs_top_srcdir=$srcdir ;;
1654 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1655 ac_top_srcdir=$ac_top_build_prefix$srcdir
1656 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1658 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1660 cd "$ac_dir" || { ac_status=$?; continue; }
1661 # Check for guested configure.
1662 if test -f "$ac_srcdir/configure.gnu"; then
1664 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1665 elif test -f "$ac_srcdir/configure"; then
1667 $SHELL "$ac_srcdir/configure" --help=recursive
1669 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1671 cd "$ac_pwd" || { ac_status=$?; break; }
1675 test -n "$ac_init_help" && exit $ac_status
1676 if $ac_init_version; then
1679 generated by GNU Autoconf 2.67
1681 Copyright (C) 2010 Free Software Foundation, Inc.
1682 This configure script is free software; the Free Software Foundation
1683 gives unlimited permission to copy, distribute and modify it.
1688 ## ------------------------ ##
1689 ## Autoconf initialization. ##
1690 ## ------------------------ ##
1692 # ac_fn_c_try_compile LINENO
1693 # --------------------------
1694 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1695 ac_fn_c_try_compile ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 rm -f conftest.$ac_objext
1699 if { { ac_try="$ac_compile"
1701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1702 *) ac_try_echo
=$ac_try;;
1704 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_compile") 2>conftest.err
1708 if test -s conftest.err
; then
1709 grep -v '^ *+' conftest.err
>conftest.er1
1710 cat conftest.er1
>&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest.
$ac_objext; then :
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.
$ac_ext >&5
1725 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1726 as_fn_set_status
$ac_retval
1728 } # ac_fn_c_try_compile
1730 # ac_fn_cxx_try_compile LINENO
1731 # ----------------------------
1732 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1733 ac_fn_cxx_try_compile
()
1735 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1736 rm -f conftest.
$ac_objext
1737 if { { ac_try
="$ac_compile"
1739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_compile") 2>conftest.err
1746 if test -s conftest.err; then
1747 grep -v '^ *+' conftest.err >conftest.er1
1748 cat conftest.er1 >&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && {
1753 test -z "$ac_cxx_werror_flag" ||
1754 test ! -s conftest.err
1755 } && test -s conftest.$ac_objext; then :
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764 as_fn_set_status $ac_retval
1766 } # ac_fn_cxx_try_compile
1768 # ac_fn_c_try_cpp LINENO
1769 # ----------------------
1770 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if { { ac_try="$ac_cpp conftest.$ac_ext"
1776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1777 *) ac_try_echo
=$ac_try;;
1779 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1783 if test -s conftest.err
; then
1784 grep -v '^ *+' conftest.err
>conftest.er1
1785 cat conftest.er1
>&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } > conftest.i
&& {
1790 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.
$ac_ext >&5
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1801 as_fn_set_status
$ac_retval
1805 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1806 # -------------------------------------------------------
1807 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1808 # the include files in INCLUDES and setting the cache variable VAR
1810 ac_fn_c_check_header_mongrel
()
1812 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1813 if eval "test \"\${$3+set}\"" = set; then :
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval "test \"\${$3+set}\"" = set; then :
1817 $as_echo_n "(cached) " >&6
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821 $as_echo "$ac_res" >&6; }
1823 # Is the header compilable?
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1825 $as_echo_n "checking $2 usability... " >&6; }
1826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1831 if ac_fn_c_try_compile
"$LINENO"; then :
1832 ac_header_compiler
=yes
1834 ac_header_compiler
=no
1836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1838 $as_echo "$ac_header_compiler" >&6; }
1840 # Is the header present?
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1842 $as_echo_n "checking $2 presence... " >&6; }
1843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1847 if ac_fn_c_try_cpp
"$LINENO"; then :
1848 ac_header_preproc
=yes
1850 ac_header_preproc
=no
1852 rm -f conftest.err conftest.i conftest.
$ac_ext
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1854 $as_echo "$ac_header_preproc" >&6; }
1856 # So? What about this header?
1857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1860 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1862 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1866 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1868 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1870 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1872 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1874 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if eval "test \"\${$3+set}\"" = set; then :
1880 $as_echo_n "(cached) " >&6
1882 eval "$3=\$ac_header_compiler"
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1888 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1890 } # ac_fn_c_check_header_mongrel
1892 # ac_fn_c_try_run LINENO
1893 # ----------------------
1894 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1895 # that executables *can* be run.
1898 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1899 if { { ac_try
="$ac_link"
1901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1902 *) ac_try_echo=$ac_try;;
1904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_link") 2>&5
1908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1910 { { case "(($ac_try" in
1911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1912 *) ac_try_echo
=$ac_try;;
1914 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_try") 2>&5
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; }; }; then :
1922 $as_echo "$as_me: program exited with status $ac_status" >&5
1923 $as_echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.
$ac_ext >&5
1926 ac_retval
=$ac_status
1928 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1929 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1930 as_fn_set_status
$ac_retval
1934 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1935 # -------------------------------------------------------
1936 # Tests whether HEADER exists and can be compiled using the include files in
1937 # INCLUDES, setting the cache variable VAR accordingly.
1938 ac_fn_c_check_header_compile
()
1940 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if eval "test \"\${$3+set}\"" = set; then :
1944 $as_echo_n "(cached) " >&6
1946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1951 if ac_fn_c_try_compile
"$LINENO"; then :
1956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1961 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1963 } # ac_fn_c_check_header_compile
1965 # ac_fn_c_try_link LINENO
1966 # -----------------------
1967 # Try to link conftest.$ac_ext, and return whether this succeeded.
1970 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1971 rm -f conftest.
$ac_objext conftest
$ac_exeext
1972 if { { ac_try
="$ac_link"
1974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1975 *) ac_try_echo=$ac_try;;
1977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1978 $as_echo "$ac_try_echo"; } >&5
1979 (eval "$ac_link") 2>conftest.err
1981 if test -s conftest.err; then
1982 grep -v '^ *+' conftest.err >conftest.er1
1983 cat conftest.er1 >&5
1984 mv -f conftest.er1 conftest.err
1986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987 test $ac_status = 0; } && {
1988 test -z "$ac_c_werror_flag" ||
1989 test ! -s conftest.err
1990 } && test -s conftest$ac_exeext && {
1991 test "$cross_compiling" = yes ||
1992 $as_test_x conftest$ac_exeext
1996 $as_echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
2001 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2002 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2003 # interfere with the next link command; also delete a directory that is
2004 # left behind by Apple's compiler. We do this before executing the actions.
2005 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2006 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2007 as_fn_set_status $ac_retval
2009 } # ac_fn_c_try_link
2011 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2012 # ----------------------------------------------------
2013 # Tries to find if the field MEMBER exists in type AGGR, after including
2014 # INCLUDES, setting cache variable VAR accordingly.
2015 ac_fn_c_check_member ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2019 $as_echo_n "checking for $2.$3... " >&6; }
2020 if eval "test \"\${$4+set}\"" = set; then :
2021 $as_echo_n "(cached) " >&6
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2036 if ac_fn_c_try_compile "$LINENO"; then :
2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2046 if (sizeof ac_aggr.$3)
2052 if ac_fn_c_try_compile "$LINENO"; then :
2057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2063 $as_echo "$ac_res" >&6; }
2064 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2066 } # ac_fn_c_check_member
2068 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2069 # ---------------------------------------------
2070 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2072 ac_fn_c_check_decl ()
2074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2075 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2076 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2078 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2079 if eval "test \"\${$3+set}\"" = set; then :
2080 $as_echo_n "(cached) " >&6
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2088 #ifndef $as_decl_name
2090 (void) $as_decl_use;
2092 (void) $as_decl_name;
2100 if ac_fn_c_try_compile "$LINENO"; then :
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2109 $as_echo "$ac_res" >&6; }
2110 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2112 } # ac_fn_c_check_decl
2114 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2115 # -------------------------------------------
2116 # Tests whether TYPE exists after having included INCLUDES, setting cache
2117 # variable VAR accordingly.
2118 ac_fn_c_check_type ()
2120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval "test \"\${$3+set}\"" = set; then :
2124 $as_echo_n "(cached) " >&6
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2139 if ac_fn_c_try_compile "$LINENO"; then :
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2152 if ac_fn_c_try_compile "$LINENO"; then :
2157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2164 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2166 } # ac_fn_c_check_type
2168 # ac_fn_c_check_func LINENO FUNC VAR
2169 # ----------------------------------
2170 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2171 ac_fn_c_check_func ()
2173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2175 $as_echo_n "checking for $2... " >&6; }
2176 if eval "test \"\${$3+set}\"" = set; then :
2177 $as_echo_n "(cached) " >&6
2179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h. */
2181 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2183 #define $2 innocuous_$2
2185 /* System header to define __stub macros and hopefully few prototypes,
2186 which can conflict with char $2 (); below.
2187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2188 <limits.h> exists even on freestanding compilers. */
2191 # include <limits.h>
2193 # include <assert.h>
2198 /* Override any GCC internal prototype to avoid an error.
2199 Use char because int might match the return type of a GCC
2200 builtin and then its argument prototype would still apply. */
2205 /* The GNU C library defines this for functions which it implements
2206 to always fail with ENOSYS. Some functions are actually named
2207 something starting with __ and the normal name is an alias. */
2208 #if defined __stub_$2 || defined __stub___$2
2220 if ac_fn_c_try_link "$LINENO"; then :
2225 rm -f core conftest.err conftest.$ac_objext \
2226 conftest$ac_exeext conftest.$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2230 $as_echo "$ac_res" >&6; }
2231 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2233 } # ac_fn_c_check_func
2234 cat >config.log <<_ACEOF
2235 This file contains any messages produced by compilers while
2236 running configure, to aid debugging if configure makes a mistake.
2238 It was created by $as_me, which was
2239 generated by GNU Autoconf 2.67. Invocation command line was
2251 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2252 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2253 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2254 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2255 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2257 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2258 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2260 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2261 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2262 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2263 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2264 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2265 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2266 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 $as_echo "PATH: $as_dir"
2291 # Keep a trace of the command line.
2292 # Strip out --no-create and --no-recursion so they do not pile up.
2293 # Strip out --silent because we don't want to record it for future runs.
2294 # Also quote any args containing shell meta-characters.
2295 # Make two passes to allow for proper duplicate-argument suppression.
2299 ac_must_keep_next=false
2305 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2306 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2307 | -silent | --silent | --silen | --sile | --sil)
2310 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2313 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2315 as_fn_append ac_configure_args1 " '$ac_arg'"
2316 if test $ac_must_keep_next = true; then
2317 ac_must_keep_next=false # Got value, back to normal.
2320 *=* | --config-cache | -C | -disable-* | --disable-* \
2321 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2322 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2323 | -with-* | --with-* | -without-* | --without-* | --x)
2324 case "$ac_configure_args0 " in
2325 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2328 -* ) ac_must_keep_next=true ;;
2331 as_fn_append ac_configure_args " '$ac_arg'"
2336 { ac_configure_args0=; unset ac_configure_args0;}
2337 { ac_configure_args1=; unset ac_configure_args1;}
2339 # When interrupted or exit'd, cleanup temporary files, and complete
2340 # config.log. We remove comments because anyway the quotes in there
2341 # would cause problems or look ugly.
2342 # WARNING: Use '\'' to represent an apostrophe within the trap.
2343 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2344 trap 'exit_status=$?
2345 # Save into config.log some information that might help in debugging.
2349 $as_echo "## ---------------- ##
2350 ## Cache variables. ##
2351 ## ---------------- ##"
2353 # The following way of writing the cache mishandles newlines in values,
2355 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2356 eval ac_val=\$$ac_var
2360 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2361 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2364 _ | IFS | as_nl) ;; #(
2365 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2366 *) { eval $ac_var=; unset $ac_var;} ;;
2371 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2372 *${as_nl}ac_space=\ *)
2374 "s/'\''/'\''\\\\'\'''\''/g;
2375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2378 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2385 $as_echo "## ----------------- ##
2386 ## Output variables. ##
2387 ## ----------------- ##"
2389 for ac_var in $ac_subst_vars
2391 eval ac_val=\$$ac_var
2393 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2395 $as_echo "$ac_var='\''$ac_val'\''"
2399 if test -n "$ac_subst_files"; then
2400 $as_echo "## ------------------- ##
2401 ## File substitutions. ##
2402 ## ------------------- ##"
2404 for ac_var in $ac_subst_files
2406 eval ac_val=\$$ac_var
2408 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2410 $as_echo "$ac_var='\''$ac_val'\''"
2415 if test -s confdefs.h; then
2416 $as_echo "## ----------- ##
2423 test "$ac_signal" != 0 &&
2424 $as_echo "$as_me: caught signal $ac_signal"
2425 $as_echo "$as_me: exit $exit_status"
2427 rm -f core *.core core.conftest.* &&
2428 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2431 for ac_signal in 1 2 13 15; do
2432 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2436 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2437 rm -f -r conftest* confdefs.h
2439 $as_echo "/* confdefs.h */" > confdefs.h
2441 # Predefined preprocessor variables.
2443 cat >>confdefs.h <<_ACEOF
2444 #define PACKAGE_NAME "$PACKAGE_NAME"
2447 cat >>confdefs.h <<_ACEOF
2448 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2451 cat >>confdefs.h <<_ACEOF
2452 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2455 cat >>confdefs.h <<_ACEOF
2456 #define PACKAGE_STRING "$PACKAGE_STRING"
2459 cat >>confdefs.h <<_ACEOF
2460 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2463 cat >>confdefs.h <<_ACEOF
2464 #define PACKAGE_URL "$PACKAGE_URL"
2468 # Let the site file select an alternate cache file if it wants to.
2469 # Prefer an explicitly selected file to automatically selected ones.
2472 if test -n "$CONFIG_SITE"; then
2473 # We do not want a PATH search for config.site.
2474 case $CONFIG_SITE in #((
2475 -*) ac_site_file1=./$CONFIG_SITE;;
2476 */*) ac_site_file1=$CONFIG_SITE;;
2477 *) ac_site_file1=./$CONFIG_SITE;;
2479 elif test "x$prefix" != xNONE; then
2480 ac_site_file1=$prefix/share/config.site
2481 ac_site_file2=$prefix/etc/config.site
2483 ac_site_file1=$ac_default_prefix/share/config.site
2484 ac_site_file2=$ac_default_prefix/etc/config.site
2486 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2488 test "x$ac_site_file" = xNONE && continue
2489 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2491 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2492 sed 's/^/| /' "$ac_site_file" >&5
2494 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2496 as_fn_error $? "failed to load site
script $ac_site_file
2497 See \
`config.log' for more details" "$LINENO" 5 ; }
2501 if test -r "$cache_file"; then
2502 # Some versions of bash will fail to source /dev/null (special files
2503 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2504 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2506 $as_echo "$as_me: loading cache $cache_file" >&6;}
2508 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2509 *) . "./$cache_file";;
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2514 $as_echo "$as_me: creating cache $cache_file" >&6;}
2518 as_fn_append ac_header_list " stdlib.h"
2519 as_fn_append ac_header_list " unistd.h"
2520 as_fn_append ac_header_list " sys/param.h"
2521 # Check that the precious variables saved in the cache have kept the same
2523 ac_cache_corrupted=false
2524 for ac_var in $ac_precious_vars; do
2525 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2526 eval ac_new_set=\$ac_env_${ac_var}_set
2527 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2528 eval ac_new_val=\$ac_env_${ac_var}_value
2529 case $ac_old_set,$ac_new_set in
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2532 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2533 ac_cache_corrupted=: ;;
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2536 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2537 ac_cache_corrupted=: ;;
2540 if test "x$ac_old_val" != "x$ac_new_val"; then
2541 # differences in whitespace do not lead to failure.
2542 ac_old_val_w=`echo x
$ac_old_val`
2543 ac_new_val_w=`echo x
$ac_new_val`
2544 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2546 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2547 ac_cache_corrupted=:
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2550 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2551 eval $ac_var=\$ac_old_val
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2554 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2556 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2559 # Pass precious variables to config.status.
2560 if test "$ac_new_set" = set; then
2562 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2563 *) ac_arg=$ac_var=$ac_new_val ;;
2565 case " $ac_configure_args " in
2566 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2567 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2571 if $ac_cache_corrupted; then
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2575 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2576 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2578 ## -------------------- ##
2579 ## Main body of script. ##
2580 ## -------------------- ##
2583 ac_cpp='$CPP $CPPFLAGS'
2584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2591 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2592 if test -f "$ac_dir/install-sh"; then
2594 ac_install_sh="$ac_aux_dir/install-sh -c"
2596 elif test -f "$ac_dir/install.sh"; then
2598 ac_install_sh="$ac_aux_dir/install.sh -c"
2600 elif test -f "$ac_dir/shtool"; then
2602 ac_install_sh="$ac_aux_dir/shtool install -c"
2606 if test -z "$ac_aux_dir"; then
2607 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2610 # These three variables are undocumented and unsupported,
2611 # and are intended to be withdrawn in a future Autoconf release.
2612 # They can cause serious problems if a builder's source tree is in a directory
2613 # whose full name contains unusual characters.
2614 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2615 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2616 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2620 # Check what host we are running on.
2621 # If a target is not suggested, we use this one.
2622 # Note that what we call a target, Autoconf calls a host.
2623 # Make sure we can run config.sub.
2624 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2625 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2628 $as_echo_n "checking build system type... " >&6; }
2629 if test "${ac_cv_build+set}" = set; then :
2630 $as_echo_n "(cached) " >&6
2632 ac_build_alias=$build_alias
2633 test "x$ac_build_alias" = x &&
2634 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2635 test "x$ac_build_alias" = x &&
2636 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2637 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2638 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2642 $as_echo "$ac_cv_build" >&6; }
2643 case $ac_cv_build in
2645 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2648 ac_save_IFS=$IFS; IFS='-'
2654 # Remember, the first character of IFS is used to create $*,
2655 # except with old shells:
2658 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2662 $as_echo_n "checking host system type... " >&6; }
2663 if test "${ac_cv_host+set}" = set; then :
2664 $as_echo_n "(cached) " >&6
2666 if test "x$host_alias" = x; then
2667 ac_cv_host=$ac_cv_build
2669 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2670 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2675 $as_echo "$ac_cv_host" >&6; }
2678 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2681 ac_save_IFS=$IFS; IFS='-'
2687 # Remember, the first character of IFS is used to create $*,
2688 # except with old shells:
2691 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2695 # The AROS target is slightly different to the normal GNU style
2696 # format. We don't have the middle part, and we reverse the order
2697 # of the $(CPU) and $(OS) bits.
2699 # Don't strip the version of the target yet, it might be
2700 # useful on some systems.
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2703 $as_echo_n "checking for AROS style target... " >&6; }
2705 if test "$target" = "NONE" ; then
2706 target=$host_os-$host_cpu
2708 if test "$target" = "" ; then
2709 target=$host_os-$host_cpu
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2713 $as_echo "$target" >&6; }
2715 if test "$host_os" = "mingw32" ; then
2719 # Don't know where else to put this...
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2721 $as_echo_n "checking building AROS in... " >&6; }
2722 AROS_BUILDDIR=`${PWDCMD-pwd}`
2723 AROS_BUILDDIR_UNIX=${PWD}
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2725 $as_echo "$AROS_BUILDDIR" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2728 $as_echo_n "checking AROS source in... " >&6; }
2729 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2732 $as_echo "$SRCDIR" >&6; }
2734 # Parse the target field into something useful.
2736 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2737 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2740 # Some debug output, to be removed again.
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2742 $as_echo_n "checking for target system (debug output)... " >&6; }
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2744 $as_echo "$target_os" >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2746 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2748 $as_echo "$target_cpu" >&6; }
2750 aros_default_wbwidth=800
2751 aros_default_wbheight=600
2752 aros_default_wbdepth=4
2755 # The first step is to find the host binaries.
2756 # Check for a compiler.
2758 ac_cpp='$CPP $CPPFLAGS'
2759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2762 if test -n "$ac_tool_prefix"; then
2763 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2764 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_CC+set}" = set; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$CC"; then
2771 ac_cv_prog_CC="$CC" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 if test -n "$CC"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2793 $as_echo "$CC" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2801 if test -z "$ac_cv_prog_CC"; then
2803 # Extract the first word of "gcc", so it can be a program name with args.
2804 set dummy gcc; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$ac_ct_CC"; then
2811 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 ac_cv_prog_ac_ct_CC="gcc"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2831 if test -n "$ac_ct_CC"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2833 $as_echo "$ac_ct_CC" >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2839 if test "x$ac_ct_CC" = x; then
2842 case $cross_compiling:$ac_tool_warned in
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846 ac_tool_warned=yes ;;
2854 if test -z "$CC"; then
2855 if test -n "$ac_tool_prefix"; then
2856 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2857 set dummy ${ac_tool_prefix}cc; ac_word=$2
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2859 $as_echo_n "checking for $ac_word... " >&6; }
2860 if test "${ac_cv_prog_CC+set}" = set; then :
2861 $as_echo_n "(cached) " >&6
2863 if test -n "$CC"; then
2864 ac_cv_prog_CC="$CC" # Let the user override the test.
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir=.
2871 for ac_exec_ext in '' $ac_executable_extensions; do
2872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2873 ac_cv_prog_CC="${ac_tool_prefix}cc"
2874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 if test -n "$CC"; then
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2886 $as_echo "$CC" >&6; }
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889 $as_echo "no" >&6; }
2895 if test -z "$CC"; then
2896 # Extract the first word of "cc", so it can be a program name with args.
2897 set dummy cc; ac_word=$2
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if test "${ac_cv_prog_CC+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$CC"; then
2904 ac_cv_prog_CC="$CC" # Let the user override the test.
2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 test -z "$as_dir" && as_dir=.
2912 for ac_exec_ext in '' $ac_executable_extensions; do
2913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2914 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2915 ac_prog_rejected=yes
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2926 if test $ac_prog_rejected = yes; then
2927 # We found a bogon in the path, so make sure we never use it.
2928 set dummy $ac_cv_prog_CC
2930 if test $# != 0; then
2931 # We chose a different compiler from the bogus one.
2932 # However, it has the same basename, so the bogon will be chosen
2933 # first if we set CC to just the basename; use the full file name.
2935 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2941 if test -n "$CC"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2951 if test -z "$CC"; then
2952 if test -n "$ac_tool_prefix"; then
2953 for ac_prog in cl.exe
2955 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2956 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if test "${ac_cv_prog_CC+set}" = set; then :
2960 $as_echo_n "(cached) " >&6
2962 if test -n "$CC"; then
2963 ac_cv_prog_CC="$CC" # Let the user override the test.
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir=.
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 if test -n "$CC"; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2985 $as_echo "$CC" >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2992 test -n "$CC" && break
2995 if test -z "$CC"; then
2997 for ac_prog in cl.exe
2999 # Extract the first word of "$ac_prog", so it can be a program name with args.
3000 set dummy $ac_prog; ac_word=$2
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002 $as_echo_n "checking for $ac_word... " >&6; }
3003 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3004 $as_echo_n "(cached) " >&6
3006 if test -n "$ac_ct_CC"; then
3007 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013 test -z "$as_dir" && as_dir=.
3014 for ac_exec_ext in '' $ac_executable_extensions; do
3015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3016 ac_cv_prog_ac_ct_CC="$ac_prog"
3017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3027 if test -n "$ac_ct_CC"; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3029 $as_echo "$ac_ct_CC" >&6; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3036 test -n "$ac_ct_CC" && break
3039 if test "x$ac_ct_CC" = x; then
3042 case $cross_compiling:$ac_tool_warned in
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3046 ac_tool_warned=yes ;;
3055 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3058 See \
`config.log' for more details" "$LINENO" 5 ; }
3060 # Provide some information about the compiler.
3061 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3064 for ac_option in --version -v -V -qversion; do
3065 { { ac_try="$ac_compiler $ac_option >&5"
3067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3068 *) ac_try_echo
=$ac_try;;
3070 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3074 if test -s conftest.err
; then
3076 ... rest of stderr output deleted ...
3077 10q' conftest.err
>conftest.er1
3078 cat conftest.er1
>&5
3080 rm -f conftest.er1 conftest.err
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; }
3085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3096 ac_clean_files_save
=$ac_clean_files
3097 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3098 # Try to create an executable without -o first, disregard a.out.
3099 # It will help us diagnose broken compilers, and finding out an intuition
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3102 $as_echo_n "checking whether the C compiler works... " >&6; }
3103 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3105 # The possible output files:
3106 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3109 for ac_file
in $ac_files
3112 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3113 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3118 if { { ac_try
="$ac_link_default"
3120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124 $as_echo "$ac_try_echo"; } >&5
3125 (eval "$ac_link_default") 2>&5
3127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3128 test $ac_status = 0; }; then :
3129 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3130 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3131 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3132 # so that the user can short-circuit this test for compilers unknown to
3134 for ac_file in $ac_files ''
3136 test -f "$ac_file" || continue
3138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3141 # We found the default executable, but exeext='' is most
3145 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3147 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3149 # We set ac_cv_exeext here because the later test for it is not
3150 # safe: cross compilers may not add the suffix if given an `-o'
3151 # argument, so we may need to know it at that point already.
3152 # Even if this section looks crufty: it has the advantage of
3159 test "$ac_cv_exeext" = no && ac_cv_exeext=
3164 if test -z "$ac_file"; then :
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3167 $as_echo "$as_me: failed program was:" >&5
3168 sed 's
/^
/|
/' conftest.$ac_ext >&5
3170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3171 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3172 as_fn_error 77 "C compiler cannot create executables
3173 See \`config.log
' for more details" "$LINENO" 5 ; }
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3176 $as_echo "yes" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3179 $as_echo_n "checking for C compiler default output file name... " >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3181 $as_echo "$ac_file" >&6; }
3182 ac_exeext=$ac_cv_exeext
3184 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3185 ac_clean_files=$ac_clean_files_save
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3187 $as_echo_n "checking for suffix of executables... " >&6; }
3188 if { { ac_try="$ac_link"
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3194 $as_echo "$ac_try_echo"; } >&5
3195 (eval "$ac_link") 2>&5
3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3198 test $ac_status = 0; }; then :
3199 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3200 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3201 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3203 for ac_file
in conftest.exe conftest conftest.
*; do
3204 test -f "$ac_file" ||
continue
3206 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3207 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3216 See \`config.log' for more details" "$LINENO" 5 ; }
3218 rm -f conftest conftest
$ac_cv_exeext
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3220 $as_echo "$ac_cv_exeext" >&6; }
3222 rm -f conftest.
$ac_ext
3223 EXEEXT
=$ac_cv_exeext
3225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3231 FILE *f = fopen ("conftest.out", "w");
3232 return ferror (f) || fclose (f) != 0;
3238 ac_clean_files
="$ac_clean_files conftest.out"
3239 # Check that the compiler produces executables we can run. If not, either
3240 # the compiler is broken, or we cross compile.
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3242 $as_echo_n "checking whether we are cross compiling... " >&6; }
3243 if test "$cross_compiling" != yes; then
3244 { { ac_try
="$ac_link"
3246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3250 $as_echo "$ac_try_echo"; } >&5
3251 (eval "$ac_link") 2>&5
3253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3254 test $ac_status = 0; }
3255 if { ac_try='./conftest$ac_cv_exeext'
3256 { { case "(($ac_try" in
3257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3258 *) ac_try_echo
=$ac_try;;
3260 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_try") 2>&5
3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265 test $ac_status = 0; }; }; then
3268 if test "$cross_compiling" = maybe
; then
3271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3273 as_fn_error $?
"cannot run C compiled programs.
3274 If you meant to cross compile, use \`--host'.
3275 See \`config.log' for more details" "$LINENO" 5 ; }
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3280 $as_echo "$cross_compiling" >&6; }
3282 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3283 ac_clean_files
=$ac_clean_files_save
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3285 $as_echo_n "checking for suffix of object files... " >&6; }
3286 if test "${ac_cv_objext+set}" = set; then :
3287 $as_echo_n "(cached) " >&6
3289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3300 rm -f conftest.o conftest.obj
3301 if { { ac_try
="$ac_compile"
3303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3304 *) ac_try_echo=$ac_try;;
3306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307 $as_echo "$ac_try_echo"; } >&5
3308 (eval "$ac_compile") 2>&5
3310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311 test $ac_status = 0; }; then :
3312 for ac_file in conftest.o conftest.obj conftest.*; do
3313 test -f "$ac_file" || continue;
3315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3316 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3321 $as_echo "$as_me: failed program was:" >&5
3322 sed 's/^/| /' conftest.$ac_ext >&5
3324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3327 See \
`config.log' for more details" "$LINENO" 5 ; }
3329 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3332 $as_echo "$ac_cv_objext" >&6; }
3333 OBJEXT=$ac_cv_objext
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3336 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3337 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3338 $as_echo_n "(cached) " >&6
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3354 if ac_fn_c_try_compile "$LINENO"; then :
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3360 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3364 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3365 if test $ac_compiler_gnu = yes; then
3370 ac_test_CFLAGS=${CFLAGS+set}
3371 ac_save_CFLAGS=$CFLAGS
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3373 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3374 if test "${ac_cv_prog_cc_g+set}" = set; then :
3375 $as_echo_n "(cached) " >&6
3377 ac_save_c_werror_flag=$ac_c_werror_flag
3378 ac_c_werror_flag=yes
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3392 if ac_fn_c_try_compile "$LINENO"; then :
3396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3407 if ac_fn_c_try_compile "$LINENO"; then :
3410 ac_c_werror_flag=$ac_save_c_werror_flag
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3423 if ac_fn_c_try_compile "$LINENO"; then :
3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 ac_c_werror_flag=$ac_save_c_werror_flag
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3434 $as_echo "$ac_cv_prog_cc_g" >&6; }
3435 if test "$ac_test_CFLAGS" = set; then
3436 CFLAGS=$ac_save_CFLAGS
3437 elif test $ac_cv_prog_cc_g = yes; then
3438 if test "$GCC" = yes; then
3444 if test "$GCC" = yes; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3451 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3452 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3453 $as_echo_n "(cached) " >&6
3455 ac_cv_prog_cc_c89=no
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3461 #include <sys/types.h>
3462 #include <sys/stat.h>
3463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3464 struct buf { int x; };
3465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3466 static char *e (p, i)
3472 static char *f (char * (*g) (char **, int), char **p, ...)
3477 s = g (p, va_arg (v,int));
3482 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3483 function prototypes and stuff, but not '\xHH' hex character constants.
3484 These don't provoke an error unfortunately, instead are silently treated
3485 as 'x'. The following induces an error, until -std is added to get
3486 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3487 array size at least. It's necessary to write '\x00'==0 to get something
3488 that's true only with -std. */
3489 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3491 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3492 inside strings and character constants. */
3494 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3496 int test (int i, double x);
3497 struct s1 {int (*f) (int a);};
3498 struct s2 {int (*f) (double a);};
3499 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3505 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3510 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3511 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3513 CC="$ac_save_CC $ac_arg"
3514 if ac_fn_c_try_compile "$LINENO"; then :
3515 ac_cv_prog_cc_c89=$ac_arg
3517 rm -f core conftest.err conftest.$ac_objext
3518 test "x$ac_cv_prog_cc_c89" != "xno" && break
3520 rm -f conftest.$ac_ext
3525 case "x$ac_cv_prog_cc_c89" in
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3528 $as_echo "none needed" >&6; } ;;
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3531 $as_echo "unsupported" >&6; } ;;
3533 CC="$CC $ac_cv_prog_cc_c89"
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3535 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3537 if test "x$ac_cv_prog_cc_c89" != xno; then :
3542 ac_cpp='$CPP $CPPFLAGS'
3543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3547 case $ac_cv_prog_cc_stdc in #(
3549 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3552 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3553 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3554 $as_echo_n "(cached) " >&6
3556 ac_cv_prog_cc_c99=no
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3561 #include <stdbool.h>
3566 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3567 #define debug(...) fprintf (stderr, __VA_ARGS__)
3568 #define showlist(...) puts (#__VA_ARGS__)
3569 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3571 test_varargs_macros (void)
3576 debug ("X = %d\n", x);
3577 showlist (The first, second, and third items.);
3578 report (x>y, "x is %d but y is %d", x, y);
3581 // Check long long types.
3582 #define BIG64 18446744073709551615ull
3583 #define BIG32 4294967295ul
3584 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3586 your preprocessor is broken;
3590 your preprocessor is broken;
3592 static long long int bignum = -9223372036854775807LL;
3593 static unsigned long long int ubignum = BIG64;
3595 struct incomplete_array
3603 const wchar_t *name;
3607 typedef const char *ccp;
3610 test_restrict (ccp restrict text)
3612 // See if C++-style comments work.
3613 // Iterate through items via the restricted pointer.
3614 // Also check for declarations in for loops.
3615 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3620 // Check varargs and va_copy.
3622 test_varargs (const char *format, ...)
3625 va_start (args, format);
3627 va_copy (args_copy, args);
3638 str = va_arg (args_copy, const char *);
3641 number = va_arg (args_copy, int);
3644 fnumber = va_arg (args_copy, double);
3659 _Bool success = false;
3662 if (test_restrict ("String literal") == 0)
3664 char *restrict newvar = "Another string";
3667 test_varargs ("s, d' f .", "string", 65, 34.234);
3668 test_varargs_macros ();
3670 // Check flexible array members.
3671 struct incomplete_array *ia =
3672 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3674 for (int i = 0; i < ia->datasize; ++i)
3675 ia->data[i] = i * 1.234;
3677 // Check named initializers.
3678 struct named_init ni = {
3680 .name = L"Test wide string",
3681 .average = 543.34343,
3686 int dynamic_array[ni.number];
3687 dynamic_array[ni.number - 1] = 543;
3689 // work around unused variable warnings
3690 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3691 || dynamic_array[ni.number - 1] != 543);
3697 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3699 CC="$ac_save_CC $ac_arg"
3700 if ac_fn_c_try_compile "$LINENO"; then :
3701 ac_cv_prog_cc_c99=$ac_arg
3703 rm -f core conftest.err conftest.$ac_objext
3704 test "x$ac_cv_prog_cc_c99" != "xno" && break
3706 rm -f conftest.$ac_ext
3711 case "x$ac_cv_prog_cc_c99" in
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3714 $as_echo "none needed" >&6; } ;;
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3717 $as_echo "unsupported" >&6; } ;;
3719 CC="$CC $ac_cv_prog_cc_c99"
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3721 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3723 if test "x$ac_cv_prog_cc_c99" != xno; then :
3724 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3727 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3728 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3729 $as_echo_n "(cached) " >&6
3731 ac_cv_prog_cc_c89=no
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3737 #include <sys/types.h>
3738 #include <sys/stat.h>
3739 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3740 struct buf { int x; };
3741 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3742 static char *e (p, i)
3748 static char *f (char * (*g) (char **, int), char **p, ...)
3753 s = g (p, va_arg (v,int));
3758 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3759 function prototypes and stuff, but not '\xHH' hex character constants.
3760 These don't provoke an error unfortunately, instead are silently treated
3761 as 'x'. The following induces an error, until -std is added to get
3762 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3763 array size at least. It's necessary to write '\x00'==0 to get something
3764 that's true only with -std. */
3765 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3767 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3768 inside strings and character constants. */
3770 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3772 int test (int i, double x);
3773 struct s1 {int (*f) (int a);};
3774 struct s2 {int (*f) (double a);};
3775 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3781 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3786 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3787 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3789 CC="$ac_save_CC $ac_arg"
3790 if ac_fn_c_try_compile "$LINENO"; then :
3791 ac_cv_prog_cc_c89=$ac_arg
3793 rm -f core conftest.err conftest.$ac_objext
3794 test "x$ac_cv_prog_cc_c89" != "xno" && break
3796 rm -f conftest.$ac_ext
3801 case "x$ac_cv_prog_cc_c89" in
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3804 $as_echo "none needed" >&6; } ;;
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3807 $as_echo "unsupported" >&6; } ;;
3809 CC="$CC $ac_cv_prog_cc_c89"
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3811 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3813 if test "x$ac_cv_prog_cc_c89" != xno; then :
3814 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3816 ac_cv_prog_cc_stdc=no
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3823 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3824 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3825 $as_echo_n "(cached) " >&6
3828 case $ac_cv_prog_cc_stdc in #(
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3831 $as_echo "unsupported" >&6; } ;; #(
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3834 $as_echo "none needed" >&6; } ;; #(
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3837 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3841 ac_cpp='$CXXCPP $CPPFLAGS'
3842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3845 if test -z "$CXX"; then
3846 if test -n "$CCC"; then
3849 if test -n "$ac_tool_prefix"; then
3850 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if test "${ac_cv_prog_CXX+set}" = set; then :
3857 $as_echo_n "(cached) " >&6
3859 if test -n "$CXX"; then
3860 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3869 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3880 if test -n "$CXX"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3882 $as_echo "$CXX" >&6; }
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3889 test -n "$CXX" && break
3892 if test -z "$CXX"; then
3894 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3896 # Extract the first word of "$ac_prog", so it can be a program name with args.
3897 set dummy $ac_prog; ac_word=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3901 $as_echo_n "(cached) " >&6
3903 if test -n "$ac_ct_CXX"; then
3904 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir=.
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3913 ac_cv_prog_ac_ct_CXX="$ac_prog"
3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3924 if test -n "$ac_ct_CXX"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3926 $as_echo "$ac_ct_CXX" >&6; }
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3933 test -n "$ac_ct_CXX" && break
3936 if test "x$ac_ct_CXX" = x; then
3939 case $cross_compiling:$ac_tool_warned in
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3943 ac_tool_warned=yes ;;
3951 # Provide some information about the compiler.
3952 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3955 for ac_option in --version -v -V -qversion; do
3956 { { ac_try="$ac_compiler $ac_option >&5"
3958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3959 *) ac_try_echo
=$ac_try;;
3961 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3965 if test -s conftest.err
; then
3967 ... rest of stderr output deleted ...
3968 10q' conftest.err
>conftest.er1
3969 cat conftest.er1
>&5
3971 rm -f conftest.er1 conftest.err
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3977 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3978 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h. */
3995 if ac_fn_cxx_try_compile
"$LINENO"; then :
4000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4001 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4005 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4006 if test $ac_compiler_gnu = yes; then
4011 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4012 ac_save_CXXFLAGS
=$CXXFLAGS
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4014 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4015 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4016 $as_echo_n "(cached) " >&6
4018 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4019 ac_cxx_werror_flag
=yes
4022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4033 if ac_fn_cxx_try_compile
"$LINENO"; then :
4034 ac_cv_prog_cxx_g
=yes
4037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4048 if ac_fn_cxx_try_compile
"$LINENO"; then :
4051 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4064 if ac_fn_cxx_try_compile
"$LINENO"; then :
4065 ac_cv_prog_cxx_g
=yes
4067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4072 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4075 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4076 if test "$ac_test_CXXFLAGS" = set; then
4077 CXXFLAGS
=$ac_save_CXXFLAGS
4078 elif test $ac_cv_prog_cxx_g = yes; then
4079 if test "$GXX" = yes; then
4085 if test "$GXX" = yes; then
4092 ac_cpp
='$CPP $CPPFLAGS'
4093 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4094 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4095 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4098 ac_cpp
='$CPP $CPPFLAGS'
4099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4103 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4104 # On Suns, sometimes $CPP names a directory.
4105 if test -n "$CPP" && test -d "$CPP"; then
4108 if test -z "$CPP"; then
4109 if test "${ac_cv_prog_CPP+set}" = set; then :
4110 $as_echo_n "(cached) " >&6
4112 # Double quotes because CPP needs to be expanded
4113 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4116 for ac_c_preproc_warn_flag
in '' yes
4118 # Use a header file that comes with gcc, so configuring glibc
4119 # with a fresh cross-compiler works.
4120 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4121 # <limits.h> exists even on freestanding compilers.
4122 # On the NeXT, cc -E runs the code through the compiler's parser,
4123 # not just through cpp. "Syntax error" is here to catch this case.
4124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4127 # include <limits.h>
4129 # include <assert.h>
4133 if ac_fn_c_try_cpp
"$LINENO"; then :
4136 # Broken: fails on valid input.
4139 rm -f conftest.err conftest.i conftest.
$ac_ext
4141 # OK, works on sane cases. Now check whether nonexistent headers
4142 # can be detected and how.
4143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4145 #include <ac_nonexistent.h>
4147 if ac_fn_c_try_cpp
"$LINENO"; then :
4148 # Broken: success on invalid input.
4151 # Passes both tests.
4155 rm -f conftest.err conftest.i conftest.
$ac_ext
4158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4159 rm -f conftest.i conftest.err conftest.
$ac_ext
4160 if $ac_preproc_ok; then :
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4173 $as_echo "$CPP" >&6; }
4175 for ac_c_preproc_warn_flag
in '' yes
4177 # Use a header file that comes with gcc, so configuring glibc
4178 # with a fresh cross-compiler works.
4179 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4180 # <limits.h> exists even on freestanding compilers.
4181 # On the NeXT, cc -E runs the code through the compiler's parser,
4182 # not just through cpp. "Syntax error" is here to catch this case.
4183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4186 # include <limits.h>
4188 # include <assert.h>
4192 if ac_fn_c_try_cpp
"$LINENO"; then :
4195 # Broken: fails on valid input.
4198 rm -f conftest.err conftest.i conftest.
$ac_ext
4200 # OK, works on sane cases. Now check whether nonexistent headers
4201 # can be detected and how.
4202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4204 #include <ac_nonexistent.h>
4206 if ac_fn_c_try_cpp
"$LINENO"; then :
4207 # Broken: success on invalid input.
4210 # Passes both tests.
4214 rm -f conftest.err conftest.i conftest.
$ac_ext
4217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4218 rm -f conftest.i conftest.err conftest.
$ac_ext
4219 if $ac_preproc_ok; then :
4222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4224 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4225 See \`config.log' for more details" "$LINENO" 5 ; }
4229 ac_cpp
='$CPP $CPPFLAGS'
4230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4235 # Check for a compatible awk
4236 for ac_prog
in gawk nawk
4238 # Extract the first word of "$ac_prog", so it can be a program name with args.
4239 set dummy
$ac_prog; ac_word
=$2
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241 $as_echo_n "checking for $ac_word... " >&6; }
4242 if test "${ac_cv_prog_AWK+set}" = set; then :
4243 $as_echo_n "(cached) " >&6
4245 if test -n "$AWK"; then
4246 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4252 test -z "$as_dir" && as_dir
=.
4253 for ac_exec_ext
in '' $ac_executable_extensions; do
4254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4255 ac_cv_prog_AWK
="$ac_prog"
4256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4266 if test -n "$AWK"; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4268 $as_echo "$AWK" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4275 test -n "$AWK" && break
4278 if test "$AWK" = ""; then
4279 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4281 # Extract the first word of "mmake", so it can be a program name with args.
4282 set dummy mmake
; ac_word
=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if test "${ac_cv_prog_MMAKE+set}" = set; then :
4286 $as_echo_n "(cached) " >&6
4288 if test -n "$MMAKE"; then
4289 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4298 ac_cv_prog_MMAKE
="mmake "
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4308 MMAKE
=$ac_cv_prog_MMAKE
4309 if test -n "$MMAKE"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4311 $as_echo "$MMAKE" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4319 # Perform some default variable assignments. Note all of these will be
4320 # Regenerated from the script, so there is no need to cache them.
4322 aros_host_cpp
="$CPP"
4324 aros_host_cxx
="$CXX"
4325 if test "$GCC" = "yes"; then
4326 aros_gcc_ld
=`$CC -print-prog-name=ld`
4327 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4328 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4330 $as_echo_n "checking for $ac_word... " >&6; }
4331 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4332 $as_echo_n "(cached) " >&6
4334 case $aros_host_ld in
4336 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4340 for as_dir
in `dirname $aros_gcc_ld`
4343 test -z "$as_dir" && as_dir
=.
4344 for ac_exec_ext
in '' $ac_executable_extensions; do
4345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4346 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357 aros_host_ld
=$ac_cv_path_aros_host_ld
4358 if test -n "$aros_host_ld"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4360 $as_echo "$aros_host_ld" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4368 if test "$aros_host_ld" = ""; then
4369 # Extract the first word of "ld", so it can be a program name with args.
4370 set dummy ld
; ac_word
=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4374 $as_echo_n "(cached) " >&6
4376 case $aros_host_ld in
4378 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4385 test -z "$as_dir" && as_dir
=.
4386 for ac_exec_ext
in '' $ac_executable_extensions; do
4387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4388 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 aros_host_ld
=$ac_cv_path_aros_host_ld
4400 if test -n "$aros_host_ld"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4402 $as_echo "$aros_host_ld" >&6; }
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4410 if test "$aros_host_ld" = ""; then
4411 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4413 aros_host_make
="make"
4414 aros_host_cflags
=$CFLAGS
4415 aros_host_cxxflags
=$CXXFLAGS
4416 aros_host_ldflags
=$LDFLAGS
4417 aros_host_debug
="-g -O0"
4418 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4419 aros_host_mkargs
="--no-print-directory"
4420 aros_host_exe_suffix
="$EXEEXT"
4421 aros_host_lib_suffix
=""
4423 # Ignore all compliance, AROS ROMs = 0
4424 # KickStart v1.0 = 30
4425 # KickStart v1.3 = 34
4426 # KickStart v2.0 = 37
4427 # KickStart v3.0 = 39
4428 # KickStart v3.1 = 40
4430 aros_amigaos_compliance
=0
4432 for ac_prog
in aclocal aclocal19 aclocal-1.9
4434 # Extract the first word of "$ac_prog", so it can be a program name with args.
4435 set dummy
$ac_prog; ac_word
=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4441 if test -n "$aros_host_aclocal"; then
4442 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir
=.
4449 for ac_exec_ext
in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4462 if test -n "$aros_host_aclocal"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4464 $as_echo "$aros_host_aclocal" >&6; }
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4471 test -n "$aros_host_aclocal" && break
4474 for ac_prog
in autoconf autoconf259 autoconf253
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy
$ac_prog; ac_word
=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4483 if test -n "$aros_host_autoconf"; then
4484 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir
=.
4491 for ac_exec_ext
in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4504 if test -n "$aros_host_autoconf"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4506 $as_echo "$aros_host_autoconf" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4513 test -n "$aros_host_autoconf" && break
4516 for ac_prog
in autoheader autoheader259 autoheader253
4518 # Extract the first word of "$ac_prog", so it can be a program name with args.
4519 set dummy
$ac_prog; ac_word
=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4523 $as_echo_n "(cached) " >&6
4525 if test -n "$aros_host_autoheader"; then
4526 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir
=.
4533 for ac_exec_ext
in '' $ac_executable_extensions; do
4534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4535 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4546 if test -n "$aros_host_autoheader"; then
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4548 $as_echo "$aros_host_autoheader" >&6; }
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551 $as_echo "no" >&6; }
4555 test -n "$aros_host_autoheader" && break
4558 for ac_prog
in automake automake19 automake-1.9
4560 # Extract the first word of "$ac_prog", so it can be a program name with args.
4561 set dummy
$ac_prog; ac_word
=$2
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4563 $as_echo_n "checking for $ac_word... " >&6; }
4564 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4565 $as_echo_n "(cached) " >&6
4567 if test -n "$aros_host_automake"; then
4568 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4574 test -z "$as_dir" && as_dir
=.
4575 for ac_exec_ext
in '' $ac_executable_extensions; do
4576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4577 ac_cv_prog_aros_host_automake
="$ac_prog"
4578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 aros_host_automake
=$ac_cv_prog_aros_host_automake
4588 if test -n "$aros_host_automake"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4590 $as_echo "$aros_host_automake" >&6; }
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 $as_echo "no" >&6; }
4597 test -n "$aros_host_automake" && break
4601 if test "$aros_host_aclocal" = ""; then
4602 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4604 if test "$aros_host_automake" = ""; then
4605 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4608 case "$aros_host_cc" in
4610 aros_host_cc_pipe
="-pipe"
4613 aros_host_cc_pipe
=""
4616 aros_host_cc_pipe
=""
4620 aros_kernel_cc_includes
=""
4621 aros_target_cc_includes
=""
4623 # ----------------------------------------------------------------------------------------
4624 # Host-specific defaults
4626 # This is the main host configuration section. It is where the host
4627 # can change the values of any variables it needs to change. We do
4628 # not look at anything that compiles to the target yet, we'll get
4633 aros_host_arch
="aros"
4634 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4637 aros_host_cpu
="i386"
4640 aros_host_cpu
="x86_64"
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4647 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4648 aros_host_cpu
="$host_cpu"
4654 aros_host_arch
="linux"
4655 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4656 android_build_os
="linux-x86"
4657 android_tool
="android"
4658 default_android_sdk
="/opt/android-sdk-linux_x86"
4661 aros_host_cpu
="i386"
4664 aros_host_cpu
="x86_64"
4667 aros_host_cpu
="m68k"
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4677 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4678 aros_host_cpu
="$host_cpu"
4684 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4685 aros_host_make
="gmake"
4686 aros_host_arch
="freebsd"
4687 aros_host_cpu
="i386"
4689 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4693 aros_object_format
="elf_i386"
4697 aros_object_format
="elf_i386_fbsd"
4704 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4705 aros_host_arch
="darwin"
4706 android_build_os
="darwin-x86"
4707 android_tool
="android"
4708 default_android_sdk
="/android-sdk-mac_x86"
4711 aros_host_cpu
="i386"
4714 aros_host_cpu
="x86_64"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4721 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4722 aros_host_cpu
="$host_cpu"
4726 aros_host_ldflags
="$aros_host_ldflags -liconv"
4731 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4732 aros_host_make
="gmake"
4733 aros_host_arch
="dragonfly"
4736 aros_host_cpu
="i386"
4739 aros_host_cpu
="x86_64"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4743 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4744 aros_host_cpu
="$host_cpu"
4750 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4751 aros_host_make
="gmake"
4752 aros_host_arch
="netbsd"
4755 aros_host_cpu
="i386"
4758 aros_host_cpu
="m68k"
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4762 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4763 aros_host_cpu
="$host_cpu"
4766 aros_host_lib_suffix
=".0.0"
4770 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4771 aros_host_make
="gmake"
4772 aros_host_arch
="openbsd"
4775 aros_host_cpu
="i386"
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4779 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4780 aros_host_cpu
="$host_cpu"
4786 aros_host_arch
="solaris"
4787 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4790 aros_host_cpu
="i386"
4793 aros_host_cpu
="sparc"
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4797 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4798 aros_host_cpu
="$host_cpu"
4804 aros_host_arch
="morphos"
4809 aros_host_arch
="amiga"
4814 TOUCH
="/gg/bin/touch"
4817 aros_host_cpu
="m68k"
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4824 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4825 aros_host_cpu
="$host_cpu"
4831 aros_host_arch
="cygwin"
4832 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4833 android_build_os
="windows"
4834 android_tool
="android.bat"
4835 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4839 aros_host_cpu
="i386"
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4843 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4844 aros_host_cpu
="$host_cpu"
4850 aros_host_arch
="mingw32"
4851 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4852 android_build_os
="windows"
4853 android_tool
="android.bat"
4854 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4860 $as_echo_n "checking for Windows native gcc target... " >&6; }
4861 host_cpu
=`gcc -dumpmachine`
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4863 $as_echo "$host_cpu" >&6; }
4870 aros_host_cpu
="i386"
4874 aros_host_cpu
="i386"
4878 aros_host_cpu
="x86_64"
4879 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4884 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4885 aros_host_cpu
="$host_cpu"
4890 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4894 # Extract the first word of "ar", so it can be a program name with args.
4895 set dummy
ar; ac_word
=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4901 if test -n "$aros_host_ar"; then
4902 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4908 test -z "$as_dir" && as_dir
=.
4909 for ac_exec_ext
in '' $ac_executable_extensions; do
4910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4911 ac_cv_prog_aros_host_ar
="ar cr"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 aros_host_ar
=$ac_cv_prog_aros_host_ar
4922 if test -n "$aros_host_ar"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4924 $as_echo "$aros_host_ar" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4931 if test "$aros_host_ar" = ""; then
4932 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4934 # Extract the first word of "ranlib", so it can be a program name with args.
4935 set dummy ranlib
; ac_word
=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4939 $as_echo_n "(cached) " >&6
4941 if test -n "$aros_host_ranlib"; then
4942 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4948 test -z "$as_dir" && as_dir
=.
4949 for ac_exec_ext
in '' $ac_executable_extensions; do
4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4951 ac_cv_prog_aros_host_ranlib
="ranlib "
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4962 if test -n "$aros_host_ranlib"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4964 $as_echo "$aros_host_ranlib" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4971 if test "$aros_host_ranlib" = ""; then
4972 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4974 # Extract the first word of "strip", so it can be a program name with args.
4975 set dummy strip
; ac_word
=$2
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 $as_echo_n "checking for $ac_word... " >&6; }
4978 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4979 $as_echo_n "(cached) " >&6
4981 if test -n "$aros_host_strip"; then
4982 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4988 test -z "$as_dir" && as_dir
=.
4989 for ac_exec_ext
in '' $ac_executable_extensions; do
4990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4991 ac_cv_prog_aros_host_strip
="strip "
4992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 aros_host_strip
=$ac_cv_prog_aros_host_strip
5002 if test -n "$aros_host_strip"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5004 $as_echo "$aros_host_strip" >&6; }
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 $as_echo "no" >&6; }
5011 if test "$aros_host_strip" = ""; then
5012 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5015 # Extract the first word of "rm", so it can be a program name with args.
5016 set dummy
rm; ac_word
=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if test "${ac_cv_prog_RM+set}" = set; then :
5020 $as_echo_n "(cached) " >&6
5022 if test -n "$RM"; then
5023 ac_cv_prog_RM
="$RM" # Let the user override the test.
5025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5029 test -z "$as_dir" && as_dir
=.
5030 for ac_exec_ext
in '' $ac_executable_extensions; do
5031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5032 ac_cv_prog_RM
="rm -rf"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 if test -n "$RM"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5045 $as_echo "$RM" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5052 if test "$RM" = ""; then
5053 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5055 # Extract the first word of "cp", so it can be a program name with args.
5056 set dummy
cp; ac_word
=$2
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 $as_echo_n "checking for $ac_word... " >&6; }
5059 if test "${ac_cv_prog_CP+set}" = set; then :
5060 $as_echo_n "(cached) " >&6
5062 if test -n "$CP"; then
5063 ac_cv_prog_CP
="$CP" # Let the user override the test.
5065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5069 test -z "$as_dir" && as_dir
=.
5070 for ac_exec_ext
in '' $ac_executable_extensions; do
5071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 if test -n "$CP"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5085 $as_echo "$CP" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5092 if test "$CP" = ""; then
5093 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5095 # Extract the first word of "mv", so it can be a program name with args.
5096 set dummy
mv; ac_word
=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if test "${ac_cv_prog_MV+set}" = set; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -n "$MV"; then
5103 ac_cv_prog_MV
="$MV" # Let the user override the test.
5105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir
=.
5110 for ac_exec_ext
in '' $ac_executable_extensions; do
5111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 if test -n "$MV"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5125 $as_echo "$MV" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5132 if test "$MV" = ""; then
5133 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5135 # Extract the first word of "echo", so it can be a program name with args.
5136 set dummy
echo; ac_word
=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138 $as_echo_n "checking for $ac_word... " >&6; }
5139 if test "${ac_cv_prog_ECHO+set}" = set; then :
5140 $as_echo_n "(cached) " >&6
5142 if test -n "$ECHO"; then
5143 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5149 test -z "$as_dir" && as_dir
=.
5150 for ac_exec_ext
in '' $ac_executable_extensions; do
5151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5152 ac_cv_prog_ECHO
="echo "
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 ECHO
=$ac_cv_prog_ECHO
5163 if test -n "$ECHO"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5165 $as_echo "$ECHO" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5172 if test "$ECHO" = ""; then
5173 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5175 # Extract the first word of "mkdir", so it can be a program name with args.
5176 set dummy mkdir
; ac_word
=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if test "${ac_cv_prog_MKDIR+set}" = set; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$MKDIR"; then
5183 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir
=.
5190 for ac_exec_ext
in '' $ac_executable_extensions; do
5191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5192 ac_cv_prog_MKDIR
="mkdir -p"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 MKDIR
=$ac_cv_prog_MKDIR
5203 if test -n "$MKDIR"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5205 $as_echo "$MKDIR" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 if test "$MKDIR" = ""; then
5213 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5215 # Extract the first word of "touch", so it can be a program name with args.
5216 set dummy
touch; ac_word
=$2
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5218 $as_echo_n "checking for $ac_word... " >&6; }
5219 if test "${ac_cv_prog_TOUCH+set}" = set; then :
5220 $as_echo_n "(cached) " >&6
5222 if test -n "$TOUCH"; then
5223 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5229 test -z "$as_dir" && as_dir
=.
5230 for ac_exec_ext
in '' $ac_executable_extensions; do
5231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5232 ac_cv_prog_TOUCH
="touch "
5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 TOUCH
=$ac_cv_prog_TOUCH
5243 if test -n "$TOUCH"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5245 $as_echo "$TOUCH" >&6; }
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5252 if test "$TOUCH" = ""; then
5253 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5255 # Extract the first word of "sort", so it can be a program name with args.
5256 set dummy
sort; ac_word
=$2
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5258 $as_echo_n "checking for $ac_word... " >&6; }
5259 if test "${ac_cv_prog_SORT+set}" = set; then :
5260 $as_echo_n "(cached) " >&6
5262 if test -n "$SORT"; then
5263 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir
=.
5270 for ac_exec_ext
in '' $ac_executable_extensions; do
5271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272 ac_cv_prog_SORT
="sort "
5273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 SORT
=$ac_cv_prog_SORT
5283 if test -n "$SORT"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5285 $as_echo "$SORT" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5292 if test "$SORT" = ""; then
5293 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5295 # Extract the first word of "uniq", so it can be a program name with args.
5296 set dummy
uniq; ac_word
=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 $as_echo_n "checking for $ac_word... " >&6; }
5299 if test "${ac_cv_prog_UNIQ+set}" = set; then :
5300 $as_echo_n "(cached) " >&6
5302 if test -n "$UNIQ"; then
5303 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir
=.
5310 for ac_exec_ext
in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_UNIQ
="uniq "
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 UNIQ
=$ac_cv_prog_UNIQ
5323 if test -n "$UNIQ"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5325 $as_echo "$UNIQ" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5332 if test "$UNIQ" = ""; then
5333 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5335 # Extract the first word of "true", so it can be a program name with args.
5336 set dummy true
; ac_word
=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if test "${ac_cv_prog_NOP+set}" = set; then :
5340 $as_echo_n "(cached) " >&6
5342 if test -n "$NOP"; then
5343 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir
=.
5350 for ac_exec_ext
in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_NOP
="true "
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 if test -n "$NOP"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5365 $as_echo "$NOP" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5372 if test "$NOP" = ""; then
5373 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5375 # Extract the first word of "cat", so it can be a program name with args.
5376 set dummy
cat; ac_word
=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if test "${ac_cv_prog_CAT+set}" = set; then :
5380 $as_echo_n "(cached) " >&6
5382 if test -n "$CAT"; then
5383 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir
=.
5390 for ac_exec_ext
in '' $ac_executable_extensions; do
5391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5392 ac_cv_prog_CAT
="cat "
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5403 if test -n "$CAT"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5405 $as_echo "$CAT" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5412 if test "$CAT" = ""; then
5413 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5415 # Extract the first word of "bison", so it can be a program name with args.
5416 set dummy bison
; ac_word
=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if test "${ac_cv_prog_BISON+set}" = set; then :
5420 $as_echo_n "(cached) " >&6
5422 if test -n "$BISON"; then
5423 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5429 test -z "$as_dir" && as_dir
=.
5430 for ac_exec_ext
in '' $ac_executable_extensions; do
5431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5432 ac_cv_prog_BISON
="bison "
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 BISON
=$ac_cv_prog_BISON
5443 if test -n "$BISON"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5445 $as_echo "$BISON" >&6; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5452 if test "$BISON" = ""; then
5453 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5455 # Extract the first word of "flex", so it can be a program name with args.
5456 set dummy flex
; ac_word
=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if test "${ac_cv_prog_FLEX+set}" = set; then :
5460 $as_echo_n "(cached) " >&6
5462 if test -n "$FLEX"; then
5463 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir
=.
5470 for ac_exec_ext
in '' $ac_executable_extensions; do
5471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5472 ac_cv_prog_FLEX
="flex "
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 FLEX
=$ac_cv_prog_FLEX
5483 if test -n "$FLEX"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5485 $as_echo "$FLEX" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5492 if test "$FLEX" = ""; then
5493 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5495 # Extract the first word of "pngtopnm", so it can be a program name with args.
5496 set dummy pngtopnm
; ac_word
=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5500 $as_echo_n "(cached) " >&6
5502 if test -n "$PNGTOPNM"; then
5503 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir
=.
5510 for ac_exec_ext
in '' $ac_executable_extensions; do
5511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5512 ac_cv_prog_PNGTOPNM
="pngtopnm "
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5523 if test -n "$PNGTOPNM"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5525 $as_echo "$PNGTOPNM" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5532 if test "$PNGTOPNM" = ""; then
5533 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5535 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5536 set dummy ppmtoilbm
; ac_word
=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5538 $as_echo_n "checking for $ac_word... " >&6; }
5539 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5540 $as_echo_n "(cached) " >&6
5542 if test -n "$PPMTOILBM"; then
5543 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5549 test -z "$as_dir" && as_dir
=.
5550 for ac_exec_ext
in '' $ac_executable_extensions; do
5551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5552 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5563 if test -n "$PPMTOILBM"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5565 $as_echo "$PPMTOILBM" >&6; }
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5572 if test "$PPMTOILBM" = ""; then
5573 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5575 # Extract the first word of "sed", so it can be a program name with args.
5576 set dummy
sed; ac_word
=$2
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5578 $as_echo_n "checking for $ac_word... " >&6; }
5579 if test "${ac_cv_prog_SED+set}" = set; then :
5580 $as_echo_n "(cached) " >&6
5582 if test -n "$SED"; then
5583 ac_cv_prog_SED
="$SED" # Let the user override the test.
5585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5589 test -z "$as_dir" && as_dir
=.
5590 for ac_exec_ext
in '' $ac_executable_extensions; do
5591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5592 ac_cv_prog_SED
="sed "
5593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 if test -n "$SED"; then
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5605 $as_echo "$SED" >&6; }
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5608 $as_echo "no" >&6; }
5612 if test "$SED" = ""; then
5613 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5615 # Extract the first word of "chmod", so it can be a program name with args.
5616 set dummy
chmod; ac_word
=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5620 $as_echo_n "(cached) " >&6
5622 if test -n "$CHMOD"; then
5623 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5629 test -z "$as_dir" && as_dir
=.
5630 for ac_exec_ext
in '' $ac_executable_extensions; do
5631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5632 ac_cv_prog_CHMOD
="chmod "
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 CHMOD
=$ac_cv_prog_CHMOD
5643 if test -n "$CHMOD"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5645 $as_echo "$CHMOD" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5652 if test "$CHMOD" = ""; then
5653 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5655 # Extract the first word of "patch", so it can be a program name with args.
5656 set dummy
patch; ac_word
=$2
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 $as_echo_n "checking for $ac_word... " >&6; }
5659 if test "${ac_cv_prog_PATCH+set}" = set; then :
5660 $as_echo_n "(cached) " >&6
5662 if test -n "$PATCH"; then
5663 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir
=.
5670 for ac_exec_ext
in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_prog_PATCH
="patch "
5673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 PATCH
=$ac_cv_prog_PATCH
5683 if test -n "$PATCH"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5685 $as_echo "$PATCH" >&6; }
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 $as_echo "no" >&6; }
5692 if test "$PATCH" = ""; then
5693 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5700 if test -n "$PYTHON"; then
5701 # If the user set $PYTHON, use it and don't search something else.
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5703 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5704 prog
="import sys, string
5705 # split strings by '.' and convert to numeric. Append some zeros
5706 # because we need at least 4 digits for the hex conversion.
5707 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5709 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5710 sys.exit(sys.hexversion < minverhex)"
5711 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5712 ($PYTHON -c "$prog") >&5 2>&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); }; then :
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5717 $as_echo "yes" >&6; }
5719 as_fn_error $?
"too old" "$LINENO" 5
5721 am_display_PYTHON
=$PYTHON
5723 # Otherwise, try each interpreter until we find one that satisfies
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5726 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5727 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5728 $as_echo_n "(cached) " >&6
5731 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
5732 test "$am_cv_pathless_PYTHON" = none
&& break
5733 prog
="import sys, string
5734 # split strings by '.' and convert to numeric. Append some zeros
5735 # because we need at least 4 digits for the hex conversion.
5736 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5738 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5739 sys.exit(sys.hexversion < minverhex)"
5740 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5741 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; then :
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5750 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5751 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5752 if test "$am_cv_pathless_PYTHON" = none
; then
5755 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5756 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5758 $as_echo_n "checking for $ac_word... " >&6; }
5759 if test "${ac_cv_path_PYTHON+set}" = set; then :
5760 $as_echo_n "(cached) " >&6
5764 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir
=.
5772 for ac_exec_ext
in '' $ac_executable_extensions; do
5773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 PYTHON
=$ac_cv_path_PYTHON
5786 if test -n "$PYTHON"; then
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5788 $as_echo "$PYTHON" >&6; }
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5791 $as_echo "no" >&6; }
5796 am_display_PYTHON
=$am_cv_pathless_PYTHON
5800 if test "$PYTHON" = :; then
5801 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5806 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5807 if test "${am_cv_python_version+set}" = set; then :
5808 $as_echo_n "(cached) " >&6
5810 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5813 $as_echo "$am_cv_python_version" >&6; }
5814 PYTHON_VERSION
=$am_cv_python_version
5818 PYTHON_PREFIX
='${prefix}'
5820 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5825 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5826 if test "${am_cv_python_platform+set}" = set; then :
5827 $as_echo_n "(cached) " >&6
5829 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5832 $as_echo "$am_cv_python_platform" >&6; }
5833 PYTHON_PLATFORM
=$am_cv_python_platform
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5839 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5840 if test "${am_cv_python_pythondir+set}" = set; then :
5841 $as_echo_n "(cached) " >&6
5843 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5844 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5847 $as_echo "$am_cv_python_pythondir" >&6; }
5848 pythondir
=$am_cv_python_pythondir
5852 pkgpythondir
=\
${pythondir}/$PACKAGE
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5856 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5857 if test "${am_cv_python_pyexecdir+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5860 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5861 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5864 $as_echo "$am_cv_python_pyexecdir" >&6; }
5865 pyexecdir
=$am_cv_python_pyexecdir
5869 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5887 # Check for some includes for the X11 HIDD and the kernel
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5891 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5892 if test "${ac_cv_path_GREP+set}" = set; then :
5893 $as_echo_n "(cached) " >&6
5895 if test -z "$GREP"; then
5896 ac_path_GREP_found
=false
5897 # Loop through the user's path and test for each of PROGNAME-LIST
5898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5899 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5902 test -z "$as_dir" && as_dir
=.
5903 for ac_prog
in grep ggrep
; do
5904 for ac_exec_ext
in '' $ac_executable_extensions; do
5905 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5906 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5907 # Check for GNU ac_path_GREP and select it if it is found.
5908 # Check for GNU $ac_path_GREP
5909 case `"$ac_path_GREP" --version 2>&1` in
5911 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5914 $as_echo_n 0123456789 >"conftest.in"
5917 cat "conftest.in" "conftest.in" >"conftest.tmp"
5918 mv "conftest.tmp" "conftest.in"
5919 cp "conftest.in" "conftest.nl"
5920 $as_echo 'GREP' >> "conftest.nl"
5921 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5922 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5923 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5924 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5925 # Best one so far, save it but keep looking for a better one
5926 ac_cv_path_GREP
="$ac_path_GREP"
5927 ac_path_GREP_max
=$ac_count
5929 # 10*(2^10) chars as input seems more than enough
5930 test $ac_count -gt 10 && break
5932 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5935 $ac_path_GREP_found && break 3
5940 if test -z "$ac_cv_path_GREP"; then
5941 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5944 ac_cv_path_GREP
=$GREP
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5949 $as_echo "$ac_cv_path_GREP" >&6; }
5950 GREP
="$ac_cv_path_GREP"
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5954 $as_echo_n "checking for egrep... " >&6; }
5955 if test "${ac_cv_path_EGREP+set}" = set; then :
5956 $as_echo_n "(cached) " >&6
5958 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5959 then ac_cv_path_EGREP
="$GREP -E"
5961 if test -z "$EGREP"; then
5962 ac_path_EGREP_found
=false
5963 # Loop through the user's path and test for each of PROGNAME-LIST
5964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5965 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5968 test -z "$as_dir" && as_dir
=.
5969 for ac_prog
in egrep; do
5970 for ac_exec_ext
in '' $ac_executable_extensions; do
5971 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5972 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5973 # Check for GNU ac_path_EGREP and select it if it is found.
5974 # Check for GNU $ac_path_EGREP
5975 case `"$ac_path_EGREP" --version 2>&1` in
5977 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5980 $as_echo_n 0123456789 >"conftest.in"
5983 cat "conftest.in" "conftest.in" >"conftest.tmp"
5984 mv "conftest.tmp" "conftest.in"
5985 cp "conftest.in" "conftest.nl"
5986 $as_echo 'EGREP' >> "conftest.nl"
5987 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5988 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5989 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5990 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5991 # Best one so far, save it but keep looking for a better one
5992 ac_cv_path_EGREP
="$ac_path_EGREP"
5993 ac_path_EGREP_max
=$ac_count
5995 # 10*(2^10) chars as input seems more than enough
5996 test $ac_count -gt 10 && break
5998 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6001 $ac_path_EGREP_found && break 3
6006 if test -z "$ac_cv_path_EGREP"; then
6007 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6010 ac_cv_path_EGREP
=$EGREP
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6016 $as_echo "$ac_cv_path_EGREP" >&6; }
6017 EGREP
="$ac_cv_path_EGREP"
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6021 $as_echo_n "checking for ANSI C header files... " >&6; }
6022 if test "${ac_cv_header_stdc+set}" = set; then :
6023 $as_echo_n "(cached) " >&6
6025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6026 /* end confdefs.h. */
6040 if ac_fn_c_try_compile
"$LINENO"; then :
6041 ac_cv_header_stdc
=yes
6043 ac_cv_header_stdc
=no
6045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6047 if test $ac_cv_header_stdc = yes; then
6048 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6055 $EGREP "memchr" >/dev
/null
2>&1; then :
6058 ac_cv_header_stdc
=no
6064 if test $ac_cv_header_stdc = yes; then
6065 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6072 $EGREP "free" >/dev
/null
2>&1; then :
6075 ac_cv_header_stdc
=no
6081 if test $ac_cv_header_stdc = yes; then
6082 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6083 if test "$cross_compiling" = yes; then :
6086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6087 /* end confdefs.h. */
6090 #if ((' ' & 0x0FF) == 0x020)
6091 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6092 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6094 # define ISLOWER(c) \
6095 (('a' <= (c) && (c) <= 'i') \
6096 || ('j' <= (c) && (c) <= 'r') \
6097 || ('s' <= (c) && (c) <= 'z'))
6098 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6101 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6106 for (i = 0; i < 256; i++)
6107 if (XOR (islower (i), ISLOWER (i))
6108 || toupper (i) != TOUPPER (i))
6113 if ac_fn_c_try_run
"$LINENO"; then :
6116 ac_cv_header_stdc
=no
6118 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6119 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6125 $as_echo "$ac_cv_header_stdc" >&6; }
6126 if test $ac_cv_header_stdc = yes; then
6128 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6132 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6133 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6134 inttypes.h stdint.h unistd.h
6136 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6137 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6139 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6140 cat >>confdefs.h
<<_ACEOF
6141 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6149 for ac_header
in sys
/ipc.h sys
/shm.h \
6150 sys
/mmap.h sys
/mman.h sysexits.h \
6151 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6154 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6155 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6156 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6157 cat >>confdefs.h
<<_ACEOF
6158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6166 for ac_header
in sys
/mount.h
6168 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6170 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
6171 cat >>confdefs.h
<<_ACEOF
6172 #define HAVE_SYS_MOUNT_H 1
6181 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6182 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6184 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6185 if eval "test \"\${$as_ac_Header+set}\"" = set; then :
6186 $as_echo_n "(cached) " >&6
6188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6190 #include <sys/types.h>
6202 if ac_fn_c_try_compile
"$LINENO"; then :
6203 eval "$as_ac_Header=yes"
6205 eval "$as_ac_Header=no"
6207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6209 eval ac_res
=\$
$as_ac_Header
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6211 $as_echo "$ac_res" >&6; }
6212 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6213 cat >>confdefs.h
<<_ACEOF
6214 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6217 ac_header_dirent
=$ac_hdr; break
6221 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6222 if test $ac_header_dirent = dirent.h
; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6224 $as_echo_n "checking for library containing opendir... " >&6; }
6225 if test "${ac_cv_search_opendir+set}" = set; then :
6226 $as_echo_n "(cached) " >&6
6228 ac_func_search_save_LIBS
=$LIBS
6229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6232 /* Override any GCC internal prototype to avoid an error.
6233 Use char because int might match the return type of a GCC
6234 builtin and then its argument prototype would still apply. */
6247 for ac_lib
in '' dir
; do
6248 if test -z "$ac_lib"; then
6249 ac_res
="none required"
6252 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6254 if ac_fn_c_try_link
"$LINENO"; then :
6255 ac_cv_search_opendir
=$ac_res
6257 rm -f core conftest.err conftest.
$ac_objext \
6259 if test "${ac_cv_search_opendir+set}" = set; then :
6263 if test "${ac_cv_search_opendir+set}" = set; then :
6266 ac_cv_search_opendir
=no
6269 LIBS
=$ac_func_search_save_LIBS
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6272 $as_echo "$ac_cv_search_opendir" >&6; }
6273 ac_res
=$ac_cv_search_opendir
6274 if test "$ac_res" != no
; then :
6275 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6281 $as_echo_n "checking for library containing opendir... " >&6; }
6282 if test "${ac_cv_search_opendir+set}" = set; then :
6283 $as_echo_n "(cached) " >&6
6285 ac_func_search_save_LIBS
=$LIBS
6286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6289 /* Override any GCC internal prototype to avoid an error.
6290 Use char because int might match the return type of a GCC
6291 builtin and then its argument prototype would still apply. */
6304 for ac_lib
in '' x
; do
6305 if test -z "$ac_lib"; then
6306 ac_res
="none required"
6309 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6311 if ac_fn_c_try_link
"$LINENO"; then :
6312 ac_cv_search_opendir
=$ac_res
6314 rm -f core conftest.err conftest.
$ac_objext \
6316 if test "${ac_cv_search_opendir+set}" = set; then :
6320 if test "${ac_cv_search_opendir+set}" = set; then :
6323 ac_cv_search_opendir
=no
6326 LIBS
=$ac_func_search_save_LIBS
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6329 $as_echo "$ac_cv_search_opendir" >&6; }
6330 ac_res
=$ac_cv_search_opendir
6331 if test "$ac_res" != no
; then :
6332 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6339 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6340 if test "${ac_cv_header_stat_broken+set}" = set; then :
6341 $as_echo_n "(cached) " >&6
6343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6345 #include <sys/types.h>
6346 #include <sys/stat.h>
6348 #if defined S_ISBLK && defined S_IFDIR
6349 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6352 #if defined S_ISBLK && defined S_IFCHR
6353 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6356 #if defined S_ISLNK && defined S_IFREG
6357 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6360 #if defined S_ISSOCK && defined S_IFREG
6361 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6365 if ac_fn_c_try_compile
"$LINENO"; then :
6366 ac_cv_header_stat_broken
=no
6368 ac_cv_header_stat_broken
=yes
6370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6373 $as_echo "$ac_cv_header_stat_broken" >&6; }
6374 if test $ac_cv_header_stat_broken = yes; then
6376 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6381 $as_echo_n "checking for ANSI C header files... " >&6; }
6382 if test "${ac_cv_header_stdc+set}" = set; then :
6383 $as_echo_n "(cached) " >&6
6385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6400 if ac_fn_c_try_compile
"$LINENO"; then :
6401 ac_cv_header_stdc
=yes
6403 ac_cv_header_stdc
=no
6405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6407 if test $ac_cv_header_stdc = yes; then
6408 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6410 /* end confdefs.h. */
6414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6415 $EGREP "memchr" >/dev
/null
2>&1; then :
6418 ac_cv_header_stdc
=no
6424 if test $ac_cv_header_stdc = yes; then
6425 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6427 /* end confdefs.h. */
6431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6432 $EGREP "free" >/dev
/null
2>&1; then :
6435 ac_cv_header_stdc
=no
6441 if test $ac_cv_header_stdc = yes; then
6442 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6443 if test "$cross_compiling" = yes; then :
6446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6447 /* end confdefs.h. */
6450 #if ((' ' & 0x0FF) == 0x020)
6451 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6452 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6454 # define ISLOWER(c) \
6455 (('a' <= (c) && (c) <= 'i') \
6456 || ('j' <= (c) && (c) <= 'r') \
6457 || ('s' <= (c) && (c) <= 'z'))
6458 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6461 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6466 for (i = 0; i < 256; i++)
6467 if (XOR (islower (i), ISLOWER (i))
6468 || toupper (i) != TOUPPER (i))
6473 if ac_fn_c_try_run
"$LINENO"; then :
6476 ac_cv_header_stdc
=no
6478 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6479 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6485 $as_echo "$ac_cv_header_stdc" >&6; }
6486 if test $ac_cv_header_stdc = yes; then
6488 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6493 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6494 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6495 $as_echo_n "(cached) " >&6
6497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6499 #include <sys/types.h>
6500 #include <sys/wait.h>
6502 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6505 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6513 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6518 if ac_fn_c_try_compile
"$LINENO"; then :
6519 ac_cv_header_sys_wait_h
=yes
6521 ac_cv_header_sys_wait_h
=no
6523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6526 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6527 if test $ac_cv_header_sys_wait_h = yes; then
6529 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6534 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6535 if test "${ac_cv_header_time+set}" = set; then :
6536 $as_echo_n "(cached) " >&6
6538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6539 /* end confdefs.h. */
6540 #include <sys/types.h>
6541 #include <sys/time.h>
6547 if ((struct tm *) 0)
6553 if ac_fn_c_try_compile
"$LINENO"; then :
6554 ac_cv_header_time
=yes
6556 ac_cv_header_time
=no
6558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6561 $as_echo "$ac_cv_header_time" >&6; }
6562 if test $ac_cv_header_time = yes; then
6564 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6568 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6569 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6571 cat >>confdefs.h
<<_ACEOF
6572 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6576 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6581 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6582 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6584 cat >>confdefs.h
<<_ACEOF
6585 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6589 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6592 case " $LIBOBJS " in
6593 *" fileblocks.$ac_objext "* ) ;;
6594 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6601 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6602 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6604 cat >>confdefs.h
<<_ACEOF
6605 #define HAVE_STRUCT_STAT_ST_RDEV 1
6609 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6615 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6616 if test "${ac_cv_struct_tm+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6620 /* end confdefs.h. */
6621 #include <sys/types.h>
6628 int *p = &tm.tm_sec;
6634 if ac_fn_c_try_compile
"$LINENO"; then :
6635 ac_cv_struct_tm
=time.h
6637 ac_cv_struct_tm
=sys
/time.h
6639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6642 $as_echo "$ac_cv_struct_tm" >&6; }
6643 if test $ac_cv_struct_tm = sys
/time.h
; then
6645 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6649 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6650 #include <$ac_cv_struct_tm>
6653 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6655 cat >>confdefs.h
<<_ACEOF
6656 #define HAVE_STRUCT_TM_TM_ZONE 1
6662 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6664 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6667 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6669 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6675 cat >>confdefs.h
<<_ACEOF
6676 #define HAVE_DECL_TZNAME $ac_have_decl
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6680 $as_echo_n "checking for tzname... " >&6; }
6681 if test "${ac_cv_var_tzname+set}" = set; then :
6682 $as_echo_n "(cached) " >&6
6684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6685 /* end confdefs.h. */
6687 #if !HAVE_DECL_TZNAME
6688 extern char *tzname[];
6694 return tzname[0][0];
6699 if ac_fn_c_try_link
"$LINENO"; then :
6700 ac_cv_var_tzname
=yes
6704 rm -f core conftest.err conftest.
$ac_objext \
6705 conftest
$ac_exeext conftest.
$ac_ext
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6708 $as_echo "$ac_cv_var_tzname" >&6; }
6709 if test $ac_cv_var_tzname = yes; then
6711 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6716 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6717 if test "x$ac_cv_type_off_t" = x
""yes; then :
6721 cat >>confdefs.h
<<_ACEOF
6722 #define off_t long int
6727 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6728 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6732 cat >>confdefs.h
<<_ACEOF
6738 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6739 if test "x$ac_cv_type_size_t" = x
""yes; then :
6743 cat >>confdefs.h
<<_ACEOF
6744 #define size_t unsigned int
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6750 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6751 if test "${ac_cv_type_uid_t+set}" = set; then :
6752 $as_echo_n "(cached) " >&6
6754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h. */
6756 #include <sys/types.h>
6759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6760 $EGREP "uid_t" >/dev
/null
2>&1; then :
6761 ac_cv_type_uid_t
=yes
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6769 $as_echo "$ac_cv_type_uid_t" >&6; }
6770 if test $ac_cv_type_uid_t = no
; then
6772 $as_echo "#define uid_t int" >>confdefs.h
6775 $as_echo "#define gid_t int" >>confdefs.h
6780 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6781 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6783 cat >>confdefs.h
<<_ACEOF
6784 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6791 # Look for some functions
6792 for ac_func
in getpagesize kqueue statfs statvfs \
6793 clone kse_create rfork_thread thr_create sa_register \
6794 getcontext makecontext setcontext sigaltstack swapcontext
6796 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6797 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6798 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6799 cat >>confdefs.h
<<_ACEOF
6800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6810 for ac_header
in $ac_header_list
6812 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6813 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6815 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6816 cat >>confdefs.h
<<_ACEOF
6817 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6831 for ac_func
in getpagesize
6833 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6834 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6835 cat >>confdefs.h
<<_ACEOF
6836 #define HAVE_GETPAGESIZE 1
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6843 $as_echo_n "checking for working mmap... " >&6; }
6844 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6845 $as_echo_n "(cached) " >&6
6847 if test "$cross_compiling" = yes; then :
6848 ac_cv_func_mmap_fixed_mapped
=no
6850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6852 $ac_includes_default
6853 /* malloc might have been renamed as rpl_malloc. */
6856 /* Thanks to Mike Haertel and Jim Avera for this test.
6857 Here is a matrix of mmap possibilities:
6858 mmap private not fixed
6859 mmap private fixed at somewhere currently unmapped
6860 mmap private fixed at somewhere already mapped
6861 mmap shared not fixed
6862 mmap shared fixed at somewhere currently unmapped
6863 mmap shared fixed at somewhere already mapped
6864 For private mappings, we should verify that changes cannot be read()
6865 back from the file, nor mmap's back from the file at a different
6866 address. (There have been systems where private was not correctly
6867 implemented like the infamous i386 svr4.0, and systems where the
6868 VM page cache was not coherent with the file system buffer cache
6869 like early versions of FreeBSD and possibly contemporary NetBSD.)
6870 For shared mappings, we should conversely verify that changes get
6871 propagated back to all the places they're supposed to be.
6873 Grep wants private fixed already mapped.
6874 The main things grep needs to know about mmap are:
6875 * does it exist and is it safe to write into the mmap'd area
6876 * how to use it (BSD variants) */
6879 #include <sys/mman.h>
6881 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6885 /* This mess was copied from the GNU getpagesize.h. */
6886 #ifndef HAVE_GETPAGESIZE
6887 # ifdef _SC_PAGESIZE
6888 # define getpagesize() sysconf(_SC_PAGESIZE)
6889 # else /* no _SC_PAGESIZE */
6890 # ifdef HAVE_SYS_PARAM_H
6891 # include <sys/param.h>
6892 # ifdef EXEC_PAGESIZE
6893 # define getpagesize() EXEC_PAGESIZE
6894 # else /* no EXEC_PAGESIZE */
6896 # define getpagesize() NBPG * CLSIZE
6899 # endif /* no CLSIZE */
6900 # else /* no NBPG */
6902 # define getpagesize() NBPC
6903 # else /* no NBPC */
6905 # define getpagesize() PAGESIZE
6906 # endif /* PAGESIZE */
6907 # endif /* no NBPC */
6908 # endif /* no NBPG */
6909 # endif /* no EXEC_PAGESIZE */
6910 # else /* no HAVE_SYS_PARAM_H */
6911 # define getpagesize() 8192 /* punt totally */
6912 # endif /* no HAVE_SYS_PARAM_H */
6913 # endif /* no _SC_PAGESIZE */
6915 #endif /* no HAVE_GETPAGESIZE */
6920 char *data, *data2, *data3;
6925 pagesize = getpagesize ();
6927 /* First, make a file with some known garbage in it. */
6928 data = (char *) malloc (pagesize);
6931 for (i = 0; i < pagesize; ++i)
6932 *(data + i) = rand ();
6934 fd = creat ("conftest.mmap", 0600);
6937 if (write (fd, data, pagesize) != pagesize)
6941 /* Next, check that the tail of a page is zero-filled. File must have
6942 non-zero length, otherwise we risk SIGBUS for entire page. */
6943 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6947 if (write (fd2, cdata2, 1) != 1)
6949 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6950 if (data2 == MAP_FAILED)
6952 for (i = 0; i < pagesize; ++i)
6956 if (munmap (data2, pagesize))
6959 /* Next, try to mmap the file at a fixed address which already has
6960 something else allocated at it. If we can, also make sure that
6961 we see the same garbage. */
6962 fd = open ("conftest.mmap", O_RDWR);
6965 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6966 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6968 for (i = 0; i < pagesize; ++i)
6969 if (*(data + i) != *(data2 + i))
6972 /* Finally, make sure that changes to the mapped area do not
6973 percolate back to the file as seen by read(). (This is a bug on
6974 some variants of i386 svr4.0.) */
6975 for (i = 0; i < pagesize; ++i)
6976 *(data2 + i) = *(data2 + i) + 1;
6977 data3 = (char *) malloc (pagesize);
6980 if (read (fd, data3, pagesize) != pagesize)
6982 for (i = 0; i < pagesize; ++i)
6983 if (*(data + i) != *(data3 + i))
6989 if ac_fn_c_try_run
"$LINENO"; then :
6990 ac_cv_func_mmap_fixed_mapped
=yes
6992 ac_cv_func_mmap_fixed_mapped
=no
6994 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6995 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7000 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7001 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7003 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7006 rm -f conftest.mmap conftest.txt
7011 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7012 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7013 aros_config_ldflags
=""
7015 aros_shared_default
=yes
7017 aros_shared_cflags
="-fPIC"
7018 aros_shared_aflags
=""
7019 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7020 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7022 aros_kernel_ar_flags
="cr"
7023 aros_target_ar_flags
="cr"
7024 aros_target_nm_flags
="-C -ul"
7025 aros_target_strip_flags
="--strip-unneeded -R.comment"
7030 aros_target_genmap
="-Wl,-Map -Xlinker"
7032 # Native flavour stuff
7033 aros_serial_debug
="0"
7035 # Palm native flavour stuff
7036 aros_palm_debug_hack
="0"
7038 # Unix flavour stuff
7039 aros_nesting_supervisor
="0"
7041 # Collect-aros stuff: "-ius" to ignore undefined symbols
7042 ignore_undefined_symbols
=""
7044 # Check for X11 by default
7047 # Leave at 'none' for no external toolchain
7048 kernel_tool_prefix
="none"
7050 #-----------------------------------------------------------------------------
7053 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7054 # it switched on by default, and we use the host compiler, so it compiles AROS
7055 # code with this enabled resulting in link failures as we don't have support
7058 # We use two methods to disable it. For the host compiler (used to compile
7059 # some hosted modules), we test to see if the compiler supports stack
7060 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7061 # work on all platforms.
7063 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7064 # (this is done unconditionally, as it should have no effect on compilers
7065 # without the stack protection feature). This may be specific to the way that
7066 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7067 # strong enough to disable it in a generic way though, so we'll live with it
7068 # until another vendor ships GCC with it enabled in a different way, and deal
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7073 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7074 save_cflags
="$CFLAGS"
7075 CFLAGS
="$CFLAGS -fno-stack-protector"
7076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7077 /* end confdefs.h. */
7087 if ac_fn_c_try_compile
"$LINENO"; then :
7088 use_no_stack_protector
="yes"
7090 use_no_stack_protector
="no"
7092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7094 $as_echo "$use_no_stack_protector" >&6; }
7095 if test "x-$use_no_stack_protector" = "x-yes" ; then
7096 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7098 CFLAGS
="$save_cflags"
7100 #-----------------------------------------------------------------------------
7102 # Disable pointer-signedness warnings if the compiler recognises the option
7103 # (this only works for the host compiler at the moment)
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7106 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7107 save_cflags
="$CFLAGS"
7108 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7110 /* end confdefs.h. */
7120 if ac_fn_c_try_compile
"$LINENO"; then :
7121 use_no_sign_warning
="yes"
7123 use_no_sign_warning
="no"
7125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7127 $as_echo "$use_no_sign_warning" >&6; }
7128 if test "x-$use_no_sign_warning" = "x-yes" ; then
7129 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7131 CFLAGS
="$save_cflags"
7133 #-----------------------------------------------------------------------------
7135 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7138 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7139 save_cflags
="$CFLAGS"
7140 CFLAGS
="$CFLAGS -fgnu89-inline"
7141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7152 if ac_fn_c_try_compile
"$LINENO"; then :
7153 use_gnu89_inline
="yes"
7155 use_gnu89_inline
="no"
7157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7159 $as_echo "$use_gnu89_inline" >&6; }
7160 if test "x-$use_gnu89_inline" = "x-yes" ; then
7161 gnu89_inline
="-fgnu89-inline"
7163 CFLAGS
="$save_cflags"
7165 #-----------------------------------------------------------------------------
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7168 $as_echo_n "checking for type of build... " >&6; }
7169 # Check whether --enable-build_type was given.
7170 if test "${enable_build_type+set}" = set; then :
7171 enableval
=$enable_build_type; build_type
=$enableval
7173 build_type
="personal"
7177 if test "$build_type" = "nightly"; then
7178 build_type_string
="NIGHTLY"
7179 elif test "$build_type" = "snapshot"; then
7180 build_type_string
="SNAPSHOT"
7181 elif test "$build_type" = "milestone"; then
7182 build_type_string
="MILESTONE"
7183 elif test "$build_type" = "release"; then
7184 build_type_string
="RELEASE"
7186 build_type_string
="PERSONAL"
7187 build_type
="personal"
7190 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7193 $as_echo "$build_type" >&6; }
7195 #-----------------------------------------------------------------------------
7196 all_debug_types
="messages stack modules mungwall symbols"
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7199 $as_echo_n "checking which debug types to enable... " >&6; }
7200 # Check whether --enable-debug was given.
7201 if test "${enable_debug+set}" = set; then :
7202 enableval
=$enable_debug; debug
="$enableval"
7208 if test "$debug" = "" -o "$debug" = "no"; then
7210 elif test "$debug" = "yes"; then
7214 if test "$debug" = "all" ; then
7215 debug
="messages stack modules symbols"
7216 for d
in $all_debug_types; do
7217 export aros_
${d}_debug
="1"
7220 for d
in $all_debug_types; do
7221 export aros_
${d}_debug
="0"
7225 if test "$debug" != "none"; then
7226 debug
=`echo $debug | sed s/,/\ /g`
7229 for d2
in $all_debug_types; do
7230 if test "$d2" = "$d"; then
7235 if test "$found" = "0"; then
7236 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7238 export aros_
${d}_debug
="1"
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7243 $as_echo "$debug" >&6; }
7245 if test "$aros_messages_debug" = "1"; then
7246 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7248 aros_messages_debug
=""
7250 if test "$aros_symbols_debug" = "1"; then
7251 aros_symbols_debug
="-g"
7253 aros_symbols_debug
=""
7256 # These are the flags to pass when compiling debugged programs
7257 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7258 aros_debug_aflags
=""
7259 aros_debug_ldflags
="$aros_symbols_debug"
7261 #-----------------------------------------------------------------------------
7262 # Checking if we should build crosstools..
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
7264 $as_echo_n "checking whether to build crosstools... " >&6; }
7265 # Check whether --enable-crosstools was given.
7266 if test "${enable_crosstools+set}" = set; then :
7267 enableval
=$enable_crosstools; crosstools
="$enableval"
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
7273 $as_echo "$crosstools" >&6; }
7275 #-----------------------------------------------------------------------------
7276 # Checking for distcc and ccache.
7278 # Always apply the transforms in this particular order. Basically you should
7279 # always run 'ccache distcc compiler' in that order for the best performance.
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7282 $as_echo_n "checking whether to enable distcc... " >&6; }
7283 # Check whether --enable-distcc was given.
7284 if test "${enable_distcc+set}" = set; then :
7285 enableval
=$enable_distcc; distcc
="$enableval"
7290 if test "$distcc" != "" -a "$distcc" != "no"; then
7291 # AC_CHECK_PROG will print out the result in this case
7292 # Extract the first word of "distcc", so it can be a program name with args.
7293 set dummy distcc
; ac_word
=$2
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 $as_echo_n "checking for $ac_word... " >&6; }
7296 if test "${ac_cv_path_DISTCC+set}" = set; then :
7297 $as_echo_n "(cached) " >&6
7301 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7308 test -z "$as_dir" && as_dir
=.
7309 for ac_exec_ext
in '' $ac_executable_extensions; do
7310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7311 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7319 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7323 DISTCC
=$ac_cv_path_DISTCC
7324 if test -n "$DISTCC"; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7326 $as_echo "$DISTCC" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 $as_echo "no" >&6; }
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335 $as_echo "no" >&6; }
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7339 $as_echo_n "checking whether to enable ccache... " >&6; }
7340 # Check whether --enable-ccache was given.
7341 if test "${enable_ccache+set}" = set; then :
7342 enableval
=$enable_ccache; ccache
="$enableval"
7347 if test "$ccache" != "" -a "$ccache" != "no"; then
7348 # AC_CHECK_PROG will print out the result in this case
7349 # Extract the first word of "ccache", so it can be a program name with args.
7350 set dummy ccache
; ac_word
=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if test "${ac_cv_prog_CCACHE+set}" = set; then :
7354 $as_echo_n "(cached) " >&6
7356 if test -n "$CCACHE"; then
7357 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir
=.
7364 for ac_exec_ext
in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_CCACHE
="ccache"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 CCACHE
=$ac_cv_prog_CCACHE
7377 if test -n "$CCACHE"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7379 $as_echo "$CCACHE" >&6; }
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7391 #-----------------------------------------------------------------------------
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7393 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7395 # Check whether --with-gcc-version was given.
7396 if test "${with_gcc_version+set}" = set; then :
7397 withval
=$with_gcc_version; kernel_tool_version
="$withval"
7399 kernel_tool_version
="default"
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7403 $as_echo "$kernel_tool_version" >&6; }
7405 #-----------------------------------------------------------------------------
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
7407 $as_echo_n "checking what specific target gcc version to use... " >&6; }
7409 # Check whether --with-gcc-version was given.
7410 if test "${with_gcc_version+set}" = set; then :
7411 withval
=$with_gcc_version; target_tool_version
="$withval"
7413 target_tool_version
="default"
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7417 $as_echo "$target_tool_version" >&6; }
7419 #-----------------------------------------------------------------------------
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7421 $as_echo_n "checking what optimization flags to use... " >&6; }
7423 # Check whether --with-optimization was given.
7424 if test "${with_optimization+set}" = set; then :
7425 withval
=$with_optimization; optimization
="$withval"
7427 optimization
="unknown"
7430 if test "$optimization" = "unknown"; then
7431 if test "$debug" != "none"; then
7437 aros_config_cflags
="$aros_config_cflags $optimization"
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7439 $as_echo "$optimization" >&6; }
7441 #-----------------------------------------------------------------------------
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7443 $as_echo_n "checking what paranoia flags to use... " >&6; }
7445 # Check whether --with-paranoia was given.
7446 if test "${with_paranoia+set}" = set; then :
7447 withval
=$with_paranoia; paranoia_flags
="$withval"
7449 paranoia_flags
="default"
7452 if test "$paranoia_flags" = "default"; then
7454 else if test "$paranoia_flags" = "yes"; then
7455 paranoia_flags
="-Wall -Werror"
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7458 $as_echo "$paranoia_flags" >&6; }
7459 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7461 #-----------------------------------------------------------------------------
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7463 $as_echo_n "checking what target variant to enable... " >&6; }
7464 # Check whether --enable-target_variant was given.
7465 if test "${enable_target_variant+set}" = set; then :
7466 enableval
=$enable_target_variant; target_variant
=$enableval
7471 if test "$target_variant" = ""; then
7472 aros_target_variant
=""
7473 aros_target_suffix
=""
7476 aros_target_variant
="$target_variant"
7477 aros_target_suffix
="-$target_variant"
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7480 $as_echo "$enableval" >&6; }
7482 #-----------------------------------------------------------------------------
7483 # Target-specific defaults. You can override then on a per-target basis.
7485 # Bootloader name. Currently used by PC target.
7486 target_bootloader
="none"
7488 #-----------------------------------------------------------------------------
7489 # Additional options for some specific targets
7491 case "$aros_target_variant" in
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7494 $as_echo_n "checking XCode path... " >&6; }
7496 # Check whether --with-xcode was given.
7497 if test "${with_xcode+set}" = set; then :
7498 withval
=$with_xcode; aros_xcode_path
="$withval"
7500 aros_xcode_path
="/Developer"
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7504 $as_echo "$aros_xcode_path" >&6; }
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7507 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7509 # Check whether --with-sdk-version was given.
7510 if test "${with_sdk_version+set}" = set; then :
7511 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7513 aros_sdk_version
="4.1"
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7517 $as_echo "$aros_sdk_version" >&6; }
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7523 $as_echo_n "checking Android SDK path... " >&6; }
7525 # Check whether --with-sdk was given.
7526 if test "${with_sdk+set}" = set; then :
7527 withval
=$with_sdk; aros_android_sdk
="$withval"
7529 aros_android_sdk
=$default_android_sdk
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7533 $as_echo "$aros_android_sdk" >&6; }
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7536 $as_echo_n "checking Android NDK path... " >&6; }
7538 # Check whether --with-ndk was given.
7539 if test "${with_ndk+set}" = set; then :
7540 withval
=$with_ndk; aros_android_ndk
="$withval"
7542 aros_android_ndk
="none"
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7546 $as_echo "$aros_android_ndk" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7549 $as_echo_n "checking what Android SDK version to use... " >&6; }
7551 # Check whether --with-sdk-version was given.
7552 if test "${with_sdk_version+set}" = set; then :
7553 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7555 aros_sdk_version
="12"
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7559 $as_echo "$aros_sdk_version" >&6; }
7561 if test "$aros_android_ndk" != "none"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7563 $as_echo_n "checking what Android NDK version to use... " >&6; }
7565 # Check whether --with-ndk-version was given.
7566 if test "${with_ndk_version+set}" = set; then :
7567 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7569 aros_ndk_version
="9"
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7573 $as_echo "$aros_ndk_version" >&6; }
7576 export PATH
="$aros_android_sdk/tools:$PATH"
7577 # Extract the first word of "$android_tool", so it can be a program name with args.
7578 set dummy
$android_tool; ac_word
=$2
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7580 $as_echo_n "checking for $ac_word... " >&6; }
7581 if test "${ac_cv_path_android_tool+set}" = set; then :
7582 $as_echo_n "(cached) " >&6
7584 case $android_tool in
7586 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7593 test -z "$as_dir" && as_dir
=.
7594 for ac_exec_ext
in '' $ac_executable_extensions; do
7595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7596 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 android_tool
=$ac_cv_path_android_tool
7608 if test -n "$android_tool"; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7610 $as_echo "$android_tool" >&6; }
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 $as_echo "no" >&6; }
7617 if test "$android_tool" = ""; then
7618 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7621 aros_android_level
=android-
$aros_sdk_version
7622 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7623 echo "Platform $aros_android_level is not installed in your SDK"
7624 echo "Use --with-sdk-version=<API level number> to select another platform version"
7625 echo "You can check what plaform versions are installed in your SDK"
7626 echo "by examining contents of $aros_android_sdk/platforms directory"
7627 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7630 # Extract the first word of "ant", so it can be a program name with args.
7631 set dummy ant
; ac_word
=$2
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7633 $as_echo_n "checking for $ac_word... " >&6; }
7634 if test "${ac_cv_path_ant+set}" = set; then :
7635 $as_echo_n "(cached) " >&6
7639 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7646 test -z "$as_dir" && as_dir
=.
7647 for ac_exec_ext
in '' $ac_executable_extensions; do
7648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7649 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7661 if test -n "$ant"; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7663 $as_echo "$ant" >&6; }
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7666 $as_echo "no" >&6; }
7670 if test "$ant" = ""; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7672 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7675 if test "$host_os" = "mingw32"; then
7676 android_tool
="cmd //c $android_tool"
7682 #-----------------------------------------------------------------------------
7684 # This is the target configuration switch.
7685 case "$target_os" in
7687 aros_target_arch
="linux"
7688 aros_target_family
="unix"
7689 case "$target_cpu" in
7691 aros_target_cpu
="m68k"
7692 aros_object_format
="m68kelf"
7693 aros_flavour
="emulcompat"
7694 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7695 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7696 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7697 gcc_target_cpu
="mc68000"
7700 aros_target_cpu
="i386"
7701 aros_object_format
="elf_i386"
7702 aros_flavour
="emulation"
7703 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7704 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7705 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7706 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7707 aros_config_ldflags
="-m32 -march=i486"
7708 aros_kernel_ldflags
="-melf_i386"
7709 aros_default_wbdepth
=8
7710 gcc_target_cpu
="i386"
7711 pci_hidd_target
="hidd-pci-linux"
7712 android_tool_dir_prefix
="x86"
7713 android_tool_prefix
="i686-android-linux"
7714 android_ndk_arch
="x86"
7717 aros_target_cpu
="x86_64"
7718 aros_object_format
="elf_x86_64"
7719 aros_flavour
="emulation"
7720 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7721 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7722 aros_default_wbdepth
=8
7723 pci_hidd_target
="hidd-pci-linux"
7726 aros_target_cpu
="ppc"
7727 aros_object_format
="elf32ppc"
7728 aros_flavour
="emulation"
7729 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7730 aros_default_wbdepth
=8
7731 gcc_target_cpu
="ppc"
7734 # Same as powerpc, but I need this for the nightly build to work again.
7735 # Actually, the nightly should be made working with powerpc target.
7736 # That just was too much work for the moment, another week or two.
7738 aros_target_cpu
="ppc"
7739 aros_object_format
="elf32ppc"
7740 aros_flavour
="emulation"
7741 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7742 aros_default_wbdepth
=8
7743 gcc_target_cpu
="ppc"
7746 aros_target_cpu
="arm"
7747 aros_object_format
="armelf_linux_eabi"
7748 aros_flavour
="emulation"
7749 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7750 gcc_target_cpu
="arm"
7751 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7752 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7753 aros_arch_libs
="-laeabi"
7754 android_tool_dir_prefix
="arm-linux-androideabi"
7755 android_tool_prefix
="arm-linux-androideabi"
7756 android_ndk_arch
="arm"
7757 if test "$aros_host_cpu" != "arm" ; then
7758 kernel_tool_prefix
="arm-linux-gnueabi-"
7762 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7765 case "$aros_target_variant" in
7768 if test "$android_ndk_arch" = ""; then
7769 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7772 aros_default_wbwidth
=320
7773 aros_default_wbheight
=480
7774 if test "$aros_android_ndk" = "none"; then
7775 aros_kernel_cflags
="-mandroid"
7776 aros_kernel_ldflags
="-mandroid"
7779 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7780 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7781 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7782 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7783 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7784 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7787 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7788 # Disable implicit PIC mode
7789 aros_target_cflags
="$aros_target_cflags -fno-pic"
7790 kernel_tool_prefix
="$android_tool_prefix-"
7796 aros_target_arch
="pc"
7797 aros_shared_default
="no"
7798 target_bootloader
="grub2"
7799 case "$target_cpu" in
7801 aros_target_cpu
="i386"
7804 if test "$aros_object_format" = "" ; then
7805 aros_object_format
="elf_i386"
7807 aros_flavour
="standalone"
7808 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7809 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7810 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7811 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7812 aros_config_ldflags
="-m32 -march=i486"
7813 aros_kernel_ldflags
="-melf_i386"
7814 aros_default_wbwidth
=640
7815 aros_default_wbheight
=480
7816 gcc_target_cpu
="i386"
7819 aros_target_cpu
="x86_64"
7821 if test "$aros_object_format" = "" ; then
7822 aros_object_format
="elf_x86_64"
7824 aros_flavour
="standalone"
7825 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7826 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7827 aros_kernel_ldflags
=""
7828 aros_default_wbwidth
=640
7829 aros_default_wbheight
=480
7832 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7838 aros_target_arch
="prep"
7839 aros_shared_default
="no"
7840 aros_target_cpu
="ppc"
7841 aros_object_format
="elf32ppc"
7842 aros_flavour
="ppcnative"
7843 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7844 aros_kernel_ldflags
=""
7845 aros_default_wbwidth
=640
7846 aros_default_wbheight
=480
7847 gcc_target_cpu
="ppc"
7851 aros_target_arch
="freebsd"
7852 aros_target_family
="unix"
7853 aros_target_cpu
="i386"
7854 aros_flavour
="emulation"
7855 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7856 gcc_target_cpu
="i386"
7858 aros_target_strip_flags
="-x"
7862 aros_target_arch
="darwin"
7863 aros_target_family
="unix"
7864 aros_flavour
="emulation"
7865 case "$target_cpu" in
7867 aros_ios_platform
="iPhoneSimulator"
7868 aros_target_cpu
="i386"
7869 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7870 aros_kernel_ldflags
=""
7871 aros_macosx_version
="10.4"
7872 aros_default_wbdepth
=8
7873 gcc_target_cpu
="i386"
7874 aros_object_format
="elf_i386"
7875 aros_kernel_ar_flags
="-cr"
7876 aros_target_strip_flags
="-x"
7877 kernel_tool_flags
="-m32"
7880 aros_target_cpu
="x86_64"
7881 aros_object_format
="elf_x86_64"
7882 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7883 aros_macosx_version
="10.6"
7884 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7885 aros_kernel_cflags
="-m64"
7886 aros_kernel_ldflags
="-m64"
7887 aros_target_cflags
="-mcmodel=large"
7888 aros_default_wbdepth
=8
7890 aros_kernel_ar_flags
="-cr"
7892 aros_kernel_ranlib
="ranlib"
7895 aros_target_cpu
="ppc"
7896 aros_object_format
="elf32ppc"
7897 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7898 aros_kernel_ldflags
=""
7899 aros_macosx_version
="10.0"
7900 aros_default_wbdepth
=8
7901 gcc_target_cpu
="ppc"
7903 aros_kernel_ar_flags
="-cr"
7904 aros_kernel_ld
="ld -arch ppc"
7905 aros_kernel_ranlib
="ranlib -arch ppc"
7906 kernel_tool_prefix
="powerpc-apple-darwin10-"
7909 aros_ios_platform
="iPhoneOS"
7910 aros_target_cpu
="arm"
7911 aros_object_format
="armelf_linux_eabi"
7912 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7913 aros_arch_libs
="-laeabi"
7914 aros_default_wbdepth
=8
7915 gcc_target_cpu
="arm"
7917 aros_kernel_ar_flags
="-cr"
7918 aros_kernel_ld
="ld -arch arm"
7919 aros_kernel_ranlib
="ranlib -arch arm"
7920 kernel_tool_prefix
="arm-apple-darwin10-"
7921 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7924 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7927 case "$aros_target_variant" in
7929 aros_ios_version
="3.0"
7930 aros_default_wbwidth
=320
7931 aros_default_wbheight
=480
7932 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7933 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7934 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7936 # This is here because it may depend on iOS or SDK version
7937 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7938 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7939 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7942 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7943 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7949 aros_target_arch
="dragonfly"
7950 aros_target_family
="unix"
7951 aros_flavour
="emulation"
7952 case "$target_cpu" in
7954 aros_target_cpu
="i386"
7955 aros_object_format
="elf_i386"
7956 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7959 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7960 aros_target_cpu
="x86_64"
7961 aros_object_format
="elf_x86_64"
7962 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7965 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7971 aros_target_arch
="netbsd"
7972 aros_target_family
="unix"
7973 case "$target_cpu" in
7975 aros_target_cpu
="m68k"
7976 aros_object_format
="m68kelf"
7977 aros_flavour
="emulcompat"
7978 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7979 gcc_target_cpu
="mc68000"
7982 aros_target_cpu
="i386"
7983 aros_object_format
="elf_i386"
7984 aros_flavour
="emulation"
7985 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7986 aros_default_wbdepth
=8
7987 gcc_target_cpu
="i386"
7990 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7993 aros_target_genmap
="-Wl,-M -Xlinker >"
7994 aros_flavour
="emulation"
7995 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7999 aros_target_arch
="openbsd"
8000 aros_target_family
="unix"
8001 case "$target_cpu" in
8003 aros_target_cpu
="i386"
8004 aros_object_format
="elf_i386"
8005 aros_flavour
="emulation"
8006 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8007 gcc_target_cpu
="i386"
8010 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8013 aros_target_genmap
="-Wl,-M -Xlinker >"
8014 aros_target_nm_flags
="-u"
8015 aros_flavour
="emulation"
8019 aros_target_arch
="solaris"
8020 aros_target_family
="unix"
8021 case "$target_cpu" in
8023 aros_target_cpu
="i386"
8024 aros_object_format
="elf_i386"
8025 aros_flavour
="emulation"
8026 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8027 aros_default_wbdepth
=8
8028 gcc_target_cpu
="i386"
8031 aros_target_cpu
="sparc"
8032 aros_object_format
="elf_sparc"
8033 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8034 gcc_target_cpu
="sparc"
8037 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8040 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8041 aros_flavour
="emulation"
8045 aros_target_arch
="morphos"
8046 aros_shared_default
="no"
8047 aros_target_cpu
="ppc"
8048 aros_object_format
="elf_ppc"
8049 aros_flavour
="nativecompat"
8050 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8051 gcc_target_cpu
="ppc"
8055 aros_target_arch
="sam440"
8056 aros_shared_default
="no"
8057 aros_target_cpu
="ppc"
8058 aros_object_format
="elf32ppc"
8059 aros_flavour
="ppcnative"
8060 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8061 aros_kernel_ldflags
=""
8062 aros_default_wbwidth
=1024
8063 aros_default_wbheight
=768
8064 aros_default_wbdepth
=24
8065 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8066 gcc_target_cpu
="powerpc"
8070 aros_target_arch
="efika"
8071 aros_shared_default
="no"
8072 aros_target_cpu
="arm"
8073 aros_object_format
="armelf_linux_eabi"
8074 aros_flavour
="standalone"
8075 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8076 aros_kernel_ldflags
=""
8077 aros_default_wbwidth
=1024
8078 aros_default_wbheight
=600
8079 aros_arch_libs
="-laeabi"
8080 gcc_default_cpu
="armv7-a"
8081 gcc_default_fpu
="vfpv3"
8082 gcc_default_float_abi
="softfp"
8083 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
8084 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
8088 aros_target_arch
="chrp"
8089 aros_shared_default
="no"
8090 aros_target_cpu
="ppc"
8091 aros_object_format
="elf32ppc"
8092 aros_flavour
="ppcnative"
8093 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8094 aros_kernel_ldflags
=""
8095 aros_default_wbwidth
=640
8096 aros_default_wbheight
=480
8097 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8098 gcc_target_cpu
="powerpc"
8099 case "$aros_target_variant" in
8101 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8107 aros_target_arch
="amiga"
8108 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8109 aros_shared_default
="no"
8111 case "$target_cpu" in
8113 # Check whether --enable-amigaos_compliance was given.
8114 if test "${enable_amigaos_compliance+set}" = set; then :
8115 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8119 aros_target_cpu
="m68k"
8120 aros_object_format
="m68kelf"
8121 aros_flavour
="standcompat"
8122 gcc_target_cpu
="m68000"
8123 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
8124 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
8125 # Needed to get the correct multilib
8126 aros_config_ldflags
="-${gcc_target_cpu}"
8127 aros_shared_ldflags
="-${gcc_target_cpu}"
8128 aros_kernel_ldflags
="-${gcc_target_cpu}"
8129 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
8130 aros_target_strip_flags
="-R.comment --strip-debug"
8131 aros_default_wbwidth
=640
8132 aros_default_wbheight
=256
8133 aros_default_wbdepth
=2
8137 aros_flavour
="native"
8138 gcc_target_cpu
="ppc"
8141 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8147 aros_target_arch
="mingw32"
8148 aros_shared_default
="no"
8149 aros_flavour
="emulation"
8150 aros_shared_cflags
=""
8151 need_crosstools
="yes"
8154 case "$target_cpu" in
8156 aros_target_cpu
="i386"
8157 aros_object_format
="elf_i386"
8158 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8159 aros_default_wbdepth
=8
8160 gcc_target_cpu
="i386"
8162 kernel_tool_prefix
="i386-mingw32-"
8165 aros_target_cpu
="x86_64"
8166 aros_object_format
="elf_x86_64"
8167 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8168 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8169 aros_default_wbdepth
=8
8170 kernel_tool_prefix
="x86_64-w64-mingw32-"
8173 aros_target_cpu
="arm"
8174 aros_object_format
="armelf_linux_eabi"
8175 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8176 aros_arch_libs
="-laeabi"
8177 aros_default_wbdepth
=8
8178 gcc_target_cpu
="arm"
8179 gcc_default_float_abi
="soft"
8180 kernel_tool_prefix
="arm-mingw32ce-"
8181 aros_default_wbwidth
=160
8182 aros_default_wbheight
=160
8185 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8188 if test $host_os = "cygwin"; then
8189 aros_kernel_cflags
="-mno-cygwin"
8193 aros_target_arch
="pp"
8194 aros_shared_default
="no"
8195 case "$target_cpu" in
8197 aros_target_cpu
="m68k"
8198 aros_object_format
="m68kelf"
8199 aros_flavour
="palmnative"
8200 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8201 aros_default_wbwidth
=160
8202 aros_default_wbheight
=160
8203 aros_default_wbdepth
=1
8204 aros_target_ar_flags
="cru"
8205 aros_compiler_libs
="-lgcc1"
8206 aros_shared_default
=no
8207 aros_shared_cflags
="-fpic"
8208 aros_shared_aflags
=""
8209 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8210 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8211 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8212 aros_debug_aflags
=""
8213 aros_debug_ldflags
="$aros_symbols_debug"
8214 aros_mungwall_debug
="0"
8215 aros_modules_debug
="0"
8216 gcc_target_cpu
="mc68000"
8217 ignore_undefined_symbols
="-ius"
8220 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8226 aros_target_arch
="mac"
8227 aros_shared_default
="no"
8228 case "$target_cpu" in
8230 aros_target_cpu
="m68k"
8231 aros_object_format
="m68kelf"
8232 aros_flavour
="mac68knative"
8233 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8234 aros_default_wbwidth
=512
8235 aros_default_wbheight
=384
8236 aros_default_wbdepth
=8
8237 aros_target_ar_flags
="cru"
8238 aros_compiler_libs
="-lgcc1"
8239 aros_shared_default
=no
8240 aros_shared_cflags
="-fpic"
8241 aros_shared_aflags
=""
8242 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8243 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8244 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
8245 aros_debug_aflags
=""
8246 aros_debug_ldflags
="$aros_symbols_debug"
8247 aros_mungwall_debug
="0"
8248 aros_modules_debug
="0"
8249 gcc_target_cpu
="mc68000"
8250 ignore_undefined_symbols
="-ius"
8253 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8259 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8263 #-----------------------------------------------------------------------------
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
8265 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
8267 # Check whether --with-crosstools was given.
8268 if test "${with_crosstools+set}" = set; then :
8269 withval
=$with_crosstools; with_crosstools
=$withval
8271 with_crosstools
="default"
8274 if test "$with_crosstools" = "default"; then
8275 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8277 # Disable building crosstools if we are using an external set - otherwise
8278 # we may attempt to overwrite them if the tools-crosstools target is made!
8280 AROS_CROSSTOOLSDIR
="$with_crosstools"
8281 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8284 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel tool prefix" >&5
8287 $as_echo_n "checking Kernel tool prefix... " >&6; }
8289 # Check whether --with-kernel-tool-prefix was given.
8290 if test "${with_kernel_tool_prefix+set}" = set; then :
8291 withval
=$with_kernel_tool_prefix; kernel_tool_prefix
="$withval"
8293 kernel_tool_prefix
="$kernel_tool_prefix"
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8297 $as_echo "$kernel_tool_prefix" >&6; }
8299 target_tool_prefix
=${target_cpu}-aros-
8301 # Now process extra architecture-specific options.
8302 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8303 # as well as floating-point ABI.
8304 case "$aros_target_cpu" in
8306 if test "$gcc_default_cpu" = ""; then
8307 gcc_default_cpu
="armv6"
8309 if test "$gcc_default_fpu" = ""; then
8310 gcc_default_fpu
="vfp"
8312 if test "$gcc_default_float_abi" = ""; then
8313 gcc_default_float_abi
="softfp"
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8317 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8319 # Check whether --with-cpu was given.
8320 if test "${with_cpu+set}" = set; then :
8321 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8323 aros_gcc_cpu
=$gcc_default_cpu
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8327 $as_echo "$aros_gcc_cpu" >&6; }
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8330 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8332 # Check whether --with-fpu was given.
8333 if test "${with_fpu+set}" = set; then :
8334 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8336 aros_gcc_fpu
=$gcc_default_fpu
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8340 $as_echo "$aros_gcc_fpu" >&6; }
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8343 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8345 # Check whether --with-float was given.
8346 if test "${with_float+set}" = set; then :
8347 withval
=$with_float; aros_gcc_float_abi
="$withval"
8349 aros_gcc_float_abi
=$gcc_default_float_abi
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8353 $as_echo "$aros_gcc_float_abi" >&6; }
8355 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"
8356 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"
8360 # Some formats need custom ELF specs.
8361 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8362 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8363 elf_specs_in
=config
/${aros_object_format}-specs.
in
8365 elf_specs_in
=config
/elf-specs.
in
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8369 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8371 # Check whether --with-aros-gcc was given.
8372 if test "${with_aros_gcc+set}" = set; then :
8373 withval
=$with_aros_gcc; aros_gcc_version
="-$withval"
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8379 $as_echo "$aros_gcc_version" >&6; }
8381 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8382 # Since we override specs, we may need to put these defines there
8383 if test "$gcc_target_cpu" != ""; then
8384 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8388 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8390 # Check whether --with-portssources was given.
8391 if test "${with_portssources+set}" = set; then :
8392 withval
=$with_portssources; with_portssrcdir
=$withval
8394 with_portssrcdir
="default"
8397 if test "$with_portssrcdir" = "default"; then
8398 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8400 AROS_PORTSSRCDIR
="$with_portssrcdir"
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8403 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8406 $as_echo_n "checking which bootloader to use... " >&6; }
8408 # Check whether --with-bootloader was given.
8409 if test "${with_bootloader+set}" = set; then :
8410 withval
=$with_bootloader; target_bootloader
=$withval
8412 target_bootloader
=$target_bootloader
8415 if test "$target_bootloader" = "none"; then
8416 aros_target_bootloader
=""
8418 aros_target_bootloader
="$target_bootloader"
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8421 $as_echo "$target_bootloader" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8424 $as_echo_n "checking which icon-set to use... " >&6; }
8426 # Check whether --with-iconset was given.
8427 if test "${with_iconset+set}" = set; then :
8428 withval
=$with_iconset; target_iconset
=$withval
8430 target_iconset
="default"
8433 if test "$target_iconset" = "default"; then
8434 aros_target_iconset
="Gorilla"
8435 target_iconset
="default (Gorilla)"
8437 aros_target_iconset
="$target_iconset"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8440 $as_echo "$target_iconset" >&6; }
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8443 $as_echo_n "checking which GUI Theme to use... " >&6; }
8445 # Check whether --with-theme was given.
8446 if test "${with_theme+set}" = set; then :
8447 withval
=$with_theme; target_guitheme
=$withval
8449 target_guitheme
="default"
8452 if test "$target_guitheme" = "default"; then
8453 aros_target_guitheme
="Ice"
8455 aros_target_guitheme
="$target_guitheme"
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8458 $as_echo "$aros_target_guitheme" >&6; }
8460 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8463 if test "$aros_host_cpu" = "$aros_target_cpu" ; then
8464 # If host = target CPU, let's try to use the
8465 # host's toolchains if no others were requested
8466 if test "$kernel_tool_prefix" = "none" ; then
8467 kernel_tool_prefix
=""
8473 if test "$aros_host_cpu" == "x86_64" ; then
8474 if test "$aros_target_cpu" == "i386" ; then
8475 if test "$aros_target_arch" != "mingw32"; then
8477 kernel_tool_prefix
=""
8482 if test "$aros_host_arch" == "darwin" ; then
8483 if test "$aros_target_arch" != "darwin" ; then
8487 kernel_tool_prefix
=""
8491 if test "$aros_host_arch" == "mingw32" ; then
8492 if test "$aros_target_arch" != "mingw32" ; then
8496 kernel_tool_prefix
=""
8500 #######################################################################
8501 ## Compute what toolchains to use, and their paths ##
8502 #######################################################################
8504 # This takes, as input:
8505 # crosstools {yes,no}
8506 # aros_gcc_version {default,[version]}
8507 # kernel_tool_prefix {none,[some-arch-os-]}
8508 # target_tool_prefix ${target_cpu}-aros-
8511 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8512 # Where the 'kernel' binaries are located
8513 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8514 # Where the 'target' binaries are located
8515 # (not the symlink farm - that is aros_target_*!)
8518 # if crosstools then
8519 # if kernel_tools_prefix = "no-kernel-prefix-"
8520 # aros_kernel_* = crosstools cc paths
8521 # aros_kernel_cc = elf cc wrapper around crosstools cc
8523 # VALIDATE(${kernel_tools_prefix}*)
8524 # aros_kernel_* = ${kernel_tools_prefix}*
8525 # if ${kernel_tools_prefix}cc is an AROS gcc
8526 # aros_kernel_cc = ${kernel_tools_prefix}cc
8528 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8532 # orig_target_* = aros built crosstools
8533 # orig_target_cc = elf cc wrapper around crosstools cc
8535 # VALIDATE(${kernel_tools_prefix}*)
8537 # orig_target_* = aros_kernel_*
8538 # if aros_kernel_cc is an AROS gcc
8539 # orig_target_cc = aros_kernel_cc
8541 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use external toolchain" >&5
8547 $as_echo_n "checking whether to use external toolchain... " >&6; }
8548 if test "$kernel_tool_prefix" = "none" ; then
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8550 $as_echo "no" >&6; };
8551 if test "$crosstools" != "yes"; then
8552 as_fn_error $?
"--disable-crosstools requires --with-kernel-tool-prefix= for this arch" "$LINENO" 5
8554 # We are building AROS crosstools, and no kernel
8555 # tools specified - assume target tools == kernel tools
8556 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
8557 aros_kernel_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
8558 aros_kernel_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
8559 aros_kernel_cpp
="${tmp_tool_prefix}cpp"
8560 aros_kernel_ld
="${tmp_tool_prefix}ld"
8561 aros_kernel_as
="${tmp_tool_prefix}as"
8562 aros_kernel_ar
="${tmp_tool_prefix}ar"
8563 aros_kernel_ranlib
="${tmp_tool_prefix}ranlib"
8564 aros_kernel_nm
="${tmp_tool_prefix}nm"
8565 aros_kernel_strip
="${tmp_tool_prefix}strip"
8566 aros_kernel_objcopy
="${tmp_tool_prefix}objcopy"
8567 aros_kernel_objdump
="${tmp_tool_prefix}objdump"
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8570 $as_echo "yes" >&6; };
8571 # Kernel tools specified - find them
8572 # Note that 'normally', aros_kernel_* overrides will
8573 # empty, unless specified in the per-arch sections above.
8576 if test "$aros_kernel_cpp" = ""; then
8577 if test "$cross_compiling" = "yes" ; then
8578 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8579 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8581 $as_echo_n "checking for $ac_word... " >&6; }
8582 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8583 $as_echo_n "(cached) " >&6
8585 case $aros_kernel_cpp in
8587 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8594 test -z "$as_dir" && as_dir
=.
8595 for ac_exec_ext
in '' $ac_executable_extensions; do
8596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8597 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8608 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8609 if test -n "$aros_kernel_cpp"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8611 $as_echo "$aros_kernel_cpp" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8619 if test "$GCC" = "yes"; then
8620 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
8621 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
8622 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 $as_echo_n "checking for $ac_word... " >&6; }
8625 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8626 $as_echo_n "(cached) " >&6
8628 case $aros_kernel_cpp in
8630 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8634 for as_dir
in `dirname $aros_gcc_cpp`
8637 test -z "$as_dir" && as_dir
=.
8638 for ac_exec_ext
in '' $ac_executable_extensions; do
8639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8640 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8651 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8652 if test -n "$aros_kernel_cpp"; then
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8654 $as_echo "$aros_kernel_cpp" >&6; }
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8657 $as_echo "no" >&6; }
8662 if test "$aros_kernel_cpp" = ""; then
8663 # Extract the first word of "cpp", so it can be a program name with args.
8664 set dummy cpp
; ac_word
=$2
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8666 $as_echo_n "checking for $ac_word... " >&6; }
8667 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8668 $as_echo_n "(cached) " >&6
8670 case $aros_kernel_cpp in
8672 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8679 test -z "$as_dir" && as_dir
=.
8680 for ac_exec_ext
in '' $ac_executable_extensions; do
8681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8682 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8693 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8694 if test -n "$aros_kernel_cpp"; then
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8696 $as_echo "$aros_kernel_cpp" >&6; }
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8699 $as_echo "no" >&6; }
8706 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
8707 set dummy
$aros_kernel_cpp; ac_word
=$2
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8709 $as_echo_n "checking for $ac_word... " >&6; }
8710 if test "${ac_cv_path_aros_kernel_cpp+set}" = set; then :
8711 $as_echo_n "(cached) " >&6
8713 case $aros_kernel_cpp in
8715 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8722 test -z "$as_dir" && as_dir
=.
8723 for ac_exec_ext
in '' $ac_executable_extensions; do
8724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8725 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8736 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8737 if test -n "$aros_kernel_cpp"; then
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8739 $as_echo "$aros_kernel_cpp" >&6; }
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8742 $as_echo "no" >&6; }
8748 if test "$aros_kernel_cpp" = ""; then
8749 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
8751 if test "x$aros_kernel_cc" = "x"; then
8752 aros_kernel_cc
=${kernel_tool_prefix}gcc
8755 if test "$aros_kernel_cc${aros_gcc_version}" = ""; then
8756 if test "$cross_compiling" = "yes" ; then
8757 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
8758 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8760 $as_echo_n "checking for $ac_word... " >&6; }
8761 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
8762 $as_echo_n "(cached) " >&6
8764 case $aros_kernel_cc in
8766 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8773 test -z "$as_dir" && as_dir
=.
8774 for ac_exec_ext
in '' $ac_executable_extensions; do
8775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8776 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8787 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8788 if test -n "$aros_kernel_cc"; then
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8790 $as_echo "$aros_kernel_cc" >&6; }
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8793 $as_echo "no" >&6; }
8798 if test "$GCC" = "yes"; then
8799 aros_gcc_cc
=`$CC -print-prog-name=cc`
8800 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
8801 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8803 $as_echo_n "checking for $ac_word... " >&6; }
8804 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
8805 $as_echo_n "(cached) " >&6
8807 case $aros_kernel_cc in
8809 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8813 for as_dir
in `dirname $aros_gcc_cc`
8816 test -z "$as_dir" && as_dir
=.
8817 for ac_exec_ext
in '' $ac_executable_extensions; do
8818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8819 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8830 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8831 if test -n "$aros_kernel_cc"; then
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8833 $as_echo "$aros_kernel_cc" >&6; }
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8836 $as_echo "no" >&6; }
8841 if test "$aros_kernel_cc" = ""; then
8842 # Extract the first word of "cc", so it can be a program name with args.
8843 set dummy cc
; ac_word
=$2
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8845 $as_echo_n "checking for $ac_word... " >&6; }
8846 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
8847 $as_echo_n "(cached) " >&6
8849 case $aros_kernel_cc in
8851 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8858 test -z "$as_dir" && as_dir
=.
8859 for ac_exec_ext
in '' $ac_executable_extensions; do
8860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8861 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8872 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8873 if test -n "$aros_kernel_cc"; then
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8875 $as_echo "$aros_kernel_cc" >&6; }
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8885 # Extract the first word of "$aros_kernel_cc${aros_gcc_version}", so it can be a program name with args.
8886 set dummy
$aros_kernel_cc${aros_gcc_version}; ac_word
=$2
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8888 $as_echo_n "checking for $ac_word... " >&6; }
8889 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then :
8890 $as_echo_n "(cached) " >&6
8892 case $aros_kernel_cc in
8894 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8901 test -z "$as_dir" && as_dir
=.
8902 for ac_exec_ext
in '' $ac_executable_extensions; do
8903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8904 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8915 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8916 if test -n "$aros_kernel_cc"; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
8918 $as_echo "$aros_kernel_cc" >&6; }
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8921 $as_echo "no" >&6; }
8927 if test "$aros_kernel_cc" = ""; then
8928 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
8930 if test "x$aros_kernel_cxx" = "x"; then
8931 aros_kernel_cxx
=${kernel_tool_prefix}g
++
8934 if test "$aros_kernel_cxx${aros_gcc_version}" = ""; then
8935 if test "$cross_compiling" = "yes" ; then
8936 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
8937 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8939 $as_echo_n "checking for $ac_word... " >&6; }
8940 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
8941 $as_echo_n "(cached) " >&6
8943 case $aros_kernel_cxx in
8945 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
8948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8952 test -z "$as_dir" && as_dir
=.
8953 for ac_exec_ext
in '' $ac_executable_extensions; do
8954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8955 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
8956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8966 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
8967 if test -n "$aros_kernel_cxx"; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
8969 $as_echo "$aros_kernel_cxx" >&6; }
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8977 if test "$GCC" = "yes"; then
8978 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
8979 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
8980 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8982 $as_echo_n "checking for $ac_word... " >&6; }
8983 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
8984 $as_echo_n "(cached) " >&6
8986 case $aros_kernel_cxx in
8988 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
8991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8992 for as_dir
in `dirname $aros_gcc_cxx`
8995 test -z "$as_dir" && as_dir
=.
8996 for ac_exec_ext
in '' $ac_executable_extensions; do
8997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8998 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
8999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9009 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9010 if test -n "$aros_kernel_cxx"; then
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9012 $as_echo "$aros_kernel_cxx" >&6; }
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9015 $as_echo "no" >&6; }
9020 if test "$aros_kernel_cxx" = ""; then
9021 # Extract the first word of "cxx", so it can be a program name with args.
9022 set dummy cxx
; ac_word
=$2
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9024 $as_echo_n "checking for $ac_word... " >&6; }
9025 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
9026 $as_echo_n "(cached) " >&6
9028 case $aros_kernel_cxx in
9030 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9037 test -z "$as_dir" && as_dir
=.
9038 for ac_exec_ext
in '' $ac_executable_extensions; do
9039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9040 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9051 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9052 if test -n "$aros_kernel_cxx"; then
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9054 $as_echo "$aros_kernel_cxx" >&6; }
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9057 $as_echo "no" >&6; }
9064 # Extract the first word of "$aros_kernel_cxx${aros_gcc_version}", so it can be a program name with args.
9065 set dummy
$aros_kernel_cxx${aros_gcc_version}; ac_word
=$2
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9067 $as_echo_n "checking for $ac_word... " >&6; }
9068 if test "${ac_cv_path_aros_kernel_cxx+set}" = set; then :
9069 $as_echo_n "(cached) " >&6
9071 case $aros_kernel_cxx in
9073 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9080 test -z "$as_dir" && as_dir
=.
9081 for ac_exec_ext
in '' $ac_executable_extensions; do
9082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9083 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9094 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9095 if test -n "$aros_kernel_cxx"; then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9097 $as_echo "$aros_kernel_cxx" >&6; }
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9100 $as_echo "no" >&6; }
9106 # If it's set, make sure it's really there
9107 if test "x$aros_kernel_cxx" != "x" ; then
9108 if test "$aros_kernel_cxx" = ""; then
9109 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9113 if test "$aros_kernel_ld" = ""; then
9114 if test "$cross_compiling" = "yes" ; then
9115 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9116 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9118 $as_echo_n "checking for $ac_word... " >&6; }
9119 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9120 $as_echo_n "(cached) " >&6
9122 case $aros_kernel_ld in
9124 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9131 test -z "$as_dir" && as_dir
=.
9132 for ac_exec_ext
in '' $ac_executable_extensions; do
9133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9134 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9145 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9146 if test -n "$aros_kernel_ld"; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9148 $as_echo "$aros_kernel_ld" >&6; }
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9151 $as_echo "no" >&6; }
9156 if test "$GCC" = "yes"; then
9157 aros_gcc_ld
=`$CC -print-prog-name=ld`
9158 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9159 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9161 $as_echo_n "checking for $ac_word... " >&6; }
9162 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9163 $as_echo_n "(cached) " >&6
9165 case $aros_kernel_ld in
9167 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9171 for as_dir
in `dirname $aros_gcc_ld`
9174 test -z "$as_dir" && as_dir
=.
9175 for ac_exec_ext
in '' $ac_executable_extensions; do
9176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9177 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9188 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9189 if test -n "$aros_kernel_ld"; then
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9191 $as_echo "$aros_kernel_ld" >&6; }
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9194 $as_echo "no" >&6; }
9199 if test "$aros_kernel_ld" = ""; then
9200 # Extract the first word of "ld", so it can be a program name with args.
9201 set dummy ld
; ac_word
=$2
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9203 $as_echo_n "checking for $ac_word... " >&6; }
9204 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9205 $as_echo_n "(cached) " >&6
9207 case $aros_kernel_ld in
9209 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9216 test -z "$as_dir" && as_dir
=.
9217 for ac_exec_ext
in '' $ac_executable_extensions; do
9218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9219 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9230 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9231 if test -n "$aros_kernel_ld"; then
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9233 $as_echo "$aros_kernel_ld" >&6; }
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9236 $as_echo "no" >&6; }
9243 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9244 set dummy
$aros_kernel_ld; ac_word
=$2
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9246 $as_echo_n "checking for $ac_word... " >&6; }
9247 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
9248 $as_echo_n "(cached) " >&6
9250 case $aros_kernel_ld in
9252 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9259 test -z "$as_dir" && as_dir
=.
9260 for ac_exec_ext
in '' $ac_executable_extensions; do
9261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9262 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9273 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9274 if test -n "$aros_kernel_ld"; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9276 $as_echo "$aros_kernel_ld" >&6; }
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9279 $as_echo "no" >&6; }
9285 if test "$aros_kernel_ld" = ""; then
9286 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9289 if test "$aros_kernel_as" = ""; then
9290 if test "$cross_compiling" = "yes" ; then
9291 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9292 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9294 $as_echo_n "checking for $ac_word... " >&6; }
9295 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9296 $as_echo_n "(cached) " >&6
9298 case $aros_kernel_as in
9300 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9307 test -z "$as_dir" && as_dir
=.
9308 for ac_exec_ext
in '' $ac_executable_extensions; do
9309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9310 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9321 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9322 if test -n "$aros_kernel_as"; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9324 $as_echo "$aros_kernel_as" >&6; }
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9327 $as_echo "no" >&6; }
9332 if test "$GCC" = "yes"; then
9333 aros_gcc_as
=`$CC -print-prog-name=as`
9334 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9335 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9337 $as_echo_n "checking for $ac_word... " >&6; }
9338 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9339 $as_echo_n "(cached) " >&6
9341 case $aros_kernel_as in
9343 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9347 for as_dir
in `dirname $aros_gcc_as`
9350 test -z "$as_dir" && as_dir
=.
9351 for ac_exec_ext
in '' $ac_executable_extensions; do
9352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9353 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9364 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9365 if test -n "$aros_kernel_as"; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9367 $as_echo "$aros_kernel_as" >&6; }
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9370 $as_echo "no" >&6; }
9375 if test "$aros_kernel_as" = ""; then
9376 # Extract the first word of "as", so it can be a program name with args.
9377 set dummy as
; ac_word
=$2
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9379 $as_echo_n "checking for $ac_word... " >&6; }
9380 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9381 $as_echo_n "(cached) " >&6
9383 case $aros_kernel_as in
9385 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9392 test -z "$as_dir" && as_dir
=.
9393 for ac_exec_ext
in '' $ac_executable_extensions; do
9394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9395 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9406 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9407 if test -n "$aros_kernel_as"; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9409 $as_echo "$aros_kernel_as" >&6; }
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9412 $as_echo "no" >&6; }
9419 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9420 set dummy
$aros_kernel_as; ac_word
=$2
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9422 $as_echo_n "checking for $ac_word... " >&6; }
9423 if test "${ac_cv_path_aros_kernel_as+set}" = set; then :
9424 $as_echo_n "(cached) " >&6
9426 case $aros_kernel_as in
9428 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9435 test -z "$as_dir" && as_dir
=.
9436 for ac_exec_ext
in '' $ac_executable_extensions; do
9437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9438 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9449 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9450 if test -n "$aros_kernel_as"; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9452 $as_echo "$aros_kernel_as" >&6; }
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9455 $as_echo "no" >&6; }
9461 if test "$aros_kernel_as" = ""; then
9462 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9465 if test "$aros_kernel_ar" = ""; then
9466 if test "$cross_compiling" = "yes" ; then
9467 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9468 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9470 $as_echo_n "checking for $ac_word... " >&6; }
9471 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9472 $as_echo_n "(cached) " >&6
9474 case $aros_kernel_ar in
9476 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9483 test -z "$as_dir" && as_dir
=.
9484 for ac_exec_ext
in '' $ac_executable_extensions; do
9485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9486 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9498 if test -n "$aros_kernel_ar"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9500 $as_echo "$aros_kernel_ar" >&6; }
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503 $as_echo "no" >&6; }
9508 if test "$GCC" = "yes"; then
9509 aros_gcc_ar
=`$CC -print-prog-name=ar`
9510 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9511 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9513 $as_echo_n "checking for $ac_word... " >&6; }
9514 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9515 $as_echo_n "(cached) " >&6
9517 case $aros_kernel_ar in
9519 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9523 for as_dir
in `dirname $aros_gcc_ar`
9526 test -z "$as_dir" && as_dir
=.
9527 for ac_exec_ext
in '' $ac_executable_extensions; do
9528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9529 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9540 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9541 if test -n "$aros_kernel_ar"; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9543 $as_echo "$aros_kernel_ar" >&6; }
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9546 $as_echo "no" >&6; }
9551 if test "$aros_kernel_ar" = ""; then
9552 # Extract the first word of "ar", so it can be a program name with args.
9553 set dummy
ar; ac_word
=$2
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9555 $as_echo_n "checking for $ac_word... " >&6; }
9556 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9557 $as_echo_n "(cached) " >&6
9559 case $aros_kernel_ar in
9561 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9568 test -z "$as_dir" && as_dir
=.
9569 for ac_exec_ext
in '' $ac_executable_extensions; do
9570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9571 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9582 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9583 if test -n "$aros_kernel_ar"; then
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9585 $as_echo "$aros_kernel_ar" >&6; }
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9588 $as_echo "no" >&6; }
9595 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9596 set dummy
$aros_kernel_ar; ac_word
=$2
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9598 $as_echo_n "checking for $ac_word... " >&6; }
9599 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
9600 $as_echo_n "(cached) " >&6
9602 case $aros_kernel_ar in
9604 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9611 test -z "$as_dir" && as_dir
=.
9612 for ac_exec_ext
in '' $ac_executable_extensions; do
9613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9614 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9625 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9626 if test -n "$aros_kernel_ar"; then
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9628 $as_echo "$aros_kernel_ar" >&6; }
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9631 $as_echo "no" >&6; }
9637 if test "$aros_kernel_ar" = ""; then
9638 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9641 if test "$aros_kernel_ranlib" = ""; then
9642 if test "$cross_compiling" = "yes" ; then
9643 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
9644 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9646 $as_echo_n "checking for $ac_word... " >&6; }
9647 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9648 $as_echo_n "(cached) " >&6
9650 case $aros_kernel_ranlib in
9652 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9659 test -z "$as_dir" && as_dir
=.
9660 for ac_exec_ext
in '' $ac_executable_extensions; do
9661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9662 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9673 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9674 if test -n "$aros_kernel_ranlib"; then
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9676 $as_echo "$aros_kernel_ranlib" >&6; }
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9679 $as_echo "no" >&6; }
9684 if test "$GCC" = "yes"; then
9685 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9686 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9687 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9689 $as_echo_n "checking for $ac_word... " >&6; }
9690 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9691 $as_echo_n "(cached) " >&6
9693 case $aros_kernel_ranlib in
9695 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9699 for as_dir
in `dirname $aros_gcc_ranlib`
9702 test -z "$as_dir" && as_dir
=.
9703 for ac_exec_ext
in '' $ac_executable_extensions; do
9704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9705 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9716 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9717 if test -n "$aros_kernel_ranlib"; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9719 $as_echo "$aros_kernel_ranlib" >&6; }
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9722 $as_echo "no" >&6; }
9727 if test "$aros_kernel_ranlib" = ""; then
9728 # Extract the first word of "ranlib", so it can be a program name with args.
9729 set dummy ranlib
; ac_word
=$2
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9731 $as_echo_n "checking for $ac_word... " >&6; }
9732 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9733 $as_echo_n "(cached) " >&6
9735 case $aros_kernel_ranlib in
9737 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9744 test -z "$as_dir" && as_dir
=.
9745 for ac_exec_ext
in '' $ac_executable_extensions; do
9746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9747 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9758 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9759 if test -n "$aros_kernel_ranlib"; then
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9761 $as_echo "$aros_kernel_ranlib" >&6; }
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9764 $as_echo "no" >&6; }
9771 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
9772 set dummy
$aros_kernel_ranlib; ac_word
=$2
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9774 $as_echo_n "checking for $ac_word... " >&6; }
9775 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
9776 $as_echo_n "(cached) " >&6
9778 case $aros_kernel_ranlib in
9780 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
9783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9787 test -z "$as_dir" && as_dir
=.
9788 for ac_exec_ext
in '' $ac_executable_extensions; do
9789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9790 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
9791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9801 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
9802 if test -n "$aros_kernel_ranlib"; then
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
9804 $as_echo "$aros_kernel_ranlib" >&6; }
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9807 $as_echo "no" >&6; }
9813 if test "$aros_kernel_ranlib" = ""; then
9814 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9817 if test "$aros_kernel_nm" = ""; then
9818 if test "$cross_compiling" = "yes" ; then
9819 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
9820 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9822 $as_echo_n "checking for $ac_word... " >&6; }
9823 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
9824 $as_echo_n "(cached) " >&6
9826 case $aros_kernel_nm in
9828 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9835 test -z "$as_dir" && as_dir
=.
9836 for ac_exec_ext
in '' $ac_executable_extensions; do
9837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9838 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9849 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9850 if test -n "$aros_kernel_nm"; then
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9852 $as_echo "$aros_kernel_nm" >&6; }
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9855 $as_echo "no" >&6; }
9860 if test "$GCC" = "yes"; then
9861 aros_gcc_nm
=`$CC -print-prog-name=nm`
9862 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9863 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9865 $as_echo_n "checking for $ac_word... " >&6; }
9866 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
9867 $as_echo_n "(cached) " >&6
9869 case $aros_kernel_nm in
9871 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9875 for as_dir
in `dirname $aros_gcc_nm`
9878 test -z "$as_dir" && as_dir
=.
9879 for ac_exec_ext
in '' $ac_executable_extensions; do
9880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9881 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9892 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9893 if test -n "$aros_kernel_nm"; then
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9895 $as_echo "$aros_kernel_nm" >&6; }
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9898 $as_echo "no" >&6; }
9903 if test "$aros_kernel_nm" = ""; then
9904 # Extract the first word of "nm", so it can be a program name with args.
9905 set dummy nm
; ac_word
=$2
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9907 $as_echo_n "checking for $ac_word... " >&6; }
9908 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
9909 $as_echo_n "(cached) " >&6
9911 case $aros_kernel_nm in
9913 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9920 test -z "$as_dir" && as_dir
=.
9921 for ac_exec_ext
in '' $ac_executable_extensions; do
9922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9923 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9934 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9935 if test -n "$aros_kernel_nm"; then
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9937 $as_echo "$aros_kernel_nm" >&6; }
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9940 $as_echo "no" >&6; }
9947 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
9948 set dummy
$aros_kernel_nm; ac_word
=$2
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9950 $as_echo_n "checking for $ac_word... " >&6; }
9951 if test "${ac_cv_path_aros_kernel_nm+set}" = set; then :
9952 $as_echo_n "(cached) " >&6
9954 case $aros_kernel_nm in
9956 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
9959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9963 test -z "$as_dir" && as_dir
=.
9964 for ac_exec_ext
in '' $ac_executable_extensions; do
9965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9966 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
9967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9977 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
9978 if test -n "$aros_kernel_nm"; then
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
9980 $as_echo "$aros_kernel_nm" >&6; }
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9983 $as_echo "no" >&6; }
9989 if test "$aros_kernel_nm" = ""; then
9990 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9993 if test "$aros_kernel_strip" = ""; then
9994 if test "$cross_compiling" = "yes" ; then
9995 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
9996 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9998 $as_echo_n "checking for $ac_word... " >&6; }
9999 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10000 $as_echo_n "(cached) " >&6
10002 case $aros_kernel_strip in
10004 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10008 for as_dir
in $PATH
10011 test -z "$as_dir" && as_dir
=.
10012 for ac_exec_ext
in '' $ac_executable_extensions; do
10013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10014 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10025 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10026 if test -n "$aros_kernel_strip"; then
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10028 $as_echo "$aros_kernel_strip" >&6; }
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10031 $as_echo "no" >&6; }
10036 if test "$GCC" = "yes"; then
10037 aros_gcc_strip
=`$CC -print-prog-name=strip`
10038 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10039 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10041 $as_echo_n "checking for $ac_word... " >&6; }
10042 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10043 $as_echo_n "(cached) " >&6
10045 case $aros_kernel_strip in
10047 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10051 for as_dir
in `dirname $aros_gcc_strip`
10054 test -z "$as_dir" && as_dir
=.
10055 for ac_exec_ext
in '' $ac_executable_extensions; do
10056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10057 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10068 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10069 if test -n "$aros_kernel_strip"; then
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10071 $as_echo "$aros_kernel_strip" >&6; }
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10074 $as_echo "no" >&6; }
10079 if test "$aros_kernel_strip" = ""; then
10080 # Extract the first word of "strip", so it can be a program name with args.
10081 set dummy strip
; ac_word
=$2
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10083 $as_echo_n "checking for $ac_word... " >&6; }
10084 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10085 $as_echo_n "(cached) " >&6
10087 case $aros_kernel_strip in
10089 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10093 for as_dir
in $PATH
10096 test -z "$as_dir" && as_dir
=.
10097 for ac_exec_ext
in '' $ac_executable_extensions; do
10098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10099 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10110 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10111 if test -n "$aros_kernel_strip"; then
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10113 $as_echo "$aros_kernel_strip" >&6; }
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10116 $as_echo "no" >&6; }
10123 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10124 set dummy
$aros_kernel_strip; ac_word
=$2
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10126 $as_echo_n "checking for $ac_word... " >&6; }
10127 if test "${ac_cv_path_aros_kernel_strip+set}" = set; then :
10128 $as_echo_n "(cached) " >&6
10130 case $aros_kernel_strip in
10132 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10136 for as_dir
in $PATH
10139 test -z "$as_dir" && as_dir
=.
10140 for ac_exec_ext
in '' $ac_executable_extensions; do
10141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10142 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10153 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10154 if test -n "$aros_kernel_strip"; then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10156 $as_echo "$aros_kernel_strip" >&6; }
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10159 $as_echo "no" >&6; }
10165 if test "$aros_kernel_strip" = ""; then
10166 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10169 # Objcopy and objdump are not required for the kernel
10170 # toolchain on many architectures.
10171 # So we'll look for them, but not make them strictly required.
10173 if test "$aros_kernel_objcopy" = ""; then
10174 if test "$cross_compiling" = "yes" ; then
10175 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10176 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10178 $as_echo_n "checking for $ac_word... " >&6; }
10179 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10180 $as_echo_n "(cached) " >&6
10182 case $aros_kernel_objcopy in
10184 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10188 for as_dir
in $PATH
10191 test -z "$as_dir" && as_dir
=.
10192 for ac_exec_ext
in '' $ac_executable_extensions; do
10193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10194 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10205 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10206 if test -n "$aros_kernel_objcopy"; then
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10208 $as_echo "$aros_kernel_objcopy" >&6; }
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10211 $as_echo "no" >&6; }
10216 if test "$GCC" = "yes"; then
10217 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10218 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10219 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10221 $as_echo_n "checking for $ac_word... " >&6; }
10222 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10223 $as_echo_n "(cached) " >&6
10225 case $aros_kernel_objcopy in
10227 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10231 for as_dir
in `dirname $aros_gcc_objcopy`
10234 test -z "$as_dir" && as_dir
=.
10235 for ac_exec_ext
in '' $ac_executable_extensions; do
10236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10237 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10248 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10249 if test -n "$aros_kernel_objcopy"; then
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10251 $as_echo "$aros_kernel_objcopy" >&6; }
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10254 $as_echo "no" >&6; }
10259 if test "$aros_kernel_objcopy" = ""; then
10260 # Extract the first word of "objcopy", so it can be a program name with args.
10261 set dummy objcopy
; ac_word
=$2
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10263 $as_echo_n "checking for $ac_word... " >&6; }
10264 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10265 $as_echo_n "(cached) " >&6
10267 case $aros_kernel_objcopy in
10269 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10273 for as_dir
in $PATH
10276 test -z "$as_dir" && as_dir
=.
10277 for ac_exec_ext
in '' $ac_executable_extensions; do
10278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10279 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10290 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10291 if test -n "$aros_kernel_objcopy"; then
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10293 $as_echo "$aros_kernel_objcopy" >&6; }
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10296 $as_echo "no" >&6; }
10303 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10304 set dummy
$aros_kernel_objcopy; ac_word
=$2
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10306 $as_echo_n "checking for $ac_word... " >&6; }
10307 if test "${ac_cv_path_aros_kernel_objcopy+set}" = set; then :
10308 $as_echo_n "(cached) " >&6
10310 case $aros_kernel_objcopy in
10312 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10316 for as_dir
in $PATH
10319 test -z "$as_dir" && as_dir
=.
10320 for ac_exec_ext
in '' $ac_executable_extensions; do
10321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10322 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10333 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10334 if test -n "$aros_kernel_objcopy"; then
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10336 $as_echo "$aros_kernel_objcopy" >&6; }
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10339 $as_echo "no" >&6; }
10346 if test "$aros_kernel_objdump" = ""; then
10347 if test "$cross_compiling" = "yes" ; then
10348 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10349 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10351 $as_echo_n "checking for $ac_word... " >&6; }
10352 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10353 $as_echo_n "(cached) " >&6
10355 case $aros_kernel_objdump in
10357 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10361 for as_dir
in $PATH
10364 test -z "$as_dir" && as_dir
=.
10365 for ac_exec_ext
in '' $ac_executable_extensions; do
10366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10367 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10378 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10379 if test -n "$aros_kernel_objdump"; then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10381 $as_echo "$aros_kernel_objdump" >&6; }
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10384 $as_echo "no" >&6; }
10389 if test "$GCC" = "yes"; then
10390 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10391 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10392 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10394 $as_echo_n "checking for $ac_word... " >&6; }
10395 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10396 $as_echo_n "(cached) " >&6
10398 case $aros_kernel_objdump in
10400 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10404 for as_dir
in `dirname $aros_gcc_objdump`
10407 test -z "$as_dir" && as_dir
=.
10408 for ac_exec_ext
in '' $ac_executable_extensions; do
10409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10410 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10421 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10422 if test -n "$aros_kernel_objdump"; then
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10424 $as_echo "$aros_kernel_objdump" >&6; }
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10427 $as_echo "no" >&6; }
10432 if test "$aros_kernel_objdump" = ""; then
10433 # Extract the first word of "objdump", so it can be a program name with args.
10434 set dummy objdump
; ac_word
=$2
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10436 $as_echo_n "checking for $ac_word... " >&6; }
10437 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10438 $as_echo_n "(cached) " >&6
10440 case $aros_kernel_objdump in
10442 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10446 for as_dir
in $PATH
10449 test -z "$as_dir" && as_dir
=.
10450 for ac_exec_ext
in '' $ac_executable_extensions; do
10451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10452 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10463 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10464 if test -n "$aros_kernel_objdump"; then
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10466 $as_echo "$aros_kernel_objdump" >&6; }
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10469 $as_echo "no" >&6; }
10476 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10477 set dummy
$aros_kernel_objdump; ac_word
=$2
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10479 $as_echo_n "checking for $ac_word... " >&6; }
10480 if test "${ac_cv_path_aros_kernel_objdump+set}" = set; then :
10481 $as_echo_n "(cached) " >&6
10483 case $aros_kernel_objdump in
10485 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10489 for as_dir
in $PATH
10492 test -z "$as_dir" && as_dir
=.
10493 for ac_exec_ext
in '' $ac_executable_extensions; do
10494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10495 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10506 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10507 if test -n "$aros_kernel_objdump"; then
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10509 $as_echo "$aros_kernel_objdump" >&6; }
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 $as_echo "no" >&6; }
10518 if test "x${crosstools}" != "xyes" ; then
10519 if test "$aros_kernel_objcopy" = ""; then
10520 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10522 if test "$aros_kernel_objdump" = ""; then
10523 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10529 $as_echo_n "checking which target tools to use... " >&6; }
10530 if test "$crosstools" = "yes"; then
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10532 $as_echo "$target_tool_prefix" >&6; }
10533 # We are are building AROS crosstools
10534 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10535 orig_target_cc
="${tmp_tool_prefix}gcc${aros_gcc_version}"
10536 orig_target_cxx
="${tmp_tool_prefix}g++${aros_gcc_version}"
10537 orig_target_cpp
="${tmp_tool_prefix}cpp"
10538 orig_target_ld
="${tmp_tool_prefix}ld"
10539 orig_target_as
="${tmp_tool_prefix}as"
10540 orig_target_ar
="${tmp_tool_prefix}ar"
10541 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10542 orig_target_nm
="${tmp_tool_prefix}nm"
10543 orig_target_strip
="${tmp_tool_prefix}strip"
10544 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10545 orig_target_objdump
="${tmp_tool_prefix}objdump"
10547 # We are *not* building AROS crosstools - use the kernel tools
10548 # However some ports (Windows-hosted for example) can't use kernel tools
10549 # to build AROS for sure. In this case we search for preinstalled AROS gcc
10550 # CHECKME: Currently i set need_crosstools only for mingw target, however
10551 # the same should be true for Android and Darwin ports.
10552 if test "$need_crosstools" = "yes" ; then
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu-aros" >&5
10554 $as_echo "$aros_target_cpu-aros" >&6; }
10555 # Extract the first word of ""$aros_target_cpu-aros-cpp"", so it can be a program name with args.
10556 set dummy
"$aros_target_cpu-aros-cpp"; ac_word
=$2
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10558 $as_echo_n "checking for $ac_word... " >&6; }
10559 if test "${ac_cv_path_orig_target_cpp+set}" = set; then :
10560 $as_echo_n "(cached) " >&6
10562 case $orig_target_cpp in
10564 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10568 for as_dir
in $PATH
10571 test -z "$as_dir" && as_dir
=.
10572 for ac_exec_ext
in '' $ac_executable_extensions; do
10573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10574 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10585 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10586 if test -n "$orig_target_cpp"; then
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10588 $as_echo "$orig_target_cpp" >&6; }
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10591 $as_echo "no" >&6; }
10595 # Extract the first word of ""$aros_target_cpu-aros-gcc"", so it can be a program name with args.
10596 set dummy
"$aros_target_cpu-aros-gcc"; ac_word
=$2
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10598 $as_echo_n "checking for $ac_word... " >&6; }
10599 if test "${ac_cv_path_orig_target_cc+set}" = set; then :
10600 $as_echo_n "(cached) " >&6
10602 case $orig_target_cc in
10604 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
10607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10608 for as_dir
in $PATH
10611 test -z "$as_dir" && as_dir
=.
10612 for ac_exec_ext
in '' $ac_executable_extensions; do
10613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10614 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10625 orig_target_cc
=$ac_cv_path_orig_target_cc
10626 if test -n "$orig_target_cc"; then
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
10628 $as_echo "$orig_target_cc" >&6; }
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10631 $as_echo "no" >&6; }
10635 # Extract the first word of ""$aros_target_cpu-aros-g++"", so it can be a program name with args.
10636 set dummy
"$aros_target_cpu-aros-g++"; ac_word
=$2
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10638 $as_echo_n "checking for $ac_word... " >&6; }
10639 if test "${ac_cv_path_orig_target_cxx+set}" = set; then :
10640 $as_echo_n "(cached) " >&6
10642 case $orig_target_cxx in
10644 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
10647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10648 for as_dir
in $PATH
10651 test -z "$as_dir" && as_dir
=.
10652 for ac_exec_ext
in '' $ac_executable_extensions; do
10653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10654 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10665 orig_target_cxx
=$ac_cv_path_orig_target_cxx
10666 if test -n "$orig_target_cxx"; then
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
10668 $as_echo "$orig_target_cxx" >&6; }
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10671 $as_echo "no" >&6; }
10675 # Extract the first word of ""$aros_target_cpu-aros-ld"", so it can be a program name with args.
10676 set dummy
"$aros_target_cpu-aros-ld"; ac_word
=$2
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10678 $as_echo_n "checking for $ac_word... " >&6; }
10679 if test "${ac_cv_path_orig_target_ld+set}" = set; then :
10680 $as_echo_n "(cached) " >&6
10682 case $orig_target_ld in
10684 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
10687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10688 for as_dir
in $PATH
10691 test -z "$as_dir" && as_dir
=.
10692 for ac_exec_ext
in '' $ac_executable_extensions; do
10693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10694 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
10695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10705 orig_target_ld
=$ac_cv_path_orig_target_ld
10706 if test -n "$orig_target_ld"; then
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
10708 $as_echo "$orig_target_ld" >&6; }
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10711 $as_echo "no" >&6; }
10715 # Extract the first word of ""$aros_target_cpu-aros-as"", so it can be a program name with args.
10716 set dummy
"$aros_target_cpu-aros-as"; ac_word
=$2
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10718 $as_echo_n "checking for $ac_word... " >&6; }
10719 if test "${ac_cv_path_orig_target_as+set}" = set; then :
10720 $as_echo_n "(cached) " >&6
10722 case $orig_target_as in
10724 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
10727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10728 for as_dir
in $PATH
10731 test -z "$as_dir" && as_dir
=.
10732 for ac_exec_ext
in '' $ac_executable_extensions; do
10733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10734 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
10735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10745 orig_target_as
=$ac_cv_path_orig_target_as
10746 if test -n "$orig_target_as"; then
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
10748 $as_echo "$orig_target_as" >&6; }
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10751 $as_echo "no" >&6; }
10755 # Extract the first word of ""$aros_target_cpu-aros-ar"", so it can be a program name with args.
10756 set dummy
"$aros_target_cpu-aros-ar"; ac_word
=$2
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10758 $as_echo_n "checking for $ac_word... " >&6; }
10759 if test "${ac_cv_path_orig_target_ar+set}" = set; then :
10760 $as_echo_n "(cached) " >&6
10762 case $orig_target_ar in
10764 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
10767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10768 for as_dir
in $PATH
10771 test -z "$as_dir" && as_dir
=.
10772 for ac_exec_ext
in '' $ac_executable_extensions; do
10773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10774 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
10775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10785 orig_target_ar
=$ac_cv_path_orig_target_ar
10786 if test -n "$orig_target_ar"; then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
10788 $as_echo "$orig_target_ar" >&6; }
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10791 $as_echo "no" >&6; }
10795 # Extract the first word of ""$aros_target_cpu-aros-ranlib"", so it can be a program name with args.
10796 set dummy
"$aros_target_cpu-aros-ranlib"; ac_word
=$2
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10798 $as_echo_n "checking for $ac_word... " >&6; }
10799 if test "${ac_cv_path_orig_target_ranlib+set}" = set; then :
10800 $as_echo_n "(cached) " >&6
10802 case $orig_target_ranlib in
10804 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
10807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10808 for as_dir
in $PATH
10811 test -z "$as_dir" && as_dir
=.
10812 for ac_exec_ext
in '' $ac_executable_extensions; do
10813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10814 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10825 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
10826 if test -n "$orig_target_ranlib"; then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
10828 $as_echo "$orig_target_ranlib" >&6; }
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10831 $as_echo "no" >&6; }
10835 # Extract the first word of ""$aros_target_cpu-aros-nm"", so it can be a program name with args.
10836 set dummy
"$aros_target_cpu-aros-nm"; ac_word
=$2
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10838 $as_echo_n "checking for $ac_word... " >&6; }
10839 if test "${ac_cv_path_orig_target_nm+set}" = set; then :
10840 $as_echo_n "(cached) " >&6
10842 case $orig_target_nm in
10844 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
10847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10848 for as_dir
in $PATH
10851 test -z "$as_dir" && as_dir
=.
10852 for ac_exec_ext
in '' $ac_executable_extensions; do
10853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10854 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
10855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10865 orig_target_nm
=$ac_cv_path_orig_target_nm
10866 if test -n "$orig_target_nm"; then
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
10868 $as_echo "$orig_target_nm" >&6; }
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10871 $as_echo "no" >&6; }
10875 # Extract the first word of ""$aros_target_cpu-aros-strip"", so it can be a program name with args.
10876 set dummy
"$aros_target_cpu-aros-strip"; ac_word
=$2
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10878 $as_echo_n "checking for $ac_word... " >&6; }
10879 if test "${ac_cv_path_orig_target_strip+set}" = set; then :
10880 $as_echo_n "(cached) " >&6
10882 case $orig_target_strip in
10884 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
10887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10888 for as_dir
in $PATH
10891 test -z "$as_dir" && as_dir
=.
10892 for ac_exec_ext
in '' $ac_executable_extensions; do
10893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10894 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
10895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10905 orig_target_strip
=$ac_cv_path_orig_target_strip
10906 if test -n "$orig_target_strip"; then
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
10908 $as_echo "$orig_target_strip" >&6; }
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10911 $as_echo "no" >&6; }
10915 # Extract the first word of ""$aros_target_cpu-aros-objcopy"", so it can be a program name with args.
10916 set dummy
"$aros_target_cpu-aros-objcopy"; ac_word
=$2
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10918 $as_echo_n "checking for $ac_word... " >&6; }
10919 if test "${ac_cv_path_orig_target_objcopy+set}" = set; then :
10920 $as_echo_n "(cached) " >&6
10922 case $orig_target_objcopy in
10924 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
10927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10928 for as_dir
in $PATH
10931 test -z "$as_dir" && as_dir
=.
10932 for ac_exec_ext
in '' $ac_executable_extensions; do
10933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10934 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10945 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
10946 if test -n "$orig_target_objcopy"; then
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
10948 $as_echo "$orig_target_objcopy" >&6; }
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10951 $as_echo "no" >&6; }
10955 # Extract the first word of ""$aros_target_cpu-aros-objdump"", so it can be a program name with args.
10956 set dummy
"$aros_target_cpu-aros-objdump"; ac_word
=$2
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10958 $as_echo_n "checking for $ac_word... " >&6; }
10959 if test "${ac_cv_path_orig_target_objdump+set}" = set; then :
10960 $as_echo_n "(cached) " >&6
10962 case $orig_target_objdump in
10964 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
10967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10968 for as_dir
in $PATH
10971 test -z "$as_dir" && as_dir
=.
10972 for ac_exec_ext
in '' $ac_executable_extensions; do
10973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10974 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
10975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10985 orig_target_objdump
=$ac_cv_path_orig_target_objdump
10986 if test -n "$orig_target_objdump"; then
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
10988 $as_echo "$orig_target_objdump" >&6; }
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10991 $as_echo "no" >&6; }
10995 if test "$aros_gcc_version" != ""; then
10996 orig_target_cpp
="$orig_target_cpp-$aros_gcc_version"
10997 orig_target_cc
="$orig_target_cc-$aros_gcc_version"
10998 orig_target_cxx
="$orig_target_cxx-$aros_gcc_version"
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
11002 $as_echo "$kernel_tool_prefix" >&6; }
11003 orig_target_cpp
="${aros_kernel_cpp}"
11004 orig_target_cc
="${aros_kernel_cc}"
11005 orig_target_cxx
="${aros_kernel_cxx}"
11006 orig_target_ld
="${aros_kernel_ld}"
11007 orig_target_as
="${aros_kernel_as}"
11008 orig_target_ar
="${aros_kernel_ar}"
11009 orig_target_ranlib
="${aros_kernel_ranlib}"
11010 orig_target_nm
="${aros_kernel_nm}"
11011 orig_target_strip
="${aros_kernel_strip}"
11012 orig_target_objcopy
="${aros_kernel_objcopy}"
11013 orig_target_objdump
="${aros_kernel_objdump}"
11016 if test "$orig_target_cpp" = ""; then
11017 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11019 if test "$orig_target_cc" = ""; then
11020 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11022 if test "x$orig_target_cxx" != "x" ; then
11023 if test "$orig_target_cxx" = ""; then
11024 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11027 if test "$orig_target_ld" = ""; then
11028 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11030 if test "$orig_target_as" = ""; then
11031 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11033 if test "$orig_target_ar" = ""; then
11034 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11036 if test "$orig_target_ranlib" = ""; then
11037 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11039 if test "$orig_target_nm" = ""; then
11040 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11042 if test "$orig_target_strip" = ""; then
11043 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11045 if test "$orig_target_objcopy" = ""; then
11046 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11048 if test "$orig_target_objdump" = ""; then
11049 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11053 # At this point, all aros_kernel_* and aros_target_*
11054 # tools should be set up correctly
11056 CC
="$aros_kernel_cc $kernel_tool_flags"
11057 CPP
="$aros_kernel_cpp"
11059 #-----------------------------------------------------------------------------
11061 # Disable pointer-signedness warnings if the compiler recognises the option
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
11064 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
11065 save_cflags
="$CFLAGS"
11066 if test "$crosstools" != "yes" ; then
11067 CFLAGS
="$CFLAGS -Wno-pointer-sign"
11068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11079 if ac_fn_c_try_compile
"$LINENO"; then :
11080 use_no_sign_warning
="yes"
11082 use_no_sign_warning
="no"
11084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11086 # we do know it is supported for the smallest version of gcc we are going to build
11087 # we assume it's also supported by later versions
11088 use_no_sign_warning
=yes
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
11091 $as_echo "$use_no_sign_warning" >&6; }
11092 if test "x-$use_no_sign_warning" = "x-yes" ; then
11093 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
11095 CFLAGS
="$save_cflags"
11097 #-----------------------------------------------------------------------------
11099 # Find all the tools we need to compile. This could be cross-compiling
11100 # though! If that is the case we use the GNU form of the target and
11101 # simply add this to the front of the binary name. This is rather simple,
11102 # but it should work under most circumstances.
11104 # The default tools are to use the same as the host, but only if the
11105 # host and target CPU are the same. With GCC this is normally enough.
11109 aros_shared_ld
="$aros_host_ld"
11111 aros_target_mkdep
="$aros_host_mkdep"
11113 # The default tools executables to be linked to.
11114 if test "$rescomp" != ""; then
11115 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
11116 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11118 $as_echo_n "checking for $ac_word... " >&6; }
11119 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
11120 $as_echo_n "(cached) " >&6
11122 case $aros_kernel_rescomp in
11124 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
11127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11128 for as_dir
in $PATH
11131 test -z "$as_dir" && as_dir
=.
11132 for ac_exec_ext
in '' $ac_executable_extensions; do
11133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11134 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
11135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11145 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
11146 if test -n "$aros_kernel_rescomp"; then
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
11148 $as_echo "$aros_kernel_rescomp" >&6; }
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11151 $as_echo "no" >&6; }
11155 if test "$aros_kernel_rescomp" = ""; then
11156 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
11160 # Set up the sources for the symlink farm
11161 if test "$crosstools" = "yes"; then
11162 crosstools_target
=tools-crosstools
11164 crosstools_cxx_target
=tools-crosstools
11167 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
11168 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
11171 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
11172 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
11173 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
11174 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
11175 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
11176 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
11177 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
11179 # aros_cc_pre is a variable that is added to the front of the compiler name
11180 # in the generated aros-gcc shell script. We need this to enable the cache
11181 # to work across cleaned builds. Also, support DISTCC using the correct
11182 # environment variable.
11185 if test "x${DISTCC}" != "x" ; then
11186 if test "x${CCACHE}" != "x" ; then
11187 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
11189 aros_cc_pre
="${DISTCC} "
11192 if test "x${CCACHE}" != "x" ; then
11193 aros_cc_pre
="${CCACHE} "
11197 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
11199 aros_target_nostdinc_cflags
=-nostdinc
11201 aros_target_nostartup_ldflags
=-nostartfiles
11203 aros_target_nix_ldflags
=-nix
11205 aros_target_detach_ldflags
=-detach
11207 aros_target_nostdlib_ldflags
=-nostdlib
11211 if test "$crosstools" != "yes"; then
11212 if test "$GCC" = "yes"; then
11213 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
11216 # We do not know which gcc version we are going to build and what we need to know
11217 # here is different for different versions so this will be set later during the
11218 # build of crosstools.
11219 aros_target_cc_path
=@aros_target_cc_path@
11221 aros_target_cpp
="${prefix}cpp"
11222 aros_target_cc
="${prefix}gcc"
11223 aros_target_cxx
="${prefix}g++"
11224 aros_target_as
="${prefix}as"
11225 aros_target_ld
="${prefix}ld"
11226 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
11227 aros_target_objcopy
="${prefix}objcopy"
11228 aros_target_objdump
="${prefix}objdump"
11229 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
11230 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
11231 aros_target_strip
="${prefix}strip"
11232 aros_plain_nm
="${prefix}nm"
11233 aros_plain_ar
="${prefix}ar"
11235 if test "$aros_kernel_includes" != "" ; then
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
11237 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
11238 if test "$aros_kernel_cc_includes" = "" ; then
11239 # Try to guess where the directory is.
11240 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
11241 if test -d $aros_kernel_cc_includes; then
11242 # Check if there is also an include-fixed directory and add it
11243 # to kernel compiler's include path as it may contain some of
11244 # the headers we need.
11245 if test -d "$aros_kernel_cc_includes"-fixed; then
11246 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
11248 # Check for specific includes directory. Neede for Ubuntu 11.10
11249 if test -d "/usr/include/i386-linux-gnu"; then
11250 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
11253 # The directory doesn't exist, we need to do some more work.
11254 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
11256 # These are the headers we're looking for.
11257 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11258 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11262 for h
in $headers; do
11263 # Which other headers are needed by each of the above?
11264 deps
=$
(echo "#include <$h>" | \
11265 $aros_kernel_cc -E -M - 2>/dev
/null | \
11266 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11268 # Copy all the needed headers to a directory beneath gendir.
11271 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
11272 sed -n "s,^.*/include\(/.*\),\1,p")
11273 ! test -d $dir && mkdir
-p $dir
11274 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
11280 $as_echo "$aros_kernel_cc_includes" >&6; }
11281 # Adding -nostdinc to kernel includes as they are always used together.
11282 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
11285 if test "$crosstools" != "yes"; then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
11287 $as_echo_n "checking for the target compiler's include path... " >&6; }
11288 if test "$aros_target_cc_includes" = "" ; then
11289 #try to guess where the directory is
11290 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
11291 if ! test -d $aros_target_cc_includes; then
11292 #the directory doesn't exist, we need to do some more work
11293 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
11295 #these are the headers we're looking for
11296 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11297 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11301 for h
in $headers; do
11302 #which other headers each of the above headers needs?
11303 deps
=$
(echo "#include <$h>" | \
11304 $orig_target_cc -E -M - 2>/dev
/null | \
11305 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11307 #copy all the needed headers to a directory beneath gendir
11310 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
11311 sed -n "s,^.*/include\(/.*\),\1,p")
11312 ! test -d $dir && mkdir
-p $dir
11313 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
11319 $as_echo "$aros_target_cc_includes" >&6; }
11321 # We do not know which gcc version we are going to build and what we need to know
11322 # here is different for different versions so this will be set later during the
11323 # build of crosstools.
11324 aros_target_cc_includes
=@aros_target_cc_includes@
11328 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11329 # On GCC >= 4.0 -iquote should be used
11333 save_cflags
="$CFLAGS"
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11336 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11337 if test "x-$crosstools" != "x-yes"; then
11338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11339 /* end confdefs.h. */
11349 if ac_fn_c_try_compile
"$LINENO"; then :
11354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11356 # we do know it is supported for the smallest version of gcc we are going to build
11357 # we assume it's also supported by later versions
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11361 $as_echo "$has_iquote" >&6; }
11362 if test "x-$has_iquote" = "x-yes" ; then
11363 host_cflags_iquote
=-iquote
11364 host_cflags_iquote_end
=
11366 host_cflags_iquote
=-I
11367 host_cflags_iquote_end
=-I-
11369 kernel_cflags_iquote
=$host_cflags_iquote
11370 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11371 if test "x-$cross_compiling" = "x-yes"; then
11372 CC
="$aros_kernel_cc"
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
11374 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
11375 if test "x-$crosstools" != "x-yes"; then
11376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11387 if ac_fn_c_try_compile
"$LINENO"; then :
11388 use_no_stack_protector
="yes"
11390 use_no_stack_protector
="no"
11392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11394 # we do know it is supported for the smallest version of gcc we are going to build
11395 # we assume it's also supported by later versions
11396 use_no_stack_protector
=yes
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
11399 $as_echo "$use_no_stack_protector" >&6; }
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11401 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11402 if test "x-$crosstools" != "x-yes"; then
11403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11414 if ac_fn_c_try_compile
"$LINENO"; then :
11419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11421 # we do know it is supported for the smallest version of gcc we are going to build
11422 # we assume it's also supported by later versions
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11426 $as_echo "$has_iquote" >&6; }
11427 if test "x-$has_iquote" = "x-yes" ; then
11428 kernel_cflags_iquote
=-iquote
11429 kernel_cflags_iquote_end
=
11431 kernel_cflags_iquote
=-I
11432 kernel_cflags_iquote_end
=-I-
11435 aros_cflags_iquote
=$kernel_cflags_iquote
11436 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11437 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11438 CC
="$orig_target_cc"
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11440 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11441 if test "x-$crosstools" != "x-yes"; then
11442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11453 if ac_fn_c_try_compile
"$LINENO"; then :
11458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11460 # we do know it is supported for the smallest version of gcc we are going to build
11461 # we assume it's also supported by later versions
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11465 $as_echo "$has_iquote" >&6; }
11466 if test "x-$has_iquote" = "x-yes" ; then
11467 aros_cflags_iquote
=-iquote
11468 aros_cflags_iquote_end
=
11470 aros_cflags_iquote
=-I
11471 aros_cflags_iquote_end
=-I-
11474 if test "x-$use_no_stack_protector" = "x-yes" ; then
11475 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
11479 #-----------------------------------------------------------------------------
11481 # Check if the target compiler supports some options used for delinting:
11482 # -Wunused-but-set-variable
11485 # -Wstrict-overflow
11486 # -Wformat-security
11488 if test "x-$crosstools" != "x-yes"; then
11489 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11490 CC
="$orig_target_cc"
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
11493 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
11494 CFLAGS
=-Wunused-but-set-variable
11495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11506 if ac_fn_c_try_compile
"$LINENO"; then :
11507 aros_unused_but_set_variable
="yes"
11509 aros_unused_but_set_variable
="no"
11511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
11513 $as_echo "$aros_unused_but_set_variable" >&6; }
11514 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
11515 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
11519 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
11520 CFLAGS
=-Warray-bounds
11521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11532 if ac_fn_c_try_compile
"$LINENO"; then :
11533 aros_array_bounds
="yes"
11535 aros_array_bounds
="no"
11537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
11539 $as_echo "$aros_array_bounds" >&6; }
11540 if test "x-$aros_array_bounds" = "x-yes" ; then
11541 aros_cflags_array_bounds
=-Wno-array-bounds
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
11545 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
11546 CFLAGS
=-Wenum-compare
11547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11558 if ac_fn_c_try_compile
"$LINENO"; then :
11559 aros_enum_compare
="yes"
11561 aros_enum_compare
="no"
11563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
11565 $as_echo "$aros_enum_compare" >&6; }
11566 if test "x-$aros_enum_compare" = "x-yes" ; then
11567 aros_cflags_enum_compare
=-Wno-enum-compare
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
11571 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
11572 CFLAGS
=-Wstrict-overflow
11573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11584 if ac_fn_c_try_compile
"$LINENO"; then :
11585 aros_strict_overflow
="yes"
11587 aros_strict_overflow
="no"
11589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
11591 $as_echo "$aros_strict_overflow" >&6; }
11592 if test "x-$aros_strict_overflow" = "x-yes" ; then
11593 aros_cflags_strict_overflow
=-Wno-strict-overflow
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
11597 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
11598 CFLAGS
=-Wformat-security
11599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11610 if ac_fn_c_try_compile
"$LINENO"; then :
11611 aros_format_security
="yes"
11613 aros_format_security
="no"
11615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
11617 $as_echo "$aros_format_security" >&6; }
11618 if test "x-$aros_format_security" = "x-yes" ; then
11619 aros_cflags_format_security
=-Wno-format-security
11622 # We do not know which gcc version we are going to build and what we need to know
11623 # here is different for different versions so this will be set later during the
11624 # build of crosstools.
11625 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
11626 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
11627 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
11628 aros_cflags_strict_overflow
=@aros_cflags_strict_overflow@
11629 aros_cflags_format_security
=@aros_cflags_format_security@
11632 #-----------------------------------------------------------------------------
11634 # Check if we can explicitly choose older version of symbol hashing
11636 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
11637 CC
="$aros_kernel_cc"
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11639 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
11640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11651 if ac_fn_c_try_link
"$LINENO"; then :
11652 use_hash_style
="yes"
11654 use_hash_style
="no"
11656 rm -f core conftest.err conftest.
$ac_objext \
11657 conftest
$ac_exeext conftest.
$ac_ext
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
11659 $as_echo "$use_hash_style" >&6; }
11660 if test "x-$use_hash_style" = "x-yes" ; then
11661 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11664 CFLAGS
="$save_cflags"
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
11675 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11677 # Check whether --with-resolution was given.
11678 if test "${with_resolution+set}" = set; then :
11679 withval
=$with_resolution; resolution
=$withval
11684 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11685 if test "$resolution" = "yes" ; then
11688 if test "$resolution" = "no" ; then
11691 if test "$resolution" != "none" ; then
11692 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11693 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11694 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11697 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11698 aros_cv_default_wbwidth
=$aros_default_wbwidth
11699 aros_cv_default_wbheight
=$aros_default_wbheight
11700 aros_cv_default_wbdepth
=$aros_default_wbdepth
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
11703 $as_echo_n "checking if serial debug is enabled... " >&6; }
11705 # Check whether --with-serial-debug was given.
11706 if test "${with_serial_debug+set}" = set; then :
11707 withval
=$with_serial_debug; serial_debug
=$withval
11712 if test "$aros_serial_debug" = 0 ; then
11713 serial_debug_forced
=""
11714 if test "$serial_debug" = "yes" ; then
11717 if test "$serial_debug" = "no" ; then
11718 serial_debug
="none"
11721 serial_debug_forced
="(forced)"
11722 serial_debug
=$aros_serial_debug
11724 if test "$serial_debug" != "none" ; then
11725 aros_serial_debug
=$serial_debug
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
11727 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11730 $as_echo "no" >&6; }
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
11734 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11735 # Check whether --enable-palm_debug_hack was given.
11736 if test "${enable_palm_debug_hack+set}" = set; then :
11737 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11739 palm_debug_hack
="no"
11742 if test "$palm_debug_hack" = "yes" ; then
11743 aros_palm_debug_hack
="1"
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
11746 $as_echo "$palm_debug_hack" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
11749 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11750 # Check whether --enable-nesting_supervisor was given.
11751 if test "${enable_nesting_supervisor+set}" = set; then :
11752 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11754 nesting_supervisor
="no"
11757 if test "$nesting_supervisor" = "yes" ; then
11758 aros_nesting_supervisor
="1"
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
11761 $as_echo "$nesting_supervisor" >&6; }
11763 if test "$aros_enable_mmu" = "" ; then
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
11765 $as_echo_n "checking if MMU support is enabled... " >&6; }
11766 # Check whether --enable-mmu was given.
11767 if test "${enable_mmu+set}" = set; then :
11768 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
11770 aros_enable_mmu
="yes"
11773 if test "$aros_enable_mmu" = "" ; then
11774 aros_enable_mmu
="yes"
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
11777 $as_echo "$aros_enable_mmu" >&6; }
11779 if test "$aros_enable_mmu" = "no" ; then
11780 aros_enable_mmu
="0"
11782 aros_enable_mmu
="1"
11786 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11788 if test "x-$need_dlopen" != "x-no" ; then
11789 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11790 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11796 if test "x-$have_dl" = "x-no" ; then
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11798 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11799 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11800 $as_echo_n "(cached) " >&6
11802 ac_check_lib_save_LIBS
=$LIBS
11804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11822 if ac_fn_c_try_link
"$LINENO"; then :
11823 ac_cv_lib_dl_dlopen
=yes
11825 ac_cv_lib_dl_dlopen
=no
11827 rm -f core conftest.err conftest.
$ac_objext \
11828 conftest
$ac_exeext conftest.
$ac_ext
11829 LIBS
=$ac_check_lib_save_LIBS
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11832 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11833 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11835 aros_host_ldflags
="$aros_host_ldflags -ldl"
11841 if test "x-$have_dl" = "x-no" ; then
11842 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
11847 # Check whether --enable-x11_hidd was given.
11848 if test "${enable_x11_hidd+set}" = set; then :
11849 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11851 x11_hidd
="$need_x11"
11854 case "x-$x11_hidd" in
11855 x-yes|x-no|x-auto
) ;;
11856 *) x11_hidd
="$need_x11" ;;
11861 if test "x-$x11_hidd" != "x-no" ; then
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11864 $as_echo_n "checking for X... " >&6; }
11867 # Check whether --with-x was given.
11868 if test "${with_x+set}" = set; then :
11872 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11873 if test "x$with_x" = xno
; then
11874 # The user explicitly disabled X.
11877 case $x_includes,$x_libraries in #(
11878 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
11879 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
11880 $as_echo_n "(cached) " >&6
11882 # One or both of the vars are not set, and there is no cached value.
11883 ac_x_includes
=no ac_x_libraries
=no
11884 rm -f -r conftest.dir
11885 if mkdir conftest.dir
; then
11887 cat >Imakefile
<<'_ACEOF'
11889 @echo incroot='${INCROOT}'
11891 @echo usrlibdir='${USRLIBDIR}'
11893 @echo libdir='${LIBDIR}'
11895 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11896 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11897 for ac_var
in incroot usrlibdir libdir
; do
11898 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11900 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11901 for ac_extension
in a so sl dylib la dll
; do
11902 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11903 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11904 ac_im_usrlibdir
=$ac_im_libdir; break
11907 # Screen out bogus values from the imake configuration. They are
11908 # bogus both because they are the default anyway, and because
11909 # using them would break gcc on systems where it needs fixed includes.
11910 case $ac_im_incroot in
11911 /usr
/include
) ac_x_includes
= ;;
11912 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11914 case $ac_im_usrlibdir in
11915 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
11916 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11920 rm -f -r conftest.dir
11923 # Standard set of common directories for X headers.
11924 # Check X11 before X11Rn because it is often a symlink to the current release.
11938 /usr/local/X11/include
11939 /usr/local/X11R7/include
11940 /usr/local/X11R6/include
11941 /usr/local/X11R5/include
11942 /usr/local/X11R4/include
11944 /usr/local/include/X11
11945 /usr/local/include/X11R7
11946 /usr/local/include/X11R6
11947 /usr/local/include/X11R5
11948 /usr/local/include/X11R4
11952 /usr/XFree86/include/X11
11956 /usr/unsupported/include
11957 /usr/athena/include
11958 /usr/local/x11r5/include
11959 /usr/lpp/Xamples/include
11961 /usr/openwin/include
11962 /usr/openwin/share/include'
11964 if test "$ac_x_includes" = no
; then
11965 # Guess where to find include files, by looking for Xlib.h.
11966 # First, try using that file with no special directory specified.
11967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #include <X11/Xlib.h>
11971 if ac_fn_c_try_cpp
"$LINENO"; then :
11972 # We can compile using X headers with no special include directory.
11975 for ac_dir
in $ac_x_header_dirs; do
11976 if test -r "$ac_dir/X11/Xlib.h"; then
11977 ac_x_includes
=$ac_dir
11982 rm -f conftest.err conftest.i conftest.
$ac_ext
11983 fi # $ac_x_includes = no
11985 if test "$ac_x_libraries" = no
; then
11986 # Check for the libraries.
11987 # See if we find them without any special options.
11988 # Don't add to $LIBS permanently.
11991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11993 #include <X11/Xlib.h>
12002 if ac_fn_c_try_link
"$LINENO"; then :
12004 # We can link X programs with no special library path.
12008 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12010 # Don't even attempt the hair of trying to link an X program!
12011 for ac_extension
in a so sl dylib la dll
; do
12012 if test -r "$ac_dir/libX11.$ac_extension"; then
12013 ac_x_libraries
=$ac_dir
12019 rm -f core conftest.err conftest.
$ac_objext \
12020 conftest
$ac_exeext conftest.
$ac_ext
12021 fi # $ac_x_libraries = no
12023 case $ac_x_includes,$ac_x_libraries in #(
12024 no
,* |
*,no |
*\'*)
12025 # Didn't find X, or a directory has "'" in its name.
12026 ac_cv_have_x
="have_x=no";; #(
12028 # Record where we found X for the cache.
12029 ac_cv_have_x
="have_x=yes\
12030 ac_x_includes='$ac_x_includes'\
12031 ac_x_libraries='$ac_x_libraries'"
12037 eval "$ac_cv_have_x"
12040 if test "$have_x" != yes; then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12042 $as_echo "$have_x" >&6; }
12045 # If each of the values was on the command line, it overrides each guess.
12046 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
12047 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
12048 # Update the cache value to reflect the command line values.
12049 ac_cv_have_x
="have_x=yes\
12050 ac_x_includes='$x_includes'\
12051 ac_x_libraries='$x_libraries'"
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12053 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12058 for path
in $x_libraries
12060 x_cflags
="$x_cflags -L$path"
12063 for path
in $x_includes
12065 x_cflags
="$x_cflags -I$path"
12068 if test "x-$no_x" = "x-yes" ; then
12070 if test "x-$x11_hidd" != "x-auto" ; then
12071 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
12075 x11_hidd_target
=kernel-x11gfx-kobj
12078 # Check whether --enable-x11_shm was given.
12079 if test "${enable_x11_shm+set}" = set; then :
12080 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
12082 x11_hidd_shm
="auto"
12085 case "x-$x11_hidd_shm" in
12086 x-yes|x-no|x-auto
) ;;
12087 *) x11_hidd_shm
="auto" ;;
12092 if test "x-$x11_hidd_shm" != "x-no" ; then
12094 for ac_header
in sys
/ipc.h
12096 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
12097 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
12098 cat >>confdefs.h
<<_ACEOF
12099 #define HAVE_SYS_IPC_H 1
12106 for ac_header
in sys
/shm.h
12108 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
12109 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
12110 cat >>confdefs.h
<<_ACEOF
12111 #define HAVE_SYS_SHM_H 1
12119 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
12121 save_cflags
="$CFLAGS"
12122 CFLAGS
="$CFLAGS $x_cflags"
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
12124 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
12125 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
12126 $as_echo_n "(cached) " >&6
12128 ac_check_lib_save_LIBS
=$LIBS
12129 LIBS
="-lXext $LIBS"
12130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12139 char XShmQueryExtension ();
12143 return XShmQueryExtension ();
12148 if ac_fn_c_try_link
"$LINENO"; then :
12149 ac_cv_lib_Xext_XShmQueryExtension
=yes
12151 ac_cv_lib_Xext_XShmQueryExtension
=no
12153 rm -f core conftest.err conftest.
$ac_objext \
12154 conftest
$ac_exeext conftest.
$ac_ext
12155 LIBS
=$ac_check_lib_save_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12158 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12159 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
12163 CFLAGS
="$save_cflags"
12167 if test "x-$have_xshm" = "x-yes" ; then
12168 DO_XSHM_SUPPORT
="1"
12169 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12170 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
12172 DO_XSHM_SUPPORT
="0"
12176 # Check whether --enable-x11_vidmode was given.
12177 if test "${enable_x11_vidmode+set}" = set; then :
12178 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
12180 x11_hidd_vidmode
="auto"
12183 case "x-$x11_hidd_vidmode" in
12184 x-yes|x-no|x-auto
) ;;
12185 *) x11_hidd_vidmode
="auto" ;;
12190 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12192 save_cflags
="$CFLAGS"
12193 CFLAGS
="$CFLAGS $x_cflags"
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12195 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
12196 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
12197 $as_echo_n "(cached) " >&6
12199 ac_check_lib_save_LIBS
=$LIBS
12200 LIBS
="-lXxf86vm $LIBS"
12201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12204 /* Override any GCC internal prototype to avoid an error.
12205 Use char because int might match the return type of a GCC
12206 builtin and then its argument prototype would still apply. */
12210 char XF86VidModeQueryExtension ();
12214 return XF86VidModeQueryExtension ();
12219 if ac_fn_c_try_link
"$LINENO"; then :
12220 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
12222 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
12224 rm -f core conftest.err conftest.
$ac_objext \
12225 conftest
$ac_exeext conftest.
$ac_ext
12226 LIBS
=$ac_check_lib_save_LIBS
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12229 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12230 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
12234 CFLAGS
="$save_cflags"
12237 if test "x-$have_vidmode" = "x-yes" ; then
12238 DO_VIDMODE_SUPPORT
="1"
12239 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12240 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
12242 DO_VIDMODE_SUPPORT
="0"
12246 aros_host_x11_includes
=$x_includes
12247 aros_host_x11_libdirs
=$x_libraries
12251 # Check whether --enable-sdl_hidd was given.
12252 if test "${enable_sdl_hidd+set}" = set; then :
12253 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
12258 case "x-$sdl_hidd" in
12259 x-yes|x-no|x-auto
) ;;
12260 *) sdl_hidd
="auto" ;;
12263 if test "x-$sdl_hidd" != "x-no" ; then
12266 # Check whether --with-sdl-prefix was given.
12267 if test "${with_sdl_prefix+set}" = set; then :
12268 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
12274 # Check whether --with-sdl-exec-prefix was given.
12275 if test "${with_sdl_exec_prefix+set}" = set; then :
12276 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
12281 # Check whether --enable-sdltest was given.
12282 if test "${enable_sdltest+set}" = set; then :
12283 enableval
=$enable_sdltest;
12289 if test x
$sdl_exec_prefix != x
; then
12290 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
12291 if test x
${SDL_CONFIG+set} != xset
; then
12292 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
12295 if test x
$sdl_prefix != x
; then
12296 sdl_args
="$sdl_args --prefix=$sdl_prefix"
12297 if test x
${SDL_CONFIG+set} != xset
; then
12298 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
12302 if test "x$prefix" != xNONE
; then
12303 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
12305 # Extract the first word of "sdl-config", so it can be a program name with args.
12306 set dummy sdl-config
; ac_word
=$2
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12308 $as_echo_n "checking for $ac_word... " >&6; }
12309 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
12310 $as_echo_n "(cached) " >&6
12312 case $SDL_CONFIG in
12314 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
12317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12318 for as_dir
in $PATH
12321 test -z "$as_dir" && as_dir
=.
12322 for ac_exec_ext
in '' $ac_executable_extensions; do
12323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12324 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12332 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12336 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12337 if test -n "$SDL_CONFIG"; then
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
12339 $as_echo "$SDL_CONFIG" >&6; }
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12342 $as_echo "no" >&6; }
12346 min_sdl_version
=1.2.10
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
12348 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
12350 if test "$SDL_CONFIG" = "no" ; then
12353 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12354 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12356 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12357 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12358 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12360 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12362 if test "x$enable_sdltest" = "xyes" ; then
12363 ac_save_CFLAGS
="$CFLAGS"
12364 ac_save_CXXFLAGS
="$CXXFLAGS"
12365 ac_save_LIBS
="$LIBS"
12366 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12367 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12368 LIBS
="$LIBS $SDL_LIBS"
12370 if test "$cross_compiling" = yes; then :
12371 echo $ac_n "cross compiling; assumed OK... $ac_c"
12373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h. */
12377 #include <stdlib.h>
12378 #include <string.h>
12382 my_strdup (char *str)
12388 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12389 strcpy (new_str, str);
12397 int main (int argc, char *argv[])
12399 int major, minor, micro;
12402 /* This hangs on some systems (?)
12403 system ("touch conf.sdltest");
12405 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12407 /* HP/UX 9 (%@#!) writes to sscanf strings */
12408 tmp_version = my_strdup("$min_sdl_version");
12409 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12410 printf("%s, bad version string\n", "$min_sdl_version");
12414 if (($sdl_major_version > major) ||
12415 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12416 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12422 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12423 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12424 printf("*** best to upgrade to the required version.\n");
12425 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12426 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12427 printf("*** config.cache before re-running configure\n");
12434 if ac_fn_c_try_run
"$LINENO"; then :
12439 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12440 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12443 CFLAGS
="$ac_save_CFLAGS"
12444 CXXFLAGS
="$ac_save_CXXFLAGS"
12445 LIBS
="$ac_save_LIBS"
12448 if test "x$no_sdl" = x
; then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12450 $as_echo "yes" >&6; }
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12454 $as_echo "no" >&6; }
12455 if test "$SDL_CONFIG" = "no" ; then
12456 echo "*** The sdl-config script installed by SDL could not be found"
12457 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12458 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12459 echo "*** full path to sdl-config."
12461 if test -f conf.sdltest
; then
12464 echo "*** Could not run SDL test program, checking why..."
12465 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12466 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12467 LIBS
="$LIBS $SDL_LIBS"
12468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12469 /* end confdefs.h. */
12474 int main(int argc, char *argv[])
12477 #define main K_and_R_C_main
12487 if ac_fn_c_try_link
"$LINENO"; then :
12488 echo "*** The test program compiled, but did not run. This usually means"
12489 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12490 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12491 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12492 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12493 echo "*** is required on your system"
12495 echo "*** If you have an old version installed, it is best to remove it, although"
12496 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12498 echo "*** The test program failed to compile or link. See the file config.log for the"
12499 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12500 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12501 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12503 rm -f core conftest.err conftest.
$ac_objext \
12504 conftest
$ac_exeext conftest.
$ac_ext
12505 CFLAGS
="$ac_save_CFLAGS"
12506 CXXFLAGS
="$ac_save_CXXFLAGS"
12507 LIBS
="$ac_save_LIBS"
12519 if test "x-$have_sdl" != "x-yes" ; then
12521 if test "x-$sdl_hidd" != "x-auto" ; then
12522 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
12526 sdl_hidd_target
=kernel-hidd-sdl
12527 aros_host_sdl_cflags
=SDL_CFLAGS
12528 aros_host_sdl_libs
=SDL_LIBS
12532 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12533 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
12538 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
12539 oss_library_target
=workbench-libs-oss-unix
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
12545 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12546 # Check whether --enable-dbus was given.
12547 if test "${enable_dbus+set}" = set; then :
12548 enableval
=$enable_dbus; dbus
="yes"
12553 if test "$dbus" = "yes" ; then
12555 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12556 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12557 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12558 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
12563 $as_echo "$dbus" >&6; }
12565 if test "$use_kernel_cc_wrapper" = "yes" ; then
12566 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
12569 if test "${crosstools}" != "yes" ; then
12570 aros_target_toolchain
=no
12572 aros_target_toolchain
=yes
12588 # Compatability with other Amiga-like operation systems
12683 # Delinting target compiler flags
12707 # Native version related
12710 # Palm native version related
12713 # Unix/Hosted version related
12719 # Apple iOS related
12744 # Collect-aros stuff: "-ius" to ignore undefined symbols
12747 # C compiler related
12750 case "$aros_flavour" in
12751 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12752 aros_flavour
="emulation" ;;
12753 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12754 aros_flavour
="emulation" ;;
12755 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12756 aros_flavour
="standalone";;
12757 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12758 aros_flavour
="standalone";;
12759 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12760 aros_flavour
="native" ;;
12761 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12762 aros_flavour
="native" ;;
12763 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12764 aros_flavour
="linklib" ;;
12765 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12766 aros_flavour
="palmnative" ;;
12767 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12768 aros_flavour
="mac68knative" ;;
12769 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12770 aros_flavour
="ppcnative" ;;
12773 if test ! -d ${aros_inc_dir} ; then
12774 ${MKDIR} ${aros_inc_dir}
12776 if test ! -d ${aros_geninc_dir} ; then
12777 ${MKDIR} ${aros_geninc_dir}
12779 if test ! -d ${aros_hostcfg_dir} ; then
12780 ${MKDIR} ${aros_hostcfg_dir}
12782 if test ! -d ${aros_targetcfg_dir} ; then
12783 ${MKDIR} ${aros_targetcfg_dir}
12785 if test ! -d ${aros_tools_dir} ; then
12786 ${MKDIR} ${aros_tools_dir}
12788 if test ! -d ${aros_scripts_dir} ; then
12789 ${MKDIR} ${aros_scripts_dir}
12792 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12795 ac_config_commands
="$ac_config_commands compiler_executable"
12797 ac_config_commands
="$ac_config_commands genmf_executable"
12800 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"
12803 cat >confcache
<<\_ACEOF
12804 # This file is a shell script that caches the results of configure
12805 # tests run on this system so they can be shared between configure
12806 # scripts and configure runs, see configure's option --config-cache.
12807 # It is not useful on other systems. If it contains results you don't
12808 # want to keep, you may remove or edit it.
12810 # config.status only pays attention to the cache file if you give it
12811 # the --recheck option to rerun configure.
12813 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12814 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12815 # following values.
12819 # The following way of writing the cache mishandles newlines in values,
12820 # but we know of no workaround that is simple, portable, and efficient.
12821 # So, we kill variables containing newlines.
12822 # Ultrix sh set writes to stderr and can't be redirected directly,
12823 # and sets the high bit in the cache file unless we assign to the vars.
12825 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12826 eval ac_val
=\$
$ac_var
12830 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12831 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12834 _ | IFS | as_nl
) ;; #(
12835 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12836 *) { eval $ac_var=; unset $ac_var;} ;;
12842 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12843 *${as_nl}ac_space
=\
*)
12844 # `set' does not quote correctly, so add quotes: double-quote
12845 # substitution turns \\\\ into \\, and sed turns \\ into \.
12848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12851 # `set' quotes correctly as required by POSIX, so do not add quotes.
12852 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12861 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12863 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12865 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12866 if test -w "$cache_file"; then
12867 test "x$cache_file" != "x/dev/null" &&
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12869 $as_echo "$as_me: updating cache $cache_file" >&6;}
12870 cat confcache
>$cache_file
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12873 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12878 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12879 # Let make expand exec_prefix.
12880 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12882 DEFS
=-DHAVE_CONFIG_H
12887 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12888 # 1. Remove the extension, and $U if already installed.
12889 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12890 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12891 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12892 # will be set to the directory where LIBOBJS objects are built.
12893 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12894 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12896 LIBOBJS
=$ac_libobjs
12898 LTLIBOBJS
=$ac_ltlibobjs
12902 : ${CONFIG_STATUS=./config.status}
12904 ac_clean_files_save
=$ac_clean_files
12905 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12907 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12909 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12911 # Generated by $as_me.
12912 # Run this file to recreate the current configuration.
12913 # Compiler output produced by configure, useful for debugging
12914 # configure, is in config.log if it exists.
12917 ac_cs_recheck=false
12920 SHELL=\${CONFIG_SHELL-$SHELL}
12923 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12924 ## -------------------- ##
12925 ## M4sh Initialization. ##
12926 ## -------------------- ##
12928 # Be more Bourne compatible
12929 DUALCASE
=1; export DUALCASE
# for MKS sh
12930 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12933 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12934 # is contrary to our usage. Disable this feature.
12935 alias -g '${1+"$@"}'='"$@"'
12936 setopt NO_GLOB_SUBST
12938 case `(set -o) 2>/dev/null` in #(
12950 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12951 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12952 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12953 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12954 # Prefer a ksh shell builtin over an external printf program on Solaris,
12955 # but without wasting forks for bash or zsh.
12956 if test -z "$BASH_VERSION$ZSH_VERSION" \
12957 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12958 as_echo='print
-r --'
12959 as_echo_n='print
-rn --'
12960 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12961 as_echo='printf %s
\n'
12962 as_echo_n='printf %s
'
12964 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12965 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12966 as_echo_n='/usr
/ucb
/echo -n'
12968 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12969 as_echo_n_body='eval
12973 expr "X$arg" : "X\\(.*\\)$as_nl";
12974 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12976 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12978 export as_echo_n_body
12979 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12981 export as_echo_body
12982 as_echo='sh
-c $as_echo_body as_echo
'
12985 # The user is always right.
12986 if test "${PATH_SEPARATOR+set}" != set; then
12988 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12989 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12996 # We need space, tab and new line, in precisely that order. Quoting is
12997 # there to prevent editors from complaining about space-tab.
12998 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12999 # splitting by setting IFS to empty value.)
13002 # Find who we are. Look in the path if we contain no directory separator.
13004 *[\\/]* ) as_myself=$0 ;;
13005 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13006 for as_dir in $PATH
13009 test -z "$as_dir" && as_dir=.
13010 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13016 # We did not find ourselves, most probably we were run as `sh COMMAND'
13017 # in which case we are not to be found in the path.
13018 if test "x$as_myself" = x
; then
13021 if test ! -f "$as_myself"; then
13022 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13026 # Unset variables that we do not need and which cause bugs (e.g. in
13027 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13028 # suppresses any "Segmentation fault" message there. '((' could
13029 # trigger a bug in pdksh 5.2.14.
13030 for as_var
in BASH_ENV ENV MAIL MAILPATH
13031 do eval test x\
${$as_var+set} = xset \
13032 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13045 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13048 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13049 # ----------------------------------------
13050 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13051 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13052 # script with STATUS, using 1 if that was 0.
13055 as_status
=$1; test $as_status -eq 0 && as_status
=1
13057 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13058 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13060 $as_echo "$as_me: error: $2" >&2
13061 as_fn_exit
$as_status
13065 # as_fn_set_status STATUS
13066 # -----------------------
13067 # Set $? to STATUS, without forking.
13068 as_fn_set_status
()
13071 } # as_fn_set_status
13073 # as_fn_exit STATUS
13074 # -----------------
13075 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13079 as_fn_set_status
$1
13085 # Portably unset VAR.
13088 { eval $1=; unset $1;}
13090 as_unset
=as_fn_unset
13091 # as_fn_append VAR VALUE
13092 # ----------------------
13093 # Append the text in VALUE to the end of the definition contained in VAR. Take
13094 # advantage of any shell optimizations that allow amortized linear growth over
13095 # repeated appends, instead of the typical quadratic growth present in naive
13097 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13098 eval 'as_fn_append ()
13109 # as_fn_arith ARG...
13110 # ------------------
13111 # Perform arithmetic evaluation on the ARGs, and store the result in the
13112 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13113 # must be portable across $(()) and expr.
13114 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13115 eval 'as_fn_arith ()
13122 as_val
=`expr "$@" || test $? -eq 1`
13127 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13128 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13134 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13135 as_basename
=basename
13140 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13146 as_me
=`$as_basename -- "$0" ||
13147 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13148 X"$0" : 'X\(//\)$' \| \
13149 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13151 sed '/^.*\/\([^/][^/]*\)\/*$/{
13165 # Avoid depending upon Character Ranges.
13166 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13167 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13168 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13169 as_cr_digits
='0123456789'
13170 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13172 ECHO_C
= ECHO_N
= ECHO_T
=
13173 case `echo -n x` in #(((((
13175 case `echo 'xy\c'` in
13176 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13178 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13185 rm -f conf$$ conf$$.exe conf$$.
file
13186 if test -d conf$$.dir
; then
13187 rm -f conf$$.dir
/conf$$.
file
13190 mkdir conf$$.dir
2>/dev
/null
13192 if (echo >conf$$.
file) 2>/dev
/null
; then
13193 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13195 # ... but there are two gotchas:
13196 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13197 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13198 # In both cases, we have to default to `cp -p'.
13199 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13201 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13209 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13210 rmdir conf$$.dir
2>/dev
/null
13215 # Create "$as_dir" as a directory, including parents if necessary.
13220 -*) as_dir
=.
/$as_dir;;
13222 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13226 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13227 *) as_qdir
=$as_dir;;
13229 as_dirs
="'$as_qdir' $as_dirs"
13230 as_dir
=`$as_dirname -- "$as_dir" ||
13231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13232 X"$as_dir" : 'X\(//\)[^/]' \| \
13233 X"$as_dir" : 'X\(//\)$' \| \
13234 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13235 $as_echo X"$as_dir" |
13236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13240 /^X\(\/\/\)[^/].*/{
13253 test -d "$as_dir" && break
13255 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13256 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13260 if mkdir
-p .
2>/dev
/null
; then
13261 as_mkdir_p
='mkdir -p "$as_dir"'
13263 test -d .
/-p && rmdir .
/-p
13267 if test -x / >/dev
/null
2>&1; then
13268 as_test_x
='test -x'
13270 if ls -dL / >/dev
/null
2>&1; then
13277 if test -d "$1"; then
13283 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13284 ???[sx]*):;;*)false;;esac;fi
13288 as_executable_p
=$as_test_x
13290 # Sed expression to map a string onto a valid CPP name.
13291 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13293 # Sed expression to map a string onto a valid variable name.
13294 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13298 ## ----------------------------------- ##
13299 ## Main body of $CONFIG_STATUS script. ##
13300 ## ----------------------------------- ##
13302 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13305 # Save the log message, to keep $0 and so on meaningful, and to
13306 # report actual input values of CONFIG_FILES etc. instead of their
13307 # values after options handling.
13309 This file was extended by $as_me, which was
13310 generated by GNU Autoconf 2.67. Invocation command line was
13312 CONFIG_FILES = $CONFIG_FILES
13313 CONFIG_HEADERS = $CONFIG_HEADERS
13314 CONFIG_LINKS = $CONFIG_LINKS
13315 CONFIG_COMMANDS = $CONFIG_COMMANDS
13318 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13323 case $ac_config_files in *"
13324 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13327 case $ac_config_headers in *"
13328 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13333 # Files that config.status was made for.
13334 config_files="$ac_config_files"
13335 config_headers="$ac_config_headers"
13336 config_commands="$ac_config_commands"
13340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13342 \`$as_me' instantiates files and other configuration actions
13343 from templates according to the current configuration. Unless the files
13344 and actions are specified as TAGs, all are instantiated by default.
13346 Usage: $0 [OPTION]... [TAG]...
13348 -h, --help print this help, then exit
13349 -V, --version print version number and configuration settings, then exit
13350 --config print configuration, then exit
13351 -q, --quiet, --silent
13352 do not print progress messages
13353 -d, --debug don't remove temporary files
13354 --recheck update $as_me by reconfiguring in the same conditions
13355 --file=FILE[:TEMPLATE]
13356 instantiate the configuration file FILE
13357 --header=FILE[:TEMPLATE]
13358 instantiate the configuration header FILE
13360 Configuration files:
13363 Configuration headers:
13366 Configuration commands:
13369 Report bugs to the package provider."
13372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13373 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13376 configured by $0, generated by GNU Autoconf 2.67,
13377 with options \\"\$ac_cs_config\\"
13379 Copyright (C) 2010 Free Software Foundation, Inc.
13380 This config.status script is free software; the Free Software Foundation
13381 gives unlimited permission to copy, distribute and modify it."
13385 test -n "\$AWK" || AWK=awk
13388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13389 # The default lists apply if the user does not specify any file.
13395 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13396 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13400 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13412 # Handling of the options.
13413 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13415 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13416 $as_echo "$ac_cs_version"; exit ;;
13417 --config |
--confi |
--conf |
--con |
--co |
--c )
13418 $as_echo "$ac_cs_config"; exit ;;
13419 --debug |
--debu |
--deb |
--de |
--d |
-d )
13421 --file |
--fil |
--fi |
--f )
13424 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13425 '') as_fn_error $?
"missing file argument" ;;
13427 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13428 ac_need_defaults
=false
;;
13429 --header |
--heade |
--head |
--hea )
13432 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13434 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13435 ac_need_defaults
=false
;;
13437 # Conflict between --help and --header
13438 as_fn_error $?
"ambiguous option: \`$1'
13439 Try \`$0 --help' for more information.";;
13440 --help |
--hel |
-h )
13441 $as_echo "$ac_cs_usage"; exit ;;
13442 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13443 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13446 # This is an error.
13447 -*) as_fn_error $?
"unrecognized option: \`$1'
13448 Try \`$0 --help' for more information." ;;
13450 *) as_fn_append ac_config_targets
" $1"
13451 ac_need_defaults
=false
;;
13457 ac_configure_extra_args
=
13459 if $ac_cs_silent; then
13461 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13466 if \$ac_cs_recheck; then
13467 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13469 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13470 CONFIG_SHELL='$SHELL'
13471 export CONFIG_SHELL
13476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13480 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13481 ## Running $as_me. ##
13487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13492 aros_host_exe_suffix=${aros_host_exe_suffix}
13493 aros_tools_dir=${aros_tools_dir}
13494 aros_target_cpu=${aros_target_cpu}
13495 aros_target_arch=${aros_target_arch}
13496 aros_target_suffix=${aros_target_suffix}
13497 orig_target_nm=${orig_target_nm}
13498 orig_target_as=${orig_target_as}
13499 orig_target_ar=${orig_target_ar}
13500 orig_target_ranlib=${orig_target_ranlib}
13501 orig_target_objdump=${orig_target_objdump}
13502 orig_target_objcopy=${orig_target_objcopy}
13503 orig_target_strip=${orig_target_strip}
13504 aros_kernel_ld=${aros_kernel_ld}
13507 aros_tools_dir=${aros_tools_dir}
13512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13514 # Handling of arguments.
13515 for ac_config_target
in $ac_config_targets
13517 case $ac_config_target in
13518 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13519 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13520 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13521 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13522 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13523 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13524 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13525 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13526 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13527 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13528 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13529 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13530 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
13531 "${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" ;;
13532 "${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" ;;
13533 "${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" ;;
13534 "${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" ;;
13535 "${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" ;;
13536 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13537 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13538 "${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" ;;
13540 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13545 # If the user did not use the arguments to specify the items to instantiate,
13546 # then the envvar interface is used. Set only those that are not.
13547 # We use the long form for the default assignment because of an extremely
13548 # bizarre bug on SunOS 4.1.3.
13549 if $ac_need_defaults; then
13550 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13551 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13552 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13555 # Have a temporary directory for convenience. Make it in the build tree
13556 # simply because there is no reason against having it here, and in addition,
13557 # creating and moving files from /tmp can sometimes cause problems.
13558 # Hook for its removal unless debugging.
13559 # Note that there is a small window in which the directory will not be cleaned:
13560 # after its creation but before its name has been assigned to `$tmp'.
13564 trap 'exit_status=$?
13565 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13567 trap 'as_fn_exit 1' 1 2 13 15
13569 # Create a (secure) tmp directory for tmp files.
13572 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13573 test -n "$tmp" && test -d "$tmp"
13576 tmp
=.
/conf$$
-$RANDOM
13577 (umask 077 && mkdir
"$tmp")
13578 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13580 # Set up the scripts for CONFIG_FILES section.
13581 # No need to generate them if there are no CONFIG_FILES.
13582 # This happens for instance with `./config.status config.h'.
13583 if test -n "$CONFIG_FILES"; then
13586 ac_cr
=`echo X | tr X '\015'`
13587 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13588 # But we know of no other shell where ac_cr would be empty at this
13589 # point, so we can use a bashism as a fallback.
13590 if test "x$ac_cr" = x
; then
13591 eval ac_cr
=\$
\'\\r
\'
13593 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13594 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13597 ac_cs_awk_cr
=$ac_cr
13600 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13605 echo "cat >conf$$subs.awk <<_ACEOF" &&
13606 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13608 } >conf$$subs.sh ||
13609 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13610 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13612 for ac_last_try in false false false false false :; do
13613 . ./conf$$subs.sh ||
13614 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13616 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13617 if test $ac_delim_n = $ac_delim_num; then
13619 elif $ac_last_try; then
13620 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13622 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13625 rm -f conf$$subs.sh
13627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13628 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13632 s/^/S["/; s
/!.
*/"]=/
13642 s/\(.\{148\}\)..*/\1/
13644 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13649 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13656 s/\(.\{148\}\)..*/\1/
13658 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13662 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13667 ' <conf$$subs.awk | sed '
13672 ' >>$CONFIG_STATUS || ac_write_fail=1
13673 rm -f conf$$subs.awk
13674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13676 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13677 for (key in S) S_is_set[key] = 1
13683 nfields = split(line, field, "@
")
13685 len = length(field[1])
13686 for (i = 2; i < nfields; i++) {
13688 keylen = length(key)
13689 if (S_is_set[key]) {
13691 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13692 len += length(value) + length(field[++i])
13703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13704 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13705 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13708 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13709 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13712 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13713 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13714 # trailing colons and then remove the whole line if VPATH becomes empty
13715 # (actually we leave an empty line to preserve line numbers).
13716 if test "x
$srcdir" = x.; then
13717 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13736 fi # test -n "$CONFIG_FILES"
13738 # Set up the scripts for CONFIG_HEADERS section.
13739 # No need to generate them if there are no CONFIG_HEADERS.
13740 # This happens for instance with `./config.status Makefile'.
13741 if test -n "$CONFIG_HEADERS"; then
13742 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13746 # Transform confdefs.h into an awk script `defines.awk', embedded as
13747 # here-document in config.status, that substitutes the proper values into
13748 # config.h.in to produce config.h.
13750 # Create a delimiter string that does not exist in confdefs.h, to ease
13751 # handling of long lines.
13753 for ac_last_try in false false :; do
13754 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13755 if test -z "$ac_t"; then
13757 elif $ac_last_try; then
13758 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13760 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13764 # For the awk script, D is an array of macro values keyed by name,
13765 # likewise P contains macro parameters if any. Preserve backslash
13766 # newline sequences.
13768 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13770 s/.\{148\}/&'"$ac_delim"'/g
13773 s/^[ ]*#[ ]*define[ ][ ]*/ /
13780 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13782 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13786 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13787 D["\
1"]=" \
3\\\\\\n
"\\/p
13789 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13794 s/.\{148\}/&'"$ac_delim"'/g
13799 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13802 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13804 ' <confdefs.h | sed '
13805 s/'"$ac_delim"'/"\\\
13806 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13809 for (key in D) D_is_set[key] = 1
13812 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13814 split(line, arg, " ")
13815 if (arg[1] == "#") {
13819 defundef
= substr
(arg
[1], 2)
13822 split(mac1
, mac2
, "(") #)
13824 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13825 if (D_is_set
[macro
]) {
13826 # Preserve the white space surrounding the "#".
13827 print prefix
"define", macro P
[macro
] D
[macro
]
13830 # Replace #undef with comments. This is necessary, for example,
13831 # in the case of _POSIX_SOURCE, which is predefined and required
13832 # on some systems where configure will not decide to define it.
13833 if (defundef
== "undef") {
13834 print
"/*", prefix defundef
, macro
, "*/"
13842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13843 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13844 fi # test -n "$CONFIG_HEADERS"
13847 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13852 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13854 case $ac_mode$ac_tag in
13856 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13857 :[FH
]-) ac_tag
=-:-;;
13858 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13875 -) ac_f
="$tmp/stdin";;
13876 *) # Look for the file first in the build tree, then in the source tree
13877 # (if the path is not absolute). The absolute path cannot be DOS-style,
13878 # because $ac_f cannot contain `:'.
13882 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13884 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13886 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13887 as_fn_append ac_file_inputs
" '$ac_f'"
13890 # Let's still pretend it is `configure' which instantiates (i.e., don't
13891 # use $as_me), people would be surprised to read:
13892 # /* config.h. Generated by config.status. */
13893 configure_input
='Generated from '`
13894 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13896 if test x
"$ac_file" != x-
; then
13897 configure_input
="$ac_file. $configure_input"
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13899 $as_echo "$as_me: creating $ac_file" >&6;}
13901 # Neutralize special characters interpreted by sed in replacement strings.
13902 case $configure_input in #(
13903 *\
&* |
*\|
* |
*\\* )
13904 ac_sed_conf_input
=`$as_echo "$configure_input" |
13905 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13906 *) ac_sed_conf_input
=$configure_input;;
13910 *:-:* |
*:-) cat >"$tmp/stdin" \
13911 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13916 ac_dir
=`$as_dirname -- "$ac_file" ||
13917 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13918 X"$ac_file" : 'X\(//\)[^/]' \| \
13919 X"$ac_file" : 'X\(//\)$' \| \
13920 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13921 $as_echo X"$ac_file" |
13922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13926 /^X\(\/\/\)[^/].*/{
13939 as_dir
="$ac_dir"; as_fn_mkdir_p
13943 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13945 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13946 # A ".." for each directory in $ac_dir_suffix.
13947 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13948 case $ac_top_builddir_sub in
13949 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13950 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13953 ac_abs_top_builddir
=$ac_pwd
13954 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13955 # for backward compatibility:
13956 ac_top_builddir
=$ac_top_build_prefix
13959 .
) # We are building in place.
13961 ac_top_srcdir
=$ac_top_builddir_sub
13962 ac_abs_top_srcdir
=$ac_pwd ;;
13963 [\\/]* | ?
:[\\/]* ) # Absolute name.
13964 ac_srcdir
=$srcdir$ac_dir_suffix;
13965 ac_top_srcdir
=$srcdir
13966 ac_abs_top_srcdir
=$srcdir ;;
13967 *) # Relative name.
13968 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13969 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13970 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13972 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13984 # If the template does not know about datarootdir, expand it.
13985 # FIXME: This hack should be removed a few years after 2.60.
13986 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13997 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13998 *datarootdir
*) ac_datarootdir_seen
=yes;;
13999 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14001 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14004 ac_datarootdir_hack='
14005 s&@datadir@&$datadir&g
14006 s&@docdir@&$docdir&g
14007 s&@infodir@&$infodir&g
14008 s&@localedir@&$localedir&g
14009 s&@mandir@&$mandir&g
14010 s&\\\${datarootdir}&$datarootdir&g' ;;
14014 # Neutralize VPATH when `$srcdir' = `.'.
14015 # Shell code in configure.ac might set extrasub.
14016 # FIXME: do we really want to maintain this feature?
14017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14018 ac_sed_extra="$ac_vpsub
14021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14023 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14024 s|@configure_input@|
$ac_sed_conf_input|
;t t
14025 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14026 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14027 s
&@srcdir@
&$ac_srcdir&;t t
14028 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14029 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14030 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14031 s
&@builddir@
&$ac_builddir&;t t
14032 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14033 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14034 $ac_datarootdir_hack
14036 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14037 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14039 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14040 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14041 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14043 which seems to be undefined. Please make sure it is defined" >&5
14044 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14045 which seems to be undefined. Please make sure it is defined" >&2;}
14049 -) cat "$tmp/out" && rm -f "$tmp/out";;
14050 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14052 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14058 if test x"$ac_file" != x-; then
14060 $as_echo "/* $configure_input */" \
14061 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14062 } >"$tmp/config.h" \
14063 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14064 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14066 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14069 mv "$tmp/config.h" "$ac_file" \
14070 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14073 $as_echo "/* $configure_input */" \
14074 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14075 || as_fn_error $? "could not create -" "$LINENO" 5
14079 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14080 $as_echo "$as_me: executing $ac_file commands" >&6;}
14085 case $ac_file$ac_mode in
14086 "compiler_executable":C)
14087 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14089 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14090 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
14094 chmod a+x ${prefix2}-gcc ${prefix2}-g++ ${prefix2}-ld ${prefix2}-cpp ${prefix3}-gcc
14096 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
14097 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
14098 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
14099 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
14100 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
14101 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
14102 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
14104 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
14106 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
14114 ac_clean_files=$ac_clean_files_save
14116 test $ac_write_fail = 0 ||
14117 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14120 # configure is writing to config.log, and then calls config.status.
14121 # config.status does its own redirection, appending to config.log.
14122 # Unfortunately, on DOS this fails, as config.log is still kept open
14123 # by configure, so config.status won't be able to
write to it
; its
14124 # output is simply discarded. So we exec the FD to /dev/null,
14125 # effectively closing config.log, so it can be properly (re)opened and
14126 # appended to by config.status. When coming back to configure, we
14127 # need to make the FD available again.
14128 if test "$no_create" != yes; then
14130 ac_config_status_args
=
14131 test "$silent" = yes &&
14132 ac_config_status_args
="$ac_config_status_args --quiet"
14134 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14136 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14137 # would make configure fail if this is the last instruction.
14138 $ac_cs_success || as_fn_exit
1
14140 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14142 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14147 #XXX compatability...
14148 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14150 if test -n "$aros_shared_cflags" ; then
14151 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14152 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg