2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 ac_unique_file
="mmakefile"
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
603 ac_subst_vars
='LTLIBOBJS
605 ignore_undefined_symbols
621 aros_nesting_supervisor
627 aros_host_x11_libdirs
628 aros_host_x11_includes
632 aros_default_wbheight
638 crosstools_cxx_target
640 aros_target_strip_flags
647 aros_kernel_objcflags
666 aros_target_cc_includes
681 aros_target_bootloader
698 aros_amigaos_compliance
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
727 aros_target_ranlib_ln
728 aros_target_objdump_ln
729 aros_target_objcopy_ln
827 program_transform_name
840 enable_option_checking
849 enable_target_variant
855 enable_amigaos_compliance
865 enable_palm_debug_hack
867 enable_nesting_supervisor
879 ac_precious_vars
='build_alias
892 # Initialize some variables set by options.
894 ac_init_version
=false
895 ac_unrecognized_opts
=
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
906 program_transform_name
=s
,x
,x
,
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir
='${exec_prefix}/bin'
921 sbindir
='${exec_prefix}/sbin'
922 libexecdir
='${exec_prefix}/libexec'
923 datarootdir
='${prefix}/share'
924 datadir
='${datarootdir}'
925 sysconfdir
='${prefix}/etc'
926 sharedstatedir
='${prefix}/com'
927 localstatedir
='${prefix}/var'
928 includedir
='${prefix}/include'
929 oldincludedir
='/usr/include'
930 docdir
='${datarootdir}/doc/${PACKAGE}'
931 infodir
='${datarootdir}/info'
936 libdir
='${exec_prefix}/lib'
937 localedir
='${datarootdir}/locale'
938 mandir
='${datarootdir}/man'
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\
$ac_option
952 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
957 # Accept the important Cygnus configure options, so we can diagnose typos.
959 case $ac_dashdash$ac_option in
963 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
965 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
968 -build |
--build |
--buil |
--bui |
--bu)
969 ac_prev
=build_alias
;;
970 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
971 build_alias
=$ac_optarg ;;
973 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
974 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
975 ac_prev
=cache_file
;;
976 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
977 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
978 cache_file
=$ac_optarg ;;
981 cache_file
=config.cache
;;
983 -datadir |
--datadir |
--datadi |
--datad)
985 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
986 datadir
=$ac_optarg ;;
988 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
989 |
--dataroo |
--dataro |
--datar)
990 ac_prev
=datarootdir
;;
991 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
992 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
993 datarootdir
=$ac_optarg ;;
995 -disable-* |
--disable-*)
996 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
999 as_fn_error $?
"invalid feature name: $ac_useropt"
1000 ac_useropt_orig
=$ac_useropt
1001 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1004 "enable_
$ac_useropt"
1006 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1007 ac_unrecognized_sep
=', ';;
1009 eval enable_
$ac_useropt=no
;;
1011 -docdir |
--docdir |
--docdi |
--doc |
--do)
1013 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1014 docdir
=$ac_optarg ;;
1016 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1018 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1019 dvidir
=$ac_optarg ;;
1021 -enable-* |
--enable-*)
1022 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1025 as_fn_error $?
"invalid feature name: $ac_useropt"
1026 ac_useropt_orig
=$ac_useropt
1027 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1030 "enable_
$ac_useropt"
1032 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1033 ac_unrecognized_sep
=', ';;
1035 eval enable_
$ac_useropt=\
$ac_optarg ;;
1037 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1038 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1039 |
--exec |
--exe |
--ex)
1040 ac_prev
=exec_prefix
;;
1041 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1042 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1043 |
--exec=* |
--exe=* |
--ex=*)
1044 exec_prefix
=$ac_optarg ;;
1046 -gas |
--gas |
--ga |
--g)
1047 # Obsolete; use --with-gas.
1050 -help |
--help |
--hel |
--he |
-h)
1051 ac_init_help
=long
;;
1052 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1053 ac_init_help
=recursive
;;
1054 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1055 ac_init_help
=short
;;
1057 -host |
--host |
--hos |
--ho)
1058 ac_prev
=host_alias
;;
1059 -host=* |
--host=* |
--hos=* |
--ho=*)
1060 host_alias
=$ac_optarg ;;
1062 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1064 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1066 htmldir
=$ac_optarg ;;
1068 -includedir |
--includedir |
--includedi |
--included |
--include \
1069 |
--includ |
--inclu |
--incl |
--inc)
1070 ac_prev
=includedir
;;
1071 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1072 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1073 includedir
=$ac_optarg ;;
1075 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1077 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1078 infodir
=$ac_optarg ;;
1080 -libdir |
--libdir |
--libdi |
--libd)
1082 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1083 libdir
=$ac_optarg ;;
1085 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1086 |
--libexe |
--libex |
--libe)
1087 ac_prev
=libexecdir
;;
1088 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1089 |
--libexe=* |
--libex=* |
--libe=*)
1090 libexecdir
=$ac_optarg ;;
1092 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1093 ac_prev
=localedir
;;
1094 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1095 localedir
=$ac_optarg ;;
1097 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1098 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1099 ac_prev
=localstatedir
;;
1100 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1101 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1102 localstatedir
=$ac_optarg ;;
1104 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1106 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1107 mandir
=$ac_optarg ;;
1109 -nfp |
--nfp |
--nf)
1110 # Obsolete; use --without-fp.
1113 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1114 |
--no-cr |
--no-c |
-n)
1117 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1118 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1121 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1122 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1123 |
--oldin |
--oldi |
--old |
--ol |
--o)
1124 ac_prev
=oldincludedir
;;
1125 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1126 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1127 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1128 oldincludedir
=$ac_optarg ;;
1130 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1132 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1133 prefix
=$ac_optarg ;;
1135 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1136 |
--program-pre |
--program-pr |
--program-p)
1137 ac_prev
=program_prefix
;;
1138 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1139 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1140 program_prefix
=$ac_optarg ;;
1142 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1143 |
--program-suf |
--program-su |
--program-s)
1144 ac_prev
=program_suffix
;;
1145 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1146 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1147 program_suffix
=$ac_optarg ;;
1149 -program-transform-name |
--program-transform-name \
1150 |
--program-transform-nam |
--program-transform-na \
1151 |
--program-transform-n |
--program-transform- \
1152 |
--program-transform |
--program-transfor \
1153 |
--program-transfo |
--program-transf \
1154 |
--program-trans |
--program-tran \
1155 |
--progr-tra |
--program-tr |
--program-t)
1156 ac_prev
=program_transform_name
;;
1157 -program-transform-name=* |
--program-transform-name=* \
1158 |
--program-transform-nam=* |
--program-transform-na=* \
1159 |
--program-transform-n=* |
--program-transform-=* \
1160 |
--program-transform=* |
--program-transfor=* \
1161 |
--program-transfo=* |
--program-transf=* \
1162 |
--program-trans=* |
--program-tran=* \
1163 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1164 program_transform_name
=$ac_optarg ;;
1166 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1168 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1169 pdfdir
=$ac_optarg ;;
1171 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1173 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1176 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1177 |
-silent |
--silent |
--silen |
--sile |
--sil)
1180 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1182 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1184 sbindir
=$ac_optarg ;;
1186 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1187 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1188 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1190 ac_prev
=sharedstatedir
;;
1191 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1192 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1193 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1195 sharedstatedir
=$ac_optarg ;;
1197 -site |
--site |
--sit)
1199 -site=* |
--site=* |
--sit=*)
1202 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1204 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1205 srcdir
=$ac_optarg ;;
1207 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1208 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1209 ac_prev
=sysconfdir
;;
1210 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1211 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1212 sysconfdir
=$ac_optarg ;;
1214 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1215 ac_prev
=target_alias
;;
1216 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1217 target_alias
=$ac_optarg ;;
1219 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1222 -version |
--version |
--versio |
--versi |
--vers |
-V)
1223 ac_init_version
=: ;;
1226 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1227 # Reject names that are not valid shell variable names.
1228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1229 as_fn_error $?
"invalid package name: $ac_useropt"
1230 ac_useropt_orig
=$ac_useropt
1231 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1232 case $ac_user_opts in
1236 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1237 ac_unrecognized_sep
=', ';;
1239 eval with_
$ac_useropt=\
$ac_optarg ;;
1241 -without-* |
--without-*)
1242 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1253 ac_unrecognized_sep
=', ';;
1255 eval with_
$ac_useropt=no
;;
1258 # Obsolete; use --with-x.
1261 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1262 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1263 ac_prev
=x_includes
;;
1264 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1265 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1266 x_includes
=$ac_optarg ;;
1268 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1269 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1270 ac_prev
=x_libraries
;;
1271 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1272 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1273 x_libraries
=$ac_optarg ;;
1275 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1276 Try \`$0 --help' for more information"
1280 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1281 # Reject names that are not valid shell variable names.
1282 case $ac_envvar in #(
1283 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1284 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1286 eval $ac_envvar=\
$ac_optarg
1287 export $ac_envvar ;;
1290 # FIXME: should be removed in autoconf 3.0.
1291 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1292 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1293 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1294 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1300 if test -n "$ac_prev"; then
1301 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1302 as_fn_error $?
"missing argument to $ac_option"
1305 if test -n "$ac_unrecognized_opts"; then
1306 case $enable_option_checking in
1308 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1309 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1313 # Check all directory arguments for consistency.
1314 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1315 datadir sysconfdir sharedstatedir localstatedir includedir \
1316 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1317 libdir localedir mandir
1319 eval ac_val
=\$
$ac_var
1320 # Remove trailing slashes.
1323 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1324 eval $ac_var=\
$ac_val;;
1326 # Be sure to have absolute directory names.
1328 [\\/$
]* | ?
:[\\/]* ) continue;;
1329 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1331 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1334 # There might be people who depend on the old broken behavior: `$host'
1335 # used to hold the argument of --host etc.
1336 # FIXME: To remove some day.
1339 target
=$target_alias
1341 # FIXME: To remove some day.
1342 if test "x$host_alias" != x
; then
1343 if test "x$build_alias" = x
; then
1344 cross_compiling
=maybe
1345 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1346 If a cross compiler is detected then cross compile mode will be used" >&2
1347 elif test "x$build_alias" != "x$host_alias"; then
1353 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1355 test "$silent" = yes && exec 6>/dev
/null
1358 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1359 ac_ls_di
=`ls -di .` &&
1360 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1361 as_fn_error $?
"working directory cannot be determined"
1362 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1363 as_fn_error $?
"pwd does not report name of working directory"
1366 # Find the source files, if location was not specified.
1367 if test -z "$srcdir"; then
1368 ac_srcdir_defaulted
=yes
1369 # Try the directory containing this script, then the parent directory.
1370 ac_confdir
=`$as_dirname -- "$as_myself" ||
1371 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1372 X"$as_myself" : 'X\(//\)[^/]' \| \
1373 X"$as_myself" : 'X\(//\)$' \| \
1374 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1375 $as_echo X"$as_myself" |
1376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1398 ac_srcdir_defaulted
=no
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1401 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1402 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1404 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1406 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1408 # When building in place, set srcdir=.
1409 if test "$ac_abs_confdir" = "$ac_pwd"; then
1412 # Remove unnecessary trailing slashes from srcdir.
1413 # Double slashes in file names in object file debugging info
1414 # mess up M-x gdb in Emacs.
1416 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1418 for ac_var
in $ac_precious_vars; do
1419 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1420 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1421 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1422 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1426 # Report the --help message.
1428 if test "$ac_init_help" = "long"; then
1429 # Omit some internal or obsolete options to make the list less imposing.
1430 # This message is too long to be a string in the A/UX 3.1 sh.
1432 \`configure' configures this package to adapt to many kinds of systems.
1434 Usage: $0 [OPTION]... [VAR=VALUE]...
1436 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1437 VAR=VALUE. See below for descriptions of some of the useful variables.
1439 Defaults for the options are specified in brackets.
1442 -h, --help display this help and exit
1443 --help=short display options specific to this package
1444 --help=recursive display the short help of all the included packages
1445 -V, --version display version information and exit
1446 -q, --quiet, --silent do not print \`checking ...' messages
1447 --cache-file=FILE cache test results in FILE [disabled]
1448 -C, --config-cache alias for \`--cache-file=config.cache'
1449 -n, --no-create do not create output files
1450 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1452 Installation directories:
1453 --prefix=PREFIX install architecture-independent files in PREFIX
1454 [$ac_default_prefix]
1455 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1458 By default, \`make install' will install all the files in
1459 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1460 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1461 for instance \`--prefix=\$HOME'.
1463 For better control, use the options below.
1465 Fine tuning of the installation directories:
1466 --bindir=DIR user executables [EPREFIX/bin]
1467 --sbindir=DIR system admin executables [EPREFIX/sbin]
1468 --libexecdir=DIR program executables [EPREFIX/libexec]
1469 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1470 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1471 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1472 --libdir=DIR object code libraries [EPREFIX/lib]
1473 --includedir=DIR C header files [PREFIX/include]
1474 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1475 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1476 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1477 --infodir=DIR info documentation [DATAROOTDIR/info]
1478 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1479 --mandir=DIR man documentation [DATAROOTDIR/man]
1480 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1481 --htmldir=DIR html documentation [DOCDIR]
1482 --dvidir=DIR dvi documentation [DOCDIR]
1483 --pdfdir=DIR pdf documentation [DOCDIR]
1484 --psdir=DIR ps documentation [DOCDIR]
1490 --x-includes=DIR X include files are
in DIR
1491 --x-libraries=DIR X library files are
in DIR
1494 --build=BUILD configure
for building on BUILD
[guessed
]
1495 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1499 if test -n "$ac_init_help"; then
1504 --disable-option-checking ignore unrecognized
--enable/--with options
1505 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1506 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1507 --enable-build-type=TYPE
1508 Select the build
type. Available types are
:
1509 personal
, nightly
, snapshot
, milestone
, release. Do
1510 NOT use this option unless you know what you are
1511 doing
! (default
=personal
)
1512 --enable-debug=list Enable different types of debug. Commas or
1513 whitespaces can be used to separate the items
in the
1514 list. Available types of debug are
: all
, none
,
1515 messages
, stack
, mungwall
, modules
, symbols. If no
1516 list is provided
then "all" is assumed.
1518 --enable-crosstools Build cross-compiler toolchains
if necessary
1520 --enable-distcc Use distcc as a front end to the compiler
1522 --enable-ccache Use ccache as a front end to the compiler
1524 --enable-target-variant=NAME
1525 Enable a specific target variant
(default
=none
)
1526 --enable-amigaos-compliance=VERSION
1527 Enforce userspace AmigaOS compliance to a specific
1528 KickStart version
(default
=none
).
1529 --enable-includes=dir Alternative system include directory
1530 --enable-palm-debug-hack
1531 Enable palm debug output hack
in palm native
1533 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1534 --enable-nesting-supervisor
1535 Enable nesting supervisor support
in unix
1537 --disable-mmu Disable MMU support
(default
=enabled
)
1538 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1539 --enable-x11-shm use X11 shared memory
(default
=auto
)
1540 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1541 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1542 --disable-sdltest Do not try to compile and run a
test SDL program
1543 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1546 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1547 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1548 --with-gcc-version=VERSION
1549 Use
host gcc-VERSION
for building AROS
1550 --with-optimization=FLAGS
1551 Use optimization flags FLAGS
(default
=-O2).
1552 --with-paranoia=FLAGS CC flags to
enable paranoia
1553 --with-xcode=PATH Specify XCode path
for iOS targets
1554 (default
=/Developer
).
1555 --with-sdk-version=VERSION
1556 Use iOS SDK version VERSION
(default
=4.1).
1557 --with-sdk=PATH Specify Android SDK path
1558 (default
=$default_android_sdk).
1559 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1560 --with-sdk-version=LEVEL
1561 Use Android SDK
for API LEVEL
(default
=12).
1562 --with-ndk-version=LEVEL
1563 Use Android NDK
for API LEVEL
(default
=9).
1564 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1565 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1566 --with-portssources=DIR Where to download sourcecode
for external ports
1567 --with-bootloader=NAME Use a specific bootloader
1568 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1569 --with-theme=NAME Use a specific GUI Theme
1570 --with-resolution=XRESxYRESxDEPTH
1571 Default resolution of the initial WorkbenchScreen
1572 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1573 --with-x use the X Window System
1574 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1575 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1577 Some influential environment variables
:
1578 CC C compiler
command
1579 CFLAGS C compiler flags
1580 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1581 nonstandard directory
<lib dir
>
1582 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1583 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1584 you have headers
in a nonstandard directory
<include dir
>
1586 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1588 Use these variables to override the choices made by
`configure' or to help
1589 it to find libraries and programs with nonstandard names/locations.
1591 Report bugs to the package provider.
1596 if test "$ac_init_help" = "recursive"; then
1597 # If there are subdirs, report their specific --help.
1598 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1599 test -d "$ac_dir" ||
1600 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1605 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1607 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1608 # A ".." for each directory in $ac_dir_suffix.
1609 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1610 case $ac_top_builddir_sub in
1611 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1615 ac_abs_top_builddir=$ac_pwd
1616 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1617 # for backward compatibility:
1618 ac_top_builddir=$ac_top_build_prefix
1621 .) # We are building in place.
1623 ac_top_srcdir=$ac_top_builddir_sub
1624 ac_abs_top_srcdir=$ac_pwd ;;
1625 [\\/]* | ?:[\\/]* ) # Absolute name.
1626 ac_srcdir=$srcdir$ac_dir_suffix;
1627 ac_top_srcdir=$srcdir
1628 ac_abs_top_srcdir=$srcdir ;;
1630 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1631 ac_top_srcdir=$ac_top_build_prefix$srcdir
1632 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1634 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1636 cd "$ac_dir" || { ac_status=$?; continue; }
1637 # Check for guested configure.
1638 if test -f "$ac_srcdir/configure.gnu"; then
1640 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1641 elif test -f "$ac_srcdir/configure"; then
1643 $SHELL "$ac_srcdir/configure" --help=recursive
1645 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1647 cd "$ac_pwd" || { ac_status=$?; break; }
1651 test -n "$ac_init_help" && exit $ac_status
1652 if $ac_init_version; then
1655 generated by GNU Autoconf 2.68
1657 Copyright (C) 2010 Free Software Foundation, Inc.
1658 This configure script is free software; the Free Software Foundation
1659 gives unlimited permission to copy, distribute and modify it.
1664 ## ------------------------ ##
1665 ## Autoconf initialization. ##
1666 ## ------------------------ ##
1668 # ac_fn_c_try_compile LINENO
1669 # --------------------------
1670 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_c_try_compile ()
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 rm -f conftest.$ac_objext
1675 if { { ac_try="$ac_compile"
1677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1678 *) ac_try_echo
=$ac_try;;
1680 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_compile") 2>conftest.err
1684 if test -s conftest.err
; then
1685 grep -v '^ *+' conftest.err
>conftest.er1
1686 cat conftest.er1
>&5
1687 mv -f conftest.er1 conftest.err
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && {
1691 test -z "$ac_c_werror_flag" ||
1692 test ! -s conftest.err
1693 } && test -s conftest.
$ac_objext; then :
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.
$ac_ext >&5
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status
$ac_retval
1704 } # ac_fn_c_try_compile
1706 # ac_fn_c_try_cpp LINENO
1707 # ----------------------
1708 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1711 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1712 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } > conftest.i && {
1728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 as_fn_set_status $ac_retval
1743 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1744 # -------------------------------------------------------
1745 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1746 # the include files in INCLUDES and setting the cache variable VAR
1748 ac_fn_c_check_header_mongrel ()
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 if eval \${$3+:} false; then :
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1761 # Is the header compilable?
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1763 $as_echo_n "checking $2 usability... " >&6; }
1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1769 if ac_fn_c_try_compile "$LINENO"; then :
1770 ac_header_compiler=yes
1772 ac_header_compiler=no
1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1776 $as_echo "$ac_header_compiler" >&6; }
1778 # Is the header present?
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1780 $as_echo_n "checking $2 presence... " >&6; }
1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h. */
1785 if ac_fn_c_try_cpp "$LINENO"; then :
1786 ac_header_preproc=yes
1788 ac_header_preproc=no
1790 rm -f conftest.err conftest.i conftest.$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1792 $as_echo "$ac_header_preproc" >&6; }
1794 # So? What about this header?
1795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1798 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1800 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1804 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1806 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1808 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1810 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1812 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816 $as_echo_n "checking for $2... " >&6; }
1817 if eval \${$3+:} false; then :
1818 $as_echo_n "(cached) " >&6
1820 eval "$3=\$ac_header_compiler"
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1824 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_header_mongrel
1830 # ac_fn_c_try_run LINENO
1831 # ----------------------
1832 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1833 # that executables *can* be run.
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 if { { ac_try="$ac_link"
1839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1840 *) ac_try_echo
=$ac_try;;
1842 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_link") 2>&5
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1848 { { case "(($ac_try" in
1849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_try") 2>&5
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; }; }; then :
1860 $as_echo "$as_me: program exited with status $ac_status" >&5
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1864 ac_retval=$ac_status
1866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 as_fn_set_status $ac_retval
1872 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1873 # -------------------------------------------------------
1874 # Tests whether HEADER exists and can be compiled using the include files in
1875 # INCLUDES, setting the cache variable VAR accordingly.
1876 ac_fn_c_check_header_compile ()
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \${$3+:} false; then :
1882 $as_echo_n "(cached) " >&6
1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1889 if ac_fn_c_try_compile "$LINENO"; then :
1894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 $as_echo "$ac_res" >&6; }
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901 } # ac_fn_c_check_header_compile
1903 # ac_fn_c_try_link LINENO
1904 # -----------------------
1905 # Try to link conftest.$ac_ext, and return whether this succeeded.
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 rm -f conftest.$ac_objext conftest$ac_exeext
1910 if { { ac_try="$ac_link"
1912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1913 *) ac_try_echo
=$ac_try;;
1915 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916 $as_echo "$ac_try_echo"; } >&5
1917 (eval "$ac_link") 2>conftest.err
1919 if test -s conftest.err
; then
1920 grep -v '^ *+' conftest.err
>conftest.er1
1921 cat conftest.er1
>&5
1922 mv -f conftest.er1 conftest.err
1924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1925 test $ac_status = 0; } && {
1926 test -z "$ac_c_werror_flag" ||
1927 test ! -s conftest.err
1928 } && test -s conftest
$ac_exeext && {
1929 test "$cross_compiling" = yes ||
1930 $as_test_x conftest
$ac_exeext
1934 $as_echo "$as_me: failed program was:" >&5
1935 sed 's/^/| /' conftest.
$ac_ext >&5
1939 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1940 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1941 # interfere with the next link command; also delete a directory that is
1942 # left behind by Apple's compiler. We do this before executing the actions.
1943 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945 as_fn_set_status
$ac_retval
1947 } # ac_fn_c_try_link
1949 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1950 # ----------------------------------------------------
1951 # Tries to find if the field MEMBER exists in type AGGR, after including
1952 # INCLUDES, setting cache variable VAR accordingly.
1953 ac_fn_c_check_member
()
1955 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1957 $as_echo_n "checking for $2.$3... " >&6; }
1958 if eval \
${$4+:} false
; then :
1959 $as_echo_n "(cached) " >&6
1961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1974 if ac_fn_c_try_compile
"$LINENO"; then :
1977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1984 if (sizeof ac_aggr.$3)
1990 if ac_fn_c_try_compile
"$LINENO"; then :
1995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 } # ac_fn_c_check_member
2006 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2007 # ---------------------------------------------
2008 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2010 ac_fn_c_check_decl
()
2012 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2013 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2014 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2016 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2017 if eval \
${$3+:} false
; then :
2018 $as_echo_n "(cached) " >&6
2020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2026 #ifndef $as_decl_name
2028 (void) $as_decl_use;
2030 (void) $as_decl_name;
2038 if ac_fn_c_try_compile
"$LINENO"; then :
2043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 $as_echo "$ac_res" >&6; }
2048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050 } # ac_fn_c_check_decl
2052 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2053 # -------------------------------------------
2054 # Tests whether TYPE exists after having included INCLUDES, setting cache
2055 # variable VAR accordingly.
2056 ac_fn_c_check_type
()
2058 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \
${$3+:} false
; then :
2062 $as_echo_n "(cached) " >&6
2065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2077 if ac_fn_c_try_compile
"$LINENO"; then :
2078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2090 if ac_fn_c_try_compile
"$LINENO"; then :
2095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101 $as_echo "$ac_res" >&6; }
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2104 } # ac_fn_c_check_type
2106 # ac_fn_c_check_func LINENO FUNC VAR
2107 # ----------------------------------
2108 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2109 ac_fn_c_check_func
()
2111 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2113 $as_echo_n "checking for $2... " >&6; }
2114 if eval \
${$3+:} false
; then :
2115 $as_echo_n "(cached) " >&6
2117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2119 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2121 #define $2 innocuous_$2
2123 /* System header to define __stub macros and hopefully few prototypes,
2124 which can conflict with char $2 (); below.
2125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2126 <limits.h> exists even on freestanding compilers. */
2129 # include <limits.h>
2131 # include <assert.h>
2136 /* Override any GCC internal prototype to avoid an error.
2137 Use char because int might match the return type of a GCC
2138 builtin and then its argument prototype would still apply. */
2143 /* The GNU C library defines this for functions which it implements
2144 to always fail with ENOSYS. Some functions are actually named
2145 something starting with __ and the normal name is an alias. */
2146 #if defined __stub_$2 || defined __stub___$2
2158 if ac_fn_c_try_link
"$LINENO"; then :
2163 rm -f core conftest.err conftest.
$ac_objext \
2164 conftest
$ac_exeext conftest.
$ac_ext
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168 $as_echo "$ac_res" >&6; }
2169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2171 } # ac_fn_c_check_func
2172 cat >config.log
<<_ACEOF
2173 This file contains any messages produced by compilers while
2174 running configure, to aid debugging if configure makes a mistake.
2176 It was created by $as_me, which was
2177 generated by GNU Autoconf 2.68. Invocation command line was
2189 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2190 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2191 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2192 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2193 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2195 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2196 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2198 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2199 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2200 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2201 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2202 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2203 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2204 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir
=.
2213 $as_echo "PATH: $as_dir"
2229 # Keep a trace of the command line.
2230 # Strip out --no-create and --no-recursion so they do not pile up.
2231 # Strip out --silent because we don't want to record it for future runs.
2232 # Also quote any args containing shell meta-characters.
2233 # Make two passes to allow for proper duplicate-argument suppression.
2237 ac_must_keep_next
=false
2243 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2244 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2245 |
-silent |
--silent |
--silen |
--sile |
--sil)
2248 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2251 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2253 as_fn_append ac_configure_args1
" '$ac_arg'"
2254 if test $ac_must_keep_next = true
; then
2255 ac_must_keep_next
=false
# Got value, back to normal.
2258 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2259 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2260 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2261 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2262 case "$ac_configure_args0 " in
2263 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2266 -* ) ac_must_keep_next
=true
;;
2269 as_fn_append ac_configure_args
" '$ac_arg'"
2274 { ac_configure_args0
=; unset ac_configure_args0
;}
2275 { ac_configure_args1
=; unset ac_configure_args1
;}
2277 # When interrupted or exit'd, cleanup temporary files, and complete
2278 # config.log. We remove comments because anyway the quotes in there
2279 # would cause problems or look ugly.
2280 # WARNING: Use '\'' to represent an apostrophe within the trap.
2281 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2282 trap 'exit_status=$?
2283 # Save into config.log some information that might help in debugging.
2287 $as_echo "## ---------------- ##
2288 ## Cache variables. ##
2289 ## ---------------- ##"
2291 # The following way of writing the cache mishandles newlines in values,
2293 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2294 eval ac_val=\$$ac_var
2298 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2299 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2302 _ | IFS | as_nl) ;; #(
2303 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2304 *) { eval $ac_var=; unset $ac_var;} ;;
2309 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2310 *${as_nl}ac_space=\ *)
2312 "s/'\''/'\''\\\\'\'''\''/g;
2313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2316 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2323 $as_echo "## ----------------- ##
2324 ## Output variables. ##
2325 ## ----------------- ##"
2327 for ac_var in $ac_subst_vars
2329 eval ac_val=\$$ac_var
2331 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2333 $as_echo "$ac_var='\''$ac_val'\''"
2337 if test -n "$ac_subst_files"; then
2338 $as_echo "## ------------------- ##
2339 ## File substitutions. ##
2340 ## ------------------- ##"
2342 for ac_var
in $ac_subst_files
2344 eval ac_val
=\$
$ac_var
2346 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2348 $as_echo "$ac_var='\''$ac_val'\''"
2353 if test -s confdefs.h; then
2354 $as_echo "## ----------- ##
2361 test "$ac_signal" != 0 &&
2362 $as_echo "$as_me: caught signal $ac_signal"
2363 $as_echo "$as_me: exit $exit_status"
2365 rm -f core *.core core.conftest.* &&
2366 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2369 for ac_signal
in 1 2 13 15; do
2370 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2374 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2375 rm -f -r conftest
* confdefs.h
2377 $as_echo "/* confdefs.h */" > confdefs.h
2379 # Predefined preprocessor variables.
2381 cat >>confdefs.h
<<_ACEOF
2382 #define PACKAGE_NAME "$PACKAGE_NAME"
2385 cat >>confdefs.h
<<_ACEOF
2386 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2389 cat >>confdefs.h
<<_ACEOF
2390 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_STRING "$PACKAGE_STRING"
2397 cat >>confdefs.h
<<_ACEOF
2398 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2401 cat >>confdefs.h
<<_ACEOF
2402 #define PACKAGE_URL "$PACKAGE_URL"
2406 # Let the site file select an alternate cache file if it wants to.
2407 # Prefer an explicitly selected file to automatically selected ones.
2410 if test -n "$CONFIG_SITE"; then
2411 # We do not want a PATH search for config.site.
2412 case $CONFIG_SITE in #((
2413 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2414 */*) ac_site_file1
=$CONFIG_SITE;;
2415 *) ac_site_file1
=.
/$CONFIG_SITE;;
2417 elif test "x$prefix" != xNONE
; then
2418 ac_site_file1
=$prefix/share
/config.site
2419 ac_site_file2
=$prefix/etc
/config.site
2421 ac_site_file1
=$ac_default_prefix/share
/config.site
2422 ac_site_file2
=$ac_default_prefix/etc
/config.site
2424 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2426 test "x$ac_site_file" = xNONE
&& continue
2427 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2429 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2430 sed 's/^/| /' "$ac_site_file" >&5
2432 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2434 as_fn_error $?
"failed to load site script $ac_site_file
2435 See \`config.log' for more details" "$LINENO" 5; }
2439 if test -r "$cache_file"; then
2440 # Some versions of bash will fail to source /dev/null (special files
2441 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2442 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2444 $as_echo "$as_me: loading cache $cache_file" >&6;}
2446 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2447 *) .
"./$cache_file";;
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2452 $as_echo "$as_me: creating cache $cache_file" >&6;}
2456 as_fn_append ac_header_list
" stdlib.h"
2457 as_fn_append ac_header_list
" unistd.h"
2458 as_fn_append ac_header_list
" sys/param.h"
2459 # Check that the precious variables saved in the cache have kept the same
2461 ac_cache_corrupted
=false
2462 for ac_var
in $ac_precious_vars; do
2463 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2464 eval ac_new_set
=\
$ac_env_${ac_var}_set
2465 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2466 eval ac_new_val
=\
$ac_env_${ac_var}_value
2467 case $ac_old_set,$ac_new_set in
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2470 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2471 ac_cache_corrupted
=: ;;
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2474 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2475 ac_cache_corrupted
=: ;;
2478 if test "x$ac_old_val" != "x$ac_new_val"; then
2479 # differences in whitespace do not lead to failure.
2480 ac_old_val_w
=`echo x $ac_old_val`
2481 ac_new_val_w
=`echo x $ac_new_val`
2482 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2484 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2485 ac_cache_corrupted
=:
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2488 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2489 eval $ac_var=\
$ac_old_val
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2492 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2494 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2497 # Pass precious variables to config.status.
2498 if test "$ac_new_set" = set; then
2500 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2501 *) ac_arg
=$ac_var=$ac_new_val ;;
2503 case " $ac_configure_args " in
2504 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2505 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2509 if $ac_cache_corrupted; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2513 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2514 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2516 ## -------------------- ##
2517 ## Main body of script. ##
2518 ## -------------------- ##
2521 ac_cpp
='$CPP $CPPFLAGS'
2522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2529 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2530 if test -f "$ac_dir/install-sh"; then
2532 ac_install_sh
="$ac_aux_dir/install-sh -c"
2534 elif test -f "$ac_dir/install.sh"; then
2536 ac_install_sh
="$ac_aux_dir/install.sh -c"
2538 elif test -f "$ac_dir/shtool"; then
2540 ac_install_sh
="$ac_aux_dir/shtool install -c"
2544 if test -z "$ac_aux_dir"; then
2545 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2548 # These three variables are undocumented and unsupported,
2549 # and are intended to be withdrawn in a future Autoconf release.
2550 # They can cause serious problems if a builder's source tree is in a directory
2551 # whose full name contains unusual characters.
2552 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2553 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2554 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2558 # Check what host we are running on.
2559 # If a target is not suggested, we use this one.
2560 # Note that what we call a target, Autoconf calls a host.
2561 # Make sure we can run config.sub.
2562 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2563 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2566 $as_echo_n "checking build system type... " >&6; }
2567 if ${ac_cv_build+:} false
; then :
2568 $as_echo_n "(cached) " >&6
2570 ac_build_alias
=$build_alias
2571 test "x$ac_build_alias" = x
&&
2572 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2573 test "x$ac_build_alias" = x
&&
2574 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2575 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2576 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2580 $as_echo "$ac_cv_build" >&6; }
2581 case $ac_cv_build in
2583 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2586 ac_save_IFS
=$IFS; IFS
='-'
2592 # Remember, the first character of IFS is used to create $*,
2593 # except with old shells:
2596 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2600 $as_echo_n "checking host system type... " >&6; }
2601 if ${ac_cv_host+:} false
; then :
2602 $as_echo_n "(cached) " >&6
2604 if test "x$host_alias" = x
; then
2605 ac_cv_host
=$ac_cv_build
2607 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2608 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2613 $as_echo "$ac_cv_host" >&6; }
2616 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2619 ac_save_IFS
=$IFS; IFS
='-'
2625 # Remember, the first character of IFS is used to create $*,
2626 # except with old shells:
2629 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2633 # The AROS target is slightly different to the normal GNU style
2634 # format. We don't have the middle part, and we reverse the order
2635 # of the $(CPU) and $(OS) bits.
2637 # Don't strip the version of the target yet, it might be
2638 # useful on some systems.
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2641 $as_echo_n "checking for AROS style target... " >&6; }
2643 if test "$target" = "NONE" ; then
2644 target
=$host_os-$host_cpu
2646 if test "$target" = "" ; then
2647 target
=$host_os-$host_cpu
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2651 $as_echo "$target" >&6; }
2653 if test "$host_os" = "mingw32" ; then
2657 #don't know where else to put this...
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2659 $as_echo_n "checking building AROS in... " >&6; }
2660 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2661 AROS_BUILDDIR_UNIX
=${PWD}
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2663 $as_echo "$AROS_BUILDDIR" >&6; }
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2666 $as_echo_n "checking AROS source in... " >&6; }
2667 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2670 $as_echo "$SRCDIR" >&6; }
2672 # Parse the target field into something useful.
2674 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2675 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2678 aros_default_wbwidth
=800
2679 aros_default_wbheight
=600
2680 aros_default_wbdepth
=4
2683 # The first step is to find the host binaries.
2684 # Check for a compiler.
2686 ac_cpp
='$CPP $CPPFLAGS'
2687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2690 if test -n "$ac_tool_prefix"; then
2691 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2692 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_CC+:} false
; then :
2696 $as_echo_n "(cached) " >&6
2698 if test -n "$CC"; then
2699 ac_cv_prog_CC
="$CC" # Let the user override the test.
2701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir
=.
2706 for ac_exec_ext
in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 if test -n "$CC"; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2721 $as_echo "$CC" >&6; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724 $as_echo "no" >&6; }
2729 if test -z "$ac_cv_prog_CC"; then
2731 # Extract the first word of "gcc", so it can be a program name with args.
2732 set dummy gcc
; ac_word
=$2
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734 $as_echo_n "checking for $ac_word... " >&6; }
2735 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2736 $as_echo_n "(cached) " >&6
2738 if test -n "$ac_ct_CC"; then
2739 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 ac_cv_prog_ac_ct_CC
="gcc"
2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2759 if test -n "$ac_ct_CC"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2761 $as_echo "$ac_ct_CC" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2767 if test "x$ac_ct_CC" = x
; then
2770 case $cross_compiling:$ac_tool_warned in
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2774 ac_tool_warned
=yes ;;
2782 if test -z "$CC"; then
2783 if test -n "$ac_tool_prefix"; then
2784 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2785 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787 $as_echo_n "checking for $ac_word... " >&6; }
2788 if ${ac_cv_prog_CC+:} false
; then :
2789 $as_echo_n "(cached) " >&6
2791 if test -n "$CC"; then
2792 ac_cv_prog_CC
="$CC" # Let the user override the test.
2794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2798 test -z "$as_dir" && as_dir
=.
2799 for ac_exec_ext
in '' $ac_executable_extensions; do
2800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2801 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 if test -n "$CC"; then
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2814 $as_echo "$CC" >&6; }
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2823 if test -z "$CC"; then
2824 # Extract the first word of "cc", so it can be a program name with args.
2825 set dummy cc
; ac_word
=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_CC+:} false
; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$CC"; then
2832 ac_cv_prog_CC
="$CC" # Let the user override the test.
2835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2839 test -z "$as_dir" && as_dir
=.
2840 for ac_exec_ext
in '' $ac_executable_extensions; do
2841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2842 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2843 ac_prog_rejected
=yes
2847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 if test $ac_prog_rejected = yes; then
2855 # We found a bogon in the path, so make sure we never use it.
2856 set dummy
$ac_cv_prog_CC
2858 if test $# != 0; then
2859 # We chose a different compiler from the bogus one.
2860 # However, it has the same basename, so the bogon will be chosen
2861 # first if we set CC to just the basename; use the full file name.
2863 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2869 if test -n "$CC"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2871 $as_echo "$CC" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2879 if test -z "$CC"; then
2880 if test -n "$ac_tool_prefix"; then
2881 for ac_prog
in cl.exe
2883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2884 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if ${ac_cv_prog_CC+:} false
; then :
2888 $as_echo_n "(cached) " >&6
2890 if test -n "$CC"; then
2891 ac_cv_prog_CC
="$CC" # Let the user override the test.
2893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir
=.
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2900 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 if test -n "$CC"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2913 $as_echo "$CC" >&6; }
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916 $as_echo "no" >&6; }
2920 test -n "$CC" && break
2923 if test -z "$CC"; then
2925 for ac_prog
in cl.exe
2927 # Extract the first word of "$ac_prog", so it can be a program name with args.
2928 set dummy
$ac_prog; ac_word
=$2
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930 $as_echo_n "checking for $ac_word... " >&6; }
2931 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2932 $as_echo_n "(cached) " >&6
2934 if test -n "$ac_ct_CC"; then
2935 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2941 test -z "$as_dir" && as_dir
=.
2942 for ac_exec_ext
in '' $ac_executable_extensions; do
2943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2944 ac_cv_prog_ac_ct_CC
="$ac_prog"
2945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2955 if test -n "$ac_ct_CC"; then
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2957 $as_echo "$ac_ct_CC" >&6; }
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960 $as_echo "no" >&6; }
2964 test -n "$ac_ct_CC" && break
2967 if test "x$ac_ct_CC" = x
; then
2970 case $cross_compiling:$ac_tool_warned in
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2974 ac_tool_warned
=yes ;;
2983 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2985 as_fn_error $?
"no acceptable C compiler found in \$PATH
2986 See \`config.log' for more details" "$LINENO" 5; }
2988 # Provide some information about the compiler.
2989 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2992 for ac_option
in --version -v -V -qversion; do
2993 { { ac_try
="$ac_compiler $ac_option >&5"
2995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2999 $as_echo "$ac_try_echo"; } >&5
3000 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3002 if test -s conftest.err; then
3004 ... rest of stderr output deleted ...
3005 10q' conftest.err >conftest.er1
3006 cat conftest.er1 >&5
3008 rm -f conftest.er1 conftest.err
3009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3010 test $ac_status = 0; }
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3024 ac_clean_files_save=$ac_clean_files
3025 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3026 # Try to create an executable without -o first, disregard a.out.
3027 # It will help us diagnose broken compilers, and finding out an intuition
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3030 $as_echo_n "checking whether the C compiler works... " >&6; }
3031 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3033 # The possible output files:
3034 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3037 for ac_file in $ac_files
3040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3041 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3046 if { { ac_try="$ac_link_default"
3048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3049 *) ac_try_echo
=$ac_try;;
3051 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3052 $as_echo "$ac_try_echo"; } >&5
3053 (eval "$ac_link_default") 2>&5
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; }; then :
3057 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3058 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3059 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3060 # so that the user can short-circuit this test for compilers unknown to
3062 for ac_file
in $ac_files ''
3064 test -f "$ac_file" ||
continue
3066 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3069 # We found the default executable, but exeext='' is most
3073 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3075 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3077 # We set ac_cv_exeext here because the later test for it is not
3078 # safe: cross compilers may not add the suffix if given an `-o'
3079 # argument, so we may need to know it at that point already.
3080 # Even if this section looks crufty: it has the advantage of
3087 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3092 if test -z "$ac_file"; then :
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3095 $as_echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.
$ac_ext >&5
3098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100 as_fn_error
77 "C compiler cannot create executables
3101 See \`config.log' for more details" "$LINENO" 5; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3104 $as_echo "yes" >&6; }
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3107 $as_echo_n "checking for C compiler default output file name... " >&6; }
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3109 $as_echo "$ac_file" >&6; }
3110 ac_exeext
=$ac_cv_exeext
3112 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3113 ac_clean_files
=$ac_clean_files_save
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3115 $as_echo_n "checking for suffix of executables... " >&6; }
3116 if { { ac_try
="$ac_link"
3118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 $as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_link") 2>&5
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; }; then :
3127 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3128 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3129 # work properly (i.e., refer to `conftest.exe'), while it won't with
3131 for ac_file
in conftest.exe conftest conftest.
*; do
3132 test -f "$ac_file" ||
continue
3134 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3135 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3143 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3144 See \`config.log' for more details" "$LINENO" 5; }
3146 rm -f conftest conftest
$ac_cv_exeext
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3148 $as_echo "$ac_cv_exeext" >&6; }
3150 rm -f conftest.
$ac_ext
3151 EXEEXT
=$ac_cv_exeext
3153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3159 FILE *f = fopen ("conftest.out", "w");
3160 return ferror (f) || fclose (f) != 0;
3166 ac_clean_files
="$ac_clean_files conftest.out"
3167 # Check that the compiler produces executables we can run. If not, either
3168 # the compiler is broken, or we cross compile.
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3170 $as_echo_n "checking whether we are cross compiling... " >&6; }
3171 if test "$cross_compiling" != yes; then
3172 { { ac_try
="$ac_link"
3174 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_link") 2>&5
3181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3182 test $ac_status = 0; }
3183 if { ac_try='./conftest$ac_cv_exeext'
3184 { { case "(($ac_try" in
3185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3186 *) ac_try_echo
=$ac_try;;
3188 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3189 $as_echo "$ac_try_echo"; } >&5
3190 (eval "$ac_try") 2>&5
3192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193 test $ac_status = 0; }; }; then
3196 if test "$cross_compiling" = maybe
; then
3199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3201 as_fn_error $?
"cannot run C compiled programs.
3202 If you meant to cross compile, use \`--host'.
3203 See \`config.log' for more details" "$LINENO" 5; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3208 $as_echo "$cross_compiling" >&6; }
3210 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3211 ac_clean_files
=$ac_clean_files_save
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3213 $as_echo_n "checking for suffix of object files... " >&6; }
3214 if ${ac_cv_objext+:} false
; then :
3215 $as_echo_n "(cached) " >&6
3217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3228 rm -f conftest.o conftest.obj
3229 if { { ac_try
="$ac_compile"
3231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3235 $as_echo "$ac_try_echo"; } >&5
3236 (eval "$ac_compile") 2>&5
3238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3239 test $ac_status = 0; }; then :
3240 for ac_file in conftest.o conftest.obj conftest.*; do
3241 test -f "$ac_file" || continue;
3243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3244 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3249 $as_echo "$as_me: failed program was:" >&5
3250 sed 's/^/| /' conftest.$ac_ext >&5
3252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3255 See \
`config.log' for more details" "$LINENO" 5; }
3257 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3260 $as_echo "$ac_cv_objext" >&6; }
3261 OBJEXT=$ac_cv_objext
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3264 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3265 if ${ac_cv_c_compiler_gnu+:} false; then :
3266 $as_echo_n "(cached) " >&6
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3282 if ac_fn_c_try_compile "$LINENO"; then :
3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3292 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3293 if test $ac_compiler_gnu = yes; then
3298 ac_test_CFLAGS=${CFLAGS+set}
3299 ac_save_CFLAGS=$CFLAGS
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3301 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3302 if ${ac_cv_prog_cc_g+:} false; then :
3303 $as_echo_n "(cached) " >&6
3305 ac_save_c_werror_flag=$ac_c_werror_flag
3306 ac_c_werror_flag=yes
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3320 if ac_fn_c_try_compile "$LINENO"; then :
3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3335 if ac_fn_c_try_compile "$LINENO"; then :
3338 ac_c_werror_flag=$ac_save_c_werror_flag
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3351 if ac_fn_c_try_compile "$LINENO"; then :
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 ac_c_werror_flag=$ac_save_c_werror_flag
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3362 $as_echo "$ac_cv_prog_cc_g" >&6; }
3363 if test "$ac_test_CFLAGS" = set; then
3364 CFLAGS=$ac_save_CFLAGS
3365 elif test $ac_cv_prog_cc_g = yes; then
3366 if test "$GCC" = yes; then
3372 if test "$GCC" = yes; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3379 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3380 if ${ac_cv_prog_cc_c89+:} false; then :
3381 $as_echo_n "(cached) " >&6
3383 ac_cv_prog_cc_c89=no
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386 /* end confdefs.h. */
3389 #include <sys/types.h>
3390 #include <sys/stat.h>
3391 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3392 struct buf { int x; };
3393 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3394 static char *e (p, i)
3400 static char *f (char * (*g) (char **, int), char **p, ...)
3405 s = g (p, va_arg (v,int));
3410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3411 function prototypes and stuff, but not '\xHH' hex character constants.
3412 These don't provoke an error unfortunately, instead are silently treated
3413 as 'x'. The following induces an error, until -std is added to get
3414 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3415 array size at least. It's necessary to write '\x00'==0 to get something
3416 that's true only with -std. */
3417 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3419 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3420 inside strings and character constants. */
3422 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3424 int test (int i, double x);
3425 struct s1 {int (*f) (int a);};
3426 struct s2 {int (*f) (double a);};
3427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3438 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3439 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3441 CC="$ac_save_CC $ac_arg"
3442 if ac_fn_c_try_compile "$LINENO"; then :
3443 ac_cv_prog_cc_c89=$ac_arg
3445 rm -f core conftest.err conftest.$ac_objext
3446 test "x$ac_cv_prog_cc_c89" != "xno" && break
3448 rm -f conftest.$ac_ext
3453 case "x$ac_cv_prog_cc_c89" in
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3456 $as_echo "none needed" >&6; } ;;
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3459 $as_echo "unsupported" >&6; } ;;
3461 CC="$CC $ac_cv_prog_cc_c89"
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3463 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3465 if test "x$ac_cv_prog_cc_c89" != xno; then :
3470 ac_cpp='$CPP $CPPFLAGS'
3471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 case $ac_cv_prog_cc_stdc in #(
3477 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3480 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3481 if ${ac_cv_prog_cc_c99+:} false; then :
3482 $as_echo_n "(cached) " >&6
3484 ac_cv_prog_cc_c99=no
3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3489 #include <stdbool.h>
3494 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3495 #define debug(...) fprintf (stderr, __VA_ARGS__)
3496 #define showlist(...) puts (#__VA_ARGS__)
3497 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3499 test_varargs_macros (void)
3504 debug ("X = %d\n", x);
3505 showlist (The first, second, and third items.);
3506 report (x>y, "x is %d but y is %d", x, y);
3509 // Check long long types.
3510 #define BIG64 18446744073709551615ull
3511 #define BIG32 4294967295ul
3512 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3514 your preprocessor is broken;
3518 your preprocessor is broken;
3520 static long long int bignum = -9223372036854775807LL;
3521 static unsigned long long int ubignum = BIG64;
3523 struct incomplete_array
3531 const wchar_t *name;
3535 typedef const char *ccp;
3538 test_restrict (ccp restrict text)
3540 // See if C++-style comments work.
3541 // Iterate through items via the restricted pointer.
3542 // Also check for declarations in for loops.
3543 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3548 // Check varargs and va_copy.
3550 test_varargs (const char *format, ...)
3553 va_start (args, format);
3555 va_copy (args_copy, args);
3566 str = va_arg (args_copy, const char *);
3569 number = va_arg (args_copy, int);
3572 fnumber = va_arg (args_copy, double);
3587 _Bool success = false;
3590 if (test_restrict ("String literal") == 0)
3592 char *restrict newvar = "Another string";
3595 test_varargs ("s, d' f .", "string", 65, 34.234);
3596 test_varargs_macros ();
3598 // Check flexible array members.
3599 struct incomplete_array *ia =
3600 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3602 for (int i = 0; i < ia->datasize; ++i)
3603 ia->data[i] = i * 1.234;
3605 // Check named initializers.
3606 struct named_init ni = {
3608 .name = L"Test wide string",
3609 .average = 543.34343,
3614 int dynamic_array[ni.number];
3615 dynamic_array[ni.number - 1] = 543;
3617 // work around unused variable warnings
3618 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3619 || dynamic_array[ni.number - 1] != 543);
3625 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3627 CC="$ac_save_CC $ac_arg"
3628 if ac_fn_c_try_compile "$LINENO"; then :
3629 ac_cv_prog_cc_c99=$ac_arg
3631 rm -f core conftest.err conftest.$ac_objext
3632 test "x$ac_cv_prog_cc_c99" != "xno" && break
3634 rm -f conftest.$ac_ext
3639 case "x$ac_cv_prog_cc_c99" in
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3642 $as_echo "none needed" >&6; } ;;
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3645 $as_echo "unsupported" >&6; } ;;
3647 CC="$CC $ac_cv_prog_cc_c99"
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3649 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3651 if test "x$ac_cv_prog_cc_c99" != xno; then :
3652 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3655 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3656 if ${ac_cv_prog_cc_c89+:} false; then :
3657 $as_echo_n "(cached) " >&6
3659 ac_cv_prog_cc_c89=no
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3665 #include <sys/types.h>
3666 #include <sys/stat.h>
3667 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3668 struct buf { int x; };
3669 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3670 static char *e (p, i)
3676 static char *f (char * (*g) (char **, int), char **p, ...)
3681 s = g (p, va_arg (v,int));
3686 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3687 function prototypes and stuff, but not '\xHH' hex character constants.
3688 These don't provoke an error unfortunately, instead are silently treated
3689 as 'x'. The following induces an error, until -std is added to get
3690 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3691 array size at least. It's necessary to write '\x00'==0 to get something
3692 that's true only with -std. */
3693 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3695 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3696 inside strings and character constants. */
3698 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3700 int test (int i, double x);
3701 struct s1 {int (*f) (int a);};
3702 struct s2 {int (*f) (double a);};
3703 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3709 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3714 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3715 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3717 CC="$ac_save_CC $ac_arg"
3718 if ac_fn_c_try_compile "$LINENO"; then :
3719 ac_cv_prog_cc_c89=$ac_arg
3721 rm -f core conftest.err conftest.$ac_objext
3722 test "x$ac_cv_prog_cc_c89" != "xno" && break
3724 rm -f conftest.$ac_ext
3729 case "x$ac_cv_prog_cc_c89" in
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3732 $as_echo "none needed" >&6; } ;;
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3735 $as_echo "unsupported" >&6; } ;;
3737 CC="$CC $ac_cv_prog_cc_c89"
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3739 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3741 if test "x$ac_cv_prog_cc_c89" != xno; then :
3742 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3744 ac_cv_prog_cc_stdc=no
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3751 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3752 if ${ac_cv_prog_cc_stdc+:} false; then :
3753 $as_echo_n "(cached) " >&6
3756 case $ac_cv_prog_cc_stdc in #(
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3759 $as_echo "unsupported" >&6; } ;; #(
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3762 $as_echo "none needed" >&6; } ;; #(
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3765 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3769 ac_cpp='$CPP $CPPFLAGS'
3770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3774 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3775 # On Suns, sometimes $CPP names a directory.
3776 if test -n "$CPP" && test -d "$CPP"; then
3779 if test -z "$CPP"; then
3780 if ${ac_cv_prog_CPP+:} false; then :
3781 $as_echo_n "(cached) " >&6
3783 # Double quotes because CPP needs to be expanded
3784 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3787 for ac_c_preproc_warn_flag in '' yes
3789 # Use a header file that comes with gcc, so configuring glibc
3790 # with a fresh cross-compiler works.
3791 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3792 # <limits.h> exists even on freestanding compilers.
3793 # On the NeXT, cc -E runs the code through the compiler's parser,
3794 # not just through cpp. "Syntax error" is here to catch this case.
3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3796 /* end confdefs.h. */
3798 # include <limits.h>
3800 # include <assert.h>
3804 if ac_fn_c_try_cpp "$LINENO"; then :
3807 # Broken: fails on valid input.
3810 rm -f conftest.err conftest.i conftest.$ac_ext
3812 # OK, works on sane cases. Now check whether nonexistent headers
3813 # can be detected and how.
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3816 #include <ac_nonexistent.h>
3818 if ac_fn_c_try_cpp "$LINENO"; then :
3819 # Broken: success on invalid input.
3822 # Passes both tests.
3826 rm -f conftest.err conftest.i conftest.$ac_ext
3829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3830 rm -f conftest.i conftest.err conftest.
$ac_ext
3831 if $ac_preproc_ok; then :
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3844 $as_echo "$CPP" >&6; }
3846 for ac_c_preproc_warn_flag
in '' yes
3848 # Use a header file that comes with gcc, so configuring glibc
3849 # with a fresh cross-compiler works.
3850 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3851 # <limits.h> exists even on freestanding compilers.
3852 # On the NeXT, cc -E runs the code through the compiler's parser,
3853 # not just through cpp. "Syntax error" is here to catch this case.
3854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3857 # include <limits.h>
3859 # include <assert.h>
3863 if ac_fn_c_try_cpp
"$LINENO"; then :
3866 # Broken: fails on valid input.
3869 rm -f conftest.err conftest.i conftest.
$ac_ext
3871 # OK, works on sane cases. Now check whether nonexistent headers
3872 # can be detected and how.
3873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3875 #include <ac_nonexistent.h>
3877 if ac_fn_c_try_cpp
"$LINENO"; then :
3878 # Broken: success on invalid input.
3881 # Passes both tests.
3885 rm -f conftest.err conftest.i conftest.
$ac_ext
3888 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3889 rm -f conftest.i conftest.err conftest.
$ac_ext
3890 if $ac_preproc_ok; then :
3893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3896 See \`config.log' for more details" "$LINENO" 5; }
3900 ac_cpp
='$CPP $CPPFLAGS'
3901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3906 # Check for a compatible awk
3907 for ac_prog
in gawk nawk
3909 # Extract the first word of "$ac_prog", so it can be a program name with args.
3910 set dummy
$ac_prog; ac_word
=$2
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912 $as_echo_n "checking for $ac_word... " >&6; }
3913 if ${ac_cv_prog_AWK+:} false
; then :
3914 $as_echo_n "(cached) " >&6
3916 if test -n "$AWK"; then
3917 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3923 test -z "$as_dir" && as_dir
=.
3924 for ac_exec_ext
in '' $ac_executable_extensions; do
3925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3926 ac_cv_prog_AWK
="$ac_prog"
3927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937 if test -n "$AWK"; then
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3939 $as_echo "$AWK" >&6; }
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942 $as_echo "no" >&6; }
3946 test -n "$AWK" && break
3949 if test "$AWK" = ""; then
3950 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3952 # Extract the first word of "mmake", so it can be a program name with args.
3953 set dummy mmake
; ac_word
=$2
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955 $as_echo_n "checking for $ac_word... " >&6; }
3956 if ${ac_cv_prog_MMAKE+:} false
; then :
3957 $as_echo_n "(cached) " >&6
3959 if test -n "$MMAKE"; then
3960 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3966 test -z "$as_dir" && as_dir
=.
3967 for ac_exec_ext
in '' $ac_executable_extensions; do
3968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3969 ac_cv_prog_MMAKE
="mmake "
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3979 MMAKE
=$ac_cv_prog_MMAKE
3980 if test -n "$MMAKE"; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3982 $as_echo "$MMAKE" >&6; }
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3990 # Perform some default variable assignments. Note all of these will be
3991 # Regenerated from the script, so there is no need to cache them.
3994 if test "$GCC" = "yes"; then
3995 aros_gcc_ld
=`$CC -print-prog-name=ld`
3996 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3997 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3999 $as_echo_n "checking for $ac_word... " >&6; }
4000 if ${ac_cv_path_aros_host_ld+:} false
; then :
4001 $as_echo_n "(cached) " >&6
4003 case $aros_host_ld in
4005 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4009 for as_dir
in `dirname $aros_gcc_ld`
4012 test -z "$as_dir" && as_dir
=.
4013 for ac_exec_ext
in '' $ac_executable_extensions; do
4014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4015 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 aros_host_ld
=$ac_cv_path_aros_host_ld
4027 if test -n "$aros_host_ld"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4029 $as_echo "$aros_host_ld" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4037 if test "$aros_host_ld" = ""; then
4038 # Extract the first word of "ld", so it can be a program name with args.
4039 set dummy ld
; ac_word
=$2
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041 $as_echo_n "checking for $ac_word... " >&6; }
4042 if ${ac_cv_path_aros_host_ld+:} false
; then :
4043 $as_echo_n "(cached) " >&6
4045 case $aros_host_ld in
4047 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4054 test -z "$as_dir" && as_dir
=.
4055 for ac_exec_ext
in '' $ac_executable_extensions; do
4056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4057 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 aros_host_ld
=$ac_cv_path_aros_host_ld
4069 if test -n "$aros_host_ld"; then
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4071 $as_echo "$aros_host_ld" >&6; }
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 $as_echo "no" >&6; }
4079 if test "$aros_host_ld" = ""; then
4080 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4082 aros_host_make
="make"
4083 aros_host_cflags
=$CFLAGS
4084 aros_host_ldflags
=$LDFLAGS
4085 aros_host_debug
="-g -O0"
4086 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4087 aros_host_mkargs
="--no-print-directory"
4088 aros_host_incl
="/usr/include"
4089 aros_host_exe_suffix
="$EXEEXT"
4090 aros_host_lib_suffix
=""
4092 # Ignore all compliance, AROS ROMs = 0
4093 # KickStart v1.0 = 30
4094 # KickStart v1.3 = 34
4095 # KickStart v2.0 = 37
4096 # KickStart v3.0 = 39
4097 # KickStart v3.1 = 40
4099 aros_amigaos_compliance
=0
4101 for ac_prog
in aclocal aclocal19 aclocal-1.9
4103 # Extract the first word of "$ac_prog", so it can be a program name with args.
4104 set dummy
$ac_prog; ac_word
=$2
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4106 $as_echo_n "checking for $ac_word... " >&6; }
4107 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4108 $as_echo_n "(cached) " >&6
4110 if test -n "$aros_host_aclocal"; then
4111 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4117 test -z "$as_dir" && as_dir
=.
4118 for ac_exec_ext
in '' $ac_executable_extensions; do
4119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4120 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4131 if test -n "$aros_host_aclocal"; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4133 $as_echo "$aros_host_aclocal" >&6; }
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4136 $as_echo "no" >&6; }
4140 test -n "$aros_host_aclocal" && break
4143 for ac_prog
in autoconf autoconf259 autoconf253
4145 # Extract the first word of "$ac_prog", so it can be a program name with args.
4146 set dummy
$ac_prog; ac_word
=$2
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4148 $as_echo_n "checking for $ac_word... " >&6; }
4149 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4150 $as_echo_n "(cached) " >&6
4152 if test -n "$aros_host_autoconf"; then
4153 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4162 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4173 if test -n "$aros_host_autoconf"; then
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4175 $as_echo "$aros_host_autoconf" >&6; }
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4178 $as_echo "no" >&6; }
4182 test -n "$aros_host_autoconf" && break
4185 for ac_prog
in autoheader autoheader259 autoheader253
4187 # Extract the first word of "$ac_prog", so it can be a program name with args.
4188 set dummy
$ac_prog; ac_word
=$2
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4190 $as_echo_n "checking for $ac_word... " >&6; }
4191 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4192 $as_echo_n "(cached) " >&6
4194 if test -n "$aros_host_autoheader"; then
4195 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir
=.
4202 for ac_exec_ext
in '' $ac_executable_extensions; do
4203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4204 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4214 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4215 if test -n "$aros_host_autoheader"; then
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4217 $as_echo "$aros_host_autoheader" >&6; }
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4220 $as_echo "no" >&6; }
4224 test -n "$aros_host_autoheader" && break
4227 for ac_prog
in automake automake19 automake-1.9
4229 # Extract the first word of "$ac_prog", so it can be a program name with args.
4230 set dummy
$ac_prog; ac_word
=$2
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4232 $as_echo_n "checking for $ac_word... " >&6; }
4233 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4234 $as_echo_n "(cached) " >&6
4236 if test -n "$aros_host_automake"; then
4237 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4243 test -z "$as_dir" && as_dir
=.
4244 for ac_exec_ext
in '' $ac_executable_extensions; do
4245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4246 ac_cv_prog_aros_host_automake
="$ac_prog"
4247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 aros_host_automake
=$ac_cv_prog_aros_host_automake
4257 if test -n "$aros_host_automake"; then
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4259 $as_echo "$aros_host_automake" >&6; }
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262 $as_echo "no" >&6; }
4266 test -n "$aros_host_automake" && break
4270 if test "$aros_host_aclocal" = ""; then
4271 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4273 if test "$aros_host_automake" = ""; then
4274 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4277 case "$aros_host_cc" in
4279 aros_host_cc_pipe
="-pipe"
4282 aros_host_cc_pipe
=""
4285 aros_host_cc_pipe
=""
4289 aros_kernel_cc_includes
=""
4290 aros_target_cc_includes
=""
4292 # ----------------------------------------------------------------------------------------
4293 # Host-specific defaults
4295 # Override this to "yes" in order to force a specific build to use real AROS crosscompiler
4296 # instead of a wrapper script.
4297 # Useful for non-ELF hosts (like Windows and Darwin).
4298 # Can also be overriden in target section below
4301 # This is the main host configuration section. It is where the host
4302 # can change the values of any variables it needs to change. We do
4303 # not look at anything that compiles to the target yet, we'll get
4308 aros_host_arch
="aros"
4309 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4312 aros_host_cpu
="i386"
4315 aros_host_cpu
="x86_64"
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4322 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4323 aros_host_cpu
="$host_cpu"
4329 aros_host_arch
="linux"
4330 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4331 android_build_os
="linux-x86"
4332 android_tool
="android"
4333 default_android_sdk
="/opt/android-sdk-linux_x86"
4336 aros_host_cpu
="i386"
4339 aros_host_cpu
="x86_64"
4342 aros_host_cpu
="m68k"
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4352 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4353 aros_host_cpu
="$host_cpu"
4359 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4360 aros_host_make
="gmake"
4361 aros_host_arch
="freebsd"
4362 aros_host_cpu
="i386"
4364 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4368 aros_object_format
="elf_i386"
4372 aros_object_format
="elf_i386_fbsd"
4379 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4380 aros_host_arch
="darwin"
4382 android_build_os
="darwin-x86"
4383 android_tool
="android"
4384 default_android_sdk
="/android-sdk-mac_x86"
4387 aros_host_cpu
="i386"
4390 aros_host_cpu
="x86_64"
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4397 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4398 aros_host_cpu
="$host_cpu"
4402 aros_host_ldflags
="$aros_host_ldflags -liconv"
4407 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4408 aros_host_make
="gmake"
4409 aros_host_arch
="dragonfly"
4412 aros_host_cpu
="i386"
4415 aros_host_cpu
="x86_64"
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4419 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4420 aros_host_cpu
="$host_cpu"
4426 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4427 aros_host_make
="gmake"
4428 aros_host_arch
="netbsd"
4431 aros_host_cpu
="i386"
4434 aros_host_cpu
="m68k"
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4438 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4439 aros_host_cpu
="$host_cpu"
4442 aros_host_lib_suffix
=".0.0"
4446 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4447 aros_host_make
="gmake"
4448 aros_host_arch
="openbsd"
4451 aros_host_cpu
="i386"
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4455 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4456 aros_host_cpu
="$host_cpu"
4462 aros_host_arch
="solaris"
4463 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4466 aros_host_cpu
="i386"
4469 aros_host_cpu
="sparc"
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4473 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4474 aros_host_cpu
="$host_cpu"
4480 aros_host_arch
="morphos"
4485 aros_host_arch
="amiga"
4490 TOUCH
="/gg/bin/touch"
4493 aros_host_cpu
="m68k"
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4500 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4501 aros_host_cpu
="$host_cpu"
4507 aros_host_arch
="cygwin"
4509 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4510 android_build_os
="windows"
4511 android_tool
="android.bat"
4512 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4516 aros_host_cpu
="i386"
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4520 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4521 aros_host_cpu
="$host_cpu"
4527 aros_host_arch
="mingw32"
4529 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4530 android_build_os
="windows"
4531 android_tool
="android.bat"
4532 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4536 aros_host_cpu
="i386"
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4540 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4541 aros_host_cpu
="$host_cpu"
4546 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4550 # Extract the first word of "ar", so it can be a program name with args.
4551 set dummy
ar; ac_word
=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4555 $as_echo_n "(cached) " >&6
4557 if test -n "$aros_host_ar"; then
4558 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4564 test -z "$as_dir" && as_dir
=.
4565 for ac_exec_ext
in '' $ac_executable_extensions; do
4566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567 ac_cv_prog_aros_host_ar
="ar cr"
4568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 aros_host_ar
=$ac_cv_prog_aros_host_ar
4578 if test -n "$aros_host_ar"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4580 $as_echo "$aros_host_ar" >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4587 if test "$aros_host_ar" = ""; then
4588 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4590 # Extract the first word of "ranlib", so it can be a program name with args.
4591 set dummy ranlib
; ac_word
=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4595 $as_echo_n "(cached) " >&6
4597 if test -n "$aros_host_ranlib"; then
4598 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir
=.
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607 ac_cv_prog_aros_host_ranlib
="ranlib "
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4618 if test -n "$aros_host_ranlib"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4620 $as_echo "$aros_host_ranlib" >&6; }
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4627 if test "$aros_host_ranlib" = ""; then
4628 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4630 # Extract the first word of "strip", so it can be a program name with args.
4631 set dummy strip
; ac_word
=$2
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4633 $as_echo_n "checking for $ac_word... " >&6; }
4634 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4635 $as_echo_n "(cached) " >&6
4637 if test -n "$aros_host_strip"; then
4638 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4644 test -z "$as_dir" && as_dir
=.
4645 for ac_exec_ext
in '' $ac_executable_extensions; do
4646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4647 ac_cv_prog_aros_host_strip
="strip "
4648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 aros_host_strip
=$ac_cv_prog_aros_host_strip
4658 if test -n "$aros_host_strip"; then
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4660 $as_echo "$aros_host_strip" >&6; }
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4663 $as_echo "no" >&6; }
4667 if test "$aros_host_strip" = ""; then
4668 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4671 # Extract the first word of "rm", so it can be a program name with args.
4672 set dummy
rm; ac_word
=$2
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4674 $as_echo_n "checking for $ac_word... " >&6; }
4675 if ${ac_cv_prog_RM+:} false
; then :
4676 $as_echo_n "(cached) " >&6
4678 if test -n "$RM"; then
4679 ac_cv_prog_RM
="$RM" # Let the user override the test.
4681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4685 test -z "$as_dir" && as_dir
=.
4686 for ac_exec_ext
in '' $ac_executable_extensions; do
4687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4688 ac_cv_prog_RM
="rm -rf"
4689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 if test -n "$RM"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4701 $as_echo "$RM" >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4708 if test "$RM" = ""; then
4709 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4711 # Extract the first word of "cp", so it can be a program name with args.
4712 set dummy
cp; ac_word
=$2
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4714 $as_echo_n "checking for $ac_word... " >&6; }
4715 if ${ac_cv_prog_CP+:} false
; then :
4716 $as_echo_n "(cached) " >&6
4718 if test -n "$CP"; then
4719 ac_cv_prog_CP
="$CP" # Let the user override the test.
4721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 test -z "$as_dir" && as_dir
=.
4726 for ac_exec_ext
in '' $ac_executable_extensions; do
4727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739 if test -n "$CP"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4741 $as_echo "$CP" >&6; }
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4748 if test "$CP" = ""; then
4749 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4751 # Extract the first word of "mv", so it can be a program name with args.
4752 set dummy
mv; ac_word
=$2
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 $as_echo_n "checking for $ac_word... " >&6; }
4755 if ${ac_cv_prog_MV+:} false
; then :
4756 $as_echo_n "(cached) " >&6
4758 if test -n "$MV"; then
4759 ac_cv_prog_MV
="$MV" # Let the user override the test.
4761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir
=.
4766 for ac_exec_ext
in '' $ac_executable_extensions; do
4767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4779 if test -n "$MV"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4781 $as_echo "$MV" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4788 if test "$MV" = ""; then
4789 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4791 # Extract the first word of "echo", so it can be a program name with args.
4792 set dummy
echo; ac_word
=$2
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4794 $as_echo_n "checking for $ac_word... " >&6; }
4795 if ${ac_cv_prog_ECHO+:} false
; then :
4796 $as_echo_n "(cached) " >&6
4798 if test -n "$ECHO"; then
4799 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4805 test -z "$as_dir" && as_dir
=.
4806 for ac_exec_ext
in '' $ac_executable_extensions; do
4807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4808 ac_cv_prog_ECHO
="echo "
4809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4818 ECHO
=$ac_cv_prog_ECHO
4819 if test -n "$ECHO"; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4821 $as_echo "$ECHO" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4828 if test "$ECHO" = ""; then
4829 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4831 # Extract the first word of "mkdir", so it can be a program name with args.
4832 set dummy mkdir
; ac_word
=$2
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 $as_echo_n "checking for $ac_word... " >&6; }
4835 if ${ac_cv_prog_MKDIR+:} false
; then :
4836 $as_echo_n "(cached) " >&6
4838 if test -n "$MKDIR"; then
4839 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4845 test -z "$as_dir" && as_dir
=.
4846 for ac_exec_ext
in '' $ac_executable_extensions; do
4847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4848 ac_cv_prog_MKDIR
="mkdir -p"
4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 MKDIR
=$ac_cv_prog_MKDIR
4859 if test -n "$MKDIR"; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4861 $as_echo "$MKDIR" >&6; }
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4868 if test "$MKDIR" = ""; then
4869 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4871 # Extract the first word of "touch", so it can be a program name with args.
4872 set dummy
touch; ac_word
=$2
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874 $as_echo_n "checking for $ac_word... " >&6; }
4875 if ${ac_cv_prog_TOUCH+:} false
; then :
4876 $as_echo_n "(cached) " >&6
4878 if test -n "$TOUCH"; then
4879 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir
=.
4886 for ac_exec_ext
in '' $ac_executable_extensions; do
4887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4888 ac_cv_prog_TOUCH
="touch "
4889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 TOUCH
=$ac_cv_prog_TOUCH
4899 if test -n "$TOUCH"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4901 $as_echo "$TOUCH" >&6; }
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4908 if test "$TOUCH" = ""; then
4909 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4911 # Extract the first word of "sort", so it can be a program name with args.
4912 set dummy
sort; ac_word
=$2
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 $as_echo_n "checking for $ac_word... " >&6; }
4915 if ${ac_cv_prog_SORT+:} false
; then :
4916 $as_echo_n "(cached) " >&6
4918 if test -n "$SORT"; then
4919 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir
=.
4926 for ac_exec_ext
in '' $ac_executable_extensions; do
4927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4928 ac_cv_prog_SORT
="sort "
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 SORT
=$ac_cv_prog_SORT
4939 if test -n "$SORT"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4941 $as_echo "$SORT" >&6; }
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4948 if test "$SORT" = ""; then
4949 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4951 # Extract the first word of "uniq", so it can be a program name with args.
4952 set dummy
uniq; ac_word
=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 $as_echo_n "checking for $ac_word... " >&6; }
4955 if ${ac_cv_prog_UNIQ+:} false
; then :
4956 $as_echo_n "(cached) " >&6
4958 if test -n "$UNIQ"; then
4959 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir
=.
4966 for ac_exec_ext
in '' $ac_executable_extensions; do
4967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4968 ac_cv_prog_UNIQ
="uniq "
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978 UNIQ
=$ac_cv_prog_UNIQ
4979 if test -n "$UNIQ"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4981 $as_echo "$UNIQ" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4988 if test "$UNIQ" = ""; then
4989 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4991 # Extract the first word of "true", so it can be a program name with args.
4992 set dummy true
; ac_word
=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if ${ac_cv_prog_NOP+:} false
; then :
4996 $as_echo_n "(cached) " >&6
4998 if test -n "$NOP"; then
4999 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir
=.
5006 for ac_exec_ext
in '' $ac_executable_extensions; do
5007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5008 ac_cv_prog_NOP
="true "
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5019 if test -n "$NOP"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5021 $as_echo "$NOP" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5028 if test "$NOP" = ""; then
5029 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5031 # Extract the first word of "cat", so it can be a program name with args.
5032 set dummy
cat; ac_word
=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_prog_CAT+:} false
; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$CAT"; then
5039 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5048 ac_cv_prog_CAT
="cat "
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 if test -n "$CAT"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5061 $as_echo "$CAT" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5068 if test "$CAT" = ""; then
5069 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5071 # Extract the first word of "bison", so it can be a program name with args.
5072 set dummy bison
; ac_word
=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_prog_BISON+:} false
; then :
5076 $as_echo_n "(cached) " >&6
5078 if test -n "$BISON"; then
5079 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5085 test -z "$as_dir" && as_dir
=.
5086 for ac_exec_ext
in '' $ac_executable_extensions; do
5087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5088 ac_cv_prog_BISON
="bison "
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 BISON
=$ac_cv_prog_BISON
5099 if test -n "$BISON"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5101 $as_echo "$BISON" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5108 if test "$BISON" = ""; then
5109 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5111 # Extract the first word of "flex", so it can be a program name with args.
5112 set dummy flex
; ac_word
=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_prog_FLEX+:} false
; then :
5116 $as_echo_n "(cached) " >&6
5118 if test -n "$FLEX"; then
5119 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5125 test -z "$as_dir" && as_dir
=.
5126 for ac_exec_ext
in '' $ac_executable_extensions; do
5127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5128 ac_cv_prog_FLEX
="flex "
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 FLEX
=$ac_cv_prog_FLEX
5139 if test -n "$FLEX"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5141 $as_echo "$FLEX" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5148 if test "$FLEX" = ""; then
5149 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5151 # Extract the first word of "pngtopnm", so it can be a program name with args.
5152 set dummy pngtopnm
; ac_word
=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5156 $as_echo_n "(cached) " >&6
5158 if test -n "$PNGTOPNM"; then
5159 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir
=.
5166 for ac_exec_ext
in '' $ac_executable_extensions; do
5167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5168 ac_cv_prog_PNGTOPNM
="pngtopnm "
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5179 if test -n "$PNGTOPNM"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5181 $as_echo "$PNGTOPNM" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5188 if test "$PNGTOPNM" = ""; then
5189 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5191 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5192 set dummy ppmtoilbm
; ac_word
=$2
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5194 $as_echo_n "checking for $ac_word... " >&6; }
5195 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5196 $as_echo_n "(cached) " >&6
5198 if test -n "$PPMTOILBM"; then
5199 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5205 test -z "$as_dir" && as_dir
=.
5206 for ac_exec_ext
in '' $ac_executable_extensions; do
5207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5208 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5219 if test -n "$PPMTOILBM"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5221 $as_echo "$PPMTOILBM" >&6; }
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 $as_echo "no" >&6; }
5228 if test "$PPMTOILBM" = ""; then
5229 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5231 # Extract the first word of "sed", so it can be a program name with args.
5232 set dummy
sed; ac_word
=$2
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; }
5235 if ${ac_cv_prog_SED+:} false
; then :
5236 $as_echo_n "(cached) " >&6
5238 if test -n "$SED"; then
5239 ac_cv_prog_SED
="$SED" # Let the user override the test.
5241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5245 test -z "$as_dir" && as_dir
=.
5246 for ac_exec_ext
in '' $ac_executable_extensions; do
5247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5248 ac_cv_prog_SED
="sed "
5249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 if test -n "$SED"; then
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5261 $as_echo "$SED" >&6; }
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5264 $as_echo "no" >&6; }
5268 if test "$SED" = ""; then
5269 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5271 # Extract the first word of "chmod", so it can be a program name with args.
5272 set dummy
chmod; ac_word
=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if ${ac_cv_prog_CHMOD+:} false
; then :
5276 $as_echo_n "(cached) " >&6
5278 if test -n "$CHMOD"; then
5279 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5285 test -z "$as_dir" && as_dir
=.
5286 for ac_exec_ext
in '' $ac_executable_extensions; do
5287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5288 ac_cv_prog_CHMOD
="chmod "
5289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 CHMOD
=$ac_cv_prog_CHMOD
5299 if test -n "$CHMOD"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5301 $as_echo "$CHMOD" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5308 if test "$CHMOD" = ""; then
5309 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5311 # Extract the first word of "patch", so it can be a program name with args.
5312 set dummy
patch; ac_word
=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_prog_PATCH+:} false
; then :
5316 $as_echo_n "(cached) " >&6
5318 if test -n "$PATCH"; then
5319 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5325 test -z "$as_dir" && as_dir
=.
5326 for ac_exec_ext
in '' $ac_executable_extensions; do
5327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5328 ac_cv_prog_PATCH
="patch "
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 PATCH
=$ac_cv_prog_PATCH
5339 if test -n "$PATCH"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5341 $as_echo "$PATCH" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5348 if test "$PATCH" = ""; then
5349 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5356 if test -n "$PYTHON"; then
5357 # If the user set $PYTHON, use it and don't search something else.
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5359 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5360 prog
="import sys, string
5361 # split strings by '.' and convert to numeric. Append some zeros
5362 # because we need at least 4 digits for the hex conversion.
5363 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5365 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5366 sys.exit(sys.hexversion < minverhex)"
5367 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5368 ($PYTHON -c "$prog") >&5 2>&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }; then :
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5373 $as_echo "yes" >&6; }
5375 as_fn_error $?
"too old" "$LINENO" 5
5377 am_display_PYTHON
=$PYTHON
5379 # Otherwise, try each interpreter until we find one that satisfies
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5382 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5383 if ${am_cv_pathless_PYTHON+:} false
; then :
5384 $as_echo_n "(cached) " >&6
5387 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
5388 test "$am_cv_pathless_PYTHON" = none
&& break
5389 prog
="import sys, string
5390 # split strings by '.' and convert to numeric. Append some zeros
5391 # because we need at least 4 digits for the hex conversion.
5392 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5394 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5395 sys.exit(sys.hexversion < minverhex)"
5396 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5397 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; then :
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5406 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5407 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5408 if test "$am_cv_pathless_PYTHON" = none
; then
5411 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5412 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_path_PYTHON+:} false
; then :
5416 $as_echo_n "(cached) " >&6
5420 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir
=.
5428 for ac_exec_ext
in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 PYTHON
=$ac_cv_path_PYTHON
5442 if test -n "$PYTHON"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5444 $as_echo "$PYTHON" >&6; }
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5452 am_display_PYTHON
=$am_cv_pathless_PYTHON
5456 if test "$PYTHON" = :; then
5457 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5462 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5463 if ${am_cv_python_version+:} false
; then :
5464 $as_echo_n "(cached) " >&6
5466 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5469 $as_echo "$am_cv_python_version" >&6; }
5470 PYTHON_VERSION
=$am_cv_python_version
5474 PYTHON_PREFIX
='${prefix}'
5476 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5481 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5482 if ${am_cv_python_platform+:} false
; then :
5483 $as_echo_n "(cached) " >&6
5485 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5488 $as_echo "$am_cv_python_platform" >&6; }
5489 PYTHON_PLATFORM
=$am_cv_python_platform
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5495 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5496 if ${am_cv_python_pythondir+:} false
; then :
5497 $as_echo_n "(cached) " >&6
5499 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5500 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5503 $as_echo "$am_cv_python_pythondir" >&6; }
5504 pythondir
=$am_cv_python_pythondir
5508 pkgpythondir
=\
${pythondir}/$PACKAGE
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5512 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5513 if ${am_cv_python_pyexecdir+:} false
; then :
5514 $as_echo_n "(cached) " >&6
5516 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5517 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5520 $as_echo "$am_cv_python_pyexecdir" >&6; }
5521 pyexecdir
=$am_cv_python_pyexecdir
5525 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5543 # Check for some includes for the X11 HIDD and the kernel
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5547 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5548 if ${ac_cv_path_GREP+:} false
; then :
5549 $as_echo_n "(cached) " >&6
5551 if test -z "$GREP"; then
5552 ac_path_GREP_found
=false
5553 # Loop through the user's path and test for each of PROGNAME-LIST
5554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5555 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5558 test -z "$as_dir" && as_dir
=.
5559 for ac_prog
in grep ggrep
; do
5560 for ac_exec_ext
in '' $ac_executable_extensions; do
5561 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5562 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5563 # Check for GNU ac_path_GREP and select it if it is found.
5564 # Check for GNU $ac_path_GREP
5565 case `"$ac_path_GREP" --version 2>&1` in
5567 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5570 $as_echo_n 0123456789 >"conftest.in"
5573 cat "conftest.in" "conftest.in" >"conftest.tmp"
5574 mv "conftest.tmp" "conftest.in"
5575 cp "conftest.in" "conftest.nl"
5576 $as_echo 'GREP' >> "conftest.nl"
5577 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5578 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5579 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5580 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5581 # Best one so far, save it but keep looking for a better one
5582 ac_cv_path_GREP
="$ac_path_GREP"
5583 ac_path_GREP_max
=$ac_count
5585 # 10*(2^10) chars as input seems more than enough
5586 test $ac_count -gt 10 && break
5588 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5591 $ac_path_GREP_found && break 3
5596 if test -z "$ac_cv_path_GREP"; then
5597 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5600 ac_cv_path_GREP
=$GREP
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5605 $as_echo "$ac_cv_path_GREP" >&6; }
5606 GREP
="$ac_cv_path_GREP"
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5610 $as_echo_n "checking for egrep... " >&6; }
5611 if ${ac_cv_path_EGREP+:} false
; then :
5612 $as_echo_n "(cached) " >&6
5614 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5615 then ac_cv_path_EGREP
="$GREP -E"
5617 if test -z "$EGREP"; then
5618 ac_path_EGREP_found
=false
5619 # Loop through the user's path and test for each of PROGNAME-LIST
5620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5621 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5624 test -z "$as_dir" && as_dir
=.
5625 for ac_prog
in egrep; do
5626 for ac_exec_ext
in '' $ac_executable_extensions; do
5627 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5628 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5629 # Check for GNU ac_path_EGREP and select it if it is found.
5630 # Check for GNU $ac_path_EGREP
5631 case `"$ac_path_EGREP" --version 2>&1` in
5633 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5636 $as_echo_n 0123456789 >"conftest.in"
5639 cat "conftest.in" "conftest.in" >"conftest.tmp"
5640 mv "conftest.tmp" "conftest.in"
5641 cp "conftest.in" "conftest.nl"
5642 $as_echo 'EGREP' >> "conftest.nl"
5643 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5644 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5645 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5646 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5647 # Best one so far, save it but keep looking for a better one
5648 ac_cv_path_EGREP
="$ac_path_EGREP"
5649 ac_path_EGREP_max
=$ac_count
5651 # 10*(2^10) chars as input seems more than enough
5652 test $ac_count -gt 10 && break
5654 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5657 $ac_path_EGREP_found && break 3
5662 if test -z "$ac_cv_path_EGREP"; then
5663 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5666 ac_cv_path_EGREP
=$EGREP
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5672 $as_echo "$ac_cv_path_EGREP" >&6; }
5673 EGREP
="$ac_cv_path_EGREP"
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5677 $as_echo_n "checking for ANSI C header files... " >&6; }
5678 if ${ac_cv_header_stdc+:} false
; then :
5679 $as_echo_n "(cached) " >&6
5681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5682 /* end confdefs.h. */
5696 if ac_fn_c_try_compile
"$LINENO"; then :
5697 ac_cv_header_stdc
=yes
5699 ac_cv_header_stdc
=no
5701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5703 if test $ac_cv_header_stdc = yes; then
5704 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5711 $EGREP "memchr" >/dev
/null
2>&1; then :
5714 ac_cv_header_stdc
=no
5720 if test $ac_cv_header_stdc = yes; then
5721 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5728 $EGREP "free" >/dev
/null
2>&1; then :
5731 ac_cv_header_stdc
=no
5737 if test $ac_cv_header_stdc = yes; then
5738 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5739 if test "$cross_compiling" = yes; then :
5742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5746 #if ((' ' & 0x0FF) == 0x020)
5747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5750 # define ISLOWER(c) \
5751 (('a' <= (c) && (c) <= 'i') \
5752 || ('j' <= (c) && (c) <= 'r') \
5753 || ('s' <= (c) && (c) <= 'z'))
5754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5762 for (i = 0; i < 256; i++)
5763 if (XOR (islower (i), ISLOWER (i))
5764 || toupper (i) != TOUPPER (i))
5769 if ac_fn_c_try_run
"$LINENO"; then :
5772 ac_cv_header_stdc
=no
5774 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5775 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5781 $as_echo "$ac_cv_header_stdc" >&6; }
5782 if test $ac_cv_header_stdc = yes; then
5784 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5788 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5789 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5790 inttypes.h stdint.h unistd.h
5792 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5793 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5795 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5796 cat >>confdefs.h
<<_ACEOF
5797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5805 for ac_header
in sys
/ipc.h sys
/shm.h \
5806 sys
/mmap.h sys
/mman.h sysexits.h \
5807 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5810 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5811 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5812 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5813 cat >>confdefs.h
<<_ACEOF
5814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5822 for ac_header
in sys
/mount.h
5824 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5826 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
5827 cat >>confdefs.h
<<_ACEOF
5828 #define HAVE_SYS_MOUNT_H 1
5837 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5838 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5840 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5841 if eval \
${$as_ac_Header+:} false
; then :
5842 $as_echo_n "(cached) " >&6
5844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5845 /* end confdefs.h. */
5846 #include <sys/types.h>
5858 if ac_fn_c_try_compile
"$LINENO"; then :
5859 eval "$as_ac_Header=yes"
5861 eval "$as_ac_Header=no"
5863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5865 eval ac_res
=\$
$as_ac_Header
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5867 $as_echo "$ac_res" >&6; }
5868 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5869 cat >>confdefs.h
<<_ACEOF
5870 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5873 ac_header_dirent
=$ac_hdr; break
5877 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5878 if test $ac_header_dirent = dirent.h
; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5880 $as_echo_n "checking for library containing opendir... " >&6; }
5881 if ${ac_cv_search_opendir+:} false
; then :
5882 $as_echo_n "(cached) " >&6
5884 ac_func_search_save_LIBS
=$LIBS
5885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5886 /* end confdefs.h. */
5888 /* Override any GCC internal prototype to avoid an error.
5889 Use char because int might match the return type of a GCC
5890 builtin and then its argument prototype would still apply. */
5903 for ac_lib
in '' dir
; do
5904 if test -z "$ac_lib"; then
5905 ac_res
="none required"
5908 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5910 if ac_fn_c_try_link
"$LINENO"; then :
5911 ac_cv_search_opendir
=$ac_res
5913 rm -f core conftest.err conftest.
$ac_objext \
5915 if ${ac_cv_search_opendir+:} false
; then :
5919 if ${ac_cv_search_opendir+:} false
; then :
5922 ac_cv_search_opendir
=no
5925 LIBS
=$ac_func_search_save_LIBS
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5928 $as_echo "$ac_cv_search_opendir" >&6; }
5929 ac_res
=$ac_cv_search_opendir
5930 if test "$ac_res" != no
; then :
5931 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5937 $as_echo_n "checking for library containing opendir... " >&6; }
5938 if ${ac_cv_search_opendir+:} false
; then :
5939 $as_echo_n "(cached) " >&6
5941 ac_func_search_save_LIBS
=$LIBS
5942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5943 /* end confdefs.h. */
5945 /* Override any GCC internal prototype to avoid an error.
5946 Use char because int might match the return type of a GCC
5947 builtin and then its argument prototype would still apply. */
5960 for ac_lib
in '' x
; do
5961 if test -z "$ac_lib"; then
5962 ac_res
="none required"
5965 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5967 if ac_fn_c_try_link
"$LINENO"; then :
5968 ac_cv_search_opendir
=$ac_res
5970 rm -f core conftest.err conftest.
$ac_objext \
5972 if ${ac_cv_search_opendir+:} false
; then :
5976 if ${ac_cv_search_opendir+:} false
; then :
5979 ac_cv_search_opendir
=no
5982 LIBS
=$ac_func_search_save_LIBS
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5985 $as_echo "$ac_cv_search_opendir" >&6; }
5986 ac_res
=$ac_cv_search_opendir
5987 if test "$ac_res" != no
; then :
5988 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5995 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5996 if ${ac_cv_header_stat_broken+:} false
; then :
5997 $as_echo_n "(cached) " >&6
5999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6000 /* end confdefs.h. */
6001 #include <sys/types.h>
6002 #include <sys/stat.h>
6004 #if defined S_ISBLK && defined S_IFDIR
6005 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6008 #if defined S_ISBLK && defined S_IFCHR
6009 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6012 #if defined S_ISLNK && defined S_IFREG
6013 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6016 #if defined S_ISSOCK && defined S_IFREG
6017 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6021 if ac_fn_c_try_compile
"$LINENO"; then :
6022 ac_cv_header_stat_broken
=no
6024 ac_cv_header_stat_broken
=yes
6026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6029 $as_echo "$ac_cv_header_stat_broken" >&6; }
6030 if test $ac_cv_header_stat_broken = yes; then
6032 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6037 $as_echo_n "checking for ANSI C header files... " >&6; }
6038 if ${ac_cv_header_stdc+:} false
; then :
6039 $as_echo_n "(cached) " >&6
6041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6042 /* end confdefs.h. */
6056 if ac_fn_c_try_compile
"$LINENO"; then :
6057 ac_cv_header_stdc
=yes
6059 ac_cv_header_stdc
=no
6061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6063 if test $ac_cv_header_stdc = yes; then
6064 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6071 $EGREP "memchr" >/dev
/null
2>&1; then :
6074 ac_cv_header_stdc
=no
6080 if test $ac_cv_header_stdc = yes; then
6081 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */
6087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6088 $EGREP "free" >/dev
/null
2>&1; then :
6091 ac_cv_header_stdc
=no
6097 if test $ac_cv_header_stdc = yes; then
6098 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6099 if test "$cross_compiling" = yes; then :
6102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6106 #if ((' ' & 0x0FF) == 0x020)
6107 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6108 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6110 # define ISLOWER(c) \
6111 (('a' <= (c) && (c) <= 'i') \
6112 || ('j' <= (c) && (c) <= 'r') \
6113 || ('s' <= (c) && (c) <= 'z'))
6114 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6117 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6122 for (i = 0; i < 256; i++)
6123 if (XOR (islower (i), ISLOWER (i))
6124 || toupper (i) != TOUPPER (i))
6129 if ac_fn_c_try_run
"$LINENO"; then :
6132 ac_cv_header_stdc
=no
6134 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6135 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6141 $as_echo "$ac_cv_header_stdc" >&6; }
6142 if test $ac_cv_header_stdc = yes; then
6144 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6149 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6150 if ${ac_cv_header_sys_wait_h+:} false
; then :
6151 $as_echo_n "(cached) " >&6
6153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6154 /* end confdefs.h. */
6155 #include <sys/types.h>
6156 #include <sys/wait.h>
6158 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6161 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6169 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6174 if ac_fn_c_try_compile
"$LINENO"; then :
6175 ac_cv_header_sys_wait_h
=yes
6177 ac_cv_header_sys_wait_h
=no
6179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6182 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6183 if test $ac_cv_header_sys_wait_h = yes; then
6185 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6190 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6191 if ${ac_cv_header_time+:} false
; then :
6192 $as_echo_n "(cached) " >&6
6194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6195 /* end confdefs.h. */
6196 #include <sys/types.h>
6197 #include <sys/time.h>
6203 if ((struct tm *) 0)
6209 if ac_fn_c_try_compile
"$LINENO"; then :
6210 ac_cv_header_time
=yes
6212 ac_cv_header_time
=no
6214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6217 $as_echo "$ac_cv_header_time" >&6; }
6218 if test $ac_cv_header_time = yes; then
6220 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6224 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6225 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6227 cat >>confdefs.h
<<_ACEOF
6228 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6232 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6237 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6238 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6240 cat >>confdefs.h
<<_ACEOF
6241 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6245 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6248 case " $LIBOBJS " in
6249 *" fileblocks.$ac_objext "* ) ;;
6250 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6257 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6258 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6260 cat >>confdefs.h
<<_ACEOF
6261 #define HAVE_STRUCT_STAT_ST_RDEV 1
6265 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6271 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6272 if ${ac_cv_struct_tm+:} false
; then :
6273 $as_echo_n "(cached) " >&6
6275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6277 #include <sys/types.h>
6284 int *p = &tm.tm_sec;
6290 if ac_fn_c_try_compile
"$LINENO"; then :
6291 ac_cv_struct_tm
=time.h
6293 ac_cv_struct_tm
=sys
/time.h
6295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6298 $as_echo "$ac_cv_struct_tm" >&6; }
6299 if test $ac_cv_struct_tm = sys
/time.h
; then
6301 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6305 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6306 #include <$ac_cv_struct_tm>
6309 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6311 cat >>confdefs.h
<<_ACEOF
6312 #define HAVE_STRUCT_TM_TM_ZONE 1
6318 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6320 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6323 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6325 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6331 cat >>confdefs.h
<<_ACEOF
6332 #define HAVE_DECL_TZNAME $ac_have_decl
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6336 $as_echo_n "checking for tzname... " >&6; }
6337 if ${ac_cv_var_tzname+:} false
; then :
6338 $as_echo_n "(cached) " >&6
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6343 #if !HAVE_DECL_TZNAME
6344 extern char *tzname[];
6350 return tzname[0][0];
6355 if ac_fn_c_try_link
"$LINENO"; then :
6356 ac_cv_var_tzname
=yes
6360 rm -f core conftest.err conftest.
$ac_objext \
6361 conftest
$ac_exeext conftest.
$ac_ext
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6364 $as_echo "$ac_cv_var_tzname" >&6; }
6365 if test $ac_cv_var_tzname = yes; then
6367 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6372 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6373 if test "x$ac_cv_type_off_t" = xyes
; then :
6377 cat >>confdefs.h
<<_ACEOF
6378 #define off_t long int
6383 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6384 if test "x$ac_cv_type_pid_t" = xyes
; then :
6388 cat >>confdefs.h
<<_ACEOF
6394 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6395 if test "x$ac_cv_type_size_t" = xyes
; then :
6399 cat >>confdefs.h
<<_ACEOF
6400 #define size_t unsigned int
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6406 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6407 if ${ac_cv_type_uid_t+:} false
; then :
6408 $as_echo_n "(cached) " >&6
6410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h. */
6412 #include <sys/types.h>
6415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6416 $EGREP "uid_t" >/dev
/null
2>&1; then :
6417 ac_cv_type_uid_t
=yes
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6425 $as_echo "$ac_cv_type_uid_t" >&6; }
6426 if test $ac_cv_type_uid_t = no
; then
6428 $as_echo "#define uid_t int" >>confdefs.h
6431 $as_echo "#define gid_t int" >>confdefs.h
6436 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6437 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6439 cat >>confdefs.h
<<_ACEOF
6440 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6447 # Look for some functions
6448 for ac_func
in getpagesize kqueue statfs statvfs \
6449 clone kse_create rfork_thread thr_create sa_register \
6450 getcontext makecontext setcontext sigaltstack swapcontext
6452 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6453 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6454 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6455 cat >>confdefs.h
<<_ACEOF
6456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6466 for ac_header
in $ac_header_list
6468 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6469 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6471 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6472 cat >>confdefs.h
<<_ACEOF
6473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6487 for ac_func
in getpagesize
6489 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6490 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6491 cat >>confdefs.h
<<_ACEOF
6492 #define HAVE_GETPAGESIZE 1
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6499 $as_echo_n "checking for working mmap... " >&6; }
6500 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6501 $as_echo_n "(cached) " >&6
6503 if test "$cross_compiling" = yes; then :
6504 ac_cv_func_mmap_fixed_mapped
=no
6506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6508 $ac_includes_default
6509 /* malloc might have been renamed as rpl_malloc. */
6512 /* Thanks to Mike Haertel and Jim Avera for this test.
6513 Here is a matrix of mmap possibilities:
6514 mmap private not fixed
6515 mmap private fixed at somewhere currently unmapped
6516 mmap private fixed at somewhere already mapped
6517 mmap shared not fixed
6518 mmap shared fixed at somewhere currently unmapped
6519 mmap shared fixed at somewhere already mapped
6520 For private mappings, we should verify that changes cannot be read()
6521 back from the file, nor mmap's back from the file at a different
6522 address. (There have been systems where private was not correctly
6523 implemented like the infamous i386 svr4.0, and systems where the
6524 VM page cache was not coherent with the file system buffer cache
6525 like early versions of FreeBSD and possibly contemporary NetBSD.)
6526 For shared mappings, we should conversely verify that changes get
6527 propagated back to all the places they're supposed to be.
6529 Grep wants private fixed already mapped.
6530 The main things grep needs to know about mmap are:
6531 * does it exist and is it safe to write into the mmap'd area
6532 * how to use it (BSD variants) */
6535 #include <sys/mman.h>
6537 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6541 /* This mess was copied from the GNU getpagesize.h. */
6542 #ifndef HAVE_GETPAGESIZE
6543 # ifdef _SC_PAGESIZE
6544 # define getpagesize() sysconf(_SC_PAGESIZE)
6545 # else /* no _SC_PAGESIZE */
6546 # ifdef HAVE_SYS_PARAM_H
6547 # include <sys/param.h>
6548 # ifdef EXEC_PAGESIZE
6549 # define getpagesize() EXEC_PAGESIZE
6550 # else /* no EXEC_PAGESIZE */
6552 # define getpagesize() NBPG * CLSIZE
6555 # endif /* no CLSIZE */
6556 # else /* no NBPG */
6558 # define getpagesize() NBPC
6559 # else /* no NBPC */
6561 # define getpagesize() PAGESIZE
6562 # endif /* PAGESIZE */
6563 # endif /* no NBPC */
6564 # endif /* no NBPG */
6565 # endif /* no EXEC_PAGESIZE */
6566 # else /* no HAVE_SYS_PARAM_H */
6567 # define getpagesize() 8192 /* punt totally */
6568 # endif /* no HAVE_SYS_PARAM_H */
6569 # endif /* no _SC_PAGESIZE */
6571 #endif /* no HAVE_GETPAGESIZE */
6576 char *data, *data2, *data3;
6581 pagesize = getpagesize ();
6583 /* First, make a file with some known garbage in it. */
6584 data = (char *) malloc (pagesize);
6587 for (i = 0; i < pagesize; ++i)
6588 *(data + i) = rand ();
6590 fd = creat ("conftest.mmap", 0600);
6593 if (write (fd, data, pagesize) != pagesize)
6597 /* Next, check that the tail of a page is zero-filled. File must have
6598 non-zero length, otherwise we risk SIGBUS for entire page. */
6599 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6603 if (write (fd2, cdata2, 1) != 1)
6605 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6606 if (data2 == MAP_FAILED)
6608 for (i = 0; i < pagesize; ++i)
6612 if (munmap (data2, pagesize))
6615 /* Next, try to mmap the file at a fixed address which already has
6616 something else allocated at it. If we can, also make sure that
6617 we see the same garbage. */
6618 fd = open ("conftest.mmap", O_RDWR);
6621 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6622 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6624 for (i = 0; i < pagesize; ++i)
6625 if (*(data + i) != *(data2 + i))
6628 /* Finally, make sure that changes to the mapped area do not
6629 percolate back to the file as seen by read(). (This is a bug on
6630 some variants of i386 svr4.0.) */
6631 for (i = 0; i < pagesize; ++i)
6632 *(data2 + i) = *(data2 + i) + 1;
6633 data3 = (char *) malloc (pagesize);
6636 if (read (fd, data3, pagesize) != pagesize)
6638 for (i = 0; i < pagesize; ++i)
6639 if (*(data + i) != *(data3 + i))
6645 if ac_fn_c_try_run
"$LINENO"; then :
6646 ac_cv_func_mmap_fixed_mapped
=yes
6648 ac_cv_func_mmap_fixed_mapped
=no
6650 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6651 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6656 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6657 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6659 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6662 rm -f conftest.mmap conftest.txt
6667 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6668 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6669 aros_config_ldflags
=""
6671 aros_shared_default
=yes
6673 aros_shared_cflags
="-fPIC"
6674 aros_shared_aflags
=""
6675 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6676 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6678 aros_kernel_ar_flags
="cr"
6679 aros_target_ar_flags
="cr"
6680 aros_target_nm_flags
="-C -ul"
6681 aros_target_strip_flags
="--strip-unneeded -R.comment"
6686 aros_target_genmap
="-Wl,-Map -Xlinker"
6688 # Native flavour stuff
6689 aros_serial_debug
="0"
6691 # Palm native flavour stuff
6692 aros_palm_debug_hack
="0"
6694 # Unix flavour stuff
6695 aros_nesting_supervisor
="0"
6697 # Collect-aros stuff: "-ius" to ignore undefined symbols
6698 ignore_undefined_symbols
=""
6700 # Check for X11 by default
6703 #-----------------------------------------------------------------------------
6706 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6707 # it switched on by default, and we use the host compiler, so it compiles AROS
6708 # code with this enabled resulting in link failures as we don't have support
6711 # We use two methods to disable it. For the host compiler (used to compile
6712 # some hosted modules), we test to see if the compiler supports stack
6713 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6714 # work on all platforms.
6716 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6717 # (this is done unconditionally, as it should have no effect on compilers
6718 # without the stack protection feature). This may be specific to the way that
6719 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6720 # strong enough to disable it in a generic way though, so we'll live with it
6721 # until another vendor ships GCC with it enabled in a different way, and deal
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6726 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6727 save_cflags
="$CFLAGS"
6728 CFLAGS
="$CFLAGS -fno-stack-protector"
6729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6740 if ac_fn_c_try_compile
"$LINENO"; then :
6741 use_no_stack_protector
="yes"
6743 use_no_stack_protector
="no"
6745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6747 $as_echo "$use_no_stack_protector" >&6; }
6748 if test "x-$use_no_stack_protector" = "x-yes" ; then
6749 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6751 CFLAGS
="$save_cflags"
6753 #-----------------------------------------------------------------------------
6755 # Disable pointer-signedness warnings if the compiler recognises the option
6756 # (this only works for the host compiler at the moment)
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6759 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6760 save_cflags
="$CFLAGS"
6761 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6763 /* end confdefs.h. */
6773 if ac_fn_c_try_compile
"$LINENO"; then :
6774 use_no_sign_warning
="yes"
6776 use_no_sign_warning
="no"
6778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6780 $as_echo "$use_no_sign_warning" >&6; }
6781 if test "x-$use_no_sign_warning" = "x-yes" ; then
6782 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6784 CFLAGS
="$save_cflags"
6786 #-----------------------------------------------------------------------------
6788 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6791 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6792 save_cflags
="$CFLAGS"
6793 CFLAGS
="$CFLAGS -fgnu89-inline"
6794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6795 /* end confdefs.h. */
6805 if ac_fn_c_try_compile
"$LINENO"; then :
6806 use_gnu89_inline
="yes"
6808 use_gnu89_inline
="no"
6810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6812 $as_echo "$use_gnu89_inline" >&6; }
6813 if test "x-$use_gnu89_inline" = "x-yes" ; then
6814 gnu89_inline
="-fgnu89-inline"
6816 CFLAGS
="$save_cflags"
6818 #-----------------------------------------------------------------------------
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6821 $as_echo_n "checking for type of build... " >&6; }
6822 # Check whether --enable-build_type was given.
6823 if test "${enable_build_type+set}" = set; then :
6824 enableval
=$enable_build_type; build_type
=$enableval
6826 build_type
="personal"
6830 if test "$build_type" = "nightly"; then
6831 build_type_string
="NIGHTLY"
6832 elif test "$build_type" = "snapshot"; then
6833 build_type_string
="SNAPSHOT"
6834 elif test "$build_type" = "milestone"; then
6835 build_type_string
="MILESTONE"
6836 elif test "$build_type" = "release"; then
6837 build_type_string
="RELEASE"
6839 build_type_string
="PERSONAL"
6840 build_type
="personal"
6843 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6846 $as_echo "$build_type" >&6; }
6848 #-----------------------------------------------------------------------------
6849 all_debug_types
="messages stack modules mungwall symbols"
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6852 $as_echo_n "checking which debug types to enable... " >&6; }
6853 # Check whether --enable-debug was given.
6854 if test "${enable_debug+set}" = set; then :
6855 enableval
=$enable_debug; debug
="$enableval"
6861 if test "$debug" = "" -o "$debug" = "no"; then
6863 elif test "$debug" = "yes"; then
6867 if test "$debug" = "all" ; then
6868 debug
="messages stack modules symbols"
6869 for d
in $all_debug_types; do
6870 export aros_
${d}_debug
="1"
6873 for d
in $all_debug_types; do
6874 export aros_
${d}_debug
="0"
6878 if test "$debug" != "none"; then
6879 debug
=`echo $debug | sed s/,/\ /g`
6882 for d2
in $all_debug_types; do
6883 if test "$d2" = "$d"; then
6888 if test "$found" = "0"; then
6889 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6891 export aros_
${d}_debug
="1"
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6896 $as_echo "$debug" >&6; }
6898 if test "$aros_messages_debug" = "1"; then
6899 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6901 aros_messages_debug
=""
6903 if test "$aros_symbols_debug" = "1"; then
6904 aros_symbols_debug
="-g"
6906 aros_symbols_debug
=""
6909 # These are the flags to pass when compiling debugged programs
6910 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6911 aros_debug_aflags
=""
6912 aros_debug_ldflags
="$aros_symbols_debug"
6914 #-----------------------------------------------------------------------------
6915 # Checking if we should build crosstools..
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6917 $as_echo_n "checking whether to build crosstools... " >&6; }
6918 # Check whether --enable-crosstools was given.
6919 if test "${enable_crosstools+set}" = set; then :
6920 enableval
=$enable_crosstools; crosstools
="$enableval"
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
6926 $as_echo "$crosstools" >&6; }
6928 #-----------------------------------------------------------------------------
6929 # Checking for distcc and ccache.
6931 # Always apply the transforms in this particular order. Basically you should
6932 # always run 'ccache distcc compiler' in that order for the best performance.
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6935 $as_echo_n "checking whether to enable distcc... " >&6; }
6936 # Check whether --enable-distcc was given.
6937 if test "${enable_distcc+set}" = set; then :
6938 enableval
=$enable_distcc; distcc
="$enableval"
6943 if test "$distcc" != "" -a "$distcc" != "no"; then
6944 # AC_CHECK_PROG will print out the result in this case
6945 # Extract the first word of "distcc", so it can be a program name with args.
6946 set dummy distcc
; ac_word
=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_path_DISTCC+:} false
; then :
6950 $as_echo_n "(cached) " >&6
6954 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6961 test -z "$as_dir" && as_dir
=.
6962 for ac_exec_ext
in '' $ac_executable_extensions; do
6963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6964 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6976 DISTCC
=$ac_cv_path_DISTCC
6977 if test -n "$DISTCC"; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6979 $as_echo "$DISTCC" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982 $as_echo "no" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6992 $as_echo_n "checking whether to enable ccache... " >&6; }
6993 # Check whether --enable-ccache was given.
6994 if test "${enable_ccache+set}" = set; then :
6995 enableval
=$enable_ccache; ccache
="$enableval"
7000 if test "$ccache" != "" -a "$ccache" != "no"; then
7001 # AC_CHECK_PROG will print out the result in this case
7002 # Extract the first word of "ccache", so it can be a program name with args.
7003 set dummy ccache
; ac_word
=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if ${ac_cv_prog_CCACHE+:} false
; then :
7007 $as_echo_n "(cached) " >&6
7009 if test -n "$CCACHE"; then
7010 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir
=.
7017 for ac_exec_ext
in '' $ac_executable_extensions; do
7018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7019 ac_cv_prog_CCACHE
="ccache"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 CCACHE
=$ac_cv_prog_CCACHE
7030 if test -n "$CCACHE"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7032 $as_echo "$CCACHE" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7041 $as_echo "no" >&6; }
7044 #-----------------------------------------------------------------------------
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7046 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7048 # Check whether --with-gcc-version was given.
7049 if test "${with_gcc_version+set}" = set; then :
7050 withval
=$with_gcc_version; target_tool_version
="$withval"
7052 target_tool_version
="default"
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7056 $as_echo "$target_tool_version" >&6; }
7058 #-----------------------------------------------------------------------------
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7060 $as_echo_n "checking what optimization flags to use... " >&6; }
7062 # Check whether --with-optimization was given.
7063 if test "${with_optimization+set}" = set; then :
7064 withval
=$with_optimization; optimization
="$withval"
7066 optimization
="unknown"
7069 if test "$optimization" = "unknown"; then
7070 if test "$debug" != "none"; then
7076 aros_config_cflags
="$aros_config_cflags $optimization"
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7078 $as_echo "$optimization" >&6; }
7080 #-----------------------------------------------------------------------------
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7082 $as_echo_n "checking what paranoia flags to use... " >&6; }
7084 # Check whether --with-paranoia was given.
7085 if test "${with_paranoia+set}" = set; then :
7086 withval
=$with_paranoia; paranoia_flags
="$withval"
7088 paranoia_flags
="default"
7091 if test "$paranoia_flags" = "default"; then
7093 else if test "$paranoia_flags" = "yes"; then
7094 paranoia_flags
="-Wall -Werror"
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7097 $as_echo "$paranoia_flags" >&6; }
7098 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7100 #-----------------------------------------------------------------------------
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7102 $as_echo_n "checking what target variant to enable... " >&6; }
7103 # Check whether --enable-target_variant was given.
7104 if test "${enable_target_variant+set}" = set; then :
7105 enableval
=$enable_target_variant; target_variant
=$enableval
7110 if test "$target_variant" = ""; then
7111 aros_target_variant
=""
7112 aros_target_suffix
=""
7115 aros_target_variant
="$target_variant"
7116 aros_target_suffix
="-$target_variant"
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7119 $as_echo "$enableval" >&6; }
7121 #-----------------------------------------------------------------------------
7122 # Target-specific defaults. You can override then on a per-target basis.
7124 # Bootloader name. Currently used by PC target.
7125 target_bootloader
="none"
7127 # Prefix for toolchain used to build bootstrap. For hosted ports, this should be a toolchain for target host OS.
7128 # (i. e. when building mingw32-i386 port this should be set to "i386-mingw32-").
7129 # For native ports this toolchain is used to build a bootloader and second-level bootstrap (if present).
7130 if test "$crosstools" != "yes"; then
7131 target_tool_prefix
=${target_cpu}-elf-
7133 target_tool_prefix
=${target_cpu}-aros-
7136 #-----------------------------------------------------------------------------
7137 # Additional options for some specific targets
7139 case "$aros_target_variant" in
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7142 $as_echo_n "checking XCode path... " >&6; }
7144 # Check whether --with-xcode was given.
7145 if test "${with_xcode+set}" = set; then :
7146 withval
=$with_xcode; aros_xcode_path
="$withval"
7148 aros_xcode_path
="/Developer"
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7152 $as_echo "$aros_xcode_path" >&6; }
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7155 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7157 # Check whether --with-sdk-version was given.
7158 if test "${with_sdk_version+set}" = set; then :
7159 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7161 aros_sdk_version
="4.1"
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7165 $as_echo "$aros_sdk_version" >&6; }
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7171 $as_echo_n "checking Android SDK path... " >&6; }
7173 # Check whether --with-sdk was given.
7174 if test "${with_sdk+set}" = set; then :
7175 withval
=$with_sdk; aros_android_sdk
="$withval"
7177 aros_android_sdk
=$default_android_sdk
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7181 $as_echo "$aros_android_sdk" >&6; }
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7184 $as_echo_n "checking Android NDK path... " >&6; }
7186 # Check whether --with-ndk was given.
7187 if test "${with_ndk+set}" = set; then :
7188 withval
=$with_ndk; aros_android_ndk
="$withval"
7190 aros_android_ndk
="none"
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7194 $as_echo "$aros_android_ndk" >&6; }
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7197 $as_echo_n "checking what Android SDK version to use... " >&6; }
7199 # Check whether --with-sdk-version was given.
7200 if test "${with_sdk_version+set}" = set; then :
7201 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7203 aros_sdk_version
="12"
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7207 $as_echo "$aros_sdk_version" >&6; }
7209 if test "$aros_android_ndk" != "none"; then
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7211 $as_echo_n "checking what Android NDK version to use... " >&6; }
7213 # Check whether --with-ndk-version was given.
7214 if test "${with_ndk_version+set}" = set; then :
7215 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7217 aros_ndk_version
="9"
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7221 $as_echo "$aros_ndk_version" >&6; }
7224 export PATH
="$aros_android_sdk/tools:$PATH"
7225 # Extract the first word of "$android_tool", so it can be a program name with args.
7226 set dummy
$android_tool; ac_word
=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if ${ac_cv_path_android_tool+:} false
; then :
7230 $as_echo_n "(cached) " >&6
7232 case $android_tool in
7234 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7241 test -z "$as_dir" && as_dir
=.
7242 for ac_exec_ext
in '' $ac_executable_extensions; do
7243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7255 android_tool
=$ac_cv_path_android_tool
7256 if test -n "$android_tool"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7258 $as_echo "$android_tool" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7265 if test "$android_tool" = ""; then
7266 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7269 aros_android_level
=android-
$aros_sdk_version
7270 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7271 echo "Platform $aros_android_level is not installed in your SDK"
7272 echo "Use --with-sdk-version=<API level number> to select another platform version"
7273 echo "You can check what plaform versions are installed in your SDK"
7274 echo "by examining contents of $aros_android_sdk/platforms directory"
7275 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7278 # Extract the first word of "ant", so it can be a program name with args.
7279 set dummy ant
; ac_word
=$2
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281 $as_echo_n "checking for $ac_word... " >&6; }
7282 if ${ac_cv_path_ant+:} false
; then :
7283 $as_echo_n "(cached) " >&6
7287 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir
=.
7295 for ac_exec_ext
in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309 if test -n "$ant"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7311 $as_echo "$ant" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7318 if test "$ant" = ""; then
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7320 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7323 if test "$host_os" = "mingw32"; then
7324 android_tool
="cmd //c $android_tool"
7330 #-----------------------------------------------------------------------------
7331 # This is the target configuration switch.
7332 case "$target_os" in
7334 aros_target_arch
="linux"
7335 aros_target_family
="unix"
7336 case "$target_cpu" in
7338 aros_target_cpu
="m68k"
7339 aros_object_format
="m68kelf"
7340 aros_flavour
="emulcompat"
7341 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7342 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7343 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7344 gcc_target_cpu
="mc68000"
7347 aros_target_cpu
="i386"
7348 aros_object_format
="elf_i386"
7349 aros_flavour
="emulation"
7350 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7351 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7352 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7353 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7354 aros_config_ldflags
="-m32 -march=i486"
7355 aros_kernel_ldflags
="-melf_i386"
7356 aros_default_wbdepth
=8
7357 gcc_target_cpu
="i386"
7358 pci_hidd_target
="hidd-pci-linux"
7359 android_tool_dir_prefix
="x86"
7360 android_tool_prefix
="i686-android-linux"
7361 android_ndk_arch
="x86"
7364 aros_target_cpu
="x86_64"
7365 aros_object_format
="elf_x86_64"
7366 aros_flavour
="emulation"
7367 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7368 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7369 aros_default_wbdepth
=8
7370 pci_hidd_target
="hidd-pci-linux"
7373 aros_target_cpu
="ppc"
7374 aros_object_format
="elf32ppc"
7375 aros_flavour
="emulation"
7376 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7377 aros_default_wbdepth
=8
7378 gcc_target_cpu
="ppc"
7381 # Same as powerpc, but I need this for the nightly build to work again.
7382 # Actually, the nightly should be made working with powerpc target.
7383 # That just was too much work for the moment, another week or two.
7385 aros_target_cpu
="ppc"
7386 aros_object_format
="elf32ppc"
7387 aros_flavour
="emulation"
7388 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7389 aros_default_wbdepth
=8
7390 gcc_target_cpu
="ppc"
7393 aros_target_cpu
="arm"
7394 aros_object_format
="armelf_linux_eabi"
7395 aros_flavour
="emulation"
7396 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7397 gcc_target_cpu
="arm"
7398 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -mthumb-interwork -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing -fno-omit-frame-pointer"
7399 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -mthumb-interwork -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7400 aros_arch_libs
="-laeabi"
7401 android_tool_dir_prefix
="arm-linux-androideabi"
7402 android_tool_prefix
="arm-linux-androideabi"
7403 android_ndk_arch
="arm"
7406 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7409 case "$aros_target_variant" in
7412 if test "$android_ndk_arch" = ""; then
7413 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7416 aros_default_wbwidth
=320
7417 aros_default_wbheight
=480
7418 if test "$aros_android_ndk" = "none"; then
7419 aros_kernel_cflags
="-mandroid"
7420 aros_kernel_ldflags
="-mandroid"
7423 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7424 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7425 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7426 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7427 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7428 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7431 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7432 target_tool_prefix
="$android_tool_prefix-"
7438 aros_target_arch
="pc"
7439 aros_shared_default
="no"
7440 target_bootloader
="grub2"
7441 case "$target_cpu" in
7443 aros_target_cpu
="i386"
7446 if test "$aros_object_format" = "" ; then
7447 aros_object_format
="elf_i386"
7449 aros_flavour
="standalone"
7450 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7451 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7452 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7453 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7454 aros_config_ldflags
="-m32 -march=i486"
7455 aros_kernel_ldflags
="-melf_i386"
7456 aros_default_wbwidth
=640
7457 aros_default_wbheight
=480
7458 gcc_target_cpu
="i386"
7461 aros_target_cpu
="x86_64"
7463 if test "$aros_object_format" = "" ; then
7464 aros_object_format
="elf_x86_64"
7466 aros_flavour
="standalone"
7467 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7468 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7469 aros_kernel_ldflags
=""
7470 aros_default_wbwidth
=640
7471 aros_default_wbheight
=480
7474 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7480 aros_target_arch
="prep"
7481 aros_shared_default
="no"
7482 aros_target_cpu
="ppc"
7483 aros_object_format
="elf32ppc"
7484 aros_flavour
="ppcnative"
7485 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7486 aros_kernel_ldflags
=""
7487 aros_default_wbwidth
=640
7488 aros_default_wbheight
=480
7489 gcc_target_cpu
="ppc"
7493 aros_target_arch
="freebsd"
7494 aros_target_family
="unix"
7495 aros_target_cpu
="i386"
7496 aros_flavour
="emulation"
7497 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7498 gcc_target_cpu
="i386"
7500 aros_target_strip_flags
="-x"
7504 aros_target_arch
="darwin"
7505 aros_target_family
="unix"
7506 aros_flavour
="emulation"
7507 case "$target_cpu" in
7509 aros_ios_platform
="iPhoneSimulator"
7510 aros_target_cpu
="i386"
7511 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7512 aros_kernel_ldflags
=""
7513 aros_macosx_version
="10.4"
7514 aros_default_wbdepth
=8
7515 gcc_target_cpu
="i386"
7516 aros_object_format
="elf_i386"
7517 aros_kernel_ar_flags
="-cr"
7518 aros_target_strip_flags
="-x"
7519 target_tool_prefix
="i686-apple-darwin10-"
7520 target_tool_flags
="-m32"
7523 aros_target_cpu
="x86_64"
7524 aros_object_format
="elf_x86_64"
7525 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7526 aros_macosx_version
="10.6"
7527 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7528 aros_kernel_cflags
="-m64"
7529 aros_kernel_ldflags
="-m64"
7530 aros_target_cflags
="-mcmodel=large"
7531 aros_default_wbdepth
=8
7533 aros_kernel_ar_flags
="-cr"
7535 aros_kernel_ranlib
="ranlib"
7536 target_tool_prefix
="i686-apple-darwin10-"
7539 aros_target_cpu
="ppc"
7540 aros_object_format
="elf32ppc"
7541 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7542 aros_kernel_ldflags
=""
7543 aros_macosx_version
="10.0"
7544 aros_default_wbdepth
=8
7545 gcc_target_cpu
="ppc"
7547 aros_kernel_ar_flags
="-cr"
7548 aros_kernel_ld
="ld -arch ppc"
7549 aros_kernel_ranlib
="ranlib -arch ppc"
7550 target_tool_prefix
="powerpc-apple-darwin10-"
7553 aros_ios_platform
="iPhoneOS"
7554 aros_target_cpu
="arm"
7555 aros_object_format
="armelf_linux_eabi"
7556 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7557 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7558 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7559 aros_arch_libs
="-laeabi"
7560 aros_default_wbdepth
=8
7561 gcc_target_cpu
="arm"
7563 aros_kernel_ar_flags
="-cr"
7564 aros_kernel_ld
="ld -arch arm"
7565 aros_kernel_ranlib
="ranlib -arch arm"
7566 target_tool_prefix
="arm-apple-darwin10-"
7567 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7570 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7573 case "$aros_target_variant" in
7575 aros_ios_version
="3.0"
7576 aros_default_wbwidth
=320
7577 aros_default_wbheight
=480
7578 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7579 target_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7580 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7582 # This is here because it may depend on iOS or SDK version
7583 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7584 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7585 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7588 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7589 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7595 aros_target_arch
="dragonfly"
7596 aros_target_family
="unix"
7597 aros_flavour
="emulation"
7598 case "$target_cpu" in
7600 aros_target_cpu
="i386"
7601 aros_object_format
="elf_i386"
7602 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7605 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7606 aros_target_cpu
="x86_64"
7607 aros_object_format
="elf_x86_64"
7608 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7611 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7617 aros_target_arch
="netbsd"
7618 aros_target_family
="unix"
7619 case "$target_cpu" in
7621 aros_target_cpu
="m68k"
7622 aros_object_format
="m68kelf"
7623 aros_flavour
="emulcompat"
7624 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7625 gcc_target_cpu
="mc68000"
7628 aros_target_cpu
="i386"
7629 aros_object_format
="elf_i386"
7630 aros_flavour
="emulation"
7631 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7632 aros_default_wbdepth
=8
7633 gcc_target_cpu
="i386"
7636 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7639 aros_target_genmap
="-Wl,-M -Xlinker >"
7640 aros_flavour
="emulation"
7641 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7645 aros_target_arch
="openbsd"
7646 aros_target_family
="unix"
7647 case "$target_cpu" in
7649 aros_target_cpu
="i386"
7650 aros_object_format
="elf_i386"
7651 aros_flavour
="emulation"
7652 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7653 gcc_target_cpu
="i386"
7656 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7659 aros_target_genmap
="-Wl,-M -Xlinker >"
7660 aros_target_nm_flags
="-u"
7661 aros_flavour
="emulation"
7665 aros_target_arch
="solaris"
7666 aros_target_family
="unix"
7667 case "$target_cpu" in
7669 aros_target_cpu
="i386"
7670 aros_object_format
="elf_i386"
7671 aros_flavour
="emulation"
7672 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7673 aros_default_wbdepth
=8
7674 gcc_target_cpu
="i386"
7677 aros_target_cpu
="sparc"
7678 aros_object_format
="elf_sparc"
7679 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7680 gcc_target_cpu
="sparc"
7683 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7686 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7687 aros_flavour
="emulation"
7691 aros_target_arch
="morphos"
7692 aros_shared_default
="no"
7693 aros_target_cpu
="ppc"
7694 aros_object_format
="elf_ppc"
7695 aros_flavour
="nativecompat"
7696 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7697 gcc_target_cpu
="ppc"
7701 aros_target_arch
="sam440"
7702 aros_shared_default
="no"
7703 aros_target_cpu
="ppc"
7704 aros_object_format
="elf32ppc"
7705 aros_flavour
="ppcnative"
7706 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7707 aros_kernel_ldflags
=""
7708 aros_default_wbwidth
=1024
7709 aros_default_wbheight
=768
7710 aros_default_wbdepth
=24
7711 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7712 gcc_target_cpu
="powerpc"
7716 aros_target_arch
="efika"
7717 aros_shared_default
="no"
7718 aros_target_cpu
="arm"
7719 aros_object_format
="armelf_linux_eabi"
7720 aros_flavour
="standalone"
7721 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7722 aros_kernel_ldflags
=""
7723 aros_default_wbwidth
=1024
7724 aros_default_wbheight
=600
7725 aros_arch_libs
="-laeabi"
7726 aros_config_cflags
="$aros_config_cflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7727 aros_config_aflags
="$aros_config_aflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7731 aros_target_arch
="chrp"
7732 aros_shared_default
="no"
7733 aros_target_cpu
="ppc"
7734 aros_object_format
="elf32ppc"
7735 aros_flavour
="ppcnative"
7736 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7737 aros_kernel_ldflags
=""
7738 aros_default_wbwidth
=640
7739 aros_default_wbheight
=480
7740 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7741 gcc_target_cpu
="powerpc"
7742 case "$aros_target_variant" in
7744 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7750 aros_target_arch
="amiga"
7751 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7752 aros_shared_default
="no"
7754 case "$target_cpu" in
7756 # Check whether --enable-amigaos_compliance was given.
7757 if test "${enable_amigaos_compliance+set}" = set; then :
7758 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
7762 aros_target_cpu
="m68k"
7763 aros_object_format
="m68kelf"
7764 aros_flavour
="standcompat"
7765 gcc_target_cpu
="m68000"
7766 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
7767 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
7768 target_tool_prefix
="m68k-elf-"
7769 # Needed to get the correct multilib
7770 aros_config_ldflags
="-${gcc_target_cpu}"
7771 aros_shared_ldflags
="-${gcc_target_cpu}"
7772 aros_kernel_ldflags
="-${gcc_target_cpu}"
7773 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7774 aros_target_strip_flags
="-R.comment --strip-debug"
7775 aros_default_wbwidth
=640
7776 aros_default_wbheight
=256
7777 aros_default_wbdepth
=2
7781 aros_flavour
="native"
7782 gcc_target_cpu
="ppc"
7785 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7791 aros_target_arch
="mingw32"
7792 aros_shared_default
="no"
7793 aros_flavour
="emulation"
7794 aros_shared_cflags
=""
7797 case "$target_cpu" in
7799 aros_target_cpu
="i386"
7800 aros_object_format
="elf_i386"
7801 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7802 aros_default_wbdepth
=8
7803 gcc_target_cpu
="i386"
7805 aros_target_as
="i386-aros-as"
7806 aros_target_ar
="i386-aros-ar"
7807 aros_target_ranlib
="i386-aros-ranlib"
7808 aros_target_nm
="i386-aros-nm"
7809 aros_target_strip
="i386-aros-strip"
7810 aros_target_objcopy
="i386-aros-objcopy"
7811 aros_target_objdump
="i386-aros-objdump"
7813 target_tool_prefix
="i386-mingw32-"
7816 aros_target_cpu
="x86_64"
7817 aros_object_format
="elf_x86_64"
7818 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7819 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7820 aros_default_wbdepth
=8
7821 target_tool_prefix
="x86_64-w64-mingw32-"
7824 aros_target_cpu
="arm"
7825 aros_object_format
="armelf_linux_eabi"
7826 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7827 aros_arch_libs
="-laeabi"
7828 aros_default_wbdepth
=8
7829 gcc_target_cpu
="arm"
7830 target_tool_prefix
="arm-mingw32ce-"
7831 aros_default_wbwidth
=160
7832 aros_default_wbheight
=160
7835 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7838 if test $host_os = "cygwin"; then
7839 aros_kernel_cflags
="-mno-cygwin"
7843 aros_target_arch
="pp"
7844 aros_shared_default
="no"
7845 case "$target_cpu" in
7847 aros_target_cpu
="m68k"
7848 aros_object_format
="m68kelf"
7849 aros_flavour
="palmnative"
7850 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7851 aros_default_wbwidth
=160
7852 aros_default_wbheight
=160
7853 aros_default_wbdepth
=1
7854 aros_target_ar_flags
="cru"
7855 aros_compiler_libs
="-lgcc1"
7856 aros_shared_default
=no
7857 aros_shared_cflags
="-fpic"
7858 aros_shared_aflags
=""
7859 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7860 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7861 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7862 aros_debug_aflags
=""
7863 aros_debug_ldflags
="$aros_symbols_debug"
7864 aros_mungwall_debug
="0"
7865 aros_modules_debug
="0"
7866 gcc_target_cpu
="mc68000"
7867 ignore_undefined_symbols
="-ius"
7870 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7876 aros_target_arch
="mac"
7877 aros_shared_default
="no"
7878 case "$target_cpu" in
7880 aros_target_cpu
="m68k"
7881 aros_object_format
="m68kelf"
7882 aros_flavour
="mac68knative"
7883 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7884 aros_default_wbwidth
=512
7885 aros_default_wbheight
=384
7886 aros_default_wbdepth
=8
7887 aros_target_ar_flags
="cru"
7888 aros_compiler_libs
="-lgcc1"
7889 aros_shared_default
=no
7890 aros_shared_cflags
="-fpic"
7891 aros_shared_aflags
=""
7892 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7893 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7894 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
7895 aros_debug_aflags
=""
7896 aros_debug_ldflags
="$aros_symbols_debug"
7897 aros_mungwall_debug
="0"
7898 aros_modules_debug
="0"
7899 gcc_target_cpu
="mc68000"
7900 ignore_undefined_symbols
="-ius"
7903 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7909 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
7913 # Some formats need custom ELF specs.
7914 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
7915 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
7916 elf_specs_in
=config
/${aros_object_format}-specs.
in
7918 elf_specs_in
=config
/elf-specs.
in
7921 #-----------------------------------------------------------------------------
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
7923 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
7925 # Check whether --with-crosstools was given.
7926 if test "${with_crosstools+set}" = set; then :
7927 withval
=$with_crosstools; with_crosstools
=$withval
7929 with_crosstools
="default"
7932 if test "$with_crosstools" = "default"; then
7933 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
7935 AROS_CROSSTOOLSDIR
="$with_crosstools"
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
7938 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
7940 if test "$crosstools" != "no" -o "$with_crosstools" != "default"; then
7944 PATH
=$AROS_CROSSTOOLSDIR:$PATH
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
7948 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
7950 # Check whether --with-aros-gcc was given.
7951 if test "${with_aros_gcc+set}" = set; then :
7952 withval
=$with_aros_gcc; aros_gcc_version
="$withval"
7954 aros_gcc_version
="$use_aros_gcc"
7957 case "$aros_gcc_version" in
7959 aros_gcc_version
="default"
7962 aros_gcc_version
="none"
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
7966 $as_echo "$aros_gcc_version" >&6; }
7968 if test "$aros_gcc_version" != "none"; then
7971 if test "$aros_gcc_version" != "default"; then
7972 aros_target_cc
="$aros_target_cpu-aros-gcc-$aros_gcc_version"
7973 aros_target_cxx
="$aros_target_cpu-aros-g++-$aros_gcc_version"
7975 aros_target_cc
="$aros_target_cpu-aros-gcc"
7976 aros_target_cxx
="$aros_target_cpu-aros-g++"
7979 aros_target_ld
="$aros_target_cpu-aros-ld"
7980 aros_target_as
="$aros_target_cpu-aros-as"
7981 aros_target_ar
="$aros_target_cpu-aros-ar"
7982 aros_target_ranlib
="$aros_target_cpu-aros-ranlib"
7983 aros_target_nm
="$aros_target_cpu-aros-nm"
7984 aros_target_strip
="$aros_target_cpu-aros-strip"
7985 aros_target_objcopy
="$aros_target_cpu-aros-objcopy"
7986 aros_target_objdump
="$aros_target_cpu-aros-objdump"
7989 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
7990 # Since we override specs, we may need to put these defines there
7991 if test "$gcc_target_cpu" != ""; then
7992 gcc_target_cpu
="-D__${gcc_target_cpu}__"
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
7996 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
7998 # Check whether --with-portssources was given.
7999 if test "${with_portssources+set}" = set; then :
8000 withval
=$with_portssources; with_portssrcdir
=$withval
8002 with_portssrcdir
="default"
8005 if test "$with_portssrcdir" = "default"; then
8006 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8008 AROS_PORTSSRCDIR
="$with_portssrcdir"
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8011 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8014 $as_echo_n "checking which bootloader to use... " >&6; }
8016 # Check whether --with-bootloader was given.
8017 if test "${with_bootloader+set}" = set; then :
8018 withval
=$with_bootloader; target_bootloader
=$withval
8020 target_bootloader
=$target_bootloader
8023 if test "$target_bootloader" = "none"; then
8024 aros_target_bootloader
=""
8026 aros_target_bootloader
="$target_bootloader"
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8029 $as_echo "$target_bootloader" >&6; }
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8032 $as_echo_n "checking which icon-set to use... " >&6; }
8034 # Check whether --with-iconset was given.
8035 if test "${with_iconset+set}" = set; then :
8036 withval
=$with_iconset; target_iconset
=$withval
8038 target_iconset
="default"
8041 if test "$target_iconset" = "default"; then
8042 aros_target_iconset
="Gorilla"
8043 target_iconset
="default (Gorilla)"
8045 aros_target_iconset
="$target_iconset"
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8048 $as_echo "$target_iconset" >&6; }
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8051 $as_echo_n "checking which GUI Theme to use... " >&6; }
8053 # Check whether --with-theme was given.
8054 if test "${with_theme+set}" = set; then :
8055 withval
=$with_theme; target_guitheme
=$withval
8057 target_guitheme
="default"
8060 if test "$target_guitheme" = "default"; then
8061 aros_target_guitheme
="Ice"
8063 aros_target_guitheme
="$target_guitheme"
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8066 $as_echo "$aros_target_guitheme" >&6; }
8068 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8071 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8075 if test "$aros_host_cpu" == "x86_64" ; then
8076 if test "$aros_target_cpu" == "i386" ; then
8077 if test "$aros_target_arch" != "mingw32"; then
8083 if test "$aros_host_arch" == "darwin" ; then
8084 if test "$aros_target_arch" != "darwin" ; then
8089 if test "$aros_host_arch" == "mingw32" ; then
8090 if test "$aros_target_arch" != "mingw32" ; then
8095 # I want to have this information in configure output, although it might be
8096 # misleading, e.g. for darwin hosted you cannot compile target code without a
8097 # cross compiler, but here it says no.
8099 # Note: it says 'yes' only if bootstrap ("kernel") is cross-compiled.
8100 # Target code is a little bit different thing.
8102 echo "checking wether we are (AROS style) cross compiling... $cross_compiling"
8104 # Set prefix for target compiler etc. if we're cross-compiling
8105 # (should possibly be earlier but needs to be after AC_PROG_CC)
8106 if test "$cross_compiling" = "yes" ; then
8108 if test "x-$aros_flavour" = "x-standalone" -o "x-$aros_flavour" = "x-standcompat" ; then
8109 if test "$aros_gcc_version" != "none"; then
8112 target_tool_prefix
=${target_cpu}-aros-
8113 target_tool_version
=$aros_gcc_version
8114 use_kernel_cc_wrapper
=yes
8123 aros_target_objcopy
=
8124 aros_target_objdump
=
8128 CC
=${target_tool_prefix}gcc
8129 CPP
=${target_tool_prefix}cpp
8130 if test "$target_tool_version" != "default"; then
8131 CC
="$CC-$target_tool_version"
8132 CPP
="$CC-$target_tool_version"
8134 if test "$crosstools" != "yes" ; then
8135 # Extract the first word of "$CC", so it can be a program name with args.
8136 set dummy
$CC; ac_word
=$2
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8138 $as_echo_n "checking for $ac_word... " >&6; }
8139 if ${ac_cv_path_CC+:} false
; then :
8140 $as_echo_n "(cached) " >&6
8144 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
8147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8151 test -z "$as_dir" && as_dir
=.
8152 for ac_exec_ext
in '' $ac_executable_extensions; do
8153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8154 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
8155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8166 if test -n "$CC"; then
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8168 $as_echo "$CC" >&6; }
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 $as_echo "no" >&6; }
8175 if test "$CC" = ""; then
8176 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8179 CC
=$AROS_CROSSTOOLSDIR/$CC
8182 CC
="$CC $target_tool_flags"
8184 #-----------------------------------------------------------------------------
8186 # Disable pointer-signedness warnings if the compiler recognises the option
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8189 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8190 save_cflags
="$CFLAGS"
8191 if test "$crosstools" != "yes" ; then
8192 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8204 if ac_fn_c_try_compile
"$LINENO"; then :
8205 use_no_sign_warning
="yes"
8207 use_no_sign_warning
="no"
8209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8211 # we do know it is supported for the smallest version of gcc we are going to build
8212 # we assume it's also supported by later versions
8213 use_no_sign_warning
=yes
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8216 $as_echo "$use_no_sign_warning" >&6; }
8217 if test "x-$use_no_sign_warning" = "x-yes" ; then
8218 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8220 CFLAGS
="$save_cflags"
8222 #-----------------------------------------------------------------------------
8224 # Find all the tools we need to compile. This could be cross-compiling
8225 # though! If that is the case we use the GNU form of the target and
8226 # simply add this to the front of the binary name. This is rather simple,
8227 # but it should work under most circumstances.
8229 # The default tools are to use the same as the host, but only if the
8230 # host and target CPU are the same. With GCC this is normally enough.
8234 aros_shared_ld
="$aros_host_ld"
8236 aros_target_mkdep
="$aros_host_mkdep"
8237 aros_target_incl_def
="$aros_host_incl"
8239 aros_kernel_cc
="$CC"
8241 # The default tools executables to be linked to.
8242 if test "$rescomp" != ""; then
8243 if test "$cross_compiling" = "yes" ; then
8244 rescomp
=${target_tool_prefix}${rescomp}
8246 # Extract the first word of "$rescomp", so it can be a program name with args.
8247 set dummy
$rescomp; ac_word
=$2
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8249 $as_echo_n "checking for $ac_word... " >&6; }
8250 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
8251 $as_echo_n "(cached) " >&6
8253 case $aros_kernel_rescomp in
8255 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8262 test -z "$as_dir" && as_dir
=.
8263 for ac_exec_ext
in '' $ac_executable_extensions; do
8264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8265 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8276 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8277 if test -n "$aros_kernel_rescomp"; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8279 $as_echo "$aros_kernel_rescomp" >&6; }
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8282 $as_echo "no" >&6; }
8286 if test "$aros_kernel_rescomp" = ""; then
8287 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8291 if test "$crosstools" != "yes"; then
8293 if test "$aros_kernel_ld" = ""; then
8294 if test "$cross_compiling" = "yes" ; then
8295 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8296 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8298 $as_echo_n "checking for $ac_word... " >&6; }
8299 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8300 $as_echo_n "(cached) " >&6
8302 case $aros_kernel_ld in
8304 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8311 test -z "$as_dir" && as_dir
=.
8312 for ac_exec_ext
in '' $ac_executable_extensions; do
8313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8314 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8325 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8326 if test -n "$aros_kernel_ld"; then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8328 $as_echo "$aros_kernel_ld" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8336 if test "$GCC" = "yes"; then
8337 aros_gcc_ld
=`$CC -print-prog-name=ld`
8338 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8339 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8341 $as_echo_n "checking for $ac_word... " >&6; }
8342 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8343 $as_echo_n "(cached) " >&6
8345 case $aros_kernel_ld in
8347 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8351 for as_dir
in `dirname $aros_gcc_ld`
8354 test -z "$as_dir" && as_dir
=.
8355 for ac_exec_ext
in '' $ac_executable_extensions; do
8356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8357 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8368 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8369 if test -n "$aros_kernel_ld"; then
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8371 $as_echo "$aros_kernel_ld" >&6; }
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8374 $as_echo "no" >&6; }
8379 if test "$aros_kernel_ld" = ""; then
8380 # Extract the first word of "ld", so it can be a program name with args.
8381 set dummy ld
; ac_word
=$2
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8383 $as_echo_n "checking for $ac_word... " >&6; }
8384 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8385 $as_echo_n "(cached) " >&6
8387 case $aros_kernel_ld in
8389 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8396 test -z "$as_dir" && as_dir
=.
8397 for ac_exec_ext
in '' $ac_executable_extensions; do
8398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8399 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8410 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8411 if test -n "$aros_kernel_ld"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8413 $as_echo "$aros_kernel_ld" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8423 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8424 set dummy
$aros_kernel_ld; ac_word
=$2
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8426 $as_echo_n "checking for $ac_word... " >&6; }
8427 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8428 $as_echo_n "(cached) " >&6
8430 case $aros_kernel_ld in
8432 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8439 test -z "$as_dir" && as_dir
=.
8440 for ac_exec_ext
in '' $ac_executable_extensions; do
8441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8442 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8453 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8454 if test -n "$aros_kernel_ld"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8456 $as_echo "$aros_kernel_ld" >&6; }
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459 $as_echo "no" >&6; }
8465 if test "$aros_kernel_ld" = ""; then
8466 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8469 if test "$aros_kernel_ar" = ""; then
8470 if test "$cross_compiling" = "yes" ; then
8471 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8472 set dummy
${target_tool_prefix}ar; ac_word
=$2
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8474 $as_echo_n "checking for $ac_word... " >&6; }
8475 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8476 $as_echo_n "(cached) " >&6
8478 case $aros_kernel_ar in
8480 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8487 test -z "$as_dir" && as_dir
=.
8488 for ac_exec_ext
in '' $ac_executable_extensions; do
8489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8490 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8501 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8502 if test -n "$aros_kernel_ar"; then
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8504 $as_echo "$aros_kernel_ar" >&6; }
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8507 $as_echo "no" >&6; }
8512 if test "$GCC" = "yes"; then
8513 aros_gcc_ar
=`$CC -print-prog-name=ar`
8514 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8515 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8517 $as_echo_n "checking for $ac_word... " >&6; }
8518 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8519 $as_echo_n "(cached) " >&6
8521 case $aros_kernel_ar in
8523 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8527 for as_dir
in `dirname $aros_gcc_ar`
8530 test -z "$as_dir" && as_dir
=.
8531 for ac_exec_ext
in '' $ac_executable_extensions; do
8532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8533 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8544 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8545 if test -n "$aros_kernel_ar"; then
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8547 $as_echo "$aros_kernel_ar" >&6; }
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8550 $as_echo "no" >&6; }
8555 if test "$aros_kernel_ar" = ""; then
8556 # Extract the first word of "ar", so it can be a program name with args.
8557 set dummy
ar; ac_word
=$2
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8559 $as_echo_n "checking for $ac_word... " >&6; }
8560 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8561 $as_echo_n "(cached) " >&6
8563 case $aros_kernel_ar in
8565 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8572 test -z "$as_dir" && as_dir
=.
8573 for ac_exec_ext
in '' $ac_executable_extensions; do
8574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8575 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8586 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8587 if test -n "$aros_kernel_ar"; then
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8589 $as_echo "$aros_kernel_ar" >&6; }
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592 $as_echo "no" >&6; }
8599 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
8600 set dummy
$aros_kernel_ar; ac_word
=$2
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8602 $as_echo_n "checking for $ac_word... " >&6; }
8603 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8604 $as_echo_n "(cached) " >&6
8606 case $aros_kernel_ar in
8608 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8615 test -z "$as_dir" && as_dir
=.
8616 for ac_exec_ext
in '' $ac_executable_extensions; do
8617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8618 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8629 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8630 if test -n "$aros_kernel_ar"; then
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8632 $as_echo "$aros_kernel_ar" >&6; }
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8635 $as_echo "no" >&6; }
8641 if test "$aros_kernel_ar" = ""; then
8642 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8645 if test "$aros_kernel_ranlib" = ""; then
8646 if test "$cross_compiling" = "yes" ; then
8647 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8648 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8650 $as_echo_n "checking for $ac_word... " >&6; }
8651 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8652 $as_echo_n "(cached) " >&6
8654 case $aros_kernel_ranlib in
8656 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8663 test -z "$as_dir" && as_dir
=.
8664 for ac_exec_ext
in '' $ac_executable_extensions; do
8665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8666 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8677 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8678 if test -n "$aros_kernel_ranlib"; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8680 $as_echo "$aros_kernel_ranlib" >&6; }
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8683 $as_echo "no" >&6; }
8688 if test "$GCC" = "yes"; then
8689 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8690 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8691 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8693 $as_echo_n "checking for $ac_word... " >&6; }
8694 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8695 $as_echo_n "(cached) " >&6
8697 case $aros_kernel_ranlib in
8699 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8703 for as_dir
in `dirname $aros_gcc_ranlib`
8706 test -z "$as_dir" && as_dir
=.
8707 for ac_exec_ext
in '' $ac_executable_extensions; do
8708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8709 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8720 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8721 if test -n "$aros_kernel_ranlib"; then
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8723 $as_echo "$aros_kernel_ranlib" >&6; }
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8726 $as_echo "no" >&6; }
8731 if test "$aros_kernel_ranlib" = ""; then
8732 # Extract the first word of "ranlib", so it can be a program name with args.
8733 set dummy ranlib
; ac_word
=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8735 $as_echo_n "checking for $ac_word... " >&6; }
8736 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8737 $as_echo_n "(cached) " >&6
8739 case $aros_kernel_ranlib in
8741 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8748 test -z "$as_dir" && as_dir
=.
8749 for ac_exec_ext
in '' $ac_executable_extensions; do
8750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8751 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8762 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8763 if test -n "$aros_kernel_ranlib"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8765 $as_echo "$aros_kernel_ranlib" >&6; }
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 $as_echo "no" >&6; }
8775 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
8776 set dummy
$aros_kernel_ranlib; ac_word
=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778 $as_echo_n "checking for $ac_word... " >&6; }
8779 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8780 $as_echo_n "(cached) " >&6
8782 case $aros_kernel_ranlib in
8784 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8791 test -z "$as_dir" && as_dir
=.
8792 for ac_exec_ext
in '' $ac_executable_extensions; do
8793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8794 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8805 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8806 if test -n "$aros_kernel_ranlib"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8808 $as_echo "$aros_kernel_ranlib" >&6; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8811 $as_echo "no" >&6; }
8817 if test "$aros_kernel_ranlib" = ""; then
8818 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8821 if test "$target_tool_prefix" != "${target_cpu}-elf-" -a "$target_tool_prefix" != "${target_cpu}-aros-" ; then
8822 target_tool_prefix
=${target_cpu}-elf-
8823 if test "$aros_target_cc" == ""; then
8824 aros_target_cc
="${target_tool_prefix}gcc"
8826 if test "$aros_target_ld" == ""; then
8827 aros_target_ld
="${target_tool_prefix}ld"
8831 if test "$aros_target_as" = ""; then
8832 if test "$cross_compiling" = "yes" ; then
8833 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8834 set dummy
${target_tool_prefix}as
; ac_word
=$2
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8836 $as_echo_n "checking for $ac_word... " >&6; }
8837 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8838 $as_echo_n "(cached) " >&6
8840 case $aros_target_as_ln in
8842 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8849 test -z "$as_dir" && as_dir
=.
8850 for ac_exec_ext
in '' $ac_executable_extensions; do
8851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8852 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8863 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8864 if test -n "$aros_target_as_ln"; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8866 $as_echo "$aros_target_as_ln" >&6; }
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8869 $as_echo "no" >&6; }
8874 if test "$GCC" = "yes"; then
8875 aros_gcc_as
=`$CC -print-prog-name=as`
8876 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8877 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8879 $as_echo_n "checking for $ac_word... " >&6; }
8880 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8881 $as_echo_n "(cached) " >&6
8883 case $aros_target_as_ln in
8885 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8889 for as_dir
in `dirname $aros_gcc_as`
8892 test -z "$as_dir" && as_dir
=.
8893 for ac_exec_ext
in '' $ac_executable_extensions; do
8894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8895 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8906 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8907 if test -n "$aros_target_as_ln"; then
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8909 $as_echo "$aros_target_as_ln" >&6; }
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8912 $as_echo "no" >&6; }
8917 if test "$aros_target_as_ln" = ""; then
8918 # Extract the first word of "as", so it can be a program name with args.
8919 set dummy as
; ac_word
=$2
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8921 $as_echo_n "checking for $ac_word... " >&6; }
8922 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8923 $as_echo_n "(cached) " >&6
8925 case $aros_target_as_ln in
8927 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8934 test -z "$as_dir" && as_dir
=.
8935 for ac_exec_ext
in '' $ac_executable_extensions; do
8936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8937 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8948 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8949 if test -n "$aros_target_as_ln"; then
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8951 $as_echo "$aros_target_as_ln" >&6; }
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8954 $as_echo "no" >&6; }
8961 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8962 set dummy
$aros_target_as; ac_word
=$2
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8964 $as_echo_n "checking for $ac_word... " >&6; }
8965 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8966 $as_echo_n "(cached) " >&6
8968 case $aros_target_as_ln in
8970 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8977 test -z "$as_dir" && as_dir
=.
8978 for ac_exec_ext
in '' $ac_executable_extensions; do
8979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8980 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8991 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8992 if test -n "$aros_target_as_ln"; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8994 $as_echo "$aros_target_as_ln" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8997 $as_echo "no" >&6; }
9003 if test "$aros_target_as_ln" = ""; then
9004 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9007 if test "$aros_target_ar" = ""; then
9008 if test "$cross_compiling" = "yes" ; then
9009 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9010 set dummy
${target_tool_prefix}ar; ac_word
=$2
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9012 $as_echo_n "checking for $ac_word... " >&6; }
9013 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9014 $as_echo_n "(cached) " >&6
9016 case $aros_target_ar_ln in
9018 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9025 test -z "$as_dir" && as_dir
=.
9026 for ac_exec_ext
in '' $ac_executable_extensions; do
9027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9028 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9039 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9040 if test -n "$aros_target_ar_ln"; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9042 $as_echo "$aros_target_ar_ln" >&6; }
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9045 $as_echo "no" >&6; }
9050 if test "$GCC" = "yes"; then
9051 aros_gcc_ar
=`$CC -print-prog-name=ar`
9052 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9053 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9055 $as_echo_n "checking for $ac_word... " >&6; }
9056 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9057 $as_echo_n "(cached) " >&6
9059 case $aros_target_ar_ln in
9061 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9065 for as_dir
in `dirname $aros_gcc_ar`
9068 test -z "$as_dir" && as_dir
=.
9069 for ac_exec_ext
in '' $ac_executable_extensions; do
9070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9071 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9082 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9083 if test -n "$aros_target_ar_ln"; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9085 $as_echo "$aros_target_ar_ln" >&6; }
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9088 $as_echo "no" >&6; }
9093 if test "$aros_target_ar_ln" = ""; then
9094 # Extract the first word of "ar", so it can be a program name with args.
9095 set dummy
ar; ac_word
=$2
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9097 $as_echo_n "checking for $ac_word... " >&6; }
9098 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9099 $as_echo_n "(cached) " >&6
9101 case $aros_target_ar_ln in
9103 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9110 test -z "$as_dir" && as_dir
=.
9111 for ac_exec_ext
in '' $ac_executable_extensions; do
9112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9113 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9124 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9125 if test -n "$aros_target_ar_ln"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9127 $as_echo "$aros_target_ar_ln" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9130 $as_echo "no" >&6; }
9137 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9138 set dummy
$aros_target_ar; ac_word
=$2
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9140 $as_echo_n "checking for $ac_word... " >&6; }
9141 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9142 $as_echo_n "(cached) " >&6
9144 case $aros_target_ar_ln in
9146 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9153 test -z "$as_dir" && as_dir
=.
9154 for ac_exec_ext
in '' $ac_executable_extensions; do
9155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9156 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9167 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9168 if test -n "$aros_target_ar_ln"; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9170 $as_echo "$aros_target_ar_ln" >&6; }
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9179 if test "$aros_target_ar_ln" = ""; then
9180 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9183 if test "$aros_target_nm" = ""; then
9184 if test "$cross_compiling" = "yes" ; then
9185 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9186 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9188 $as_echo_n "checking for $ac_word... " >&6; }
9189 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9190 $as_echo_n "(cached) " >&6
9192 case $aros_target_nm_ln in
9194 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9201 test -z "$as_dir" && as_dir
=.
9202 for ac_exec_ext
in '' $ac_executable_extensions; do
9203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9204 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9215 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9216 if test -n "$aros_target_nm_ln"; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9218 $as_echo "$aros_target_nm_ln" >&6; }
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9221 $as_echo "no" >&6; }
9226 if test "$GCC" = "yes"; then
9227 aros_gcc_nm
=`$CC -print-prog-name=nm`
9228 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9229 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9231 $as_echo_n "checking for $ac_word... " >&6; }
9232 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9233 $as_echo_n "(cached) " >&6
9235 case $aros_target_nm_ln in
9237 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9241 for as_dir
in `dirname $aros_gcc_nm`
9244 test -z "$as_dir" && as_dir
=.
9245 for ac_exec_ext
in '' $ac_executable_extensions; do
9246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9247 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9258 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9259 if test -n "$aros_target_nm_ln"; then
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9261 $as_echo "$aros_target_nm_ln" >&6; }
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9264 $as_echo "no" >&6; }
9269 if test "$aros_target_nm_ln" = ""; then
9270 # Extract the first word of "nm", so it can be a program name with args.
9271 set dummy nm
; ac_word
=$2
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9273 $as_echo_n "checking for $ac_word... " >&6; }
9274 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9275 $as_echo_n "(cached) " >&6
9277 case $aros_target_nm_ln in
9279 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9286 test -z "$as_dir" && as_dir
=.
9287 for ac_exec_ext
in '' $ac_executable_extensions; do
9288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9289 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9300 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9301 if test -n "$aros_target_nm_ln"; then
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9303 $as_echo "$aros_target_nm_ln" >&6; }
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9306 $as_echo "no" >&6; }
9313 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
9314 set dummy
$aros_target_nm; ac_word
=$2
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9316 $as_echo_n "checking for $ac_word... " >&6; }
9317 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9318 $as_echo_n "(cached) " >&6
9320 case $aros_target_nm_ln in
9322 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9329 test -z "$as_dir" && as_dir
=.
9330 for ac_exec_ext
in '' $ac_executable_extensions; do
9331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9332 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9343 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9344 if test -n "$aros_target_nm_ln"; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9346 $as_echo "$aros_target_nm_ln" >&6; }
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9349 $as_echo "no" >&6; }
9355 if test "$aros_target_nm_ln" = ""; then
9356 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9359 if test "$aros_target_objcopy" = ""; then
9360 if test "$cross_compiling" = "yes" ; then
9361 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9362 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9364 $as_echo_n "checking for $ac_word... " >&6; }
9365 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9366 $as_echo_n "(cached) " >&6
9368 case $aros_target_objcopy_ln in
9370 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9377 test -z "$as_dir" && as_dir
=.
9378 for ac_exec_ext
in '' $ac_executable_extensions; do
9379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9380 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9391 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9392 if test -n "$aros_target_objcopy_ln"; then
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9394 $as_echo "$aros_target_objcopy_ln" >&6; }
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9397 $as_echo "no" >&6; }
9402 if test "$GCC" = "yes"; then
9403 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9404 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9405 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9407 $as_echo_n "checking for $ac_word... " >&6; }
9408 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9409 $as_echo_n "(cached) " >&6
9411 case $aros_target_objcopy_ln in
9413 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9417 for as_dir
in `dirname $aros_gcc_objcopy`
9420 test -z "$as_dir" && as_dir
=.
9421 for ac_exec_ext
in '' $ac_executable_extensions; do
9422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9423 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9434 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9435 if test -n "$aros_target_objcopy_ln"; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9437 $as_echo "$aros_target_objcopy_ln" >&6; }
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9440 $as_echo "no" >&6; }
9445 if test "$aros_target_objcopy_ln" = ""; then
9446 # Extract the first word of "objcopy", so it can be a program name with args.
9447 set dummy objcopy
; ac_word
=$2
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9449 $as_echo_n "checking for $ac_word... " >&6; }
9450 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9451 $as_echo_n "(cached) " >&6
9453 case $aros_target_objcopy_ln in
9455 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9462 test -z "$as_dir" && as_dir
=.
9463 for ac_exec_ext
in '' $ac_executable_extensions; do
9464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9465 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9476 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9477 if test -n "$aros_target_objcopy_ln"; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9479 $as_echo "$aros_target_objcopy_ln" >&6; }
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9482 $as_echo "no" >&6; }
9489 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
9490 set dummy
$aros_target_objcopy; ac_word
=$2
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9492 $as_echo_n "checking for $ac_word... " >&6; }
9493 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9494 $as_echo_n "(cached) " >&6
9496 case $aros_target_objcopy_ln in
9498 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9505 test -z "$as_dir" && as_dir
=.
9506 for ac_exec_ext
in '' $ac_executable_extensions; do
9507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9508 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9519 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9520 if test -n "$aros_target_objcopy_ln"; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9522 $as_echo "$aros_target_objcopy_ln" >&6; }
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9525 $as_echo "no" >&6; }
9531 if test "$aros_target_objcopy_ln" = ""; then
9532 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9535 if test "$aros_target_objdump" = ""; then
9536 if test "$cross_compiling" = "yes" ; then
9537 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9538 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9540 $as_echo_n "checking for $ac_word... " >&6; }
9541 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9542 $as_echo_n "(cached) " >&6
9544 case $aros_target_objdump_ln in
9546 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9553 test -z "$as_dir" && as_dir
=.
9554 for ac_exec_ext
in '' $ac_executable_extensions; do
9555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9556 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9567 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9568 if test -n "$aros_target_objdump_ln"; then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9570 $as_echo "$aros_target_objdump_ln" >&6; }
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9573 $as_echo "no" >&6; }
9578 if test "$GCC" = "yes"; then
9579 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9580 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9581 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9583 $as_echo_n "checking for $ac_word... " >&6; }
9584 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9585 $as_echo_n "(cached) " >&6
9587 case $aros_target_objdump_ln in
9589 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9593 for as_dir
in `dirname $aros_gcc_objdump`
9596 test -z "$as_dir" && as_dir
=.
9597 for ac_exec_ext
in '' $ac_executable_extensions; do
9598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9599 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9610 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9611 if test -n "$aros_target_objdump_ln"; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9613 $as_echo "$aros_target_objdump_ln" >&6; }
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9616 $as_echo "no" >&6; }
9621 if test "$aros_target_objdump_ln" = ""; then
9622 # Extract the first word of "objdump", so it can be a program name with args.
9623 set dummy objdump
; ac_word
=$2
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9625 $as_echo_n "checking for $ac_word... " >&6; }
9626 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9627 $as_echo_n "(cached) " >&6
9629 case $aros_target_objdump_ln in
9631 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9638 test -z "$as_dir" && as_dir
=.
9639 for ac_exec_ext
in '' $ac_executable_extensions; do
9640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9641 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9652 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9653 if test -n "$aros_target_objdump_ln"; then
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9655 $as_echo "$aros_target_objdump_ln" >&6; }
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9658 $as_echo "no" >&6; }
9665 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9666 set dummy
$aros_target_objdump; ac_word
=$2
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9668 $as_echo_n "checking for $ac_word... " >&6; }
9669 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9670 $as_echo_n "(cached) " >&6
9672 case $aros_target_objdump_ln in
9674 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9681 test -z "$as_dir" && as_dir
=.
9682 for ac_exec_ext
in '' $ac_executable_extensions; do
9683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9684 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9695 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9696 if test -n "$aros_target_objdump_ln"; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9698 $as_echo "$aros_target_objdump_ln" >&6; }
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9701 $as_echo "no" >&6; }
9707 if test "$aros_target_objdump_ln" = ""; then
9708 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9711 if test "$aros_target_ranlib" = ""; then
9712 if test "$cross_compiling" = "yes" ; then
9713 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9714 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9716 $as_echo_n "checking for $ac_word... " >&6; }
9717 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9718 $as_echo_n "(cached) " >&6
9720 case $aros_target_ranlib_ln in
9722 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9729 test -z "$as_dir" && as_dir
=.
9730 for ac_exec_ext
in '' $ac_executable_extensions; do
9731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9732 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9743 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9744 if test -n "$aros_target_ranlib_ln"; then
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9746 $as_echo "$aros_target_ranlib_ln" >&6; }
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9749 $as_echo "no" >&6; }
9754 if test "$GCC" = "yes"; then
9755 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9756 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9757 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9759 $as_echo_n "checking for $ac_word... " >&6; }
9760 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9761 $as_echo_n "(cached) " >&6
9763 case $aros_target_ranlib_ln in
9765 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9769 for as_dir
in `dirname $aros_gcc_ranlib`
9772 test -z "$as_dir" && as_dir
=.
9773 for ac_exec_ext
in '' $ac_executable_extensions; do
9774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9775 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9786 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9787 if test -n "$aros_target_ranlib_ln"; then
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9789 $as_echo "$aros_target_ranlib_ln" >&6; }
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9792 $as_echo "no" >&6; }
9797 if test "$aros_target_ranlib_ln" = ""; then
9798 # Extract the first word of "ranlib", so it can be a program name with args.
9799 set dummy ranlib
; ac_word
=$2
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9801 $as_echo_n "checking for $ac_word... " >&6; }
9802 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9803 $as_echo_n "(cached) " >&6
9805 case $aros_target_ranlib_ln in
9807 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9814 test -z "$as_dir" && as_dir
=.
9815 for ac_exec_ext
in '' $ac_executable_extensions; do
9816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9817 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9828 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9829 if test -n "$aros_target_ranlib_ln"; then
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9831 $as_echo "$aros_target_ranlib_ln" >&6; }
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9834 $as_echo "no" >&6; }
9841 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9842 set dummy
$aros_target_ranlib; ac_word
=$2
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9844 $as_echo_n "checking for $ac_word... " >&6; }
9845 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9846 $as_echo_n "(cached) " >&6
9848 case $aros_target_ranlib_ln in
9850 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9857 test -z "$as_dir" && as_dir
=.
9858 for ac_exec_ext
in '' $ac_executable_extensions; do
9859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9860 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9871 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9872 if test -n "$aros_target_ranlib_ln"; then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9874 $as_echo "$aros_target_ranlib_ln" >&6; }
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9877 $as_echo "no" >&6; }
9883 if test "$aros_target_ranlib_ln" = ""; then
9884 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9887 if test "$aros_target_strip" = ""; then
9888 if test "$cross_compiling" = "yes" ; then
9889 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9890 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9892 $as_echo_n "checking for $ac_word... " >&6; }
9893 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9894 $as_echo_n "(cached) " >&6
9896 case $aros_target_strip_ln in
9898 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9905 test -z "$as_dir" && as_dir
=.
9906 for ac_exec_ext
in '' $ac_executable_extensions; do
9907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9908 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9919 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9920 if test -n "$aros_target_strip_ln"; then
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9922 $as_echo "$aros_target_strip_ln" >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9925 $as_echo "no" >&6; }
9930 if test "$GCC" = "yes"; then
9931 aros_gcc_strip
=`$CC -print-prog-name=strip`
9932 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9933 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9935 $as_echo_n "checking for $ac_word... " >&6; }
9936 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9937 $as_echo_n "(cached) " >&6
9939 case $aros_target_strip_ln in
9941 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9945 for as_dir
in `dirname $aros_gcc_strip`
9948 test -z "$as_dir" && as_dir
=.
9949 for ac_exec_ext
in '' $ac_executable_extensions; do
9950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9951 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9962 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9963 if test -n "$aros_target_strip_ln"; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9965 $as_echo "$aros_target_strip_ln" >&6; }
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9968 $as_echo "no" >&6; }
9973 if test "$aros_target_strip_ln" = ""; then
9974 # Extract the first word of "strip", so it can be a program name with args.
9975 set dummy strip
; ac_word
=$2
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9977 $as_echo_n "checking for $ac_word... " >&6; }
9978 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9979 $as_echo_n "(cached) " >&6
9981 case $aros_target_strip_ln in
9983 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9990 test -z "$as_dir" && as_dir
=.
9991 for ac_exec_ext
in '' $ac_executable_extensions; do
9992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9993 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10004 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10005 if test -n "$aros_target_strip_ln"; then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10007 $as_echo "$aros_target_strip_ln" >&6; }
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10010 $as_echo "no" >&6; }
10017 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10018 set dummy
$aros_target_strip; ac_word
=$2
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10020 $as_echo_n "checking for $ac_word... " >&6; }
10021 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
10022 $as_echo_n "(cached) " >&6
10024 case $aros_target_strip_ln in
10026 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10030 for as_dir
in $PATH
10033 test -z "$as_dir" && as_dir
=.
10034 for ac_exec_ext
in '' $ac_executable_extensions; do
10035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10036 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10047 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10048 if test -n "$aros_target_strip_ln"; then
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10050 $as_echo "$aros_target_strip_ln" >&6; }
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10053 $as_echo "no" >&6; }
10059 if test "$aros_target_strip_ln" = ""; then
10060 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10062 if test "$aros_target_cxx" != ""; then
10063 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
10064 set dummy
$aros_target_cxx; ac_word
=$2
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10066 $as_echo_n "checking for $ac_word... " >&6; }
10067 if ${ac_cv_path_aros_target_cxx+:} false
; then :
10068 $as_echo_n "(cached) " >&6
10070 case $aros_target_cxx in
10072 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
10075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10076 for as_dir
in $PATH
10079 test -z "$as_dir" && as_dir
=.
10080 for ac_exec_ext
in '' $ac_executable_extensions; do
10081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10082 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10093 aros_target_cxx
=$ac_cv_path_aros_target_cxx
10094 if test -n "$aros_target_cxx"; then
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
10096 $as_echo "$aros_target_cxx" >&6; }
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10099 $as_echo "no" >&6; }
10103 if test "$aros_target_cxx" = ""; then
10104 as_fn_error $?
"c++ is required to build AROS. Please install and run configure again." "$LINENO" 5
10108 aros_target_cc
=$AROS_CROSSTOOLSDIR/$aros_target_cc
10109 aros_target_cxx
=$AROS_CROSSTOOLSDIR/$aros_target_cxx
10110 aros_target_as_ln
=$AROS_CROSSTOOLSDIR/$aros_target_as
10111 aros_target_ar_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10112 aros_target_nm_ln
=$AROS_CROSSTOOLSDIR/$aros_target_nm
10113 aros_target_objcopy_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objcopy
10114 aros_target_objdump_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objdump
10115 aros_target_ranlib_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10116 aros_target_strip_ln
=$AROS_CROSSTOOLSDIR/$aros_target_strip
10118 if test "$target_tool_prefix" != "${target_cpu}-aros-" ; then
10120 if test "$aros_kernel_ld" = ""; then
10121 if test "$cross_compiling" = "yes" ; then
10122 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
10123 set dummy
${target_tool_prefix}ld
; ac_word
=$2
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10125 $as_echo_n "checking for $ac_word... " >&6; }
10126 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10127 $as_echo_n "(cached) " >&6
10129 case $aros_kernel_ld in
10131 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10135 for as_dir
in $PATH
10138 test -z "$as_dir" && as_dir
=.
10139 for ac_exec_ext
in '' $ac_executable_extensions; do
10140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10141 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10152 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10153 if test -n "$aros_kernel_ld"; then
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10155 $as_echo "$aros_kernel_ld" >&6; }
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10158 $as_echo "no" >&6; }
10163 if test "$GCC" = "yes"; then
10164 aros_gcc_ld
=`$CC -print-prog-name=ld`
10165 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10166 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10168 $as_echo_n "checking for $ac_word... " >&6; }
10169 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10170 $as_echo_n "(cached) " >&6
10172 case $aros_kernel_ld in
10174 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10178 for as_dir
in `dirname $aros_gcc_ld`
10181 test -z "$as_dir" && as_dir
=.
10182 for ac_exec_ext
in '' $ac_executable_extensions; do
10183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10184 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10195 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10196 if test -n "$aros_kernel_ld"; then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10198 $as_echo "$aros_kernel_ld" >&6; }
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10201 $as_echo "no" >&6; }
10206 if test "$aros_kernel_ld" = ""; then
10207 # Extract the first word of "ld", so it can be a program name with args.
10208 set dummy ld
; ac_word
=$2
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10210 $as_echo_n "checking for $ac_word... " >&6; }
10211 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10212 $as_echo_n "(cached) " >&6
10214 case $aros_kernel_ld in
10216 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10220 for as_dir
in $PATH
10223 test -z "$as_dir" && as_dir
=.
10224 for ac_exec_ext
in '' $ac_executable_extensions; do
10225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10226 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10237 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10238 if test -n "$aros_kernel_ld"; then
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10240 $as_echo "$aros_kernel_ld" >&6; }
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10243 $as_echo "no" >&6; }
10250 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10251 set dummy
$aros_kernel_ld; ac_word
=$2
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10253 $as_echo_n "checking for $ac_word... " >&6; }
10254 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10255 $as_echo_n "(cached) " >&6
10257 case $aros_kernel_ld in
10259 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10263 for as_dir
in $PATH
10266 test -z "$as_dir" && as_dir
=.
10267 for ac_exec_ext
in '' $ac_executable_extensions; do
10268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10269 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10280 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10281 if test -n "$aros_kernel_ld"; then
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10283 $as_echo "$aros_kernel_ld" >&6; }
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10286 $as_echo "no" >&6; }
10292 if test "$aros_kernel_ld" = ""; then
10293 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10296 if test "$aros_kernel_ar" = ""; then
10297 if test "$cross_compiling" = "yes" ; then
10298 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
10299 set dummy
${target_tool_prefix}ar; ac_word
=$2
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10301 $as_echo_n "checking for $ac_word... " >&6; }
10302 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10303 $as_echo_n "(cached) " >&6
10305 case $aros_kernel_ar in
10307 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10311 for as_dir
in $PATH
10314 test -z "$as_dir" && as_dir
=.
10315 for ac_exec_ext
in '' $ac_executable_extensions; do
10316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10317 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10328 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10329 if test -n "$aros_kernel_ar"; then
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10331 $as_echo "$aros_kernel_ar" >&6; }
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10334 $as_echo "no" >&6; }
10339 if test "$GCC" = "yes"; then
10340 aros_gcc_ar
=`$CC -print-prog-name=ar`
10341 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10342 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10344 $as_echo_n "checking for $ac_word... " >&6; }
10345 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10346 $as_echo_n "(cached) " >&6
10348 case $aros_kernel_ar in
10350 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10354 for as_dir
in `dirname $aros_gcc_ar`
10357 test -z "$as_dir" && as_dir
=.
10358 for ac_exec_ext
in '' $ac_executable_extensions; do
10359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10360 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10371 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10372 if test -n "$aros_kernel_ar"; then
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10374 $as_echo "$aros_kernel_ar" >&6; }
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10377 $as_echo "no" >&6; }
10382 if test "$aros_kernel_ar" = ""; then
10383 # Extract the first word of "ar", so it can be a program name with args.
10384 set dummy
ar; ac_word
=$2
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10386 $as_echo_n "checking for $ac_word... " >&6; }
10387 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10388 $as_echo_n "(cached) " >&6
10390 case $aros_kernel_ar in
10392 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10396 for as_dir
in $PATH
10399 test -z "$as_dir" && as_dir
=.
10400 for ac_exec_ext
in '' $ac_executable_extensions; do
10401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10402 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10413 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10414 if test -n "$aros_kernel_ar"; then
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10416 $as_echo "$aros_kernel_ar" >&6; }
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10419 $as_echo "no" >&6; }
10426 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10427 set dummy
$aros_kernel_ar; ac_word
=$2
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10429 $as_echo_n "checking for $ac_word... " >&6; }
10430 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10431 $as_echo_n "(cached) " >&6
10433 case $aros_kernel_ar in
10435 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10439 for as_dir
in $PATH
10442 test -z "$as_dir" && as_dir
=.
10443 for ac_exec_ext
in '' $ac_executable_extensions; do
10444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10445 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10456 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10457 if test -n "$aros_kernel_ar"; then
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10459 $as_echo "$aros_kernel_ar" >&6; }
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10462 $as_echo "no" >&6; }
10468 if test "$aros_kernel_ar" = ""; then
10469 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10472 if test "$aros_kernel_ranlib" = ""; then
10473 if test "$cross_compiling" = "yes" ; then
10474 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10475 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10477 $as_echo_n "checking for $ac_word... " >&6; }
10478 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10479 $as_echo_n "(cached) " >&6
10481 case $aros_kernel_ranlib in
10483 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10487 for as_dir
in $PATH
10490 test -z "$as_dir" && as_dir
=.
10491 for ac_exec_ext
in '' $ac_executable_extensions; do
10492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10493 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10504 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10505 if test -n "$aros_kernel_ranlib"; then
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10507 $as_echo "$aros_kernel_ranlib" >&6; }
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10510 $as_echo "no" >&6; }
10515 if test "$GCC" = "yes"; then
10516 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10517 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10518 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10520 $as_echo_n "checking for $ac_word... " >&6; }
10521 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10522 $as_echo_n "(cached) " >&6
10524 case $aros_kernel_ranlib in
10526 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10530 for as_dir
in `dirname $aros_gcc_ranlib`
10533 test -z "$as_dir" && as_dir
=.
10534 for ac_exec_ext
in '' $ac_executable_extensions; do
10535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10536 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10547 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10548 if test -n "$aros_kernel_ranlib"; then
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10550 $as_echo "$aros_kernel_ranlib" >&6; }
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10553 $as_echo "no" >&6; }
10558 if test "$aros_kernel_ranlib" = ""; then
10559 # Extract the first word of "ranlib", so it can be a program name with args.
10560 set dummy ranlib
; ac_word
=$2
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10562 $as_echo_n "checking for $ac_word... " >&6; }
10563 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10564 $as_echo_n "(cached) " >&6
10566 case $aros_kernel_ranlib in
10568 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10572 for as_dir
in $PATH
10575 test -z "$as_dir" && as_dir
=.
10576 for ac_exec_ext
in '' $ac_executable_extensions; do
10577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10578 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10589 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10590 if test -n "$aros_kernel_ranlib"; then
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10592 $as_echo "$aros_kernel_ranlib" >&6; }
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10595 $as_echo "no" >&6; }
10602 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10603 set dummy
$aros_kernel_ranlib; ac_word
=$2
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10605 $as_echo_n "checking for $ac_word... " >&6; }
10606 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10607 $as_echo_n "(cached) " >&6
10609 case $aros_kernel_ranlib in
10611 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10615 for as_dir
in $PATH
10618 test -z "$as_dir" && as_dir
=.
10619 for ac_exec_ext
in '' $ac_executable_extensions; do
10620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10621 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10632 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10633 if test -n "$aros_kernel_ranlib"; then
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10635 $as_echo "$aros_kernel_ranlib" >&6; }
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10638 $as_echo "no" >&6; }
10644 if test "$aros_kernel_ranlib" = ""; then
10645 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10648 aros_kernel_ar
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10649 aros_kernel_ld
=$AROS_CROSSTOOLSDIR/$aros_target_ld
10650 aros_kernel_ranlib
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10653 crosstools_target
=tools-crosstools
10656 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
10658 orig_target_cc
=$aros_kernel_cc
10659 orig_target_ld
=$aros_kernel_ld
10661 if test "$crosstools" != "yes"; then
10662 if test "$aros_target_cc" != ""; then
10663 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
10664 set dummy
$aros_target_cc; ac_word
=$2
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10666 $as_echo_n "checking for $ac_word... " >&6; }
10667 if ${ac_cv_path_aros_target_cc+:} false
; then :
10668 $as_echo_n "(cached) " >&6
10670 case $aros_target_cc in
10672 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
10675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10676 for as_dir
in $PATH
10679 test -z "$as_dir" && as_dir
=.
10680 for ac_exec_ext
in '' $ac_executable_extensions; do
10681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10682 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10693 aros_target_cc
=$ac_cv_path_aros_target_cc
10694 if test -n "$aros_target_cc"; then
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
10696 $as_echo "$aros_target_cc" >&6; }
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10699 $as_echo "no" >&6; }
10703 if test "$aros_target_cc" = ""; then
10704 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
10706 orig_target_cc
=$aros_target_cc
10708 if test "$aros_target_ld" != ""; then
10709 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
10710 set dummy
$aros_target_ld; ac_word
=$2
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10712 $as_echo_n "checking for $ac_word... " >&6; }
10713 if ${ac_cv_path_aros_target_ld+:} false
; then :
10714 $as_echo_n "(cached) " >&6
10716 case $aros_target_ld in
10718 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
10721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10722 for as_dir
in $PATH
10725 test -z "$as_dir" && as_dir
=.
10726 for ac_exec_ext
in '' $ac_executable_extensions; do
10727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10728 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
10729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10739 aros_target_ld
=$ac_cv_path_aros_target_ld
10740 if test -n "$aros_target_ld"; then
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
10742 $as_echo "$aros_target_ld" >&6; }
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10745 $as_echo "no" >&6; }
10749 if test "$aros_target_ld" = ""; then
10750 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10752 orig_target_ld
=$aros_target_ld
10755 orig_target_cc
=$aros_target_cc
10756 orig_target_ld
=$aros_target_ld
10759 # Build crosstools if we have no C++ - temporary thing
10760 if test "$aros_target_cxx" = "" -a "$crosstools" != "yes"; then
10761 crosstools_cxx_target
=tools-crosstools
10764 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10765 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10766 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10767 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10768 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10769 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10770 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10772 # aros_cc_pre is a variable that is added to the front of the compiler name
10773 # in the generated aros-gcc shell script. We need this to enable the cache
10774 # to work across cleaned builds. Also, support DISTCC using the correct
10775 # environment variable.
10778 if test "x${DISTCC}" != "x" ; then
10779 if test "x${CCACHE}" != "x" ; then
10780 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10782 aros_cc_pre
="${DISTCC} "
10785 if test "x${CCACHE}" != "x" ; then
10786 aros_cc_pre
="${CCACHE} "
10790 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10792 aros_target_nostdinc_cflags
=-nostdinc
10794 aros_target_nostartup_ldflags
=-nostartfiles
10796 aros_target_nix_ldflags
=-nix
10798 aros_target_detach_ldflags
=-detach
10800 aros_target_nostdlib_ldflags
=-nostdlib
10804 if test "$crosstools" != "yes"; then
10805 if test "$GCC" = "yes"; then
10806 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10809 # We do not know which gcc version we are going to build and what we need to know
10810 # here is different for different versions so this will be set later during the
10811 # build of crosstools.
10812 aros_target_cc_path
=@aros_target_cc_path@
10814 aros_target_cc
="${prefix}-gcc"
10815 aros_target_as
="${prefix}-as"
10816 aros_target_ld
="${prefix}-ld"
10817 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10818 aros_target_objcopy
=${prefix}-objcopy
10819 aros_target_objdump
=${prefix}-objdump
10820 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10821 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10822 aros_target_strip
=${prefix}-strip
10823 aros_plain_nm
="${prefix}-nm"
10824 aros_plain_ar
="${prefix}-ar"
10826 # Find the system include path. We can suggest that an alternative is
10827 # used if we don't get it correct. The default is to use /usr/include.
10828 # Which is set in the aros_target_incl_def variable.
10830 # Check whether --enable-includes was given.
10831 if test "${enable_includes+set}" = set; then :
10832 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10834 aros_target_incl
=$aros_target_incl_def
10838 if test "$aros_kernel_includes" = ""; then
10839 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10840 # FIXME: for cross-compiling this should point to another location
10841 aros_kernel_includes
="-isystem $aros_target_incl"
10845 if test "$aros_kernel_includes" != "" ; then
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
10847 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
10848 if test "$aros_kernel_cc_includes" = "" ; then
10849 # Try to guess where the directory is.
10850 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
10851 if test -d $aros_kernel_cc_includes; then
10852 # Check if there is also an include-fixed directory and add it
10853 # to kernel compiler's include path as it may contain some of
10854 # the headers we need.
10855 if test -d "$aros_kernel_cc_includes"-fixed; then
10856 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
10859 # The directory doesn't exist, we need to do some more work.
10860 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
10862 # These are the headers we're looking for.
10863 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10864 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10867 if test ! -f $aros_target_incl/stdint.h
; then
10868 headers
="$headers stdint.h"
10872 for h
in $headers; do
10873 # Which other headers are needed by each of the above?
10874 deps
=$
(echo "#include <$h>" | \
10875 $aros_kernel_cc -E -M - 2>/dev
/null | \
10876 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10878 # Copy all the needed headers to a directory beneath gendir.
10881 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
10882 sed -n "s,^.*/include\(/.*\),\1,p")
10883 ! test -d $dir && mkdir
-p $dir
10884 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
10890 $as_echo "$aros_kernel_cc_includes" >&6; }
10891 # Adding -nostdinc to kernel includes as they are always used together.
10892 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
10895 if test "$crosstools" != "yes"; then
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
10897 $as_echo_n "checking for the target compiler's include path... " >&6; }
10898 if test "$aros_target_cc_includes" = "" ; then
10899 #try to guess where the directory is
10900 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10901 if ! test -d $aros_target_cc_includes; then
10902 #the directory doesn't exist, we need to do some more work
10903 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10905 #these are the headers we're looking for
10906 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10907 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10911 for h
in $headers; do
10912 #which other headers each of the above headers needs?
10913 deps
=$
(echo "#include <$h>" | \
10914 $orig_target_cc -E -M - 2>/dev
/null | \
10915 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10917 #copy all the needed headers to a directory beneath gendir
10920 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10921 sed -n "s,^.*/include\(/.*\),\1,p")
10922 ! test -d $dir && mkdir
-p $dir
10923 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
10929 $as_echo "$aros_target_cc_includes" >&6; }
10931 # We do not know which gcc version we are going to build and what we need to know
10932 # here is different for different versions so this will be set later during the
10933 # build of crosstools.
10934 aros_target_cc_includes
=@aros_target_cc_includes@
10938 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10939 # On GCC >= 4.0 -iquote should be used
10943 save_cflags
="$CFLAGS"
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10946 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10947 if test "x-$crosstools" != "x-yes"; then
10948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10959 if ac_fn_c_try_compile
"$LINENO"; then :
10964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10966 # we do know it is supported for the smallest version of gcc we are going to build
10967 # we assume it's also supported by later versions
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10971 $as_echo "$has_iquote" >&6; }
10972 if test "x-$has_iquote" = "x-yes" ; then
10973 host_cflags_iquote
=-iquote
10974 host_cflags_iquote_end
=
10976 host_cflags_iquote
=-I
10977 host_cflags_iquote_end
=-I-
10979 kernel_cflags_iquote
=$host_cflags_iquote
10980 kernel_cflags_iquote_end
=$host_cflags_iquote_end
10981 if test "x-$cross_compiling" = "x-yes"; then
10982 CC
="$aros_kernel_cc"
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
10984 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
10985 if test "x-$crosstools" != "x-yes"; then
10986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10997 if ac_fn_c_try_compile
"$LINENO"; then :
10998 use_no_stack_protector
="yes"
11000 use_no_stack_protector
="no"
11002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11004 # we do know it is supported for the smallest version of gcc we are going to build
11005 # we assume it's also supported by later versions
11006 use_no_stack_protector
=yes
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
11009 $as_echo "$use_no_stack_protector" >&6; }
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11011 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11012 if test "x-$crosstools" != "x-yes"; then
11013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11024 if ac_fn_c_try_compile
"$LINENO"; then :
11029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11031 # we do know it is supported for the smallest version of gcc we are going to build
11032 # we assume it's also supported by later versions
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11036 $as_echo "$has_iquote" >&6; }
11037 if test "x-$has_iquote" = "x-yes" ; then
11038 kernel_cflags_iquote
=-iquote
11039 kernel_cflags_iquote_end
=
11041 kernel_cflags_iquote
=-I
11042 kernel_cflags_iquote_end
=-I-
11045 aros_cflags_iquote
=$kernel_cflags_iquote
11046 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11047 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11048 CC
="$orig_target_cc"
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11050 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11051 if test "x-$crosstools" != "x-yes"; then
11052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11063 if ac_fn_c_try_compile
"$LINENO"; then :
11068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11070 # we do know it is supported for the smallest version of gcc we are going to build
11071 # we assume it's also supported by later versions
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11075 $as_echo "$has_iquote" >&6; }
11076 if test "x-$has_iquote" = "x-yes" ; then
11077 aros_cflags_iquote
=-iquote
11078 aros_cflags_iquote_end
=
11080 aros_cflags_iquote
=-I
11081 aros_cflags_iquote_end
=-I-
11084 if test "x-$use_no_stack_protector" = "x-yes" ; then
11085 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
11088 #-----------------------------------------------------------------------------
11090 # Check if we can explicitly choose older version of symbol hashing
11092 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
11093 CC
="$aros_kernel_cc"
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11095 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
11096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11107 if ac_fn_c_try_link
"$LINENO"; then :
11108 use_hash_style
="yes"
11110 use_hash_style
="no"
11112 rm -f core conftest.err conftest.
$ac_objext \
11113 conftest
$ac_exeext conftest.
$ac_ext
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
11115 $as_echo "$use_hash_style" >&6; }
11116 if test "x-$use_hash_style" = "x-yes" ; then
11117 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11120 CFLAGS
="$save_cflags"
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
11131 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11133 # Check whether --with-resolution was given.
11134 if test "${with_resolution+set}" = set; then :
11135 withval
=$with_resolution; resolution
=$withval
11140 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11141 if test "$resolution" = "yes" ; then
11144 if test "$resolution" = "no" ; then
11147 if test "$resolution" != "none" ; then
11148 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11149 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11150 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11153 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11154 aros_cv_default_wbwidth
=$aros_default_wbwidth
11155 aros_cv_default_wbheight
=$aros_default_wbheight
11156 aros_cv_default_wbdepth
=$aros_default_wbdepth
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
11159 $as_echo_n "checking if serial debug is enabled... " >&6; }
11161 # Check whether --with-serial-debug was given.
11162 if test "${with_serial_debug+set}" = set; then :
11163 withval
=$with_serial_debug; serial_debug
=$withval
11168 if test "$aros_serial_debug" = 0 ; then
11169 serial_debug_forced
=""
11170 if test "$serial_debug" = "yes" ; then
11173 if test "$serial_debug" = "no" ; then
11174 serial_debug
="none"
11177 serial_debug_forced
="(forced)"
11178 serial_debug
=$aros_serial_debug
11180 if test "$serial_debug" != "none" ; then
11181 aros_serial_debug
=$serial_debug
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
11183 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11186 $as_echo "no" >&6; }
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
11190 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11191 # Check whether --enable-palm_debug_hack was given.
11192 if test "${enable_palm_debug_hack+set}" = set; then :
11193 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11195 palm_debug_hack
="no"
11198 if test "$palm_debug_hack" = "yes" ; then
11199 aros_palm_debug_hack
="1"
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
11202 $as_echo "$palm_debug_hack" >&6; }
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
11205 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
11206 # Check whether --enable-usb30_code was given.
11207 if test "${enable_usb30_code+set}" = set; then :
11208 enableval
=$enable_usb30_code; usb30_code
="yes"
11213 if test "$usb30_code" = "yes" ; then
11214 aros_usb30_code
="1"
11216 aros_usb30_code
="0"
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
11219 $as_echo "$usb30_code" >&6; }
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
11222 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11223 # Check whether --enable-nesting_supervisor was given.
11224 if test "${enable_nesting_supervisor+set}" = set; then :
11225 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11227 nesting_supervisor
="no"
11230 if test "$nesting_supervisor" = "yes" ; then
11231 aros_nesting_supervisor
="1"
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
11234 $as_echo "$nesting_supervisor" >&6; }
11236 if test "$aros_enable_mmu" = "" ; then
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
11238 $as_echo_n "checking if MMU support is enabled... " >&6; }
11239 # Check whether --enable-mmu was given.
11240 if test "${enable_mmu+set}" = set; then :
11241 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
11243 aros_enable_mmu
="yes"
11246 if test "$aros_enable_mmu" = "" ; then
11247 aros_enable_mmu
="yes"
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
11250 $as_echo "$aros_enable_mmu" >&6; }
11252 if test "$aros_enable_mmu" = "no" ; then
11253 aros_enable_mmu
="0"
11255 aros_enable_mmu
="1"
11259 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11261 if test "x-$need_dlopen" != "x-no" ; then
11262 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11263 if test "x$ac_cv_func_dlopen" = xyes
; then :
11269 if test "x-$have_dl" = "x-no" ; then
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11271 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11272 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11273 $as_echo_n "(cached) " >&6
11275 ac_check_lib_save_LIBS
=$LIBS
11277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11295 if ac_fn_c_try_link
"$LINENO"; then :
11296 ac_cv_lib_dl_dlopen
=yes
11298 ac_cv_lib_dl_dlopen
=no
11300 rm -f core conftest.err conftest.
$ac_objext \
11301 conftest
$ac_exeext conftest.
$ac_ext
11302 LIBS
=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11305 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11306 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11308 aros_host_ldflags
="$aros_host_ldflags -ldl"
11314 if test "x-$have_dl" = "x-no" ; then
11315 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
11320 # Check whether --enable-x11_hidd was given.
11321 if test "${enable_x11_hidd+set}" = set; then :
11322 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11324 x11_hidd
="$need_x11"
11327 case "x-$x11_hidd" in
11328 x-yes|x-no|x-auto
) ;;
11329 *) x11_hidd
="$need_x11" ;;
11334 if test "x-$x11_hidd" != "x-no" ; then
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11337 $as_echo_n "checking for X... " >&6; }
11340 # Check whether --with-x was given.
11341 if test "${with_x+set}" = set; then :
11345 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11346 if test "x$with_x" = xno
; then
11347 # The user explicitly disabled X.
11350 case $x_includes,$x_libraries in #(
11351 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
11352 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
11353 $as_echo_n "(cached) " >&6
11355 # One or both of the vars are not set, and there is no cached value.
11356 ac_x_includes
=no ac_x_libraries
=no
11357 rm -f -r conftest.dir
11358 if mkdir conftest.dir
; then
11360 cat >Imakefile
<<'_ACEOF'
11362 @echo incroot='${INCROOT}'
11364 @echo usrlibdir='${USRLIBDIR}'
11366 @echo libdir='${LIBDIR}'
11368 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11369 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11370 for ac_var
in incroot usrlibdir libdir
; do
11371 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11373 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11374 for ac_extension
in a so sl dylib la dll
; do
11375 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11376 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11377 ac_im_usrlibdir
=$ac_im_libdir; break
11380 # Screen out bogus values from the imake configuration. They are
11381 # bogus both because they are the default anyway, and because
11382 # using them would break gcc on systems where it needs fixed includes.
11383 case $ac_im_incroot in
11384 /usr
/include
) ac_x_includes
= ;;
11385 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11387 case $ac_im_usrlibdir in
11388 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
11389 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11393 rm -f -r conftest.dir
11396 # Standard set of common directories for X headers.
11397 # Check X11 before X11Rn because it is often a symlink to the current release.
11411 /usr/local/X11/include
11412 /usr/local/X11R7/include
11413 /usr/local/X11R6/include
11414 /usr/local/X11R5/include
11415 /usr/local/X11R4/include
11417 /usr/local/include/X11
11418 /usr/local/include/X11R7
11419 /usr/local/include/X11R6
11420 /usr/local/include/X11R5
11421 /usr/local/include/X11R4
11425 /usr/XFree86/include/X11
11429 /usr/unsupported/include
11430 /usr/athena/include
11431 /usr/local/x11r5/include
11432 /usr/lpp/Xamples/include
11434 /usr/openwin/include
11435 /usr/openwin/share/include'
11437 if test "$ac_x_includes" = no
; then
11438 # Guess where to find include files, by looking for Xlib.h.
11439 # First, try using that file with no special directory specified.
11440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11442 #include <X11/Xlib.h>
11444 if ac_fn_c_try_cpp
"$LINENO"; then :
11445 # We can compile using X headers with no special include directory.
11448 for ac_dir
in $ac_x_header_dirs; do
11449 if test -r "$ac_dir/X11/Xlib.h"; then
11450 ac_x_includes
=$ac_dir
11455 rm -f conftest.err conftest.i conftest.
$ac_ext
11456 fi # $ac_x_includes = no
11458 if test "$ac_x_libraries" = no
; then
11459 # Check for the libraries.
11460 # See if we find them without any special options.
11461 # Don't add to $LIBS permanently.
11464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11466 #include <X11/Xlib.h>
11475 if ac_fn_c_try_link
"$LINENO"; then :
11477 # We can link X programs with no special library path.
11481 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11483 # Don't even attempt the hair of trying to link an X program!
11484 for ac_extension
in a so sl dylib la dll
; do
11485 if test -r "$ac_dir/libX11.$ac_extension"; then
11486 ac_x_libraries
=$ac_dir
11492 rm -f core conftest.err conftest.
$ac_objext \
11493 conftest
$ac_exeext conftest.
$ac_ext
11494 fi # $ac_x_libraries = no
11496 case $ac_x_includes,$ac_x_libraries in #(
11497 no
,* |
*,no |
*\'*)
11498 # Didn't find X, or a directory has "'" in its name.
11499 ac_cv_have_x
="have_x=no";; #(
11501 # Record where we found X for the cache.
11502 ac_cv_have_x
="have_x=yes\
11503 ac_x_includes='$ac_x_includes'\
11504 ac_x_libraries='$ac_x_libraries'"
11510 eval "$ac_cv_have_x"
11513 if test "$have_x" != yes; then
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11515 $as_echo "$have_x" >&6; }
11518 # If each of the values was on the command line, it overrides each guess.
11519 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11520 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11521 # Update the cache value to reflect the command line values.
11522 ac_cv_have_x
="have_x=yes\
11523 ac_x_includes='$x_includes'\
11524 ac_x_libraries='$x_libraries'"
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11526 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11531 for path
in $x_libraries
11533 x_cflags
="$x_cflags -L$path"
11536 for path
in $x_includes
11538 x_cflags
="$x_cflags -I$path"
11541 if test "x-$no_x" = "x-yes" ; then
11543 if test "x-$x11_hidd" != "x-auto" ; then
11544 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
11548 x11_hidd_target
=kernel-x11gfx-kobj
11551 # Check whether --enable-x11_shm was given.
11552 if test "${enable_x11_shm+set}" = set; then :
11553 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11555 x11_hidd_shm
="auto"
11558 case "x-$x11_hidd_shm" in
11559 x-yes|x-no|x-auto
) ;;
11560 *) x11_hidd_shm
="auto" ;;
11565 if test "x-$x11_hidd_shm" != "x-no" ; then
11567 for ac_header
in sys
/ipc.h
11569 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
11570 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
11571 cat >>confdefs.h
<<_ACEOF
11572 #define HAVE_SYS_IPC_H 1
11579 for ac_header
in sys
/shm.h
11581 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
11582 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
11583 cat >>confdefs.h
<<_ACEOF
11584 #define HAVE_SYS_SHM_H 1
11592 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11594 save_cflags
="$CFLAGS"
11595 CFLAGS
="$CFLAGS $x_cflags"
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11597 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11598 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
11599 $as_echo_n "(cached) " >&6
11601 ac_check_lib_save_LIBS
=$LIBS
11602 LIBS
="-lXext $LIBS"
11603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11612 char XShmQueryExtension ();
11616 return XShmQueryExtension ();
11621 if ac_fn_c_try_link
"$LINENO"; then :
11622 ac_cv_lib_Xext_XShmQueryExtension
=yes
11624 ac_cv_lib_Xext_XShmQueryExtension
=no
11626 rm -f core conftest.err conftest.
$ac_objext \
11627 conftest
$ac_exeext conftest.
$ac_ext
11628 LIBS
=$ac_check_lib_save_LIBS
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11631 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11632 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
11636 CFLAGS
="$save_cflags"
11640 if test "x-$have_xshm" = "x-yes" ; then
11641 DO_XSHM_SUPPORT
="1"
11642 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11643 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
11645 DO_XSHM_SUPPORT
="0"
11649 # Check whether --enable-x11_vidmode was given.
11650 if test "${enable_x11_vidmode+set}" = set; then :
11651 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11653 x11_hidd_vidmode
="auto"
11656 case "x-$x11_hidd_vidmode" in
11657 x-yes|x-no|x-auto
) ;;
11658 *) x11_hidd_vidmode
="auto" ;;
11663 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11665 save_cflags
="$CFLAGS"
11666 CFLAGS
="$CFLAGS $x_cflags"
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11668 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11669 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
11670 $as_echo_n "(cached) " >&6
11672 ac_check_lib_save_LIBS
=$LIBS
11673 LIBS
="-lXxf86vm $LIBS"
11674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11683 char XF86VidModeQueryExtension ();
11687 return XF86VidModeQueryExtension ();
11692 if ac_fn_c_try_link
"$LINENO"; then :
11693 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11695 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11697 rm -f core conftest.err conftest.
$ac_objext \
11698 conftest
$ac_exeext conftest.
$ac_ext
11699 LIBS
=$ac_check_lib_save_LIBS
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11702 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11703 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
11707 CFLAGS
="$save_cflags"
11710 if test "x-$have_vidmode" = "x-yes" ; then
11711 DO_VIDMODE_SUPPORT
="1"
11712 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11713 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
11715 DO_VIDMODE_SUPPORT
="0"
11719 aros_host_x11_includes
=$x_includes
11720 aros_host_x11_libdirs
=$x_libraries
11724 # Check whether --enable-sdl_hidd was given.
11725 if test "${enable_sdl_hidd+set}" = set; then :
11726 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11731 case "x-$sdl_hidd" in
11732 x-yes|x-no|x-auto
) ;;
11733 *) sdl_hidd
="auto" ;;
11736 if test "x-$sdl_hidd" != "x-no" ; then
11739 # Check whether --with-sdl-prefix was given.
11740 if test "${with_sdl_prefix+set}" = set; then :
11741 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11747 # Check whether --with-sdl-exec-prefix was given.
11748 if test "${with_sdl_exec_prefix+set}" = set; then :
11749 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11754 # Check whether --enable-sdltest was given.
11755 if test "${enable_sdltest+set}" = set; then :
11756 enableval
=$enable_sdltest;
11762 if test x
$sdl_exec_prefix != x
; then
11763 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11764 if test x
${SDL_CONFIG+set} != xset
; then
11765 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11768 if test x
$sdl_prefix != x
; then
11769 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11770 if test x
${SDL_CONFIG+set} != xset
; then
11771 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11775 if test "x$prefix" != xNONE
; then
11776 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11778 # Extract the first word of "sdl-config", so it can be a program name with args.
11779 set dummy sdl-config
; ac_word
=$2
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11781 $as_echo_n "checking for $ac_word... " >&6; }
11782 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
11783 $as_echo_n "(cached) " >&6
11785 case $SDL_CONFIG in
11787 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11791 for as_dir
in $PATH
11794 test -z "$as_dir" && as_dir
=.
11795 for ac_exec_ext
in '' $ac_executable_extensions; do
11796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11797 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11805 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
11809 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
11810 if test -n "$SDL_CONFIG"; then
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
11812 $as_echo "$SDL_CONFIG" >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11815 $as_echo "no" >&6; }
11819 min_sdl_version
=1.2.10
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
11821 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
11823 if test "$SDL_CONFIG" = "no" ; then
11826 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
11827 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
11829 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
11830 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11831 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
11832 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11833 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
11834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11835 if test "x$enable_sdltest" = "xyes" ; then
11836 ac_save_CFLAGS
="$CFLAGS"
11837 ac_save_CXXFLAGS
="$CXXFLAGS"
11838 ac_save_LIBS
="$LIBS"
11839 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11840 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11841 LIBS
="$LIBS $SDL_LIBS"
11843 if test "$cross_compiling" = yes; then :
11844 echo $ac_n "cross compiling; assumed OK... $ac_c"
11846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11850 #include <stdlib.h>
11851 #include <string.h>
11855 my_strdup (char *str)
11861 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
11862 strcpy (new_str, str);
11870 int main (int argc, char *argv[])
11872 int major, minor, micro;
11875 /* This hangs on some systems (?)
11876 system ("touch conf.sdltest");
11878 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
11880 /* HP/UX 9 (%@#!) writes to sscanf strings */
11881 tmp_version = my_strdup("$min_sdl_version");
11882 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11883 printf("%s, bad version string\n", "$min_sdl_version");
11887 if (($sdl_major_version > major) ||
11888 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
11889 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
11895 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
11896 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
11897 printf("*** best to upgrade to the required version.\n");
11898 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
11899 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
11900 printf("*** config.cache before re-running configure\n");
11907 if ac_fn_c_try_run
"$LINENO"; then :
11912 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11913 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11916 CFLAGS
="$ac_save_CFLAGS"
11917 CXXFLAGS
="$ac_save_CXXFLAGS"
11918 LIBS
="$ac_save_LIBS"
11921 if test "x$no_sdl" = x
; then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11923 $as_echo "yes" >&6; }
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11927 $as_echo "no" >&6; }
11928 if test "$SDL_CONFIG" = "no" ; then
11929 echo "*** The sdl-config script installed by SDL could not be found"
11930 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
11931 echo "*** your path, or set the SDL_CONFIG environment variable to the"
11932 echo "*** full path to sdl-config."
11934 if test -f conf.sdltest
; then
11937 echo "*** Could not run SDL test program, checking why..."
11938 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11939 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11940 LIBS
="$LIBS $SDL_LIBS"
11941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11947 int main(int argc, char *argv[])
11950 #define main K_and_R_C_main
11960 if ac_fn_c_try_link
"$LINENO"; then :
11961 echo "*** The test program compiled, but did not run. This usually means"
11962 echo "*** that the run-time linker is not finding SDL or finding the wrong"
11963 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
11964 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11965 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11966 echo "*** is required on your system"
11968 echo "*** If you have an old version installed, it is best to remove it, although"
11969 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11971 echo "*** The test program failed to compile or link. See the file config.log for the"
11972 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
11973 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
11974 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
11976 rm -f core conftest.err conftest.
$ac_objext \
11977 conftest
$ac_exeext conftest.
$ac_ext
11978 CFLAGS
="$ac_save_CFLAGS"
11979 CXXFLAGS
="$ac_save_CXXFLAGS"
11980 LIBS
="$ac_save_LIBS"
11992 if test "x-$have_sdl" != "x-yes" ; then
11994 if test "x-$sdl_hidd" != "x-auto" ; then
11995 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
11999 sdl_hidd_target
=kernel-hidd-sdl
12000 aros_host_sdl_cflags
=SDL_CFLAGS
12001 aros_host_sdl_libs
=SDL_LIBS
12005 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12006 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12011 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
12012 oss_library_target
=workbench-libs-oss-unix
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
12018 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12019 # Check whether --enable-dbus was given.
12020 if test "${enable_dbus+set}" = set; then :
12021 enableval
=$enable_dbus; dbus
="yes"
12026 if test "$dbus" = "yes" ; then
12028 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12029 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12030 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12031 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
12036 $as_echo "$dbus" >&6; }
12038 if test "$use_kernel_cc_wrapper" = "yes" ; then
12039 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
12054 # Compatability with other Amiga-like operation systems
12157 # Native version related
12160 # Palm native version related
12166 # Unix/Hosted version related
12172 # Apple iOS related
12197 # Collect-aros stuff: "-ius" to ignore undefined symbols
12200 # C compiler related
12203 case "$aros_flavour" in
12204 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12205 aros_flavour
="emulation" ;;
12206 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12207 aros_flavour
="emulation" ;;
12208 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12209 aros_flavour
="standalone";;
12210 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12211 aros_flavour
="standalone";;
12212 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12213 aros_flavour
="native" ;;
12214 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12215 aros_flavour
="native" ;;
12216 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12217 aros_flavour
="linklib" ;;
12218 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12219 aros_flavour
="palmnative" ;;
12220 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12221 aros_flavour
="mac68knative" ;;
12222 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12223 aros_flavour
="ppcnative" ;;
12226 if test ! -d ${aros_inc_dir} ; then
12227 ${MKDIR} ${aros_inc_dir}
12229 if test ! -d ${aros_geninc_dir} ; then
12230 ${MKDIR} ${aros_geninc_dir}
12232 if test ! -d ${aros_hostcfg_dir} ; then
12233 ${MKDIR} ${aros_hostcfg_dir}
12235 if test ! -d ${aros_targetcfg_dir} ; then
12236 ${MKDIR} ${aros_targetcfg_dir}
12238 if test ! -d ${aros_tools_dir} ; then
12239 ${MKDIR} ${aros_tools_dir}
12241 if test ! -d ${aros_scripts_dir} ; then
12242 ${MKDIR} ${aros_scripts_dir}
12245 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12248 ac_config_commands
="$ac_config_commands compiler_executable"
12250 ac_config_commands
="$ac_config_commands genmf_executable"
12253 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-gcc:scripts/aros-gcc.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"
12256 cat >confcache
<<\_ACEOF
12257 # This file is a shell script that caches the results of configure
12258 # tests run on this system so they can be shared between configure
12259 # scripts and configure runs, see configure's option --config-cache.
12260 # It is not useful on other systems. If it contains results you don't
12261 # want to keep, you may remove or edit it.
12263 # config.status only pays attention to the cache file if you give it
12264 # the --recheck option to rerun configure.
12266 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12267 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12268 # following values.
12272 # The following way of writing the cache mishandles newlines in values,
12273 # but we know of no workaround that is simple, portable, and efficient.
12274 # So, we kill variables containing newlines.
12275 # Ultrix sh set writes to stderr and can't be redirected directly,
12276 # and sets the high bit in the cache file unless we assign to the vars.
12278 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12279 eval ac_val
=\$
$ac_var
12283 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12284 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12287 _ | IFS | as_nl
) ;; #(
12288 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12289 *) { eval $ac_var=; unset $ac_var;} ;;
12295 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12296 *${as_nl}ac_space
=\
*)
12297 # `set' does not quote correctly, so add quotes: double-quote
12298 # substitution turns \\\\ into \\, and sed turns \\ into \.
12301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12304 # `set' quotes correctly as required by POSIX, so do not add quotes.
12305 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12314 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12316 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12318 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12319 if test -w "$cache_file"; then
12320 if test "x$cache_file" != "x/dev/null"; then
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12322 $as_echo "$as_me: updating cache $cache_file" >&6;}
12323 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12324 cat confcache
>"$cache_file"
12326 case $cache_file in #(
12328 mv -f confcache
"$cache_file"$$
&&
12329 mv -f "$cache_file"$$
"$cache_file" ;; #(
12331 mv -f confcache
"$cache_file" ;;
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12337 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12342 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12343 # Let make expand exec_prefix.
12344 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12346 DEFS
=-DHAVE_CONFIG_H
12351 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12352 # 1. Remove the extension, and $U if already installed.
12353 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12354 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12355 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12356 # will be set to the directory where LIBOBJS objects are built.
12357 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12358 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12360 LIBOBJS
=$ac_libobjs
12362 LTLIBOBJS
=$ac_ltlibobjs
12366 : "${CONFIG_STATUS=./config.status}"
12368 ac_clean_files_save
=$ac_clean_files
12369 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12371 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12373 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12375 # Generated by $as_me.
12376 # Run this file to recreate the current configuration.
12377 # Compiler output produced by configure, useful for debugging
12378 # configure, is in config.log if it exists.
12381 ac_cs_recheck=false
12384 SHELL=\${CONFIG_SHELL-$SHELL}
12387 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12388 ## -------------------- ##
12389 ## M4sh Initialization. ##
12390 ## -------------------- ##
12392 # Be more Bourne compatible
12393 DUALCASE
=1; export DUALCASE
# for MKS sh
12394 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12397 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12398 # is contrary to our usage. Disable this feature.
12399 alias -g '${1+"$@"}'='"$@"'
12400 setopt NO_GLOB_SUBST
12402 case `(set -o) 2>/dev/null` in #(
12414 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12415 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12416 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12417 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12418 # Prefer a ksh shell builtin over an external printf program on Solaris,
12419 # but without wasting forks for bash or zsh.
12420 if test -z "$BASH_VERSION$ZSH_VERSION" \
12421 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12422 as_echo='print
-r --'
12423 as_echo_n='print
-rn --'
12424 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12425 as_echo='printf %s
\n'
12426 as_echo_n='printf %s
'
12428 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12429 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12430 as_echo_n='/usr
/ucb
/echo -n'
12432 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12433 as_echo_n_body='eval
12437 expr "X$arg" : "X\\(.*\\)$as_nl";
12438 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12440 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12442 export as_echo_n_body
12443 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12445 export as_echo_body
12446 as_echo='sh
-c $as_echo_body as_echo
'
12449 # The user is always right.
12450 if test "${PATH_SEPARATOR+set}" != set; then
12452 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12453 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12460 # We need space, tab and new line, in precisely that order. Quoting is
12461 # there to prevent editors from complaining about space-tab.
12462 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12463 # splitting by setting IFS to empty value.)
12466 # Find who we are. Look in the path if we contain no directory separator.
12469 *[\\/]* ) as_myself=$0 ;;
12470 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12471 for as_dir in $PATH
12474 test -z "$as_dir" && as_dir=.
12475 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12481 # We did not find ourselves, most probably we were run as `sh COMMAND'
12482 # in which case we are not to be found in the path.
12483 if test "x$as_myself" = x
; then
12486 if test ! -f "$as_myself"; then
12487 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12491 # Unset variables that we do not need and which cause bugs (e.g. in
12492 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12493 # suppresses any "Segmentation fault" message there. '((' could
12494 # trigger a bug in pdksh 5.2.14.
12495 for as_var
in BASH_ENV ENV MAIL MAILPATH
12496 do eval test x\
${$as_var+set} = xset \
12497 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12510 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12513 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12514 # ----------------------------------------
12515 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12516 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12517 # script with STATUS, using 1 if that was 0.
12520 as_status
=$1; test $as_status -eq 0 && as_status
=1
12522 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12523 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12525 $as_echo "$as_me: error: $2" >&2
12526 as_fn_exit
$as_status
12530 # as_fn_set_status STATUS
12531 # -----------------------
12532 # Set $? to STATUS, without forking.
12533 as_fn_set_status
()
12536 } # as_fn_set_status
12538 # as_fn_exit STATUS
12539 # -----------------
12540 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12544 as_fn_set_status
$1
12550 # Portably unset VAR.
12553 { eval $1=; unset $1;}
12555 as_unset
=as_fn_unset
12556 # as_fn_append VAR VALUE
12557 # ----------------------
12558 # Append the text in VALUE to the end of the definition contained in VAR. Take
12559 # advantage of any shell optimizations that allow amortized linear growth over
12560 # repeated appends, instead of the typical quadratic growth present in naive
12562 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12563 eval 'as_fn_append ()
12574 # as_fn_arith ARG...
12575 # ------------------
12576 # Perform arithmetic evaluation on the ARGs, and store the result in the
12577 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12578 # must be portable across $(()) and expr.
12579 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12580 eval 'as_fn_arith ()
12587 as_val
=`expr "$@" || test $? -eq 1`
12592 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12593 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12599 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12600 as_basename
=basename
12605 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12611 as_me
=`$as_basename -- "$0" ||
12612 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12613 X"$0" : 'X\(//\)$' \| \
12614 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12616 sed '/^.*\/\([^/][^/]*\)\/*$/{
12630 # Avoid depending upon Character Ranges.
12631 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12632 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12633 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12634 as_cr_digits
='0123456789'
12635 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12637 ECHO_C
= ECHO_N
= ECHO_T
=
12638 case `echo -n x` in #(((((
12640 case `echo 'xy\c'` in
12641 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12643 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12650 rm -f conf$$ conf$$.exe conf$$.
file
12651 if test -d conf$$.dir
; then
12652 rm -f conf$$.dir
/conf$$.
file
12655 mkdir conf$$.dir
2>/dev
/null
12657 if (echo >conf$$.
file) 2>/dev
/null
; then
12658 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12660 # ... but there are two gotchas:
12661 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12662 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12663 # In both cases, we have to default to `cp -p'.
12664 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12666 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12674 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12675 rmdir conf$$.dir
2>/dev
/null
12680 # Create "$as_dir" as a directory, including parents if necessary.
12685 -*) as_dir
=.
/$as_dir;;
12687 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12691 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12692 *) as_qdir
=$as_dir;;
12694 as_dirs
="'$as_qdir' $as_dirs"
12695 as_dir
=`$as_dirname -- "$as_dir" ||
12696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12697 X"$as_dir" : 'X\(//\)[^/]' \| \
12698 X"$as_dir" : 'X\(//\)$' \| \
12699 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12700 $as_echo X"$as_dir" |
12701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12705 /^X\(\/\/\)[^/].*/{
12718 test -d "$as_dir" && break
12720 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12721 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12725 if mkdir
-p .
2>/dev
/null
; then
12726 as_mkdir_p
='mkdir -p "$as_dir"'
12728 test -d .
/-p && rmdir .
/-p
12732 if test -x / >/dev
/null
2>&1; then
12733 as_test_x
='test -x'
12735 if ls -dL / >/dev
/null
2>&1; then
12742 if test -d "$1"; then
12748 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12749 ???[sx]*):;;*)false;;esac;fi
12753 as_executable_p
=$as_test_x
12755 # Sed expression to map a string onto a valid CPP name.
12756 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12758 # Sed expression to map a string onto a valid variable name.
12759 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12763 ## ----------------------------------- ##
12764 ## Main body of $CONFIG_STATUS script. ##
12765 ## ----------------------------------- ##
12767 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12770 # Save the log message, to keep $0 and so on meaningful, and to
12771 # report actual input values of CONFIG_FILES etc. instead of their
12772 # values after options handling.
12774 This file was extended by $as_me, which was
12775 generated by GNU Autoconf 2.68. Invocation command line was
12777 CONFIG_FILES = $CONFIG_FILES
12778 CONFIG_HEADERS = $CONFIG_HEADERS
12779 CONFIG_LINKS = $CONFIG_LINKS
12780 CONFIG_COMMANDS = $CONFIG_COMMANDS
12783 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12788 case $ac_config_files in *"
12789 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12792 case $ac_config_headers in *"
12793 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12798 # Files that config.status was made for.
12799 config_files="$ac_config_files"
12800 config_headers="$ac_config_headers"
12801 config_commands="$ac_config_commands"
12805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12807 \`$as_me' instantiates files and other configuration actions
12808 from templates according to the current configuration. Unless the files
12809 and actions are specified as TAGs, all are instantiated by default.
12811 Usage: $0 [OPTION]... [TAG]...
12813 -h, --help print this help, then exit
12814 -V, --version print version number and configuration settings, then exit
12815 --config print configuration, then exit
12816 -q, --quiet, --silent
12817 do not print progress messages
12818 -d, --debug don't remove temporary files
12819 --recheck update $as_me by reconfiguring in the same conditions
12820 --file=FILE[:TEMPLATE]
12821 instantiate the configuration file FILE
12822 --header=FILE[:TEMPLATE]
12823 instantiate the configuration header FILE
12825 Configuration files:
12828 Configuration headers:
12831 Configuration commands:
12834 Report bugs to the package provider."
12837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12838 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12841 configured by $0, generated by GNU Autoconf 2.68,
12842 with options \\"\$ac_cs_config\\"
12844 Copyright (C) 2010 Free Software Foundation, Inc.
12845 This config.status script is free software; the Free Software Foundation
12846 gives unlimited permission to copy, distribute and modify it."
12850 test -n "\$AWK" || AWK=awk
12853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12854 # The default lists apply if the user does not specify any file.
12860 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12861 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12865 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12877 # Handling of the options.
12878 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12880 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12881 $as_echo "$ac_cs_version"; exit ;;
12882 --config |
--confi |
--conf |
--con |
--co |
--c )
12883 $as_echo "$ac_cs_config"; exit ;;
12884 --debug |
--debu |
--deb |
--de |
--d |
-d )
12886 --file |
--fil |
--fi |
--f )
12889 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12890 '') as_fn_error $?
"missing file argument" ;;
12892 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12893 ac_need_defaults
=false
;;
12894 --header |
--heade |
--head |
--hea )
12897 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12899 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12900 ac_need_defaults
=false
;;
12902 # Conflict between --help and --header
12903 as_fn_error $?
"ambiguous option: \`$1'
12904 Try \`$0 --help' for more information.";;
12905 --help |
--hel |
-h )
12906 $as_echo "$ac_cs_usage"; exit ;;
12907 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12908 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12911 # This is an error.
12912 -*) as_fn_error $?
"unrecognized option: \`$1'
12913 Try \`$0 --help' for more information." ;;
12915 *) as_fn_append ac_config_targets
" $1"
12916 ac_need_defaults
=false
;;
12922 ac_configure_extra_args
=
12924 if $ac_cs_silent; then
12926 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12931 if \$ac_cs_recheck; then
12932 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12934 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12935 CONFIG_SHELL='$SHELL'
12936 export CONFIG_SHELL
12941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12945 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12946 ## Running $as_me. ##
12952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12957 aros_host_exe_suffix=${aros_host_exe_suffix}
12958 aros_tools_dir=${aros_tools_dir}
12959 aros_target_cpu=${aros_target_cpu}
12960 aros_target_arch=${aros_target_arch}
12961 aros_target_suffix=${aros_target_suffix}
12962 aros_target_nm_ln=${aros_target_nm_ln}
12963 aros_target_as_ln=${aros_target_as_ln}
12964 aros_target_ar_ln=${aros_target_ar_ln}
12965 aros_target_ranlib_ln=${aros_target_ranlib_ln}
12966 aros_target_objdump_ln=${aros_target_objdump_ln}
12967 aros_target_objcopy_ln=${aros_target_objcopy_ln}
12968 aros_target_strip_ln=${aros_target_strip_ln}
12969 aros_kernel_ld=${aros_kernel_ld}
12972 aros_tools_dir=${aros_tools_dir}
12977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12979 # Handling of arguments.
12980 for ac_config_target
in $ac_config_targets
12982 case $ac_config_target in
12983 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
12984 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
12985 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
12986 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12987 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
12988 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
12989 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
12990 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
12991 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
12992 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
12993 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
12994 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
12995 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
12996 "${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" ;;
12997 "${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" ;;
12998 "${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" ;;
12999 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13000 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13001 "${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" ;;
13003 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13008 # If the user did not use the arguments to specify the items to instantiate,
13009 # then the envvar interface is used. Set only those that are not.
13010 # We use the long form for the default assignment because of an extremely
13011 # bizarre bug on SunOS 4.1.3.
13012 if $ac_need_defaults; then
13013 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13014 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13015 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13018 # Have a temporary directory for convenience. Make it in the build tree
13019 # simply because there is no reason against having it here, and in addition,
13020 # creating and moving files from /tmp can sometimes cause problems.
13021 # Hook for its removal unless debugging.
13022 # Note that there is a small window in which the directory will not be cleaned:
13023 # after its creation but before its name has been assigned to `$tmp'.
13027 trap 'exit_status=$?
13028 : "${ac_tmp:=$tmp}"
13029 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13031 trap 'as_fn_exit 1' 1 2 13 15
13033 # Create a (secure) tmp directory for tmp files.
13036 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13040 tmp
=.
/conf$$
-$RANDOM
13041 (umask 077 && mkdir
"$tmp")
13042 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13045 # Set up the scripts for CONFIG_FILES section.
13046 # No need to generate them if there are no CONFIG_FILES.
13047 # This happens for instance with `./config.status config.h'.
13048 if test -n "$CONFIG_FILES"; then
13051 ac_cr
=`echo X | tr X '\015'`
13052 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13053 # But we know of no other shell where ac_cr would be empty at this
13054 # point, so we can use a bashism as a fallback.
13055 if test "x$ac_cr" = x
; then
13056 eval ac_cr
=\$
\'\\r
\'
13058 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13059 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13062 ac_cs_awk_cr
=$ac_cr
13065 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13070 echo "cat >conf$$subs.awk <<_ACEOF" &&
13071 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13073 } >conf$$subs.sh ||
13074 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13075 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13077 for ac_last_try in false false false false false :; do
13078 . ./conf$$subs.sh ||
13079 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13081 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13082 if test $ac_delim_n = $ac_delim_num; then
13084 elif $ac_last_try; then
13085 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13087 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13090 rm -f conf$$subs.sh
13092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13093 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13097 s/^/S["/; s
/!.
*/"]=/
13107 s/\(.\{148\}\)..*/\1/
13109 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13114 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13121 s/\(.\{148\}\)..*/\1/
13123 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13127 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13132 ' <conf$$subs.awk | sed '
13137 ' >>$CONFIG_STATUS || ac_write_fail=1
13138 rm -f conf$$subs.awk
13139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13141 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13142 for (key in S) S_is_set[key] = 1
13148 nfields = split(line, field, "@
")
13150 len = length(field[1])
13151 for (i = 2; i < nfields; i++) {
13153 keylen = length(key)
13154 if (S_is_set[key]) {
13156 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13157 len += length(value) + length(field[++i])
13168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13169 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13170 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13173 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13174 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13177 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13178 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13179 # trailing colons and then remove the whole line if VPATH becomes empty
13180 # (actually we leave an empty line to preserve line numbers).
13181 if test "x
$srcdir" = x.; then
13182 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13201 fi # test -n "$CONFIG_FILES"
13203 # Set up the scripts for CONFIG_HEADERS section.
13204 # No need to generate them if there are no CONFIG_HEADERS.
13205 # This happens for instance with `./config.status Makefile'.
13206 if test -n "$CONFIG_HEADERS"; then
13207 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13211 # Transform confdefs.h into an awk script `defines.awk', embedded as
13212 # here-document in config.status, that substitutes the proper values into
13213 # config.h.in to produce config.h.
13215 # Create a delimiter string that does not exist in confdefs.h, to ease
13216 # handling of long lines.
13218 for ac_last_try in false false :; do
13219 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13220 if test -z "$ac_tt"; then
13222 elif $ac_last_try; then
13223 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13225 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13229 # For the awk script, D is an array of macro values keyed by name,
13230 # likewise P contains macro parameters if any. Preserve backslash
13231 # newline sequences.
13233 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13235 s/.\{148\}/&'"$ac_delim"'/g
13238 s/^[ ]*#[ ]*define[ ][ ]*/ /
13245 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13247 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13252 D["\
1"]=" \
3\\\\\\n
"\\/p
13254 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13259 s/.\{148\}/&'"$ac_delim"'/g
13264 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13267 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13269 ' <confdefs.h | sed '
13270 s/'"$ac_delim"'/"\\\
13271 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13274 for (key in D) D_is_set[key] = 1
13277 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13279 split(line, arg, " ")
13280 if (arg[1] == "#") {
13284 defundef
= substr
(arg
[1], 2)
13287 split(mac1
, mac2
, "(") #)
13289 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13290 if (D_is_set
[macro
]) {
13291 # Preserve the white space surrounding the "#".
13292 print prefix
"define", macro P
[macro
] D
[macro
]
13295 # Replace #undef with comments. This is necessary, for example,
13296 # in the case of _POSIX_SOURCE, which is predefined and required
13297 # on some systems where configure will not decide to define it.
13298 if (defundef
== "undef") {
13299 print
"/*", prefix defundef
, macro
, "*/"
13307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13308 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13309 fi # test -n "$CONFIG_HEADERS"
13312 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13317 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13319 case $ac_mode$ac_tag in
13321 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13322 :[FH
]-) ac_tag
=-:-;;
13323 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13340 -) ac_f
="$ac_tmp/stdin";;
13341 *) # Look for the file first in the build tree, then in the source tree
13342 # (if the path is not absolute). The absolute path cannot be DOS-style,
13343 # because $ac_f cannot contain `:'.
13347 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13349 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13351 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13352 as_fn_append ac_file_inputs
" '$ac_f'"
13355 # Let's still pretend it is `configure' which instantiates (i.e., don't
13356 # use $as_me), people would be surprised to read:
13357 # /* config.h. Generated by config.status. */
13358 configure_input
='Generated from '`
13359 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13361 if test x
"$ac_file" != x-
; then
13362 configure_input
="$ac_file. $configure_input"
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13364 $as_echo "$as_me: creating $ac_file" >&6;}
13366 # Neutralize special characters interpreted by sed in replacement strings.
13367 case $configure_input in #(
13368 *\
&* |
*\|
* |
*\\* )
13369 ac_sed_conf_input
=`$as_echo "$configure_input" |
13370 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13371 *) ac_sed_conf_input
=$configure_input;;
13375 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13376 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13381 ac_dir
=`$as_dirname -- "$ac_file" ||
13382 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13383 X"$ac_file" : 'X\(//\)[^/]' \| \
13384 X"$ac_file" : 'X\(//\)$' \| \
13385 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13386 $as_echo X"$ac_file" |
13387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13391 /^X\(\/\/\)[^/].*/{
13404 as_dir
="$ac_dir"; as_fn_mkdir_p
13408 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13410 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13411 # A ".." for each directory in $ac_dir_suffix.
13412 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13413 case $ac_top_builddir_sub in
13414 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13415 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13418 ac_abs_top_builddir
=$ac_pwd
13419 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13420 # for backward compatibility:
13421 ac_top_builddir
=$ac_top_build_prefix
13424 .
) # We are building in place.
13426 ac_top_srcdir
=$ac_top_builddir_sub
13427 ac_abs_top_srcdir
=$ac_pwd ;;
13428 [\\/]* | ?
:[\\/]* ) # Absolute name.
13429 ac_srcdir
=$srcdir$ac_dir_suffix;
13430 ac_top_srcdir
=$srcdir
13431 ac_abs_top_srcdir
=$srcdir ;;
13432 *) # Relative name.
13433 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13434 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13435 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13437 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13449 # If the template does not know about datarootdir, expand it.
13450 # FIXME: This hack should be removed a few years after 2.60.
13451 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13462 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13463 *datarootdir
*) ac_datarootdir_seen
=yes;;
13464 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13466 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13469 ac_datarootdir_hack='
13470 s&@datadir@&$datadir&g
13471 s&@docdir@&$docdir&g
13472 s&@infodir@&$infodir&g
13473 s&@localedir@&$localedir&g
13474 s&@mandir@&$mandir&g
13475 s&\\\${datarootdir}&$datarootdir&g' ;;
13479 # Neutralize VPATH when `$srcdir' = `.'.
13480 # Shell code in configure.ac might set extrasub.
13481 # FIXME: do we really want to maintain this feature?
13482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13483 ac_sed_extra="$ac_vpsub
13486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13488 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13489 s|@configure_input@|
$ac_sed_conf_input|
;t t
13490 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13491 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13492 s
&@srcdir@
&$ac_srcdir&;t t
13493 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13494 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13495 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13496 s
&@builddir@
&$ac_builddir&;t t
13497 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13498 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13499 $ac_datarootdir_hack
13501 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13502 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13504 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13505 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13506 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13507 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13509 which seems to be undefined. Please make sure it is defined" >&5
13510 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13511 which seems to be undefined. Please make sure it is defined" >&2;}
13513 rm -f "$ac_tmp/stdin"
13515 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13516 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13518 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13524 if test x"$ac_file" != x-; then
13526 $as_echo "/* $configure_input */" \
13527 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13528 } >"$ac_tmp/config.h" \
13529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13530 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13532 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13535 mv "$ac_tmp/config.h" "$ac_file" \
13536 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13539 $as_echo "/* $configure_input */" \
13540 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13541 || as_fn_error $? "could not create -" "$LINENO" 5
13545 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13546 $as_echo "$as_me: executing $ac_file commands" >&6;}
13551 case $ac_file$ac_mode in
13552 "compiler_executable":C)
13553 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13555 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13556 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
13560 chmod a+x ${prefix2}-gcc ${prefix2}-ld ${prefix3}-gcc
13562 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
13563 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
13564 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
13565 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
13566 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
13567 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
13568 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
13570 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
13572 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
13580 ac_clean_files=$ac_clean_files_save
13582 test $ac_write_fail = 0 ||
13583 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13586 # configure is writing to config.log, and then calls config.status.
13587 # config.status does its own redirection, appending to config.log.
13588 # Unfortunately, on DOS this fails, as config.log is still kept open
13589 # by configure, so config.status won't be able to
write to it
; its
13590 # output is simply discarded. So we exec the FD to /dev/null,
13591 # effectively closing config.log, so it can be properly (re)opened and
13592 # appended to by config.status. When coming back to configure, we
13593 # need to make the FD available again.
13594 if test "$no_create" != yes; then
13596 ac_config_status_args
=
13597 test "$silent" = yes &&
13598 ac_config_status_args
="$ac_config_status_args --quiet"
13600 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13602 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13603 # would make configure fail if this is the last instruction.
13604 $ac_cs_success || as_fn_exit
1
13606 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13608 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13613 #XXX compatability...
13614 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13616 if test -n "$aros_shared_cflags" ; then
13617 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13618 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg