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
711 aros_cflags_iquote_end
713 kernel_cflags_iquote_end
715 host_cflags_iquote_end
717 aros_target_nostdlib_ldflags
718 aros_target_detach_ldflags
719 aros_target_nix_ldflags
720 aros_target_nostartup_ldflags
721 aros_target_nostdinc_cflags
726 aros_target_ranlib_ln
727 aros_target_objdump_ln
728 aros_target_objcopy_ln
825 program_transform_name
838 enable_option_checking
847 enable_target_variant
863 enable_palm_debug_hack
865 enable_nesting_supervisor
877 ac_precious_vars
='build_alias
890 # Initialize some variables set by options.
892 ac_init_version
=false
893 ac_unrecognized_opts
=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name
=s
,x
,x
,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir
='${exec_prefix}/bin'
919 sbindir
='${exec_prefix}/sbin'
920 libexecdir
='${exec_prefix}/libexec'
921 datarootdir
='${prefix}/share'
922 datadir
='${datarootdir}'
923 sysconfdir
='${prefix}/etc'
924 sharedstatedir
='${prefix}/com'
925 localstatedir
='${prefix}/var'
926 includedir
='${prefix}/include'
927 oldincludedir
='/usr/include'
928 docdir
='${datarootdir}/doc/${PACKAGE}'
929 infodir
='${datarootdir}/info'
934 libdir
='${exec_prefix}/lib'
935 localedir
='${datarootdir}/locale'
936 mandir
='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\
$ac_option
950 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955 # Accept the important Cygnus configure options, so we can diagnose typos.
957 case $ac_dashdash$ac_option in
961 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
963 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
966 -build |
--build |
--buil |
--bui |
--bu)
967 ac_prev
=build_alias
;;
968 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
969 build_alias
=$ac_optarg ;;
971 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
972 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
973 ac_prev
=cache_file
;;
974 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
975 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
976 cache_file
=$ac_optarg ;;
979 cache_file
=config.cache
;;
981 -datadir |
--datadir |
--datadi |
--datad)
983 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
984 datadir
=$ac_optarg ;;
986 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
987 |
--dataroo |
--dataro |
--datar)
988 ac_prev
=datarootdir
;;
989 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
990 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
991 datarootdir
=$ac_optarg ;;
993 -disable-* |
--disable-*)
994 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
997 as_fn_error $?
"invalid feature name: $ac_useropt"
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=no
;;
1009 -docdir |
--docdir |
--docdi |
--doc |
--do)
1011 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1012 docdir
=$ac_optarg ;;
1014 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1016 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1017 dvidir
=$ac_optarg ;;
1019 -enable-* |
--enable-*)
1020 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error $?
"invalid feature name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_
$ac_useropt"
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval enable_
$ac_useropt=\
$ac_optarg ;;
1035 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1036 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1037 |
--exec |
--exe |
--ex)
1038 ac_prev
=exec_prefix
;;
1039 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1040 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1041 |
--exec=* |
--exe=* |
--ex=*)
1042 exec_prefix
=$ac_optarg ;;
1044 -gas |
--gas |
--ga |
--g)
1045 # Obsolete; use --with-gas.
1048 -help |
--help |
--hel |
--he |
-h)
1049 ac_init_help
=long
;;
1050 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1051 ac_init_help
=recursive
;;
1052 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1053 ac_init_help
=short
;;
1055 -host |
--host |
--hos |
--ho)
1056 ac_prev
=host_alias
;;
1057 -host=* |
--host=* |
--hos=* |
--ho=*)
1058 host_alias
=$ac_optarg ;;
1060 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1062 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1064 htmldir
=$ac_optarg ;;
1066 -includedir |
--includedir |
--includedi |
--included |
--include \
1067 |
--includ |
--inclu |
--incl |
--inc)
1068 ac_prev
=includedir
;;
1069 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1070 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1071 includedir
=$ac_optarg ;;
1073 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1075 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1076 infodir
=$ac_optarg ;;
1078 -libdir |
--libdir |
--libdi |
--libd)
1080 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1081 libdir
=$ac_optarg ;;
1083 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1084 |
--libexe |
--libex |
--libe)
1085 ac_prev
=libexecdir
;;
1086 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1087 |
--libexe=* |
--libex=* |
--libe=*)
1088 libexecdir
=$ac_optarg ;;
1090 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1091 ac_prev
=localedir
;;
1092 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1093 localedir
=$ac_optarg ;;
1095 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1096 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1097 ac_prev
=localstatedir
;;
1098 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1099 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1100 localstatedir
=$ac_optarg ;;
1102 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1104 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1105 mandir
=$ac_optarg ;;
1107 -nfp |
--nfp |
--nf)
1108 # Obsolete; use --without-fp.
1111 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1112 |
--no-cr |
--no-c |
-n)
1115 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1116 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1119 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1120 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1121 |
--oldin |
--oldi |
--old |
--ol |
--o)
1122 ac_prev
=oldincludedir
;;
1123 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1124 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1125 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1126 oldincludedir
=$ac_optarg ;;
1128 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1130 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1131 prefix
=$ac_optarg ;;
1133 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1134 |
--program-pre |
--program-pr |
--program-p)
1135 ac_prev
=program_prefix
;;
1136 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1137 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1138 program_prefix
=$ac_optarg ;;
1140 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1141 |
--program-suf |
--program-su |
--program-s)
1142 ac_prev
=program_suffix
;;
1143 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1144 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1145 program_suffix
=$ac_optarg ;;
1147 -program-transform-name |
--program-transform-name \
1148 |
--program-transform-nam |
--program-transform-na \
1149 |
--program-transform-n |
--program-transform- \
1150 |
--program-transform |
--program-transfor \
1151 |
--program-transfo |
--program-transf \
1152 |
--program-trans |
--program-tran \
1153 |
--progr-tra |
--program-tr |
--program-t)
1154 ac_prev
=program_transform_name
;;
1155 -program-transform-name=* |
--program-transform-name=* \
1156 |
--program-transform-nam=* |
--program-transform-na=* \
1157 |
--program-transform-n=* |
--program-transform-=* \
1158 |
--program-transform=* |
--program-transfor=* \
1159 |
--program-transfo=* |
--program-transf=* \
1160 |
--program-trans=* |
--program-tran=* \
1161 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1162 program_transform_name
=$ac_optarg ;;
1164 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1166 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1167 pdfdir
=$ac_optarg ;;
1169 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1171 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1174 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1175 |
-silent |
--silent |
--silen |
--sile |
--sil)
1178 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1180 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1182 sbindir
=$ac_optarg ;;
1184 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1185 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1186 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1188 ac_prev
=sharedstatedir
;;
1189 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1190 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1191 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1193 sharedstatedir
=$ac_optarg ;;
1195 -site |
--site |
--sit)
1197 -site=* |
--site=* |
--sit=*)
1200 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1202 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1203 srcdir
=$ac_optarg ;;
1205 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1206 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1207 ac_prev
=sysconfdir
;;
1208 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1209 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1210 sysconfdir
=$ac_optarg ;;
1212 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1213 ac_prev
=target_alias
;;
1214 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1215 target_alias
=$ac_optarg ;;
1217 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1220 -version |
--version |
--versio |
--versi |
--vers |
-V)
1221 ac_init_version
=: ;;
1224 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1225 # Reject names that are not valid shell variable names.
1226 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1227 as_fn_error $?
"invalid package name: $ac_useropt"
1228 ac_useropt_orig
=$ac_useropt
1229 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230 case $ac_user_opts in
1234 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1235 ac_unrecognized_sep
=', ';;
1237 eval with_
$ac_useropt=\
$ac_optarg ;;
1239 -without-* |
--without-*)
1240 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1243 as_fn_error $?
"invalid package name: $ac_useropt"
1244 ac_useropt_orig
=$ac_useropt
1245 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246 case $ac_user_opts in
1250 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1251 ac_unrecognized_sep
=', ';;
1253 eval with_
$ac_useropt=no
;;
1256 # Obsolete; use --with-x.
1259 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1260 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1261 ac_prev
=x_includes
;;
1262 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1263 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1264 x_includes
=$ac_optarg ;;
1266 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1267 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1268 ac_prev
=x_libraries
;;
1269 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1270 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1271 x_libraries
=$ac_optarg ;;
1273 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1274 Try \`$0 --help' for more information"
1278 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1279 # Reject names that are not valid shell variable names.
1280 case $ac_envvar in #(
1281 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1282 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1284 eval $ac_envvar=\
$ac_optarg
1285 export $ac_envvar ;;
1288 # FIXME: should be removed in autoconf 3.0.
1289 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1291 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1298 if test -n "$ac_prev"; then
1299 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1300 as_fn_error $?
"missing argument to $ac_option"
1303 if test -n "$ac_unrecognized_opts"; then
1304 case $enable_option_checking in
1306 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1307 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311 # Check all directory arguments for consistency.
1312 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313 datadir sysconfdir sharedstatedir localstatedir includedir \
1314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315 libdir localedir mandir
1317 eval ac_val
=\$
$ac_var
1318 # Remove trailing slashes.
1321 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1322 eval $ac_var=\
$ac_val;;
1324 # Be sure to have absolute directory names.
1326 [\\/$
]* | ?
:[\\/]* ) continue;;
1327 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1329 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1332 # There might be people who depend on the old broken behavior: `$host'
1333 # used to hold the argument of --host etc.
1334 # FIXME: To remove some day.
1337 target
=$target_alias
1339 # FIXME: To remove some day.
1340 if test "x$host_alias" != x
; then
1341 if test "x$build_alias" = x
; then
1342 cross_compiling
=maybe
1343 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1344 If a cross compiler is detected then cross compile mode will be used" >&2
1345 elif test "x$build_alias" != "x$host_alias"; then
1351 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1353 test "$silent" = yes && exec 6>/dev
/null
1356 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1357 ac_ls_di
=`ls -di .` &&
1358 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1359 as_fn_error $?
"working directory cannot be determined"
1360 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1361 as_fn_error $?
"pwd does not report name of working directory"
1364 # Find the source files, if location was not specified.
1365 if test -z "$srcdir"; then
1366 ac_srcdir_defaulted
=yes
1367 # Try the directory containing this script, then the parent directory.
1368 ac_confdir
=`$as_dirname -- "$as_myself" ||
1369 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1370 X"$as_myself" : 'X\(//\)[^/]' \| \
1371 X"$as_myself" : 'X\(//\)$' \| \
1372 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1373 $as_echo X"$as_myself" |
1374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1396 ac_srcdir_defaulted
=no
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1400 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1402 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1406 # When building in place, set srcdir=.
1407 if test "$ac_abs_confdir" = "$ac_pwd"; then
1410 # Remove unnecessary trailing slashes from srcdir.
1411 # Double slashes in file names in object file debugging info
1412 # mess up M-x gdb in Emacs.
1414 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 for ac_var
in $ac_precious_vars; do
1417 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1418 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1419 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1420 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1424 # Report the --help message.
1426 if test "$ac_init_help" = "long"; then
1427 # Omit some internal or obsolete options to make the list less imposing.
1428 # This message is too long to be a string in the A/UX 3.1 sh.
1430 \`configure' configures this package to adapt to many kinds of systems.
1432 Usage: $0 [OPTION]... [VAR=VALUE]...
1434 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1435 VAR=VALUE. See below for descriptions of some of the useful variables.
1437 Defaults for the options are specified in brackets.
1440 -h, --help display this help and exit
1441 --help=short display options specific to this package
1442 --help=recursive display the short help of all the included packages
1443 -V, --version display version information and exit
1444 -q, --quiet, --silent do not print \`checking ...' messages
1445 --cache-file=FILE cache test results in FILE [disabled]
1446 -C, --config-cache alias for \`--cache-file=config.cache'
1447 -n, --no-create do not create output files
1448 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1450 Installation directories:
1451 --prefix=PREFIX install architecture-independent files in PREFIX
1452 [$ac_default_prefix]
1453 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1456 By default, \`make install' will install all the files in
1457 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1458 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1459 for instance \`--prefix=\$HOME'.
1461 For better control, use the options below.
1463 Fine tuning of the installation directories:
1464 --bindir=DIR user executables [EPREFIX/bin]
1465 --sbindir=DIR system admin executables [EPREFIX/sbin]
1466 --libexecdir=DIR program executables [EPREFIX/libexec]
1467 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1468 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1469 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1470 --libdir=DIR object code libraries [EPREFIX/lib]
1471 --includedir=DIR C header files [PREFIX/include]
1472 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1473 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1474 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1475 --infodir=DIR info documentation [DATAROOTDIR/info]
1476 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1477 --mandir=DIR man documentation [DATAROOTDIR/man]
1478 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1479 --htmldir=DIR html documentation [DOCDIR]
1480 --dvidir=DIR dvi documentation [DOCDIR]
1481 --pdfdir=DIR pdf documentation [DOCDIR]
1482 --psdir=DIR ps documentation [DOCDIR]
1488 --x-includes=DIR X include files are
in DIR
1489 --x-libraries=DIR X library files are
in DIR
1492 --build=BUILD configure
for building on BUILD
[guessed
]
1493 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1497 if test -n "$ac_init_help"; then
1502 --disable-option-checking ignore unrecognized
--enable/--with options
1503 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1504 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1505 --enable-build-type=TYPE
1506 Select the build
type. Available types are
:
1507 personal
, nightly
, snapshot
, milestone
, release. Do
1508 NOT use this option unless you know what you are
1509 doing
! (default
=personal
)
1510 --enable-debug=list Enable different types of debug. Commas or
1511 whitespaces can be used to separate the items
in the
1512 list. Available types of debug are
: all
, none
,
1513 messages
, stack
, mungwall
, modules
, symbols. If no
1514 list is provided
then "all" is assumed.
1516 --enable-crosstools Build cross-compiler toolchains
if necessary
1518 --enable-distcc Use distcc as a front end to the compiler
1520 --enable-ccache Use ccache as a front end to the compiler
1522 --enable-target-variant=NAME
1523 Enable a specific target variant
(default
=none
)
1524 --enable-includes=dir Alternative system include directory
1525 --enable-palm-debug-hack
1526 Enable palm debug output hack
in palm native
1528 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1529 --enable-nesting-supervisor
1530 Enable nesting supervisor support
in unix
1532 --disable-mmu Disable MMU support
(default
=enabled
)
1533 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1534 --enable-x11-shm use X11 shared memory
(default
=auto
)
1535 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1536 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1537 --disable-sdltest Do not try to compile and run a
test SDL program
1538 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1541 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1542 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1543 --with-gcc-version=VERSION
1544 Use
host gcc-VERSION
for building AROS
1545 --with-optimization=FLAGS
1546 Use optimization flags FLAGS
(default
=-O2).
1547 --with-paranoia=FLAGS CC flags to
enable paranoia
1548 --with-xcode=PATH Specify XCode path
for iOS targets
1549 (default
=/Developer
).
1550 --with-ios-version=VERSION
1551 Specify minimum supported iOS version
(default
=3.0).
1552 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1553 --with-sdk=PATH Specify Android SDK path
1554 (default
=$default_android_sdk).
1555 --with-ndk=PATH Specify Android NDK path
1556 (default
=$default_android_ndk).
1557 --with-android-version=VERSION
1558 Use Android platform VERSION
(default
=2.2).
1559 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1560 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1561 --with-portssources=DIR Where to download sourcecode
for external ports
1562 --with-bootloader=NAME Use a specific bootloader
1563 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1564 --with-theme=NAME Use a specific GUI Theme
1565 --with-resolution=XRESxYRESxDEPTH
1566 Default resolution of the initial WorkbenchScreen
1567 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1568 --with-x use the X Window System
1569 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1570 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1572 Some influential environment variables
:
1573 CC C compiler
command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1576 nonstandard directory
<lib dir
>
1577 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1578 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1579 you have headers
in a nonstandard directory
<include dir
>
1581 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1583 Use these variables to override the choices made by
`configure' or to help
1584 it to find libraries and programs with nonstandard names/locations.
1586 Report bugs to the package provider.
1591 if test "$ac_init_help" = "recursive"; then
1592 # If there are subdirs, report their specific --help.
1593 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1594 test -d "$ac_dir" ||
1595 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1602 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1603 # A ".." for each directory in $ac_dir_suffix.
1604 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1605 case $ac_top_builddir_sub in
1606 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1607 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1610 ac_abs_top_builddir=$ac_pwd
1611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1612 # for backward compatibility:
1613 ac_top_builddir=$ac_top_build_prefix
1616 .) # We are building in place.
1618 ac_top_srcdir=$ac_top_builddir_sub
1619 ac_abs_top_srcdir=$ac_pwd ;;
1620 [\\/]* | ?:[\\/]* ) # Absolute name.
1621 ac_srcdir=$srcdir$ac_dir_suffix;
1622 ac_top_srcdir=$srcdir
1623 ac_abs_top_srcdir=$srcdir ;;
1625 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1626 ac_top_srcdir=$ac_top_build_prefix$srcdir
1627 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1631 cd "$ac_dir" || { ac_status=$?; continue; }
1632 # Check for guested configure.
1633 if test -f "$ac_srcdir/configure.gnu"; then
1635 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1636 elif test -f "$ac_srcdir/configure"; then
1638 $SHELL "$ac_srcdir/configure" --help=recursive
1640 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1642 cd "$ac_pwd" || { ac_status=$?; break; }
1646 test -n "$ac_init_help" && exit $ac_status
1647 if $ac_init_version; then
1650 generated by GNU Autoconf 2.68
1652 Copyright (C) 2010 Free Software Foundation, Inc.
1653 This configure script is free software; the Free Software Foundation
1654 gives unlimited permission to copy, distribute and modify it.
1659 ## ------------------------ ##
1660 ## Autoconf initialization. ##
1661 ## ------------------------ ##
1663 # ac_fn_c_try_compile LINENO
1664 # --------------------------
1665 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1666 ac_fn_c_try_compile ()
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 rm -f conftest.$ac_objext
1670 if { { ac_try="$ac_compile"
1672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1673 *) ac_try_echo
=$ac_try;;
1675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_compile") 2>conftest.err
1679 if test -s conftest.err
; then
1680 grep -v '^ *+' conftest.err
>conftest.er1
1681 cat conftest.er1
>&5
1682 mv -f conftest.er1 conftest.err
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } && {
1686 test -z "$ac_c_werror_flag" ||
1687 test ! -s conftest.err
1688 } && test -s conftest.
$ac_objext; then :
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.
$ac_ext >&5
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 as_fn_set_status
$ac_retval
1699 } # ac_fn_c_try_compile
1701 # ac_fn_c_try_cpp LINENO
1702 # ----------------------
1703 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1706 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1707 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1716 if test -s conftest.err; then
1717 grep -v '^ *+' conftest.err >conftest.er1
1718 cat conftest.er1 >&5
1719 mv -f conftest.er1 conftest.err
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } > conftest.i && {
1723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1724 test ! -s conftest.err
1728 $as_echo "$as_me: failed program was:" >&5
1729 sed 's/^/| /' conftest.$ac_ext >&5
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 as_fn_set_status $ac_retval
1738 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1739 # -------------------------------------------------------
1740 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1741 # the include files in INCLUDES and setting the cache variable VAR
1743 ac_fn_c_check_header_mongrel ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if eval \${$3+:} false; then :
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if eval \${$3+:} false; then :
1750 $as_echo_n "(cached) " >&6
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1756 # Is the header compilable?
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1758 $as_echo_n "checking $2 usability... " >&6; }
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1764 if ac_fn_c_try_compile "$LINENO"; then :
1765 ac_header_compiler=yes
1767 ac_header_compiler=no
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1771 $as_echo "$ac_header_compiler" >&6; }
1773 # Is the header present?
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1775 $as_echo_n "checking $2 presence... " >&6; }
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1780 if ac_fn_c_try_cpp "$LINENO"; then :
1781 ac_header_preproc=yes
1783 ac_header_preproc=no
1785 rm -f conftest.err conftest.i conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1787 $as_echo "$ac_header_preproc" >&6; }
1789 # So? What about this header?
1790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1793 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1795 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1799 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1801 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1803 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1805 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1807 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811 $as_echo_n "checking for $2... " >&6; }
1812 if eval \${$3+:} false; then :
1813 $as_echo_n "(cached) " >&6
1815 eval "$3=\$ac_header_compiler"
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 } # ac_fn_c_check_header_mongrel
1825 # ac_fn_c_try_run LINENO
1826 # ----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1828 # that executables *can* be run.
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 if { { ac_try="$ac_link"
1834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1835 *) ac_try_echo
=$ac_try;;
1837 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>&5
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1843 { { case "(($ac_try" in
1844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1845 *) ac_try_echo=$ac_try;;
1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848 $as_echo "$ac_try_echo"; } >&5
1849 (eval "$ac_try") 2>&5
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; }; }; then :
1855 $as_echo "$as_me: program exited with status $ac_status" >&5
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1859 ac_retval=$ac_status
1861 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 as_fn_set_status $ac_retval
1867 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1868 # -------------------------------------------------------
1869 # Tests whether HEADER exists and can be compiled using the include files in
1870 # INCLUDES, setting the cache variable VAR accordingly.
1871 ac_fn_c_check_header_compile ()
1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \${$3+:} false; then :
1877 $as_echo_n "(cached) " >&6
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1884 if ac_fn_c_try_compile "$LINENO"; then :
1889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896 } # ac_fn_c_check_header_compile
1898 # ac_fn_c_try_link LINENO
1899 # -----------------------
1900 # Try to link conftest.$ac_ext, and return whether this succeeded.
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 rm -f conftest.$ac_objext conftest$ac_exeext
1905 if { { ac_try="$ac_link"
1907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1908 *) ac_try_echo
=$ac_try;;
1910 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_link") 2>conftest.err
1914 if test -s conftest.err
; then
1915 grep -v '^ *+' conftest.err
>conftest.er1
1916 cat conftest.er1
>&5
1917 mv -f conftest.er1 conftest.err
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } && {
1921 test -z "$ac_c_werror_flag" ||
1922 test ! -s conftest.err
1923 } && test -s conftest
$ac_exeext && {
1924 test "$cross_compiling" = yes ||
1925 $as_test_x conftest
$ac_exeext
1929 $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.
$ac_ext >&5
1934 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1935 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1936 # interfere with the next link command; also delete a directory that is
1937 # left behind by Apple's compiler. We do this before executing the actions.
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 as_fn_set_status
$ac_retval
1942 } # ac_fn_c_try_link
1944 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1945 # ----------------------------------------------------
1946 # Tries to find if the field MEMBER exists in type AGGR, after including
1947 # INCLUDES, setting cache variable VAR accordingly.
1948 ac_fn_c_check_member
()
1950 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1952 $as_echo_n "checking for $2.$3... " >&6; }
1953 if eval \
${$4+:} false
; then :
1954 $as_echo_n "(cached) " >&6
1956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1969 if ac_fn_c_try_compile
"$LINENO"; then :
1972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1979 if (sizeof ac_aggr.$3)
1985 if ac_fn_c_try_compile
"$LINENO"; then :
1990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996 $as_echo "$ac_res" >&6; }
1997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999 } # ac_fn_c_check_member
2001 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2002 # ---------------------------------------------
2003 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2005 ac_fn_c_check_decl
()
2007 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2008 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2009 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2011 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2012 if eval \
${$3+:} false
; then :
2013 $as_echo_n "(cached) " >&6
2015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2021 #ifndef $as_decl_name
2023 (void) $as_decl_use;
2025 (void) $as_decl_name;
2033 if ac_fn_c_try_compile
"$LINENO"; then :
2038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2042 $as_echo "$ac_res" >&6; }
2043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2045 } # ac_fn_c_check_decl
2047 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2048 # -------------------------------------------
2049 # Tests whether TYPE exists after having included INCLUDES, setting cache
2050 # variable VAR accordingly.
2051 ac_fn_c_check_type
()
2053 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055 $as_echo_n "checking for $2... " >&6; }
2056 if eval \
${$3+:} false
; then :
2057 $as_echo_n "(cached) " >&6
2060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2072 if ac_fn_c_try_compile
"$LINENO"; then :
2073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2085 if ac_fn_c_try_compile
"$LINENO"; then :
2090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2096 $as_echo "$ac_res" >&6; }
2097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2099 } # ac_fn_c_check_type
2101 # ac_fn_c_check_func LINENO FUNC VAR
2102 # ----------------------------------
2103 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2104 ac_fn_c_check_func
()
2106 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2108 $as_echo_n "checking for $2... " >&6; }
2109 if eval \
${$3+:} false
; then :
2110 $as_echo_n "(cached) " >&6
2112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2113 /* end confdefs.h. */
2114 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2116 #define $2 innocuous_$2
2118 /* System header to define __stub macros and hopefully few prototypes,
2119 which can conflict with char $2 (); below.
2120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2121 <limits.h> exists even on freestanding compilers. */
2124 # include <limits.h>
2126 # include <assert.h>
2131 /* Override any GCC internal prototype to avoid an error.
2132 Use char because int might match the return type of a GCC
2133 builtin and then its argument prototype would still apply. */
2138 /* The GNU C library defines this for functions which it implements
2139 to always fail with ENOSYS. Some functions are actually named
2140 something starting with __ and the normal name is an alias. */
2141 #if defined __stub_$2 || defined __stub___$2
2153 if ac_fn_c_try_link
"$LINENO"; then :
2158 rm -f core conftest.err conftest.
$ac_objext \
2159 conftest
$ac_exeext conftest.
$ac_ext
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166 } # ac_fn_c_check_func
2167 cat >config.log
<<_ACEOF
2168 This file contains any messages produced by compilers while
2169 running configure, to aid debugging if configure makes a mistake.
2171 It was created by $as_me, which was
2172 generated by GNU Autoconf 2.68. Invocation command line was
2184 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2185 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2186 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2187 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2188 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2190 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2191 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2193 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2194 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2195 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2196 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2197 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2198 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2199 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir
=.
2208 $as_echo "PATH: $as_dir"
2224 # Keep a trace of the command line.
2225 # Strip out --no-create and --no-recursion so they do not pile up.
2226 # Strip out --silent because we don't want to record it for future runs.
2227 # Also quote any args containing shell meta-characters.
2228 # Make two passes to allow for proper duplicate-argument suppression.
2232 ac_must_keep_next
=false
2238 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2239 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2240 |
-silent |
--silent |
--silen |
--sile |
--sil)
2243 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2246 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2248 as_fn_append ac_configure_args1
" '$ac_arg'"
2249 if test $ac_must_keep_next = true
; then
2250 ac_must_keep_next
=false
# Got value, back to normal.
2253 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2254 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2255 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2256 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2257 case "$ac_configure_args0 " in
2258 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2261 -* ) ac_must_keep_next
=true
;;
2264 as_fn_append ac_configure_args
" '$ac_arg'"
2269 { ac_configure_args0
=; unset ac_configure_args0
;}
2270 { ac_configure_args1
=; unset ac_configure_args1
;}
2272 # When interrupted or exit'd, cleanup temporary files, and complete
2273 # config.log. We remove comments because anyway the quotes in there
2274 # would cause problems or look ugly.
2275 # WARNING: Use '\'' to represent an apostrophe within the trap.
2276 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2277 trap 'exit_status=$?
2278 # Save into config.log some information that might help in debugging.
2282 $as_echo "## ---------------- ##
2283 ## Cache variables. ##
2284 ## ---------------- ##"
2286 # The following way of writing the cache mishandles newlines in values,
2288 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2289 eval ac_val=\$$ac_var
2293 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2294 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2297 _ | IFS | as_nl) ;; #(
2298 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2299 *) { eval $ac_var=; unset $ac_var;} ;;
2304 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2305 *${as_nl}ac_space=\ *)
2307 "s/'\''/'\''\\\\'\'''\''/g;
2308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2311 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2318 $as_echo "## ----------------- ##
2319 ## Output variables. ##
2320 ## ----------------- ##"
2322 for ac_var in $ac_subst_vars
2324 eval ac_val=\$$ac_var
2326 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2328 $as_echo "$ac_var='\''$ac_val'\''"
2332 if test -n "$ac_subst_files"; then
2333 $as_echo "## ------------------- ##
2334 ## File substitutions. ##
2335 ## ------------------- ##"
2337 for ac_var
in $ac_subst_files
2339 eval ac_val
=\$
$ac_var
2341 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2343 $as_echo "$ac_var='\''$ac_val'\''"
2348 if test -s confdefs.h; then
2349 $as_echo "## ----------- ##
2356 test "$ac_signal" != 0 &&
2357 $as_echo "$as_me: caught signal $ac_signal"
2358 $as_echo "$as_me: exit $exit_status"
2360 rm -f core *.core core.conftest.* &&
2361 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2364 for ac_signal
in 1 2 13 15; do
2365 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2369 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2370 rm -f -r conftest
* confdefs.h
2372 $as_echo "/* confdefs.h */" > confdefs.h
2374 # Predefined preprocessor variables.
2376 cat >>confdefs.h
<<_ACEOF
2377 #define PACKAGE_NAME "$PACKAGE_NAME"
2380 cat >>confdefs.h
<<_ACEOF
2381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2384 cat >>confdefs.h
<<_ACEOF
2385 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2388 cat >>confdefs.h
<<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2392 cat >>confdefs.h
<<_ACEOF
2393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2396 cat >>confdefs.h
<<_ACEOF
2397 #define PACKAGE_URL "$PACKAGE_URL"
2401 # Let the site file select an alternate cache file if it wants to.
2402 # Prefer an explicitly selected file to automatically selected ones.
2405 if test -n "$CONFIG_SITE"; then
2406 # We do not want a PATH search for config.site.
2407 case $CONFIG_SITE in #((
2408 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2409 */*) ac_site_file1
=$CONFIG_SITE;;
2410 *) ac_site_file1
=.
/$CONFIG_SITE;;
2412 elif test "x$prefix" != xNONE
; then
2413 ac_site_file1
=$prefix/share
/config.site
2414 ac_site_file2
=$prefix/etc
/config.site
2416 ac_site_file1
=$ac_default_prefix/share
/config.site
2417 ac_site_file2
=$ac_default_prefix/etc
/config.site
2419 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2421 test "x$ac_site_file" = xNONE
&& continue
2422 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2424 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2425 sed 's/^/| /' "$ac_site_file" >&5
2427 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 as_fn_error $?
"failed to load site script $ac_site_file
2430 See \`config.log' for more details" "$LINENO" 5; }
2434 if test -r "$cache_file"; then
2435 # Some versions of bash will fail to source /dev/null (special files
2436 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2437 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2439 $as_echo "$as_me: loading cache $cache_file" >&6;}
2441 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2442 *) .
"./$cache_file";;
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2447 $as_echo "$as_me: creating cache $cache_file" >&6;}
2451 as_fn_append ac_header_list
" stdlib.h"
2452 as_fn_append ac_header_list
" unistd.h"
2453 as_fn_append ac_header_list
" sys/param.h"
2454 # Check that the precious variables saved in the cache have kept the same
2456 ac_cache_corrupted
=false
2457 for ac_var
in $ac_precious_vars; do
2458 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2459 eval ac_new_set
=\
$ac_env_${ac_var}_set
2460 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2461 eval ac_new_val
=\
$ac_env_${ac_var}_value
2462 case $ac_old_set,$ac_new_set in
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2465 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2466 ac_cache_corrupted
=: ;;
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2469 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2470 ac_cache_corrupted
=: ;;
2473 if test "x$ac_old_val" != "x$ac_new_val"; then
2474 # differences in whitespace do not lead to failure.
2475 ac_old_val_w
=`echo x $ac_old_val`
2476 ac_new_val_w
=`echo x $ac_new_val`
2477 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2479 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2480 ac_cache_corrupted
=:
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2483 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2484 eval $ac_var=\
$ac_old_val
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2487 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2489 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2492 # Pass precious variables to config.status.
2493 if test "$ac_new_set" = set; then
2495 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2496 *) ac_arg
=$ac_var=$ac_new_val ;;
2498 case " $ac_configure_args " in
2499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2500 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2504 if $ac_cache_corrupted; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2508 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2509 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2511 ## -------------------- ##
2512 ## Main body of script. ##
2513 ## -------------------- ##
2516 ac_cpp
='$CPP $CPPFLAGS'
2517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2524 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2525 if test -f "$ac_dir/install-sh"; then
2527 ac_install_sh
="$ac_aux_dir/install-sh -c"
2529 elif test -f "$ac_dir/install.sh"; then
2531 ac_install_sh
="$ac_aux_dir/install.sh -c"
2533 elif test -f "$ac_dir/shtool"; then
2535 ac_install_sh
="$ac_aux_dir/shtool install -c"
2539 if test -z "$ac_aux_dir"; then
2540 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2543 # These three variables are undocumented and unsupported,
2544 # and are intended to be withdrawn in a future Autoconf release.
2545 # They can cause serious problems if a builder's source tree is in a directory
2546 # whose full name contains unusual characters.
2547 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2548 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2549 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2553 # Check what host we are running on.
2554 # If a target is not suggested, we use this one.
2555 # Note that what we call a target, Autoconf calls a host.
2556 # Make sure we can run config.sub.
2557 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2558 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2561 $as_echo_n "checking build system type... " >&6; }
2562 if ${ac_cv_build+:} false
; then :
2563 $as_echo_n "(cached) " >&6
2565 ac_build_alias
=$build_alias
2566 test "x$ac_build_alias" = x
&&
2567 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2568 test "x$ac_build_alias" = x
&&
2569 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2570 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2571 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2575 $as_echo "$ac_cv_build" >&6; }
2576 case $ac_cv_build in
2578 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2581 ac_save_IFS
=$IFS; IFS
='-'
2587 # Remember, the first character of IFS is used to create $*,
2588 # except with old shells:
2591 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2595 $as_echo_n "checking host system type... " >&6; }
2596 if ${ac_cv_host+:} false
; then :
2597 $as_echo_n "(cached) " >&6
2599 if test "x$host_alias" = x
; then
2600 ac_cv_host
=$ac_cv_build
2602 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2603 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2608 $as_echo "$ac_cv_host" >&6; }
2611 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2614 ac_save_IFS
=$IFS; IFS
='-'
2620 # Remember, the first character of IFS is used to create $*,
2621 # except with old shells:
2624 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2628 # The AROS target is slightly different to the normal GNU style
2629 # format. We don't have the middle part, and we reverse the order
2630 # of the $(CPU) and $(OS) bits.
2632 # Don't strip the version of the target yet, it might be
2633 # useful on some systems.
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2636 $as_echo_n "checking for AROS style target... " >&6; }
2638 if test "$target" = "NONE" ; then
2639 target
=$host_os-$host_cpu
2641 if test "$target" = "" ; then
2642 target
=$host_os-$host_cpu
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2646 $as_echo "$target" >&6; }
2648 if test "$host_os" = "mingw32" ; then
2652 #don't know where else to put this...
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2654 $as_echo_n "checking building AROS in... " >&6; }
2655 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2656 AROS_BUILDDIR_UNIX
=${PWD}
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2658 $as_echo "$AROS_BUILDDIR" >&6; }
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2661 $as_echo_n "checking AROS source in... " >&6; }
2662 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2665 $as_echo "$SRCDIR" >&6; }
2667 # Parse the target field into something useful.
2669 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2670 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2673 aros_default_wbwidth
=800
2674 aros_default_wbheight
=600
2675 aros_default_wbdepth
=4
2678 # The first step is to find the host binaries.
2679 # Check for a compiler.
2681 ac_cpp
='$CPP $CPPFLAGS'
2682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2685 if test -n "$ac_tool_prefix"; then
2686 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2687 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if ${ac_cv_prog_CC+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$CC"; then
2694 ac_cv_prog_CC
="$CC" # Let the user override the test.
2696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir
=.
2701 for ac_exec_ext
in '' $ac_executable_extensions; do
2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 if test -n "$CC"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2716 $as_echo "$CC" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2724 if test -z "$ac_cv_prog_CC"; then
2726 # Extract the first word of "gcc", so it can be a program name with args.
2727 set dummy gcc
; ac_word
=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$ac_ct_CC"; then
2734 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir
=.
2741 for ac_exec_ext
in '' $ac_executable_extensions; do
2742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743 ac_cv_prog_ac_ct_CC
="gcc"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2754 if test -n "$ac_ct_CC"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2756 $as_echo "$ac_ct_CC" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2762 if test "x$ac_ct_CC" = x
; then
2765 case $cross_compiling:$ac_tool_warned in
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2769 ac_tool_warned
=yes ;;
2777 if test -z "$CC"; then
2778 if test -n "$ac_tool_prefix"; then
2779 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2780 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if ${ac_cv_prog_CC+:} false
; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$CC"; then
2787 ac_cv_prog_CC
="$CC" # Let the user override the test.
2789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir
=.
2794 for ac_exec_ext
in '' $ac_executable_extensions; do
2795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test -n "$CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2809 $as_echo "$CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2818 if test -z "$CC"; then
2819 # Extract the first word of "cc", so it can be a program name with args.
2820 set dummy cc
; ac_word
=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if ${ac_cv_prog_CC+:} false
; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$CC"; then
2827 ac_cv_prog_CC
="$CC" # Let the user override the test.
2830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir
=.
2835 for ac_exec_ext
in '' $ac_executable_extensions; do
2836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2837 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2838 ac_prog_rejected
=yes
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test $ac_prog_rejected = yes; then
2850 # We found a bogon in the path, so make sure we never use it.
2851 set dummy
$ac_cv_prog_CC
2853 if test $# != 0; then
2854 # We chose a different compiler from the bogus one.
2855 # However, it has the same basename, so the bogon will be chosen
2856 # first if we set CC to just the basename; use the full file name.
2858 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2864 if test -n "$CC"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2866 $as_echo "$CC" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2874 if test -z "$CC"; then
2875 if test -n "$ac_tool_prefix"; then
2876 for ac_prog
in cl.exe
2878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2879 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if ${ac_cv_prog_CC+:} false
; then :
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$CC"; then
2886 ac_cv_prog_CC
="$CC" # Let the user override the test.
2888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir
=.
2893 for ac_exec_ext
in '' $ac_executable_extensions; do
2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2895 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 if test -n "$CC"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2915 test -n "$CC" && break
2918 if test -z "$CC"; then
2920 for ac_prog
in cl.exe
2922 # Extract the first word of "$ac_prog", so it can be a program name with args.
2923 set dummy
$ac_prog; ac_word
=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$ac_ct_CC"; then
2930 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir
=.
2937 for ac_exec_ext
in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 ac_cv_prog_ac_ct_CC
="$ac_prog"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2950 if test -n "$ac_ct_CC"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2952 $as_echo "$ac_ct_CC" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2959 test -n "$ac_ct_CC" && break
2962 if test "x$ac_ct_CC" = x
; then
2965 case $cross_compiling:$ac_tool_warned in
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2969 ac_tool_warned
=yes ;;
2978 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 as_fn_error $?
"no acceptable C compiler found in \$PATH
2981 See \`config.log' for more details" "$LINENO" 5; }
2983 # Provide some information about the compiler.
2984 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2987 for ac_option
in --version -v -V -qversion; do
2988 { { ac_try
="$ac_compiler $ac_option >&5"
2990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994 $as_echo "$ac_try_echo"; } >&5
2995 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2997 if test -s conftest.err; then
2999 ... rest of stderr output deleted ...
3000 10q' conftest.err >conftest.er1
3001 cat conftest.er1 >&5
3003 rm -f conftest.er1 conftest.err
3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; }
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3019 ac_clean_files_save=$ac_clean_files
3020 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3021 # Try to create an executable without -o first, disregard a.out.
3022 # It will help us diagnose broken compilers, and finding out an intuition
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3025 $as_echo_n "checking whether the C compiler works... " >&6; }
3026 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3028 # The possible output files:
3029 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3032 for ac_file in $ac_files
3035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3036 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3041 if { { ac_try="$ac_link_default"
3043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3044 *) ac_try_echo
=$ac_try;;
3046 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_link_default") 2>&5
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }; then :
3052 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3053 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3054 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3055 # so that the user can short-circuit this test for compilers unknown to
3057 for ac_file
in $ac_files ''
3059 test -f "$ac_file" ||
continue
3061 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3064 # We found the default executable, but exeext='' is most
3068 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3070 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3072 # We set ac_cv_exeext here because the later test for it is not
3073 # safe: cross compilers may not add the suffix if given an `-o'
3074 # argument, so we may need to know it at that point already.
3075 # Even if this section looks crufty: it has the advantage of
3082 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3087 if test -z "$ac_file"; then :
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089 $as_echo "no" >&6; }
3090 $as_echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.
$ac_ext >&5
3093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095 as_fn_error
77 "C compiler cannot create executables
3096 See \`config.log' for more details" "$LINENO" 5; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3099 $as_echo "yes" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3102 $as_echo_n "checking for C compiler default output file name... " >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3104 $as_echo "$ac_file" >&6; }
3105 ac_exeext
=$ac_cv_exeext
3107 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3108 ac_clean_files
=$ac_clean_files_save
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3110 $as_echo_n "checking for suffix of executables... " >&6; }
3111 if { { ac_try
="$ac_link"
3113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3117 $as_echo "$ac_try_echo"; } >&5
3118 (eval "$ac_link") 2>&5
3120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3121 test $ac_status = 0; }; then :
3122 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3123 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3124 # work properly (i.e., refer to `conftest.exe'), while it won't with
3126 for ac_file
in conftest.exe conftest conftest.
*; do
3127 test -f "$ac_file" ||
continue
3129 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3130 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3138 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3139 See \`config.log' for more details" "$LINENO" 5; }
3141 rm -f conftest conftest
$ac_cv_exeext
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3143 $as_echo "$ac_cv_exeext" >&6; }
3145 rm -f conftest.
$ac_ext
3146 EXEEXT
=$ac_cv_exeext
3148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3149 /* end confdefs.h. */
3154 FILE *f = fopen ("conftest.out", "w");
3155 return ferror (f) || fclose (f) != 0;
3161 ac_clean_files
="$ac_clean_files conftest.out"
3162 # Check that the compiler produces executables we can run. If not, either
3163 # the compiler is broken, or we cross compile.
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3165 $as_echo_n "checking whether we are cross compiling... " >&6; }
3166 if test "$cross_compiling" != yes; then
3167 { { ac_try
="$ac_link"
3169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3173 $as_echo "$ac_try_echo"; } >&5
3174 (eval "$ac_link") 2>&5
3176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3177 test $ac_status = 0; }
3178 if { ac_try='./conftest$ac_cv_exeext'
3179 { { case "(($ac_try" in
3180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3181 *) ac_try_echo
=$ac_try;;
3183 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3184 $as_echo "$ac_try_echo"; } >&5
3185 (eval "$ac_try") 2>&5
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }; }; then
3191 if test "$cross_compiling" = maybe
; then
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 as_fn_error $?
"cannot run C compiled programs.
3197 If you meant to cross compile, use \`--host'.
3198 See \`config.log' for more details" "$LINENO" 5; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3203 $as_echo "$cross_compiling" >&6; }
3205 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3206 ac_clean_files
=$ac_clean_files_save
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3208 $as_echo_n "checking for suffix of object files... " >&6; }
3209 if ${ac_cv_objext+:} false
; then :
3210 $as_echo_n "(cached) " >&6
3212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3223 rm -f conftest.o conftest.obj
3224 if { { ac_try
="$ac_compile"
3226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3230 $as_echo "$ac_try_echo"; } >&5
3231 (eval "$ac_compile") 2>&5
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; }; then :
3235 for ac_file in conftest.o conftest.obj conftest.*; do
3236 test -f "$ac_file" || continue;
3238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3239 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3244 $as_echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3250 See \
`config.log' for more details" "$LINENO" 5; }
3252 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3255 $as_echo "$ac_cv_objext" >&6; }
3256 OBJEXT=$ac_cv_objext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3259 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3260 if ${ac_cv_c_compiler_gnu+:} false; then :
3261 $as_echo_n "(cached) " >&6
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3277 if ac_fn_c_try_compile "$LINENO"; then :
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3287 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3288 if test $ac_compiler_gnu = yes; then
3293 ac_test_CFLAGS=${CFLAGS+set}
3294 ac_save_CFLAGS=$CFLAGS
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3296 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3297 if ${ac_cv_prog_cc_g+:} false; then :
3298 $as_echo_n "(cached) " >&6
3300 ac_save_c_werror_flag=$ac_c_werror_flag
3301 ac_c_werror_flag=yes
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3315 if ac_fn_c_try_compile "$LINENO"; then :
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3330 if ac_fn_c_try_compile "$LINENO"; then :
3333 ac_c_werror_flag=$ac_save_c_werror_flag
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 if ac_fn_c_try_compile "$LINENO"; then :
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 ac_c_werror_flag=$ac_save_c_werror_flag
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3357 $as_echo "$ac_cv_prog_cc_g" >&6; }
3358 if test "$ac_test_CFLAGS" = set; then
3359 CFLAGS=$ac_save_CFLAGS
3360 elif test $ac_cv_prog_cc_g = yes; then
3361 if test "$GCC" = yes; then
3367 if test "$GCC" = yes; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3374 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3375 if ${ac_cv_prog_cc_c89+:} false; then :
3376 $as_echo_n "(cached) " >&6
3378 ac_cv_prog_cc_c89=no
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3384 #include <sys/types.h>
3385 #include <sys/stat.h>
3386 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3387 struct buf { int x; };
3388 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3389 static char *e (p, i)
3395 static char *f (char * (*g) (char **, int), char **p, ...)
3400 s = g (p, va_arg (v,int));
3405 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3406 function prototypes and stuff, but not '\xHH' hex character constants.
3407 These don't provoke an error unfortunately, instead are silently treated
3408 as 'x'. The following induces an error, until -std is added to get
3409 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3410 array size at least. It's necessary to write '\x00'==0 to get something
3411 that's true only with -std. */
3412 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3414 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3415 inside strings and character constants. */
3417 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3419 int test (int i, double x);
3420 struct s1 {int (*f) (int a);};
3421 struct s2 {int (*f) (double a);};
3422 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3428 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3433 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3434 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3436 CC="$ac_save_CC $ac_arg"
3437 if ac_fn_c_try_compile "$LINENO"; then :
3438 ac_cv_prog_cc_c89=$ac_arg
3440 rm -f core conftest.err conftest.$ac_objext
3441 test "x$ac_cv_prog_cc_c89" != "xno" && break
3443 rm -f conftest.$ac_ext
3448 case "x$ac_cv_prog_cc_c89" in
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3451 $as_echo "none needed" >&6; } ;;
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3454 $as_echo "unsupported" >&6; } ;;
3456 CC="$CC $ac_cv_prog_cc_c89"
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3458 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3460 if test "x$ac_cv_prog_cc_c89" != xno; then :
3465 ac_cpp='$CPP $CPPFLAGS'
3466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3470 case $ac_cv_prog_cc_stdc in #(
3472 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3475 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3476 if ${ac_cv_prog_cc_c99+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 ac_cv_prog_cc_c99=no
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3484 #include <stdbool.h>
3489 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3490 #define debug(...) fprintf (stderr, __VA_ARGS__)
3491 #define showlist(...) puts (#__VA_ARGS__)
3492 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3494 test_varargs_macros (void)
3499 debug ("X = %d\n", x);
3500 showlist (The first, second, and third items.);
3501 report (x>y, "x is %d but y is %d", x, y);
3504 // Check long long types.
3505 #define BIG64 18446744073709551615ull
3506 #define BIG32 4294967295ul
3507 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3509 your preprocessor is broken;
3513 your preprocessor is broken;
3515 static long long int bignum = -9223372036854775807LL;
3516 static unsigned long long int ubignum = BIG64;
3518 struct incomplete_array
3526 const wchar_t *name;
3530 typedef const char *ccp;
3533 test_restrict (ccp restrict text)
3535 // See if C++-style comments work.
3536 // Iterate through items via the restricted pointer.
3537 // Also check for declarations in for loops.
3538 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3543 // Check varargs and va_copy.
3545 test_varargs (const char *format, ...)
3548 va_start (args, format);
3550 va_copy (args_copy, args);
3561 str = va_arg (args_copy, const char *);
3564 number = va_arg (args_copy, int);
3567 fnumber = va_arg (args_copy, double);
3582 _Bool success = false;
3585 if (test_restrict ("String literal") == 0)
3587 char *restrict newvar = "Another string";
3590 test_varargs ("s, d' f .", "string", 65, 34.234);
3591 test_varargs_macros ();
3593 // Check flexible array members.
3594 struct incomplete_array *ia =
3595 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3597 for (int i = 0; i < ia->datasize; ++i)
3598 ia->data[i] = i * 1.234;
3600 // Check named initializers.
3601 struct named_init ni = {
3603 .name = L"Test wide string",
3604 .average = 543.34343,
3609 int dynamic_array[ni.number];
3610 dynamic_array[ni.number - 1] = 543;
3612 // work around unused variable warnings
3613 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3614 || dynamic_array[ni.number - 1] != 543);
3620 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3622 CC="$ac_save_CC $ac_arg"
3623 if ac_fn_c_try_compile "$LINENO"; then :
3624 ac_cv_prog_cc_c99=$ac_arg
3626 rm -f core conftest.err conftest.$ac_objext
3627 test "x$ac_cv_prog_cc_c99" != "xno" && break
3629 rm -f conftest.$ac_ext
3634 case "x$ac_cv_prog_cc_c99" in
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3637 $as_echo "none needed" >&6; } ;;
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3640 $as_echo "unsupported" >&6; } ;;
3642 CC="$CC $ac_cv_prog_cc_c99"
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3644 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3646 if test "x$ac_cv_prog_cc_c99" != xno; then :
3647 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3650 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3651 if ${ac_cv_prog_cc_c89+:} false; then :
3652 $as_echo_n "(cached) " >&6
3654 ac_cv_prog_cc_c89=no
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3660 #include <sys/types.h>
3661 #include <sys/stat.h>
3662 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3663 struct buf { int x; };
3664 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3665 static char *e (p, i)
3671 static char *f (char * (*g) (char **, int), char **p, ...)
3676 s = g (p, va_arg (v,int));
3681 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3682 function prototypes and stuff, but not '\xHH' hex character constants.
3683 These don't provoke an error unfortunately, instead are silently treated
3684 as 'x'. The following induces an error, until -std is added to get
3685 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3686 array size at least. It's necessary to write '\x00'==0 to get something
3687 that's true only with -std. */
3688 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3690 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3691 inside strings and character constants. */
3693 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3695 int test (int i, double x);
3696 struct s1 {int (*f) (int a);};
3697 struct s2 {int (*f) (double a);};
3698 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3704 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3709 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3710 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3712 CC="$ac_save_CC $ac_arg"
3713 if ac_fn_c_try_compile "$LINENO"; then :
3714 ac_cv_prog_cc_c89=$ac_arg
3716 rm -f core conftest.err conftest.$ac_objext
3717 test "x$ac_cv_prog_cc_c89" != "xno" && break
3719 rm -f conftest.$ac_ext
3724 case "x$ac_cv_prog_cc_c89" in
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3727 $as_echo "none needed" >&6; } ;;
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3730 $as_echo "unsupported" >&6; } ;;
3732 CC="$CC $ac_cv_prog_cc_c89"
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3734 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3736 if test "x$ac_cv_prog_cc_c89" != xno; then :
3737 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3739 ac_cv_prog_cc_stdc=no
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3746 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3747 if ${ac_cv_prog_cc_stdc+:} false; then :
3748 $as_echo_n "(cached) " >&6
3751 case $ac_cv_prog_cc_stdc in #(
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3754 $as_echo "unsupported" >&6; } ;; #(
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3757 $as_echo "none needed" >&6; } ;; #(
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3760 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3764 ac_cpp='$CPP $CPPFLAGS'
3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3769 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3770 # On Suns, sometimes $CPP names a directory.
3771 if test -n "$CPP" && test -d "$CPP"; then
3774 if test -z "$CPP"; then
3775 if ${ac_cv_prog_CPP+:} false; then :
3776 $as_echo_n "(cached) " >&6
3778 # Double quotes because CPP needs to be expanded
3779 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3782 for ac_c_preproc_warn_flag in '' yes
3784 # Use a header file that comes with gcc, so configuring glibc
3785 # with a fresh cross-compiler works.
3786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787 # <limits.h> exists even on freestanding compilers.
3788 # On the NeXT, cc -E runs the code through the compiler's parser,
3789 # not just through cpp. "Syntax error" is here to catch this case.
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3793 # include <limits.h>
3795 # include <assert.h>
3799 if ac_fn_c_try_cpp "$LINENO"; then :
3802 # Broken: fails on valid input.
3805 rm -f conftest.err conftest.i conftest.$ac_ext
3807 # OK, works on sane cases. Now check whether nonexistent headers
3808 # can be detected and how.
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3811 #include <ac_nonexistent.h>
3813 if ac_fn_c_try_cpp "$LINENO"; then :
3814 # Broken: success on invalid input.
3817 # Passes both tests.
3821 rm -f conftest.err conftest.i conftest.$ac_ext
3824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3825 rm -f conftest.i conftest.err conftest.
$ac_ext
3826 if $ac_preproc_ok; then :
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3839 $as_echo "$CPP" >&6; }
3841 for ac_c_preproc_warn_flag
in '' yes
3843 # Use a header file that comes with gcc, so configuring glibc
3844 # with a fresh cross-compiler works.
3845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3846 # <limits.h> exists even on freestanding compilers.
3847 # On the NeXT, cc -E runs the code through the compiler's parser,
3848 # not just through cpp. "Syntax error" is here to catch this case.
3849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h. */
3852 # include <limits.h>
3854 # include <assert.h>
3858 if ac_fn_c_try_cpp
"$LINENO"; then :
3861 # Broken: fails on valid input.
3864 rm -f conftest.err conftest.i conftest.
$ac_ext
3866 # OK, works on sane cases. Now check whether nonexistent headers
3867 # can be detected and how.
3868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3870 #include <ac_nonexistent.h>
3872 if ac_fn_c_try_cpp
"$LINENO"; then :
3873 # Broken: success on invalid input.
3876 # Passes both tests.
3880 rm -f conftest.err conftest.i conftest.
$ac_ext
3883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3884 rm -f conftest.i conftest.err conftest.
$ac_ext
3885 if $ac_preproc_ok; then :
3888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3890 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3891 See \`config.log' for more details" "$LINENO" 5; }
3895 ac_cpp
='$CPP $CPPFLAGS'
3896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3901 # Check for a compatible awk
3902 for ac_prog
in gawk nawk
3904 # Extract the first word of "$ac_prog", so it can be a program name with args.
3905 set dummy
$ac_prog; ac_word
=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if ${ac_cv_prog_AWK+:} false
; then :
3909 $as_echo_n "(cached) " >&6
3911 if test -n "$AWK"; then
3912 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir
=.
3919 for ac_exec_ext
in '' $ac_executable_extensions; do
3920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3921 ac_cv_prog_AWK
="$ac_prog"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3932 if test -n "$AWK"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3934 $as_echo "$AWK" >&6; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3941 test -n "$AWK" && break
3944 if test "$AWK" = ""; then
3945 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3947 # Extract the first word of "mmake", so it can be a program name with args.
3948 set dummy mmake
; ac_word
=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_prog_MMAKE+:} false
; then :
3952 $as_echo_n "(cached) " >&6
3954 if test -n "$MMAKE"; then
3955 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3961 test -z "$as_dir" && as_dir
=.
3962 for ac_exec_ext
in '' $ac_executable_extensions; do
3963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3964 ac_cv_prog_MMAKE
="mmake "
3965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3974 MMAKE
=$ac_cv_prog_MMAKE
3975 if test -n "$MMAKE"; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3977 $as_echo "$MMAKE" >&6; }
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3985 # Perform some default variable assignments. Note all of these will be
3986 # Regenerated from the script, so there is no need to cache them.
3989 if test "$GCC" = "yes"; then
3990 aros_gcc_ld
=`$CC -print-prog-name=ld`
3991 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3992 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3994 $as_echo_n "checking for $ac_word... " >&6; }
3995 if ${ac_cv_path_aros_host_ld+:} false
; then :
3996 $as_echo_n "(cached) " >&6
3998 case $aros_host_ld in
4000 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4004 for as_dir
in `dirname $aros_gcc_ld`
4007 test -z "$as_dir" && as_dir
=.
4008 for ac_exec_ext
in '' $ac_executable_extensions; do
4009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4010 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 aros_host_ld
=$ac_cv_path_aros_host_ld
4022 if test -n "$aros_host_ld"; then
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4024 $as_echo "$aros_host_ld" >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4027 $as_echo "no" >&6; }
4032 if test "$aros_host_ld" = ""; then
4033 # Extract the first word of "ld", so it can be a program name with args.
4034 set dummy ld
; ac_word
=$2
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4036 $as_echo_n "checking for $ac_word... " >&6; }
4037 if ${ac_cv_path_aros_host_ld+:} false
; then :
4038 $as_echo_n "(cached) " >&6
4040 case $aros_host_ld in
4042 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_exec_ext
in '' $ac_executable_extensions; do
4051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4052 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 aros_host_ld
=$ac_cv_path_aros_host_ld
4064 if test -n "$aros_host_ld"; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4066 $as_echo "$aros_host_ld" >&6; }
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4069 $as_echo "no" >&6; }
4074 if test "$aros_host_ld" = ""; then
4075 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4077 aros_host_make
="make"
4078 aros_host_cflags
=$CFLAGS
4079 aros_host_ldflags
=$LDFLAGS
4080 aros_host_debug
="-g -O0"
4081 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4082 aros_host_mkargs
="--no-print-directory"
4083 aros_host_incl
="/usr/include"
4084 aros_host_exe_suffix
="$EXEEXT"
4085 aros_host_lib_suffix
=""
4087 for ac_prog
in aclocal aclocal19 aclocal-1.9
4089 # Extract the first word of "$ac_prog", so it can be a program name with args.
4090 set dummy
$ac_prog; ac_word
=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4094 $as_echo_n "(cached) " >&6
4096 if test -n "$aros_host_aclocal"; then
4097 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir
=.
4104 for ac_exec_ext
in '' $ac_executable_extensions; do
4105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4106 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4116 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4117 if test -n "$aros_host_aclocal"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4119 $as_echo "$aros_host_aclocal" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4126 test -n "$aros_host_aclocal" && break
4129 for ac_prog
in autoconf autoconf259 autoconf253
4131 # Extract the first word of "$ac_prog", so it can be a program name with args.
4132 set dummy
$ac_prog; ac_word
=$2
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4134 $as_echo_n "checking for $ac_word... " >&6; }
4135 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4136 $as_echo_n "(cached) " >&6
4138 if test -n "$aros_host_autoconf"; then
4139 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4145 test -z "$as_dir" && as_dir
=.
4146 for ac_exec_ext
in '' $ac_executable_extensions; do
4147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4148 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4159 if test -n "$aros_host_autoconf"; then
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4161 $as_echo "$aros_host_autoconf" >&6; }
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4164 $as_echo "no" >&6; }
4168 test -n "$aros_host_autoconf" && break
4171 for ac_prog
in autoheader autoheader259 autoheader253
4173 # Extract the first word of "$ac_prog", so it can be a program name with args.
4174 set dummy
$ac_prog; ac_word
=$2
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4176 $as_echo_n "checking for $ac_word... " >&6; }
4177 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4178 $as_echo_n "(cached) " >&6
4180 if test -n "$aros_host_autoheader"; then
4181 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4187 test -z "$as_dir" && as_dir
=.
4188 for ac_exec_ext
in '' $ac_executable_extensions; do
4189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4190 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4201 if test -n "$aros_host_autoheader"; then
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4203 $as_echo "$aros_host_autoheader" >&6; }
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206 $as_echo "no" >&6; }
4210 test -n "$aros_host_autoheader" && break
4213 for ac_prog
in automake automake19 automake-1.9
4215 # Extract the first word of "$ac_prog", so it can be a program name with args.
4216 set dummy
$ac_prog; ac_word
=$2
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4218 $as_echo_n "checking for $ac_word... " >&6; }
4219 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4220 $as_echo_n "(cached) " >&6
4222 if test -n "$aros_host_automake"; then
4223 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4229 test -z "$as_dir" && as_dir
=.
4230 for ac_exec_ext
in '' $ac_executable_extensions; do
4231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4232 ac_cv_prog_aros_host_automake
="$ac_prog"
4233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 aros_host_automake
=$ac_cv_prog_aros_host_automake
4243 if test -n "$aros_host_automake"; then
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4245 $as_echo "$aros_host_automake" >&6; }
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4248 $as_echo "no" >&6; }
4252 test -n "$aros_host_automake" && break
4256 if test "$aros_host_aclocal" = ""; then
4257 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4259 if test "$aros_host_automake" = ""; then
4260 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4263 case "$aros_host_cc" in
4265 aros_host_cc_pipe
="-pipe"
4268 aros_host_cc_pipe
=""
4271 aros_host_cc_pipe
=""
4275 aros_kernel_cc_includes
=""
4276 aros_target_cc_includes
=""
4278 # ----------------------------------------------------------------------------------------
4279 # Host-specific defaults
4281 # Override this to "yes" in order to force a specific build to use real AROS crosscompiler
4282 # instead of a wrapper script.
4283 # Useful for non-ELF hosts (like Windows and Darwin).
4284 # Can also be overriden in target section below
4287 # This is the main host configuration section. It is where the host
4288 # can change the values of any variables it needs to change. We do
4289 # not look at anything that compiles to the target yet, we'll get
4294 aros_host_arch
="aros"
4295 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4298 aros_host_cpu
="i386"
4301 aros_host_cpu
="x86_64"
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4308 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4309 aros_host_cpu
="$host_cpu"
4315 aros_host_arch
="linux"
4316 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4319 aros_host_cpu
="i386"
4322 aros_host_cpu
="x86_64"
4325 aros_host_cpu
="m68k"
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4335 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4336 aros_host_cpu
="$host_cpu"
4342 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4343 aros_host_make
="gmake"
4344 aros_host_arch
="freebsd"
4345 aros_host_cpu
="i386"
4347 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4351 aros_object_format
="elf_i386"
4355 aros_object_format
="elf_i386_fbsd"
4362 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4363 aros_host_arch
="darwin"
4365 android_build_os
="darwin-x86"
4366 android_tool
="android"
4367 default_android_sdk
="/android-sdk-mac_x86"
4368 default_android_ndk
="/android-ndk-r5b"
4371 aros_host_cpu
="i386"
4374 aros_host_cpu
="x86_64"
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4381 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4382 aros_host_cpu
="$host_cpu"
4386 aros_host_ldflags
="$aros_host_ldflags -liconv"
4391 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4392 aros_host_make
="gmake"
4393 aros_host_arch
="dragonfly"
4396 aros_host_cpu
="i386"
4399 aros_host_cpu
="x86_64"
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4403 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4404 aros_host_cpu
="$host_cpu"
4410 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4411 aros_host_make
="gmake"
4412 aros_host_arch
="netbsd"
4415 aros_host_cpu
="i386"
4418 aros_host_cpu
="m68k"
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4422 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4423 aros_host_cpu
="$host_cpu"
4426 aros_host_lib_suffix
=".0.0"
4430 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4431 aros_host_make
="gmake"
4432 aros_host_arch
="openbsd"
4435 aros_host_cpu
="i386"
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4439 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4440 aros_host_cpu
="$host_cpu"
4446 aros_host_arch
="solaris"
4447 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4450 aros_host_cpu
="i386"
4453 aros_host_cpu
="sparc"
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4457 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4458 aros_host_cpu
="$host_cpu"
4464 aros_host_arch
="morphos"
4469 aros_host_arch
="amiga"
4474 TOUCH
="/gg/bin/touch"
4477 aros_host_cpu
="m68k"
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4484 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4485 aros_host_cpu
="$host_cpu"
4491 aros_host_arch
="cygwin"
4493 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4494 android_build_os
="windows"
4495 android_tool
="android.bat"
4496 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4500 aros_host_cpu
="i386"
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4504 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4505 aros_host_cpu
="$host_cpu"
4511 aros_host_arch
="mingw32"
4513 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4514 android_build_os
="windows"
4515 android_tool
="android.bat"
4516 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4520 aros_host_cpu
="i386"
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4524 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4525 aros_host_cpu
="$host_cpu"
4530 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4534 # Extract the first word of "ar", so it can be a program name with args.
4535 set dummy
ar; ac_word
=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -n "$aros_host_ar"; then
4542 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_exec_ext
in '' $ac_executable_extensions; do
4550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551 ac_cv_prog_aros_host_ar
="ar cr"
4552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 aros_host_ar
=$ac_cv_prog_aros_host_ar
4562 if test -n "$aros_host_ar"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4564 $as_echo "$aros_host_ar" >&6; }
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4571 if test "$aros_host_ar" = ""; then
4572 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4574 # Extract the first word of "ranlib", so it can be a program name with args.
4575 set dummy ranlib
; ac_word
=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -n "$aros_host_ranlib"; then
4582 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir
=.
4589 for ac_exec_ext
in '' $ac_executable_extensions; do
4590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591 ac_cv_prog_aros_host_ranlib
="ranlib "
4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4602 if test -n "$aros_host_ranlib"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4604 $as_echo "$aros_host_ranlib" >&6; }
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4611 if test "$aros_host_ranlib" = ""; then
4612 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4614 # Extract the first word of "strip", so it can be a program name with args.
4615 set dummy strip
; ac_word
=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -n "$aros_host_strip"; then
4622 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir
=.
4629 for ac_exec_ext
in '' $ac_executable_extensions; do
4630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4631 ac_cv_prog_aros_host_strip
="strip "
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 aros_host_strip
=$ac_cv_prog_aros_host_strip
4642 if test -n "$aros_host_strip"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4644 $as_echo "$aros_host_strip" >&6; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4651 if test "$aros_host_strip" = ""; then
4652 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4655 # Extract the first word of "rm", so it can be a program name with args.
4656 set dummy
rm; ac_word
=$2
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if ${ac_cv_prog_RM+:} false
; then :
4660 $as_echo_n "(cached) " >&6
4662 if test -n "$RM"; then
4663 ac_cv_prog_RM
="$RM" # Let the user override the test.
4665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4669 test -z "$as_dir" && as_dir
=.
4670 for ac_exec_ext
in '' $ac_executable_extensions; do
4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4672 ac_cv_prog_RM
="rm -rf"
4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 if test -n "$RM"; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4685 $as_echo "$RM" >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 $as_echo "no" >&6; }
4692 if test "$RM" = ""; then
4693 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4695 # Extract the first word of "cp", so it can be a program name with args.
4696 set dummy
cp; ac_word
=$2
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4698 $as_echo_n "checking for $ac_word... " >&6; }
4699 if ${ac_cv_prog_CP+:} false
; then :
4700 $as_echo_n "(cached) " >&6
4702 if test -n "$CP"; then
4703 ac_cv_prog_CP
="$CP" # Let the user override the test.
4705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir
=.
4710 for ac_exec_ext
in '' $ac_executable_extensions; do
4711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 if test -n "$CP"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4725 $as_echo "$CP" >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4732 if test "$CP" = ""; then
4733 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4735 # Extract the first word of "mv", so it can be a program name with args.
4736 set dummy
mv; ac_word
=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_prog_MV+:} false
; then :
4740 $as_echo_n "(cached) " >&6
4742 if test -n "$MV"; then
4743 ac_cv_prog_MV
="$MV" # Let the user override the test.
4745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir
=.
4750 for ac_exec_ext
in '' $ac_executable_extensions; do
4751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 if test -n "$MV"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4765 $as_echo "$MV" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4772 if test "$MV" = ""; then
4773 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4775 # Extract the first word of "echo", so it can be a program name with args.
4776 set dummy
echo; ac_word
=$2
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4779 if ${ac_cv_prog_ECHO+:} false
; then :
4780 $as_echo_n "(cached) " >&6
4782 if test -n "$ECHO"; then
4783 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4789 test -z "$as_dir" && as_dir
=.
4790 for ac_exec_ext
in '' $ac_executable_extensions; do
4791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4792 ac_cv_prog_ECHO
="echo "
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 ECHO
=$ac_cv_prog_ECHO
4803 if test -n "$ECHO"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4805 $as_echo "$ECHO" >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4812 if test "$ECHO" = ""; then
4813 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4815 # Extract the first word of "mkdir", so it can be a program name with args.
4816 set dummy mkdir
; ac_word
=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_MKDIR+:} false
; then :
4820 $as_echo_n "(cached) " >&6
4822 if test -n "$MKDIR"; then
4823 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir
=.
4830 for ac_exec_ext
in '' $ac_executable_extensions; do
4831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4832 ac_cv_prog_MKDIR
="mkdir -p"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 MKDIR
=$ac_cv_prog_MKDIR
4843 if test -n "$MKDIR"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4845 $as_echo "$MKDIR" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4852 if test "$MKDIR" = ""; then
4853 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4855 # Extract the first word of "touch", so it can be a program name with args.
4856 set dummy
touch; ac_word
=$2
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4858 $as_echo_n "checking for $ac_word... " >&6; }
4859 if ${ac_cv_prog_TOUCH+:} false
; then :
4860 $as_echo_n "(cached) " >&6
4862 if test -n "$TOUCH"; then
4863 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4869 test -z "$as_dir" && as_dir
=.
4870 for ac_exec_ext
in '' $ac_executable_extensions; do
4871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4872 ac_cv_prog_TOUCH
="touch "
4873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 TOUCH
=$ac_cv_prog_TOUCH
4883 if test -n "$TOUCH"; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4885 $as_echo "$TOUCH" >&6; }
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4888 $as_echo "no" >&6; }
4892 if test "$TOUCH" = ""; then
4893 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4895 # Extract the first word of "sort", so it can be a program name with args.
4896 set dummy
sort; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_SORT+:} false
; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$SORT"; then
4903 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912 ac_cv_prog_SORT
="sort "
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 SORT
=$ac_cv_prog_SORT
4923 if test -n "$SORT"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4925 $as_echo "$SORT" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 if test "$SORT" = ""; then
4933 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4935 # Extract the first word of "uniq", so it can be a program name with args.
4936 set dummy
uniq; ac_word
=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 $as_echo_n "checking for $ac_word... " >&6; }
4939 if ${ac_cv_prog_UNIQ+:} false
; then :
4940 $as_echo_n "(cached) " >&6
4942 if test -n "$UNIQ"; then
4943 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4949 test -z "$as_dir" && as_dir
=.
4950 for ac_exec_ext
in '' $ac_executable_extensions; do
4951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4952 ac_cv_prog_UNIQ
="uniq "
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 UNIQ
=$ac_cv_prog_UNIQ
4963 if test -n "$UNIQ"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4965 $as_echo "$UNIQ" >&6; }
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4972 if test "$UNIQ" = ""; then
4973 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4975 # Extract the first word of "true", so it can be a program name with args.
4976 set dummy true
; ac_word
=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if ${ac_cv_prog_NOP+:} false
; then :
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$NOP"; then
4983 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir
=.
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992 ac_cv_prog_NOP
="true "
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 if test -n "$NOP"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5005 $as_echo "$NOP" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5012 if test "$NOP" = ""; then
5013 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5015 # Extract the first word of "cat", so it can be a program name with args.
5016 set dummy
cat; ac_word
=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if ${ac_cv_prog_CAT+:} false
; then :
5020 $as_echo_n "(cached) " >&6
5022 if test -n "$CAT"; then
5023 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5029 test -z "$as_dir" && as_dir
=.
5030 for ac_exec_ext
in '' $ac_executable_extensions; do
5031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5032 ac_cv_prog_CAT
="cat "
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 if test -n "$CAT"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5045 $as_echo "$CAT" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5052 if test "$CAT" = ""; then
5053 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5055 # Extract the first word of "bison", so it can be a program name with args.
5056 set dummy bison
; ac_word
=$2
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 $as_echo_n "checking for $ac_word... " >&6; }
5059 if ${ac_cv_prog_BISON+:} false
; then :
5060 $as_echo_n "(cached) " >&6
5062 if test -n "$BISON"; then
5063 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5069 test -z "$as_dir" && as_dir
=.
5070 for ac_exec_ext
in '' $ac_executable_extensions; do
5071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5072 ac_cv_prog_BISON
="bison "
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 BISON
=$ac_cv_prog_BISON
5083 if test -n "$BISON"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5085 $as_echo "$BISON" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5092 if test "$BISON" = ""; then
5093 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5095 # Extract the first word of "flex", so it can be a program name with args.
5096 set dummy flex
; ac_word
=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_FLEX+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -n "$FLEX"; then
5103 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir
=.
5110 for ac_exec_ext
in '' $ac_executable_extensions; do
5111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5112 ac_cv_prog_FLEX
="flex "
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 FLEX
=$ac_cv_prog_FLEX
5123 if test -n "$FLEX"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5125 $as_echo "$FLEX" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5132 if test "$FLEX" = ""; then
5133 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5135 # Extract the first word of "pngtopnm", so it can be a program name with args.
5136 set dummy pngtopnm
; ac_word
=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138 $as_echo_n "checking for $ac_word... " >&6; }
5139 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5140 $as_echo_n "(cached) " >&6
5142 if test -n "$PNGTOPNM"; then
5143 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5149 test -z "$as_dir" && as_dir
=.
5150 for ac_exec_ext
in '' $ac_executable_extensions; do
5151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5152 ac_cv_prog_PNGTOPNM
="pngtopnm "
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5163 if test -n "$PNGTOPNM"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5165 $as_echo "$PNGTOPNM" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5172 if test "$PNGTOPNM" = ""; then
5173 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5175 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5176 set dummy ppmtoilbm
; ac_word
=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$PPMTOILBM"; then
5183 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir
=.
5190 for ac_exec_ext
in '' $ac_executable_extensions; do
5191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5192 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5203 if test -n "$PPMTOILBM"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5205 $as_echo "$PPMTOILBM" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 if test "$PPMTOILBM" = ""; then
5213 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5215 # Extract the first word of "sed", so it can be a program name with args.
5216 set dummy
sed; ac_word
=$2
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5218 $as_echo_n "checking for $ac_word... " >&6; }
5219 if ${ac_cv_prog_SED+:} false
; then :
5220 $as_echo_n "(cached) " >&6
5222 if test -n "$SED"; then
5223 ac_cv_prog_SED
="$SED" # Let the user override the test.
5225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5229 test -z "$as_dir" && as_dir
=.
5230 for ac_exec_ext
in '' $ac_executable_extensions; do
5231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5232 ac_cv_prog_SED
="sed "
5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 if test -n "$SED"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5245 $as_echo "$SED" >&6; }
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5252 if test "$SED" = ""; then
5253 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5255 # Extract the first word of "chmod", so it can be a program name with args.
5256 set dummy
chmod; ac_word
=$2
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5258 $as_echo_n "checking for $ac_word... " >&6; }
5259 if ${ac_cv_prog_CHMOD+:} false
; then :
5260 $as_echo_n "(cached) " >&6
5262 if test -n "$CHMOD"; then
5263 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir
=.
5270 for ac_exec_ext
in '' $ac_executable_extensions; do
5271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272 ac_cv_prog_CHMOD
="chmod "
5273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 CHMOD
=$ac_cv_prog_CHMOD
5283 if test -n "$CHMOD"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5285 $as_echo "$CHMOD" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5292 if test "$CHMOD" = ""; then
5293 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5295 # Extract the first word of "patch", so it can be a program name with args.
5296 set dummy
patch; ac_word
=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 $as_echo_n "checking for $ac_word... " >&6; }
5299 if ${ac_cv_prog_PATCH+:} false
; then :
5300 $as_echo_n "(cached) " >&6
5302 if test -n "$PATCH"; then
5303 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir
=.
5310 for ac_exec_ext
in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_PATCH
="patch "
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 PATCH
=$ac_cv_prog_PATCH
5323 if test -n "$PATCH"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5325 $as_echo "$PATCH" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5332 if test "$PATCH" = ""; then
5333 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5340 if test -n "$PYTHON"; then
5341 # If the user set $PYTHON, use it and don't search something else.
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5343 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5344 prog
="import sys, string
5345 # split strings by '.' and convert to numeric. Append some zeros
5346 # because we need at least 4 digits for the hex conversion.
5347 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5349 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5350 sys.exit(sys.hexversion < minverhex)"
5351 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5352 ($PYTHON -c "$prog") >&5 2>&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); }; then :
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5357 $as_echo "yes" >&6; }
5359 as_fn_error $?
"too old" "$LINENO" 5
5361 am_display_PYTHON
=$PYTHON
5363 # Otherwise, try each interpreter until we find one that satisfies
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5366 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5367 if ${am_cv_pathless_PYTHON+:} false
; then :
5368 $as_echo_n "(cached) " >&6
5371 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
5372 test "$am_cv_pathless_PYTHON" = none
&& break
5373 prog
="import sys, string
5374 # split strings by '.' and convert to numeric. Append some zeros
5375 # because we need at least 4 digits for the hex conversion.
5376 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5378 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5379 sys.exit(sys.hexversion < minverhex)"
5380 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5381 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; then :
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5390 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5391 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5392 if test "$am_cv_pathless_PYTHON" = none
; then
5395 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5396 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_path_PYTHON+:} false
; then :
5400 $as_echo_n "(cached) " >&6
5404 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir
=.
5412 for ac_exec_ext
in '' $ac_executable_extensions; do
5413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5414 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 PYTHON
=$ac_cv_path_PYTHON
5426 if test -n "$PYTHON"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5428 $as_echo "$PYTHON" >&6; }
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5436 am_display_PYTHON
=$am_cv_pathless_PYTHON
5440 if test "$PYTHON" = :; then
5441 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5446 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5447 if ${am_cv_python_version+:} false
; then :
5448 $as_echo_n "(cached) " >&6
5450 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5453 $as_echo "$am_cv_python_version" >&6; }
5454 PYTHON_VERSION
=$am_cv_python_version
5458 PYTHON_PREFIX
='${prefix}'
5460 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5465 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5466 if ${am_cv_python_platform+:} false
; then :
5467 $as_echo_n "(cached) " >&6
5469 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5472 $as_echo "$am_cv_python_platform" >&6; }
5473 PYTHON_PLATFORM
=$am_cv_python_platform
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5479 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5480 if ${am_cv_python_pythondir+:} false
; then :
5481 $as_echo_n "(cached) " >&6
5483 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5484 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5487 $as_echo "$am_cv_python_pythondir" >&6; }
5488 pythondir
=$am_cv_python_pythondir
5492 pkgpythondir
=\
${pythondir}/$PACKAGE
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5496 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5497 if ${am_cv_python_pyexecdir+:} false
; then :
5498 $as_echo_n "(cached) " >&6
5500 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5501 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5504 $as_echo "$am_cv_python_pyexecdir" >&6; }
5505 pyexecdir
=$am_cv_python_pyexecdir
5509 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5527 # Check for some includes for the X11 HIDD and the kernel
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5531 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5532 if ${ac_cv_path_GREP+:} false
; then :
5533 $as_echo_n "(cached) " >&6
5535 if test -z "$GREP"; then
5536 ac_path_GREP_found
=false
5537 # Loop through the user's path and test for each of PROGNAME-LIST
5538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5542 test -z "$as_dir" && as_dir
=.
5543 for ac_prog
in grep ggrep
; do
5544 for ac_exec_ext
in '' $ac_executable_extensions; do
5545 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5546 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5547 # Check for GNU ac_path_GREP and select it if it is found.
5548 # Check for GNU $ac_path_GREP
5549 case `"$ac_path_GREP" --version 2>&1` in
5551 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5554 $as_echo_n 0123456789 >"conftest.in"
5557 cat "conftest.in" "conftest.in" >"conftest.tmp"
5558 mv "conftest.tmp" "conftest.in"
5559 cp "conftest.in" "conftest.nl"
5560 $as_echo 'GREP' >> "conftest.nl"
5561 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5562 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5563 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5564 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5565 # Best one so far, save it but keep looking for a better one
5566 ac_cv_path_GREP
="$ac_path_GREP"
5567 ac_path_GREP_max
=$ac_count
5569 # 10*(2^10) chars as input seems more than enough
5570 test $ac_count -gt 10 && break
5572 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5575 $ac_path_GREP_found && break 3
5580 if test -z "$ac_cv_path_GREP"; then
5581 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5584 ac_cv_path_GREP
=$GREP
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5589 $as_echo "$ac_cv_path_GREP" >&6; }
5590 GREP
="$ac_cv_path_GREP"
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5594 $as_echo_n "checking for egrep... " >&6; }
5595 if ${ac_cv_path_EGREP+:} false
; then :
5596 $as_echo_n "(cached) " >&6
5598 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5599 then ac_cv_path_EGREP
="$GREP -E"
5601 if test -z "$EGREP"; then
5602 ac_path_EGREP_found
=false
5603 # Loop through the user's path and test for each of PROGNAME-LIST
5604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5605 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5608 test -z "$as_dir" && as_dir
=.
5609 for ac_prog
in egrep; do
5610 for ac_exec_ext
in '' $ac_executable_extensions; do
5611 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5612 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5613 # Check for GNU ac_path_EGREP and select it if it is found.
5614 # Check for GNU $ac_path_EGREP
5615 case `"$ac_path_EGREP" --version 2>&1` in
5617 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5620 $as_echo_n 0123456789 >"conftest.in"
5623 cat "conftest.in" "conftest.in" >"conftest.tmp"
5624 mv "conftest.tmp" "conftest.in"
5625 cp "conftest.in" "conftest.nl"
5626 $as_echo 'EGREP' >> "conftest.nl"
5627 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5628 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5629 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5630 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5631 # Best one so far, save it but keep looking for a better one
5632 ac_cv_path_EGREP
="$ac_path_EGREP"
5633 ac_path_EGREP_max
=$ac_count
5635 # 10*(2^10) chars as input seems more than enough
5636 test $ac_count -gt 10 && break
5638 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5641 $ac_path_EGREP_found && break 3
5646 if test -z "$ac_cv_path_EGREP"; then
5647 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5650 ac_cv_path_EGREP
=$EGREP
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5656 $as_echo "$ac_cv_path_EGREP" >&6; }
5657 EGREP
="$ac_cv_path_EGREP"
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5661 $as_echo_n "checking for ANSI C header files... " >&6; }
5662 if ${ac_cv_header_stdc+:} false
; then :
5663 $as_echo_n "(cached) " >&6
5665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5666 /* end confdefs.h. */
5680 if ac_fn_c_try_compile
"$LINENO"; then :
5681 ac_cv_header_stdc
=yes
5683 ac_cv_header_stdc
=no
5685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5687 if test $ac_cv_header_stdc = yes; then
5688 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5695 $EGREP "memchr" >/dev
/null
2>&1; then :
5698 ac_cv_header_stdc
=no
5704 if test $ac_cv_header_stdc = yes; then
5705 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5712 $EGREP "free" >/dev
/null
2>&1; then :
5715 ac_cv_header_stdc
=no
5721 if test $ac_cv_header_stdc = yes; then
5722 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5723 if test "$cross_compiling" = yes; then :
5726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5727 /* end confdefs.h. */
5730 #if ((' ' & 0x0FF) == 0x020)
5731 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5732 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5734 # define ISLOWER(c) \
5735 (('a' <= (c) && (c) <= 'i') \
5736 || ('j' <= (c) && (c) <= 'r') \
5737 || ('s' <= (c) && (c) <= 'z'))
5738 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5741 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5746 for (i = 0; i < 256; i++)
5747 if (XOR (islower (i), ISLOWER (i))
5748 || toupper (i) != TOUPPER (i))
5753 if ac_fn_c_try_run
"$LINENO"; then :
5756 ac_cv_header_stdc
=no
5758 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5759 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5765 $as_echo "$ac_cv_header_stdc" >&6; }
5766 if test $ac_cv_header_stdc = yes; then
5768 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5772 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5773 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5774 inttypes.h stdint.h unistd.h
5776 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5777 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5779 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5780 cat >>confdefs.h
<<_ACEOF
5781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5789 for ac_header
in sys
/ipc.h sys
/shm.h \
5790 sys
/mmap.h sys
/mman.h sysexits.h \
5791 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5794 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5795 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5796 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5797 cat >>confdefs.h
<<_ACEOF
5798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5806 for ac_header
in sys
/mount.h
5808 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5810 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
5811 cat >>confdefs.h
<<_ACEOF
5812 #define HAVE_SYS_MOUNT_H 1
5821 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5822 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5824 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5825 if eval \
${$as_ac_Header+:} false
; then :
5826 $as_echo_n "(cached) " >&6
5828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5830 #include <sys/types.h>
5842 if ac_fn_c_try_compile
"$LINENO"; then :
5843 eval "$as_ac_Header=yes"
5845 eval "$as_ac_Header=no"
5847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5849 eval ac_res
=\$
$as_ac_Header
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5851 $as_echo "$ac_res" >&6; }
5852 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5853 cat >>confdefs.h
<<_ACEOF
5854 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5857 ac_header_dirent
=$ac_hdr; break
5861 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5862 if test $ac_header_dirent = dirent.h
; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5864 $as_echo_n "checking for library containing opendir... " >&6; }
5865 if ${ac_cv_search_opendir+:} false
; then :
5866 $as_echo_n "(cached) " >&6
5868 ac_func_search_save_LIBS
=$LIBS
5869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5872 /* Override any GCC internal prototype to avoid an error.
5873 Use char because int might match the return type of a GCC
5874 builtin and then its argument prototype would still apply. */
5887 for ac_lib
in '' dir
; do
5888 if test -z "$ac_lib"; then
5889 ac_res
="none required"
5892 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5894 if ac_fn_c_try_link
"$LINENO"; then :
5895 ac_cv_search_opendir
=$ac_res
5897 rm -f core conftest.err conftest.
$ac_objext \
5899 if ${ac_cv_search_opendir+:} false
; then :
5903 if ${ac_cv_search_opendir+:} false
; then :
5906 ac_cv_search_opendir
=no
5909 LIBS
=$ac_func_search_save_LIBS
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5912 $as_echo "$ac_cv_search_opendir" >&6; }
5913 ac_res
=$ac_cv_search_opendir
5914 if test "$ac_res" != no
; then :
5915 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5921 $as_echo_n "checking for library containing opendir... " >&6; }
5922 if ${ac_cv_search_opendir+:} false
; then :
5923 $as_echo_n "(cached) " >&6
5925 ac_func_search_save_LIBS
=$LIBS
5926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5929 /* Override any GCC internal prototype to avoid an error.
5930 Use char because int might match the return type of a GCC
5931 builtin and then its argument prototype would still apply. */
5944 for ac_lib
in '' x
; do
5945 if test -z "$ac_lib"; then
5946 ac_res
="none required"
5949 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5951 if ac_fn_c_try_link
"$LINENO"; then :
5952 ac_cv_search_opendir
=$ac_res
5954 rm -f core conftest.err conftest.
$ac_objext \
5956 if ${ac_cv_search_opendir+:} false
; then :
5960 if ${ac_cv_search_opendir+:} false
; then :
5963 ac_cv_search_opendir
=no
5966 LIBS
=$ac_func_search_save_LIBS
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5969 $as_echo "$ac_cv_search_opendir" >&6; }
5970 ac_res
=$ac_cv_search_opendir
5971 if test "$ac_res" != no
; then :
5972 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5979 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5980 if ${ac_cv_header_stat_broken+:} false
; then :
5981 $as_echo_n "(cached) " >&6
5983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5984 /* end confdefs.h. */
5985 #include <sys/types.h>
5986 #include <sys/stat.h>
5988 #if defined S_ISBLK && defined S_IFDIR
5989 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5992 #if defined S_ISBLK && defined S_IFCHR
5993 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5996 #if defined S_ISLNK && defined S_IFREG
5997 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6000 #if defined S_ISSOCK && defined S_IFREG
6001 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6005 if ac_fn_c_try_compile
"$LINENO"; then :
6006 ac_cv_header_stat_broken
=no
6008 ac_cv_header_stat_broken
=yes
6010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6013 $as_echo "$ac_cv_header_stat_broken" >&6; }
6014 if test $ac_cv_header_stat_broken = yes; then
6016 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6021 $as_echo_n "checking for ANSI C header files... " >&6; }
6022 if ${ac_cv_header_stdc+:} false
; then :
6023 $as_echo_n "(cached) " >&6
6025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6026 /* end confdefs.h. */
6040 if ac_fn_c_try_compile
"$LINENO"; then :
6041 ac_cv_header_stdc
=yes
6043 ac_cv_header_stdc
=no
6045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6047 if test $ac_cv_header_stdc = yes; then
6048 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6055 $EGREP "memchr" >/dev
/null
2>&1; then :
6058 ac_cv_header_stdc
=no
6064 if test $ac_cv_header_stdc = yes; then
6065 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6072 $EGREP "free" >/dev
/null
2>&1; then :
6075 ac_cv_header_stdc
=no
6081 if test $ac_cv_header_stdc = yes; then
6082 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6083 if test "$cross_compiling" = yes; then :
6086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6087 /* end confdefs.h. */
6090 #if ((' ' & 0x0FF) == 0x020)
6091 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6092 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6094 # define ISLOWER(c) \
6095 (('a' <= (c) && (c) <= 'i') \
6096 || ('j' <= (c) && (c) <= 'r') \
6097 || ('s' <= (c) && (c) <= 'z'))
6098 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6101 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6106 for (i = 0; i < 256; i++)
6107 if (XOR (islower (i), ISLOWER (i))
6108 || toupper (i) != TOUPPER (i))
6113 if ac_fn_c_try_run
"$LINENO"; then :
6116 ac_cv_header_stdc
=no
6118 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6119 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6125 $as_echo "$ac_cv_header_stdc" >&6; }
6126 if test $ac_cv_header_stdc = yes; then
6128 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6133 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6134 if ${ac_cv_header_sys_wait_h+:} false
; then :
6135 $as_echo_n "(cached) " >&6
6137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h. */
6139 #include <sys/types.h>
6140 #include <sys/wait.h>
6142 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6145 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6153 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6158 if ac_fn_c_try_compile
"$LINENO"; then :
6159 ac_cv_header_sys_wait_h
=yes
6161 ac_cv_header_sys_wait_h
=no
6163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6166 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6167 if test $ac_cv_header_sys_wait_h = yes; then
6169 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6174 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6175 if ${ac_cv_header_time+:} false
; then :
6176 $as_echo_n "(cached) " >&6
6178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6179 /* end confdefs.h. */
6180 #include <sys/types.h>
6181 #include <sys/time.h>
6187 if ((struct tm *) 0)
6193 if ac_fn_c_try_compile
"$LINENO"; then :
6194 ac_cv_header_time
=yes
6196 ac_cv_header_time
=no
6198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6201 $as_echo "$ac_cv_header_time" >&6; }
6202 if test $ac_cv_header_time = yes; then
6204 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6208 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6209 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6211 cat >>confdefs.h
<<_ACEOF
6212 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6216 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6221 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6222 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6224 cat >>confdefs.h
<<_ACEOF
6225 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6229 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6232 case " $LIBOBJS " in
6233 *" fileblocks.$ac_objext "* ) ;;
6234 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6241 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6242 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6244 cat >>confdefs.h
<<_ACEOF
6245 #define HAVE_STRUCT_STAT_ST_RDEV 1
6249 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6255 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6256 if ${ac_cv_struct_tm+:} false
; then :
6257 $as_echo_n "(cached) " >&6
6259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #include <sys/types.h>
6268 int *p = &tm.tm_sec;
6274 if ac_fn_c_try_compile
"$LINENO"; then :
6275 ac_cv_struct_tm
=time.h
6277 ac_cv_struct_tm
=sys
/time.h
6279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6282 $as_echo "$ac_cv_struct_tm" >&6; }
6283 if test $ac_cv_struct_tm = sys
/time.h
; then
6285 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6289 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6290 #include <$ac_cv_struct_tm>
6293 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6295 cat >>confdefs.h
<<_ACEOF
6296 #define HAVE_STRUCT_TM_TM_ZONE 1
6302 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6304 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6307 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6309 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6315 cat >>confdefs.h
<<_ACEOF
6316 #define HAVE_DECL_TZNAME $ac_have_decl
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6320 $as_echo_n "checking for tzname... " >&6; }
6321 if ${ac_cv_var_tzname+:} false
; then :
6322 $as_echo_n "(cached) " >&6
6324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6327 #if !HAVE_DECL_TZNAME
6328 extern char *tzname[];
6334 return tzname[0][0];
6339 if ac_fn_c_try_link
"$LINENO"; then :
6340 ac_cv_var_tzname
=yes
6344 rm -f core conftest.err conftest.
$ac_objext \
6345 conftest
$ac_exeext conftest.
$ac_ext
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6348 $as_echo "$ac_cv_var_tzname" >&6; }
6349 if test $ac_cv_var_tzname = yes; then
6351 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6356 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6357 if test "x$ac_cv_type_off_t" = xyes
; then :
6361 cat >>confdefs.h
<<_ACEOF
6362 #define off_t long int
6367 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6368 if test "x$ac_cv_type_pid_t" = xyes
; then :
6372 cat >>confdefs.h
<<_ACEOF
6378 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6379 if test "x$ac_cv_type_size_t" = xyes
; then :
6383 cat >>confdefs.h
<<_ACEOF
6384 #define size_t unsigned int
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6390 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6391 if ${ac_cv_type_uid_t+:} false
; then :
6392 $as_echo_n "(cached) " >&6
6394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6395 /* end confdefs.h. */
6396 #include <sys/types.h>
6399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6400 $EGREP "uid_t" >/dev
/null
2>&1; then :
6401 ac_cv_type_uid_t
=yes
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6409 $as_echo "$ac_cv_type_uid_t" >&6; }
6410 if test $ac_cv_type_uid_t = no
; then
6412 $as_echo "#define uid_t int" >>confdefs.h
6415 $as_echo "#define gid_t int" >>confdefs.h
6420 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6421 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6423 cat >>confdefs.h
<<_ACEOF
6424 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6431 # Look for some functions
6432 for ac_func
in getpagesize kqueue statfs statvfs \
6433 clone kse_create rfork_thread thr_create sa_register \
6434 getcontext makecontext setcontext sigaltstack swapcontext
6436 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6437 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6438 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6439 cat >>confdefs.h
<<_ACEOF
6440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6450 for ac_header
in $ac_header_list
6452 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6453 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6455 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6456 cat >>confdefs.h
<<_ACEOF
6457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6471 for ac_func
in getpagesize
6473 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6474 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6475 cat >>confdefs.h
<<_ACEOF
6476 #define HAVE_GETPAGESIZE 1
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6483 $as_echo_n "checking for working mmap... " >&6; }
6484 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6485 $as_echo_n "(cached) " >&6
6487 if test "$cross_compiling" = yes; then :
6488 ac_cv_func_mmap_fixed_mapped
=no
6490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */
6492 $ac_includes_default
6493 /* malloc might have been renamed as rpl_malloc. */
6496 /* Thanks to Mike Haertel and Jim Avera for this test.
6497 Here is a matrix of mmap possibilities:
6498 mmap private not fixed
6499 mmap private fixed at somewhere currently unmapped
6500 mmap private fixed at somewhere already mapped
6501 mmap shared not fixed
6502 mmap shared fixed at somewhere currently unmapped
6503 mmap shared fixed at somewhere already mapped
6504 For private mappings, we should verify that changes cannot be read()
6505 back from the file, nor mmap's back from the file at a different
6506 address. (There have been systems where private was not correctly
6507 implemented like the infamous i386 svr4.0, and systems where the
6508 VM page cache was not coherent with the file system buffer cache
6509 like early versions of FreeBSD and possibly contemporary NetBSD.)
6510 For shared mappings, we should conversely verify that changes get
6511 propagated back to all the places they're supposed to be.
6513 Grep wants private fixed already mapped.
6514 The main things grep needs to know about mmap are:
6515 * does it exist and is it safe to write into the mmap'd area
6516 * how to use it (BSD variants) */
6519 #include <sys/mman.h>
6521 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6525 /* This mess was copied from the GNU getpagesize.h. */
6526 #ifndef HAVE_GETPAGESIZE
6527 # ifdef _SC_PAGESIZE
6528 # define getpagesize() sysconf(_SC_PAGESIZE)
6529 # else /* no _SC_PAGESIZE */
6530 # ifdef HAVE_SYS_PARAM_H
6531 # include <sys/param.h>
6532 # ifdef EXEC_PAGESIZE
6533 # define getpagesize() EXEC_PAGESIZE
6534 # else /* no EXEC_PAGESIZE */
6536 # define getpagesize() NBPG * CLSIZE
6539 # endif /* no CLSIZE */
6540 # else /* no NBPG */
6542 # define getpagesize() NBPC
6543 # else /* no NBPC */
6545 # define getpagesize() PAGESIZE
6546 # endif /* PAGESIZE */
6547 # endif /* no NBPC */
6548 # endif /* no NBPG */
6549 # endif /* no EXEC_PAGESIZE */
6550 # else /* no HAVE_SYS_PARAM_H */
6551 # define getpagesize() 8192 /* punt totally */
6552 # endif /* no HAVE_SYS_PARAM_H */
6553 # endif /* no _SC_PAGESIZE */
6555 #endif /* no HAVE_GETPAGESIZE */
6560 char *data, *data2, *data3;
6565 pagesize = getpagesize ();
6567 /* First, make a file with some known garbage in it. */
6568 data = (char *) malloc (pagesize);
6571 for (i = 0; i < pagesize; ++i)
6572 *(data + i) = rand ();
6574 fd = creat ("conftest.mmap", 0600);
6577 if (write (fd, data, pagesize) != pagesize)
6581 /* Next, check that the tail of a page is zero-filled. File must have
6582 non-zero length, otherwise we risk SIGBUS for entire page. */
6583 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6587 if (write (fd2, cdata2, 1) != 1)
6589 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6590 if (data2 == MAP_FAILED)
6592 for (i = 0; i < pagesize; ++i)
6596 if (munmap (data2, pagesize))
6599 /* Next, try to mmap the file at a fixed address which already has
6600 something else allocated at it. If we can, also make sure that
6601 we see the same garbage. */
6602 fd = open ("conftest.mmap", O_RDWR);
6605 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6606 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6608 for (i = 0; i < pagesize; ++i)
6609 if (*(data + i) != *(data2 + i))
6612 /* Finally, make sure that changes to the mapped area do not
6613 percolate back to the file as seen by read(). (This is a bug on
6614 some variants of i386 svr4.0.) */
6615 for (i = 0; i < pagesize; ++i)
6616 *(data2 + i) = *(data2 + i) + 1;
6617 data3 = (char *) malloc (pagesize);
6620 if (read (fd, data3, pagesize) != pagesize)
6622 for (i = 0; i < pagesize; ++i)
6623 if (*(data + i) != *(data3 + i))
6629 if ac_fn_c_try_run
"$LINENO"; then :
6630 ac_cv_func_mmap_fixed_mapped
=yes
6632 ac_cv_func_mmap_fixed_mapped
=no
6634 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6635 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6640 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6641 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6643 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6646 rm -f conftest.mmap conftest.txt
6651 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6652 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6653 aros_config_ldflags
=""
6655 aros_shared_default
=yes
6657 aros_shared_cflags
="-fPIC"
6658 aros_shared_aflags
=""
6659 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6660 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6662 aros_kernel_ar_flags
="cr"
6663 aros_target_ar_flags
="cr"
6664 aros_target_nm_flags
="-C -ul"
6665 aros_target_strip_flags
="--strip-unneeded -R.comment"
6670 aros_target_genmap
="-Wl,-Map -Xlinker"
6672 # Native flavour stuff
6673 aros_serial_debug
="0"
6675 # Palm native flavour stuff
6676 aros_palm_debug_hack
="0"
6678 # Unix flavour stuff
6679 aros_nesting_supervisor
="0"
6681 # Collect-aros stuff: "-ius" to ignore undefined symbols
6682 ignore_undefined_symbols
=""
6684 # Check for X11 by default
6687 #-----------------------------------------------------------------------------
6690 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6691 # it switched on by default, and we use the host compiler, so it compiles AROS
6692 # code with this enabled resulting in link failures as we don't have support
6695 # We use two methods to disable it. For the host compiler (used to compile
6696 # some hosted modules), we test to see if the compiler supports stack
6697 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6698 # work on all platforms.
6700 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6701 # (this is done unconditionally, as it should have no effect on compilers
6702 # without the stack protection feature). This may be specific to the way that
6703 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6704 # strong enough to disable it in a generic way though, so we'll live with it
6705 # until another vendor ships GCC with it enabled in a different way, and deal
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6710 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6711 save_cflags
="$CFLAGS"
6712 CFLAGS
="$CFLAGS -fno-stack-protector"
6713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h. */
6724 if ac_fn_c_try_compile
"$LINENO"; then :
6725 use_no_stack_protector
="yes"
6727 use_no_stack_protector
="no"
6729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6731 $as_echo "$use_no_stack_protector" >&6; }
6732 if test "x-$use_no_stack_protector" = "x-yes" ; then
6733 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6735 CFLAGS
="$save_cflags"
6737 #-----------------------------------------------------------------------------
6739 # Disable pointer-signedness warnings if the compiler recognises the option
6740 # (this only works for the host compiler at the moment)
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6743 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6744 save_cflags
="$CFLAGS"
6745 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6757 if ac_fn_c_try_compile
"$LINENO"; then :
6758 use_no_sign_warning
="yes"
6760 use_no_sign_warning
="no"
6762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6764 $as_echo "$use_no_sign_warning" >&6; }
6765 if test "x-$use_no_sign_warning" = "x-yes" ; then
6766 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6768 CFLAGS
="$save_cflags"
6770 #-----------------------------------------------------------------------------
6772 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6775 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6776 save_cflags
="$CFLAGS"
6777 CFLAGS
="$CFLAGS -fgnu89-inline"
6778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6789 if ac_fn_c_try_compile
"$LINENO"; then :
6790 use_gnu89_inline
="yes"
6792 use_gnu89_inline
="no"
6794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6796 $as_echo "$use_gnu89_inline" >&6; }
6797 if test "x-$use_gnu89_inline" = "x-yes" ; then
6798 gnu89_inline
="-fgnu89-inline"
6800 CFLAGS
="$save_cflags"
6802 #-----------------------------------------------------------------------------
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6805 $as_echo_n "checking for type of build... " >&6; }
6806 # Check whether --enable-build_type was given.
6807 if test "${enable_build_type+set}" = set; then :
6808 enableval
=$enable_build_type; build_type
=$enableval
6810 build_type
="personal"
6814 if test "$build_type" = "nightly"; then
6815 build_type_string
="NIGHTLY"
6816 elif test "$build_type" = "snapshot"; then
6817 build_type_string
="SNAPSHOT"
6818 elif test "$build_type" = "milestone"; then
6819 build_type_string
="MILESTONE"
6820 elif test "$build_type" = "release"; then
6821 build_type_string
="RELEASE"
6823 build_type_string
="PERSONAL"
6824 build_type
="personal"
6827 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6830 $as_echo "$build_type" >&6; }
6832 #-----------------------------------------------------------------------------
6833 all_debug_types
="messages stack modules mungwall symbols"
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6836 $as_echo_n "checking which debug types to enable... " >&6; }
6837 # Check whether --enable-debug was given.
6838 if test "${enable_debug+set}" = set; then :
6839 enableval
=$enable_debug; debug
="$enableval"
6845 if test "$debug" = "" -o "$debug" = "no"; then
6847 elif test "$debug" = "yes"; then
6851 if test "$debug" = "all" ; then
6852 debug
="messages stack modules symbols"
6853 for d
in $all_debug_types; do
6854 export aros_
${d}_debug
="1"
6857 for d
in $all_debug_types; do
6858 export aros_
${d}_debug
="0"
6862 if test "$debug" != "none"; then
6863 debug
=`echo $debug | sed s/,/\ /g`
6866 for d2
in $all_debug_types; do
6867 if test "$d2" = "$d"; then
6872 if test "$found" = "0"; then
6873 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6875 export aros_
${d}_debug
="1"
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6880 $as_echo "$debug" >&6; }
6882 if test "$aros_messages_debug" = "1"; then
6883 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6885 aros_messages_debug
=""
6887 if test "$aros_symbols_debug" = "1"; then
6888 aros_symbols_debug
="-g"
6890 aros_symbols_debug
=""
6893 # These are the flags to pass when compiling debugged programs
6894 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6895 aros_debug_aflags
=""
6896 aros_debug_ldflags
="$aros_symbols_debug"
6898 #-----------------------------------------------------------------------------
6899 # Checking if we should build crosstools..
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6901 $as_echo_n "checking whether to build crosstools... " >&6; }
6902 # Check whether --enable-crosstools was given.
6903 if test "${enable_crosstools+set}" = set; then :
6904 enableval
=$enable_crosstools; crosstools
="$enableval"
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
6910 $as_echo "$crosstools" >&6; }
6912 #-----------------------------------------------------------------------------
6913 # Checking for distcc and ccache.
6915 # Always apply the transforms in this particular order. Basically you should
6916 # always run 'ccache distcc compiler' in that order for the best performance.
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6919 $as_echo_n "checking whether to enable distcc... " >&6; }
6920 # Check whether --enable-distcc was given.
6921 if test "${enable_distcc+set}" = set; then :
6922 enableval
=$enable_distcc; distcc
="$enableval"
6927 if test "$distcc" != "" -a "$distcc" != "no"; then
6928 # AC_CHECK_PROG will print out the result in this case
6929 # Extract the first word of "distcc", so it can be a program name with args.
6930 set dummy distcc
; ac_word
=$2
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932 $as_echo_n "checking for $ac_word... " >&6; }
6933 if ${ac_cv_path_DISTCC+:} false
; then :
6934 $as_echo_n "(cached) " >&6
6938 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir
=.
6946 for ac_exec_ext
in '' $ac_executable_extensions; do
6947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6956 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6960 DISTCC
=$ac_cv_path_DISTCC
6961 if test -n "$DISTCC"; then
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6963 $as_echo "$DISTCC" >&6; }
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6966 $as_echo "no" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6976 $as_echo_n "checking whether to enable ccache... " >&6; }
6977 # Check whether --enable-ccache was given.
6978 if test "${enable_ccache+set}" = set; then :
6979 enableval
=$enable_ccache; ccache
="$enableval"
6984 if test "$ccache" != "" -a "$ccache" != "no"; then
6985 # AC_CHECK_PROG will print out the result in this case
6986 # Extract the first word of "ccache", so it can be a program name with args.
6987 set dummy ccache
; ac_word
=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if ${ac_cv_prog_CCACHE+:} false
; then :
6991 $as_echo_n "(cached) " >&6
6993 if test -n "$CCACHE"; then
6994 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir
=.
7001 for ac_exec_ext
in '' $ac_executable_extensions; do
7002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7003 ac_cv_prog_CCACHE
="ccache"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 CCACHE
=$ac_cv_prog_CCACHE
7014 if test -n "$CCACHE"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7016 $as_echo "$CCACHE" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019 $as_echo "no" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7028 #-----------------------------------------------------------------------------
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7030 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7032 # Check whether --with-gcc-version was given.
7033 if test "${with_gcc_version+set}" = set; then :
7034 withval
=$with_gcc_version; target_tool_version
="$withval"
7036 target_tool_version
="default"
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7040 $as_echo "$target_tool_version" >&6; }
7042 #-----------------------------------------------------------------------------
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7044 $as_echo_n "checking what optimization flags to use... " >&6; }
7046 # Check whether --with-optimization was given.
7047 if test "${with_optimization+set}" = set; then :
7048 withval
=$with_optimization; optimization
="$withval"
7050 optimization
="unknown"
7053 if test "$optimization" = "unknown"; then
7054 if test "$debug" != "none"; then
7060 aros_config_cflags
="$aros_config_cflags $optimization"
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7062 $as_echo "$optimization" >&6; }
7064 #-----------------------------------------------------------------------------
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7066 $as_echo_n "checking what paranoia flags to use... " >&6; }
7068 # Check whether --with-paranoia was given.
7069 if test "${with_paranoia+set}" = set; then :
7070 withval
=$with_paranoia; paranoia_flags
="$withval"
7072 paranoia_flags
="default"
7075 if test "$paranoia_flags" = "default"; then
7077 else if test "$paranoia_flags" = "yes"; then
7078 paranoia_flags
="-Wall -Werror"
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7081 $as_echo "$paranoia_flags" >&6; }
7082 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7084 #-----------------------------------------------------------------------------
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7086 $as_echo_n "checking what target variant to enable... " >&6; }
7087 # Check whether --enable-target_variant was given.
7088 if test "${enable_target_variant+set}" = set; then :
7089 enableval
=$enable_target_variant; target_variant
=$enableval
7094 if test "$target_variant" = ""; then
7095 aros_target_variant
=""
7096 aros_target_suffix
=""
7099 aros_target_variant
="$target_variant"
7100 aros_target_suffix
="-$target_variant"
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7103 $as_echo "$enableval" >&6; }
7105 #-----------------------------------------------------------------------------
7106 # Target-specific defaults. You can override then on a per-target basis.
7108 # Bootloader name. Currently used by PC target.
7109 target_bootloader
="none"
7111 # Prefix for toolchain used to build bootstrap. For hosted ports, this should be a toolchain for target host OS.
7112 # (i. e. when building mingw32-i386 port this should be set to "i386-mingw32-").
7113 # For native ports this toolchain is used to build a bootloader and second-level bootstrap (if present).
7114 if test "$crosstools" != "yes"; then
7115 target_tool_prefix
=${target_cpu}-elf-
7117 target_tool_prefix
=${target_cpu}-aros-
7120 #-----------------------------------------------------------------------------
7121 # Additional options for some specific targets
7123 case "$aros_target_variant" in
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7126 $as_echo_n "checking XCode path... " >&6; }
7128 # Check whether --with-xcode was given.
7129 if test "${with_xcode+set}" = set; then :
7130 withval
=$with_xcode; aros_xcode_path
="$withval"
7132 aros_xcode_path
="/Developer"
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7136 $as_echo "$aros_xcode_path" >&6; }
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
7139 $as_echo_n "checking for minimum supported iOS version... " >&6; }
7141 # Check whether --with-ios-version was given.
7142 if test "${with_ios_version+set}" = set; then :
7143 withval
=$with_ios_version; aros_ios_version
="$withval"
7145 aros_ios_version
="3.0"
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
7149 $as_echo "$aros_ios_version" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7152 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7154 # Check whether --with-ios-sdk was given.
7155 if test "${with_ios_sdk+set}" = set; then :
7156 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
7162 $as_echo "$aros_ios_sdk" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7168 $as_echo_n "checking Android SDK path... " >&6; }
7170 # Check whether --with-sdk was given.
7171 if test "${with_sdk+set}" = set; then :
7172 withval
=$with_sdk; aros_android_sdk
="$withval"
7174 aros_android_sdk
=$default_android_sdk
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7178 $as_echo "$aros_android_sdk" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7181 $as_echo_n "checking Android NDK path... " >&6; }
7183 # Check whether --with-ndk was given.
7184 if test "${with_ndk+set}" = set; then :
7185 withval
=$with_ndk; aros_android_ndk
="$withval"
7187 aros_android_ndk
="$default_android_ndk"
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7191 $as_echo "$aros_android_ndk" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android version to use" >&5
7194 $as_echo_n "checking what Android version to use... " >&6; }
7196 # Check whether --with-android-version was given.
7197 if test "${with_android_version+set}" = set; then :
7198 withval
=$with_android_version; aros_android_version
="$withval"
7200 aros_android_version
="2.2"
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_version" >&5
7204 $as_echo "$aros_android_version" >&6; }
7206 export PATH
="$aros_android_sdk/tools:$PATH"
7207 # Extract the first word of "$android_tool", so it can be a program name with args.
7208 set dummy
$android_tool; ac_word
=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_path_android_tool+:} false
; then :
7212 $as_echo_n "(cached) " >&6
7214 case $android_tool in
7216 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7223 test -z "$as_dir" && as_dir
=.
7224 for ac_exec_ext
in '' $ac_executable_extensions; do
7225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7226 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7237 android_tool
=$ac_cv_path_android_tool
7238 if test -n "$android_tool"; then
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7240 $as_echo "$android_tool" >&6; }
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7243 $as_echo "no" >&6; }
7247 if test "$android_tool" = ""; then
7248 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7251 if test $host_os = "mingw32"; then
7252 android_tool
="cmd //c $android_tool"
7258 #-----------------------------------------------------------------------------
7259 # This is the target configuration switch.
7260 case "$target_os" in
7262 aros_target_arch
="linux"
7263 aros_target_family
="unix"
7264 case "$target_cpu" in
7266 aros_target_cpu
="m68k"
7267 aros_object_format
="m68kelf"
7268 aros_flavour
="emulcompat"
7269 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7270 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7271 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7272 gcc_target_cpu
="mc68000"
7275 aros_target_cpu
="i386"
7276 aros_object_format
="elf_i386"
7277 aros_flavour
="emulation"
7278 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7279 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7280 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7281 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7282 aros_config_ldflags
="-m32 -march=i486"
7283 aros_kernel_ldflags
="-melf_i386"
7284 aros_default_wbdepth
=8
7285 gcc_target_cpu
="i386"
7286 pci_hidd_target
="hidd-pci-linux"
7289 aros_target_cpu
="x86_64"
7290 aros_object_format
="elf_x86_64"
7291 aros_flavour
="emulation"
7292 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7293 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7294 aros_default_wbdepth
=8
7295 pci_hidd_target
="hidd-pci-linux"
7298 aros_target_cpu
="ppc"
7299 aros_object_format
="elf32ppc"
7300 aros_flavour
="emulation"
7301 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7302 aros_default_wbdepth
=8
7303 gcc_target_cpu
="ppc"
7306 # Same as powerpc, but I need this for the nightly build to work again.
7307 # Actually, the nightly should be made working with powerpc target.
7308 # That just was too much work for the moment, another week or two.
7310 aros_target_cpu
="ppc"
7311 aros_object_format
="elf32ppc"
7312 aros_flavour
="emulation"
7313 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7314 aros_default_wbdepth
=8
7315 gcc_target_cpu
="ppc"
7318 aros_target_cpu
="arm"
7319 aros_object_format
="armelf_linux_eabi"
7320 aros_flavour
="emulation"
7321 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7322 gcc_target_cpu
="arm"
7323 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"
7324 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"
7325 aros_arch_libs
="-laeabi"
7328 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7331 case "$aros_target_variant" in
7333 case "$aros_android_version" in
7335 aros_android_level
=android-8
7338 aros_android_level
=android-9
7341 aros_default_wbwidth
=320
7342 aros_default_wbheight
=480
7344 if test "$aros_android_ndk" = ""; then
7345 aros_kernel_cflags
="-mandroid"
7346 aros_kernel_ldflags
="-mandroid"
7349 export PATH
="$aros_android_ndk/toolchains/arm-linux-androideabi-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7350 aros_android_ndk
="$aros_android_ndk/platforms/$aros_android_level/arch-arm"
7351 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7352 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7353 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7354 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7357 target_tool_prefix
="arm-linux-androideabi-"
7363 aros_target_arch
="pc"
7364 aros_shared_default
="no"
7365 target_bootloader
="grub2"
7366 case "$target_cpu" in
7368 aros_target_cpu
="i386"
7371 if test "$aros_object_format" = "" ; then
7372 aros_object_format
="elf_i386"
7374 aros_flavour
="standalone"
7375 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7376 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7377 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7378 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7379 aros_config_ldflags
="-m32 -march=i486"
7380 aros_kernel_ldflags
="-melf_i386"
7381 aros_default_wbwidth
=640
7382 aros_default_wbheight
=480
7383 gcc_target_cpu
="i386"
7386 aros_target_cpu
="x86_64"
7388 if test "$aros_object_format" = "" ; then
7389 aros_object_format
="elf_x86_64"
7391 aros_flavour
="standalone"
7392 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7393 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7394 aros_kernel_ldflags
=""
7395 aros_default_wbwidth
=640
7396 aros_default_wbheight
=480
7399 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7405 aros_target_arch
="prep"
7406 aros_shared_default
="no"
7407 aros_target_cpu
="ppc"
7408 aros_object_format
="elf32ppc"
7409 aros_flavour
="ppcnative"
7410 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7411 aros_kernel_ldflags
=""
7412 aros_default_wbwidth
=640
7413 aros_default_wbheight
=480
7414 gcc_target_cpu
="ppc"
7418 aros_target_arch
="freebsd"
7419 aros_target_family
="unix"
7420 aros_target_cpu
="i386"
7421 aros_flavour
="emulation"
7422 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7423 gcc_target_cpu
="i386"
7425 aros_target_strip_flags
="-x"
7429 aros_target_arch
="darwin"
7430 aros_target_family
="unix"
7431 aros_flavour
="emulation"
7432 case "$target_cpu" in
7434 aros_ios_platform
="iPhoneSimulator"
7435 aros_target_cpu
="i386"
7436 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7437 aros_kernel_ldflags
=""
7438 aros_macosx_version
="10.4"
7439 aros_default_wbdepth
=8
7440 gcc_target_cpu
="i386"
7441 aros_object_format
="elf_i386"
7442 aros_kernel_ar_flags
="-cr"
7443 aros_target_strip_flags
="-x"
7444 target_tool_prefix
="i686-apple-darwin10-"
7445 target_tool_flags
="-m32"
7448 aros_target_cpu
="x86_64"
7449 aros_object_format
="elf_x86_64"
7450 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7451 aros_macosx_version
="10.6"
7452 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7453 aros_kernel_cflags
="-m64"
7454 aros_kernel_ldflags
="-m64"
7455 aros_target_cflags
="-mcmodel=large"
7456 aros_default_wbdepth
=8
7458 aros_kernel_ar_flags
="-cr"
7460 aros_kernel_ranlib
="ranlib"
7461 target_tool_prefix
="i686-apple-darwin10-"
7464 aros_target_cpu
="ppc"
7465 aros_object_format
="elf32ppc"
7466 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7467 aros_kernel_ldflags
=""
7468 aros_macosx_version
="10.0"
7469 aros_default_wbdepth
=8
7470 gcc_target_cpu
="ppc"
7472 aros_kernel_ar_flags
="-cr"
7473 aros_kernel_ld
="ld -arch ppc"
7474 aros_kernel_ranlib
="ranlib -arch ppc"
7475 target_tool_prefix
="powerpc-apple-darwin10-"
7478 aros_ios_platform
="iPhoneOS"
7479 aros_target_cpu
="arm"
7480 aros_object_format
="armelf_linux_eabi"
7481 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7482 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7483 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7484 aros_arch_libs
="-laeabi"
7485 aros_default_wbdepth
=8
7486 gcc_target_cpu
="arm"
7488 aros_kernel_ar_flags
="-cr"
7489 aros_kernel_ld
="ld -arch arm"
7490 aros_kernel_ranlib
="ranlib -arch arm"
7491 target_tool_prefix
="arm-apple-darwin10-"
7492 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7495 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7498 case "$aros_target_variant" in
7500 aros_default_wbwidth
=320
7501 aros_default_wbheight
=480
7502 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7503 target_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7504 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7506 # This is here because it may depend on iOS or SDK version
7507 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7508 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7509 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7512 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7513 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7519 aros_target_arch
="dragonfly"
7520 aros_target_family
="unix"
7521 aros_flavour
="emulation"
7522 case "$target_cpu" in
7524 aros_target_cpu
="i386"
7525 aros_object_format
="elf_i386"
7526 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7529 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7530 aros_target_cpu
="x86_64"
7531 aros_object_format
="elf_x86_64"
7532 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7535 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7541 aros_target_arch
="netbsd"
7542 aros_target_family
="unix"
7543 case "$target_cpu" in
7545 aros_target_cpu
="m68k"
7546 aros_object_format
="m68kelf"
7547 aros_flavour
="emulcompat"
7548 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7549 gcc_target_cpu
="mc68000"
7552 aros_target_cpu
="i386"
7553 aros_object_format
="elf_i386"
7554 aros_flavour
="emulation"
7555 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7556 aros_default_wbdepth
=8
7557 gcc_target_cpu
="i386"
7560 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7563 aros_target_genmap
="-Wl,-M -Xlinker >"
7564 aros_flavour
="emulation"
7565 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7569 aros_target_arch
="openbsd"
7570 aros_target_family
="unix"
7571 case "$target_cpu" in
7573 aros_target_cpu
="i386"
7574 aros_object_format
="elf_i386"
7575 aros_flavour
="emulation"
7576 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7577 gcc_target_cpu
="i386"
7580 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7583 aros_target_genmap
="-Wl,-M -Xlinker >"
7584 aros_target_nm_flags
="-u"
7585 aros_flavour
="emulation"
7589 aros_target_arch
="solaris"
7590 aros_target_family
="unix"
7591 case "$target_cpu" in
7593 aros_target_cpu
="i386"
7594 aros_object_format
="elf_i386"
7595 aros_flavour
="emulation"
7596 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7597 aros_default_wbdepth
=8
7598 gcc_target_cpu
="i386"
7601 aros_target_cpu
="sparc"
7602 aros_object_format
="elf_sparc"
7603 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7604 gcc_target_cpu
="sparc"
7607 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7610 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7611 aros_flavour
="emulation"
7615 aros_target_arch
="morphos"
7616 aros_shared_default
="no"
7617 aros_target_cpu
="ppc"
7618 aros_object_format
="elf_ppc"
7619 aros_flavour
="nativecompat"
7620 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7621 gcc_target_cpu
="ppc"
7625 aros_target_arch
="sam440"
7626 aros_shared_default
="no"
7627 aros_target_cpu
="ppc"
7628 aros_object_format
="elf32ppc"
7629 aros_flavour
="ppcnative"
7630 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7631 aros_kernel_ldflags
=""
7632 aros_default_wbwidth
=1024
7633 aros_default_wbheight
=768
7634 aros_default_wbdepth
=24
7635 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7636 gcc_target_cpu
="powerpc"
7640 aros_target_arch
="efika"
7641 aros_shared_default
="no"
7642 aros_target_cpu
="arm"
7643 aros_object_format
="armelf_linux_eabi"
7644 aros_flavour
="standalone"
7645 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7646 aros_kernel_ldflags
=""
7647 aros_default_wbwidth
=1024
7648 aros_default_wbheight
=600
7649 aros_arch_libs
="-laeabi"
7650 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"
7651 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"
7655 aros_target_arch
="chrp"
7656 aros_shared_default
="no"
7657 aros_target_cpu
="ppc"
7658 aros_object_format
="elf32ppc"
7659 aros_flavour
="ppcnative"
7660 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7661 aros_kernel_ldflags
=""
7662 aros_default_wbwidth
=640
7663 aros_default_wbheight
=480
7664 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7665 gcc_target_cpu
="powerpc"
7666 case "$aros_target_variant" in
7668 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7674 aros_target_arch
="amiga"
7675 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7676 aros_shared_default
="no"
7678 case "$target_cpu" in
7681 aros_target_cpu
="m68k"
7682 aros_object_format
="m68kelf"
7683 aros_flavour
="standcompat"
7684 gcc_target_cpu
="m68000"
7685 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
7686 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
7687 target_tool_prefix
="m68k-elf-"
7688 # Needed to get the correct multilib
7689 aros_config_ldflags
="-${gcc_target_cpu}"
7690 aros_shared_ldflags
="-${gcc_target_cpu}"
7691 aros_kernel_ldflags
="-${gcc_target_cpu}"
7692 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7693 aros_target_strip_flags
="-R.comment --strip-debug"
7694 aros_default_wbwidth
=640
7695 aros_default_wbheight
=256
7696 aros_default_wbdepth
=2
7700 aros_flavour
="native"
7701 gcc_target_cpu
="ppc"
7704 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7710 aros_target_arch
="mingw32"
7711 aros_shared_default
="no"
7712 aros_flavour
="emulation"
7713 aros_shared_cflags
=""
7716 case "$target_cpu" in
7718 aros_target_cpu
="i386"
7719 aros_object_format
="elf_i386"
7720 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7721 aros_default_wbdepth
=8
7722 gcc_target_cpu
="i386"
7724 aros_target_as
="i386-aros-as"
7725 aros_target_ar
="i386-aros-ar"
7726 aros_target_ranlib
="i386-aros-ranlib"
7727 aros_target_nm
="i386-aros-nm"
7728 aros_target_strip
="i386-aros-strip"
7729 aros_target_objcopy
="i386-aros-objcopy"
7730 aros_target_objdump
="i386-aros-objdump"
7732 target_tool_prefix
="i386-mingw32-"
7735 aros_target_cpu
="x86_64"
7736 aros_object_format
="elf_x86_64"
7737 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7738 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7739 aros_default_wbdepth
=8
7740 target_tool_prefix
="x86_64-w64-mingw32-"
7743 aros_target_cpu
="arm"
7744 aros_object_format
="armelf_linux_eabi"
7745 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7746 aros_arch_libs
="-laeabi"
7747 aros_default_wbdepth
=8
7748 gcc_target_cpu
="arm"
7749 target_tool_prefix
="arm-mingw32ce-"
7750 aros_default_wbwidth
=160
7751 aros_default_wbheight
=160
7754 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7757 if test $host_os = "cygwin"; then
7758 aros_kernel_cflags
="-mno-cygwin"
7762 aros_target_arch
="pp"
7763 aros_shared_default
="no"
7764 case "$target_cpu" in
7766 aros_target_cpu
="m68k"
7767 aros_object_format
="m68kelf"
7768 aros_flavour
="palmnative"
7769 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7770 aros_default_wbwidth
=160
7771 aros_default_wbheight
=160
7772 aros_default_wbdepth
=1
7773 aros_target_ar_flags
="cru"
7774 aros_compiler_libs
="-lgcc1"
7775 aros_shared_default
=no
7776 aros_shared_cflags
="-fpic"
7777 aros_shared_aflags
=""
7778 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7779 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7780 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7781 aros_debug_aflags
=""
7782 aros_debug_ldflags
="$aros_symbols_debug"
7783 aros_mungwall_debug
="0"
7784 aros_modules_debug
="0"
7785 gcc_target_cpu
="mc68000"
7786 ignore_undefined_symbols
="-ius"
7789 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7795 aros_target_arch
="mac"
7796 aros_shared_default
="no"
7797 case "$target_cpu" in
7799 aros_target_cpu
="m68k"
7800 aros_object_format
="m68kelf"
7801 aros_flavour
="mac68knative"
7802 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7803 aros_default_wbwidth
=512
7804 aros_default_wbheight
=384
7805 aros_default_wbdepth
=8
7806 aros_target_ar_flags
="cru"
7807 aros_compiler_libs
="-lgcc1"
7808 aros_shared_default
=no
7809 aros_shared_cflags
="-fpic"
7810 aros_shared_aflags
=""
7811 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7812 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7813 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
7814 aros_debug_aflags
=""
7815 aros_debug_ldflags
="$aros_symbols_debug"
7816 aros_mungwall_debug
="0"
7817 aros_modules_debug
="0"
7818 gcc_target_cpu
="mc68000"
7819 ignore_undefined_symbols
="-ius"
7822 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7828 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
7832 #-----------------------------------------------------------------------------
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
7834 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
7836 # Check whether --with-crosstools was given.
7837 if test "${with_crosstools+set}" = set; then :
7838 withval
=$with_crosstools; with_crosstools
=$withval
7840 with_crosstools
="default"
7843 if test "$with_crosstools" = "default"; then
7844 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
7846 AROS_CROSSTOOLSDIR
="$with_crosstools"
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
7849 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
7851 if test "$crosstools" != "yes" -a "$with_crosstools" != "default"; then
7853 PATH
=$AROS_CROSSTOOLSDIR:$PATH
7854 target_tool_prefix
=${target_cpu}-aros-
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
7858 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
7860 # Check whether --with-aros-gcc was given.
7861 if test "${with_aros_gcc+set}" = set; then :
7862 withval
=$with_aros_gcc; aros_gcc_version
="$withval"
7864 aros_gcc_version
="$use_aros_gcc"
7867 case "$aros_gcc_version" in
7869 aros_gcc_version
="default"
7872 aros_gcc_version
="none"
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
7876 $as_echo "$aros_gcc_version" >&6; }
7878 if test "$aros_gcc_version" != "none" -o "$crosstools" = "yes"; then
7879 if test "$aros_gcc_version" != "default" -a "$aros_gcc_version" != "none"; then
7880 aros_target_cc
="$aros_target_cpu-aros-gcc-$aros_gcc_version"
7881 aros_target_cxx
="$aros_target_cpu-aros-g++-$aros_gcc_version"
7883 aros_target_cc
="$aros_target_cpu-aros-gcc"
7884 aros_target_cxx
="$aros_target_cpu-aros-g++"
7887 aros_target_ld
="$aros_target_cpu-aros-ld"
7888 aros_target_as
="$aros_target_cpu-aros-as"
7889 aros_target_ar
="$aros_target_cpu-aros-ar"
7890 aros_target_ranlib
="$aros_target_cpu-aros-ranlib"
7891 aros_target_nm
="$aros_target_cpu-aros-nm"
7892 aros_target_strip
="$aros_target_cpu-aros-strip"
7893 aros_target_objcopy
="$aros_target_cpu-aros-objcopy"
7894 aros_target_objdump
="$aros_target_cpu-aros-objdump"
7897 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
7898 # Since we override specs, we may need to put these defines there
7899 if test "$gcc_target_cpu" != ""; then
7900 gcc_target_cpu
="-D__${gcc_target_cpu}__"
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
7904 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
7906 # Check whether --with-portssources was given.
7907 if test "${with_portssources+set}" = set; then :
7908 withval
=$with_portssources; with_portssrcdir
=$withval
7910 with_portssrcdir
="default"
7913 if test "$with_portssrcdir" = "default"; then
7914 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7916 AROS_PORTSSRCDIR
="$with_portssrcdir"
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7919 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7922 $as_echo_n "checking which bootloader to use... " >&6; }
7924 # Check whether --with-bootloader was given.
7925 if test "${with_bootloader+set}" = set; then :
7926 withval
=$with_bootloader; target_bootloader
=$withval
7928 target_bootloader
=$target_bootloader
7931 if test "$target_bootloader" = "none"; then
7932 aros_target_bootloader
=""
7934 aros_target_bootloader
="$target_bootloader"
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7937 $as_echo "$target_bootloader" >&6; }
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7940 $as_echo_n "checking which icon-set to use... " >&6; }
7942 # Check whether --with-iconset was given.
7943 if test "${with_iconset+set}" = set; then :
7944 withval
=$with_iconset; target_iconset
=$withval
7946 target_iconset
="default"
7949 if test "$target_iconset" = "default"; then
7950 aros_target_iconset
="Gorilla"
7951 target_iconset
="default (Gorilla)"
7953 aros_target_iconset
="$target_iconset"
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7956 $as_echo "$target_iconset" >&6; }
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7959 $as_echo_n "checking which GUI Theme to use... " >&6; }
7961 # Check whether --with-theme was given.
7962 if test "${with_theme+set}" = set; then :
7963 withval
=$with_theme; target_guitheme
=$withval
7965 target_guitheme
="default"
7968 if test "$target_guitheme" = "default"; then
7969 aros_target_guitheme
="Ice"
7971 aros_target_guitheme
="$target_guitheme"
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7974 $as_echo "$aros_target_guitheme" >&6; }
7976 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7979 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7983 if test "$aros_host_cpu" == "x86_64" ; then
7984 if test "$aros_target_cpu" == "i386" ; then
7985 if test "$aros_target_arch" != "mingw32"; then
7991 if test "$aros_host_arch" == "darwin" ; then
7992 if test "$aros_target_arch" != "darwin" ; then
7997 # I want to have this information in configure output, although it might be
7998 # misleading, e.g. for darwin hosted you cannot compile target code without a
7999 # cross compiler, but here it says no.
8000 echo "checking wether we are (AROS style) cross compiling... $cross_compiling"
8002 # Set prefix for target compiler etc. if we're cross-compiling
8003 # (should possibly be earlier but needs to be after AC_PROG_CC)
8004 if test "$cross_compiling" = "yes" ; then
8005 CC
=${target_tool_prefix}gcc
8006 CPP
=${target_tool_prefix}cpp
8007 if test "$target_tool_version" != "default"; then
8008 CC
="$CC-$target_tool_version"
8009 CPP
="$CC-$target_tool_version"
8011 if test "$crosstools" != "yes" ; then
8012 # Extract the first word of "$CC", so it can be a program name with args.
8013 set dummy
$CC; ac_word
=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_path_CC+:} false
; then :
8017 $as_echo_n "(cached) " >&6
8021 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
8024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8028 test -z "$as_dir" && as_dir
=.
8029 for ac_exec_ext
in '' $ac_executable_extensions; do
8030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8031 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
8032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8043 if test -n "$CC"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8045 $as_echo "$CC" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8052 if test "$CC" = ""; then
8053 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8056 CC
=$AROS_CROSSTOOLSDIR/$CC
8059 CC
="$CC $target_tool_flags"
8061 #-----------------------------------------------------------------------------
8063 # Disable pointer-signedness warnings if the compiler recognises the option
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8066 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8067 save_cflags
="$CFLAGS"
8068 if test "$crosstools" != "yes" ; then
8069 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8071 /* end confdefs.h. */
8081 if ac_fn_c_try_compile
"$LINENO"; then :
8082 use_no_sign_warning
="yes"
8084 use_no_sign_warning
="no"
8086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8088 # we do know it is supported for the smallest version of gcc we are going to build
8089 # we assume it's also supported by later versions
8090 use_no_sign_warning
=yes
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8093 $as_echo "$use_no_sign_warning" >&6; }
8094 if test "x-$use_no_sign_warning" = "x-yes" ; then
8095 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8097 CFLAGS
="$save_cflags"
8099 #-----------------------------------------------------------------------------
8101 # Find all the tools we need to compile. This could be cross-compiling
8102 # though! If that is the case we use the GNU form of the target and
8103 # simply add this to the front of the binary name. This is rather simple,
8104 # but it should work under most circumstances.
8106 # The default tools are to use the same as the host, but only if the
8107 # host and target CPU are the same. With GCC this is normally enough.
8111 aros_shared_ld
="$aros_host_ld"
8113 aros_target_mkdep
="$aros_host_mkdep"
8114 aros_target_incl_def
="$aros_host_incl"
8116 aros_kernel_cc
="$CC"
8118 # The default tools executables to be linked to.
8119 if test "$rescomp" != ""; then
8120 if test "$cross_compiling" = "yes" ; then
8121 rescomp
=${target_tool_prefix}${rescomp}
8123 # Extract the first word of "$rescomp", so it can be a program name with args.
8124 set dummy
$rescomp; ac_word
=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8126 $as_echo_n "checking for $ac_word... " >&6; }
8127 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
8128 $as_echo_n "(cached) " >&6
8130 case $aros_kernel_rescomp in
8132 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8139 test -z "$as_dir" && as_dir
=.
8140 for ac_exec_ext
in '' $ac_executable_extensions; do
8141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8142 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8153 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8154 if test -n "$aros_kernel_rescomp"; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8156 $as_echo "$aros_kernel_rescomp" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8159 $as_echo "no" >&6; }
8163 if test "$aros_kernel_rescomp" = ""; then
8164 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8168 if test "$crosstools" != "yes"; then
8170 if test "$aros_kernel_ld" = ""; then
8171 if test "$cross_compiling" = "yes" ; then
8172 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8173 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8175 $as_echo_n "checking for $ac_word... " >&6; }
8176 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8177 $as_echo_n "(cached) " >&6
8179 case $aros_kernel_ld in
8181 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8188 test -z "$as_dir" && as_dir
=.
8189 for ac_exec_ext
in '' $ac_executable_extensions; do
8190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8191 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8202 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8203 if test -n "$aros_kernel_ld"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8205 $as_echo "$aros_kernel_ld" >&6; }
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8208 $as_echo "no" >&6; }
8213 if test "$GCC" = "yes"; then
8214 aros_gcc_ld
=`$CC -print-prog-name=ld`
8215 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8216 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8218 $as_echo_n "checking for $ac_word... " >&6; }
8219 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8220 $as_echo_n "(cached) " >&6
8222 case $aros_kernel_ld in
8224 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8228 for as_dir
in `dirname $aros_gcc_ld`
8231 test -z "$as_dir" && as_dir
=.
8232 for ac_exec_ext
in '' $ac_executable_extensions; do
8233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8234 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8245 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8246 if test -n "$aros_kernel_ld"; then
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8248 $as_echo "$aros_kernel_ld" >&6; }
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8251 $as_echo "no" >&6; }
8256 if test "$aros_kernel_ld" = ""; then
8257 # Extract the first word of "ld", so it can be a program name with args.
8258 set dummy ld
; ac_word
=$2
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8260 $as_echo_n "checking for $ac_word... " >&6; }
8261 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8262 $as_echo_n "(cached) " >&6
8264 case $aros_kernel_ld in
8266 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8273 test -z "$as_dir" && as_dir
=.
8274 for ac_exec_ext
in '' $ac_executable_extensions; do
8275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8276 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8288 if test -n "$aros_kernel_ld"; then
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8290 $as_echo "$aros_kernel_ld" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 $as_echo "no" >&6; }
8300 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8301 set dummy
$aros_kernel_ld; ac_word
=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8303 $as_echo_n "checking for $ac_word... " >&6; }
8304 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8305 $as_echo_n "(cached) " >&6
8307 case $aros_kernel_ld in
8309 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8316 test -z "$as_dir" && as_dir
=.
8317 for ac_exec_ext
in '' $ac_executable_extensions; do
8318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8319 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8330 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8331 if test -n "$aros_kernel_ld"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8333 $as_echo "$aros_kernel_ld" >&6; }
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8336 $as_echo "no" >&6; }
8342 if test "$aros_kernel_ld" = ""; then
8343 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8346 if test "$aros_kernel_ar" = ""; then
8347 if test "$cross_compiling" = "yes" ; then
8348 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8349 set dummy
${target_tool_prefix}ar; ac_word
=$2
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8351 $as_echo_n "checking for $ac_word... " >&6; }
8352 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8353 $as_echo_n "(cached) " >&6
8355 case $aros_kernel_ar in
8357 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8364 test -z "$as_dir" && as_dir
=.
8365 for ac_exec_ext
in '' $ac_executable_extensions; do
8366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8367 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8378 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8379 if test -n "$aros_kernel_ar"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8381 $as_echo "$aros_kernel_ar" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 $as_echo "no" >&6; }
8389 if test "$GCC" = "yes"; then
8390 aros_gcc_ar
=`$CC -print-prog-name=ar`
8391 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8392 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8394 $as_echo_n "checking for $ac_word... " >&6; }
8395 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8396 $as_echo_n "(cached) " >&6
8398 case $aros_kernel_ar in
8400 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8404 for as_dir
in `dirname $aros_gcc_ar`
8407 test -z "$as_dir" && as_dir
=.
8408 for ac_exec_ext
in '' $ac_executable_extensions; do
8409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8410 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8421 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8422 if test -n "$aros_kernel_ar"; then
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8424 $as_echo "$aros_kernel_ar" >&6; }
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427 $as_echo "no" >&6; }
8432 if test "$aros_kernel_ar" = ""; then
8433 # Extract the first word of "ar", so it can be a program name with args.
8434 set dummy
ar; ac_word
=$2
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8436 $as_echo_n "checking for $ac_word... " >&6; }
8437 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8438 $as_echo_n "(cached) " >&6
8440 case $aros_kernel_ar in
8442 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8449 test -z "$as_dir" && as_dir
=.
8450 for ac_exec_ext
in '' $ac_executable_extensions; do
8451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8452 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8463 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8464 if test -n "$aros_kernel_ar"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8466 $as_echo "$aros_kernel_ar" >&6; }
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8469 $as_echo "no" >&6; }
8476 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
8477 set dummy
$aros_kernel_ar; ac_word
=$2
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8479 $as_echo_n "checking for $ac_word... " >&6; }
8480 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8481 $as_echo_n "(cached) " >&6
8483 case $aros_kernel_ar in
8485 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8492 test -z "$as_dir" && as_dir
=.
8493 for ac_exec_ext
in '' $ac_executable_extensions; do
8494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8495 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8506 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8507 if test -n "$aros_kernel_ar"; then
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8509 $as_echo "$aros_kernel_ar" >&6; }
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8512 $as_echo "no" >&6; }
8518 if test "$aros_kernel_ar" = ""; then
8519 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8522 if test "$aros_kernel_ranlib" = ""; then
8523 if test "$cross_compiling" = "yes" ; then
8524 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8525 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8527 $as_echo_n "checking for $ac_word... " >&6; }
8528 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8529 $as_echo_n "(cached) " >&6
8531 case $aros_kernel_ranlib in
8533 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8540 test -z "$as_dir" && as_dir
=.
8541 for ac_exec_ext
in '' $ac_executable_extensions; do
8542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8543 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8554 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8555 if test -n "$aros_kernel_ranlib"; then
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8557 $as_echo "$aros_kernel_ranlib" >&6; }
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8560 $as_echo "no" >&6; }
8565 if test "$GCC" = "yes"; then
8566 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8567 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8568 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8570 $as_echo_n "checking for $ac_word... " >&6; }
8571 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8572 $as_echo_n "(cached) " >&6
8574 case $aros_kernel_ranlib in
8576 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8580 for as_dir
in `dirname $aros_gcc_ranlib`
8583 test -z "$as_dir" && as_dir
=.
8584 for ac_exec_ext
in '' $ac_executable_extensions; do
8585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8586 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8597 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8598 if test -n "$aros_kernel_ranlib"; then
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8600 $as_echo "$aros_kernel_ranlib" >&6; }
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8603 $as_echo "no" >&6; }
8608 if test "$aros_kernel_ranlib" = ""; then
8609 # Extract the first word of "ranlib", so it can be a program name with args.
8610 set dummy ranlib
; ac_word
=$2
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8612 $as_echo_n "checking for $ac_word... " >&6; }
8613 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8614 $as_echo_n "(cached) " >&6
8616 case $aros_kernel_ranlib in
8618 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8625 test -z "$as_dir" && as_dir
=.
8626 for ac_exec_ext
in '' $ac_executable_extensions; do
8627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8628 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8639 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8640 if test -n "$aros_kernel_ranlib"; then
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8642 $as_echo "$aros_kernel_ranlib" >&6; }
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8645 $as_echo "no" >&6; }
8652 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
8653 set dummy
$aros_kernel_ranlib; ac_word
=$2
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8655 $as_echo_n "checking for $ac_word... " >&6; }
8656 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8657 $as_echo_n "(cached) " >&6
8659 case $aros_kernel_ranlib in
8661 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8668 test -z "$as_dir" && as_dir
=.
8669 for ac_exec_ext
in '' $ac_executable_extensions; do
8670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8671 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8682 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8683 if test -n "$aros_kernel_ranlib"; then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8685 $as_echo "$aros_kernel_ranlib" >&6; }
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8688 $as_echo "no" >&6; }
8694 if test "$aros_kernel_ranlib" = ""; then
8695 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8698 if test "$target_tool_prefix" != "${target_cpu}-elf-" ; then
8699 target_tool_prefix
=${target_cpu}-elf-
8700 if test "$aros_target_cc" == ""; then
8701 aros_target_cc
="${target_tool_prefix}gcc"
8703 if test "$aros_target_ld" == ""; then
8704 aros_target_ld
="${target_tool_prefix}ld"
8708 if test "$aros_target_as" = ""; then
8709 if test "$cross_compiling" = "yes" ; then
8710 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8711 set dummy
${target_tool_prefix}as
; ac_word
=$2
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713 $as_echo_n "checking for $ac_word... " >&6; }
8714 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8715 $as_echo_n "(cached) " >&6
8717 case $aros_target_as_ln in
8719 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8726 test -z "$as_dir" && as_dir
=.
8727 for ac_exec_ext
in '' $ac_executable_extensions; do
8728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8741 if test -n "$aros_target_as_ln"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8743 $as_echo "$aros_target_as_ln" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8751 if test "$GCC" = "yes"; then
8752 aros_gcc_as
=`$CC -print-prog-name=as`
8753 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8754 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8756 $as_echo_n "checking for $ac_word... " >&6; }
8757 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8758 $as_echo_n "(cached) " >&6
8760 case $aros_target_as_ln in
8762 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8766 for as_dir
in `dirname $aros_gcc_as`
8769 test -z "$as_dir" && as_dir
=.
8770 for ac_exec_ext
in '' $ac_executable_extensions; do
8771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8772 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8783 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8784 if test -n "$aros_target_as_ln"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8786 $as_echo "$aros_target_as_ln" >&6; }
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8789 $as_echo "no" >&6; }
8794 if test "$aros_target_as_ln" = ""; then
8795 # Extract the first word of "as", so it can be a program name with args.
8796 set dummy as
; ac_word
=$2
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8798 $as_echo_n "checking for $ac_word... " >&6; }
8799 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8800 $as_echo_n "(cached) " >&6
8802 case $aros_target_as_ln in
8804 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8811 test -z "$as_dir" && as_dir
=.
8812 for ac_exec_ext
in '' $ac_executable_extensions; do
8813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8814 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8825 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8826 if test -n "$aros_target_as_ln"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8828 $as_echo "$aros_target_as_ln" >&6; }
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8838 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8839 set dummy
$aros_target_as; ac_word
=$2
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8841 $as_echo_n "checking for $ac_word... " >&6; }
8842 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8843 $as_echo_n "(cached) " >&6
8845 case $aros_target_as_ln in
8847 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8854 test -z "$as_dir" && as_dir
=.
8855 for ac_exec_ext
in '' $ac_executable_extensions; do
8856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8857 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8868 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8869 if test -n "$aros_target_as_ln"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8871 $as_echo "$aros_target_as_ln" >&6; }
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8880 if test "$aros_target_as_ln" = ""; then
8881 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
8884 if test "$aros_target_ar" = ""; then
8885 if test "$cross_compiling" = "yes" ; then
8886 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8887 set dummy
${target_tool_prefix}ar; ac_word
=$2
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8889 $as_echo_n "checking for $ac_word... " >&6; }
8890 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
8891 $as_echo_n "(cached) " >&6
8893 case $aros_target_ar_ln in
8895 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8902 test -z "$as_dir" && as_dir
=.
8903 for ac_exec_ext
in '' $ac_executable_extensions; do
8904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8905 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8916 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8917 if test -n "$aros_target_ar_ln"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8919 $as_echo "$aros_target_ar_ln" >&6; }
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8927 if test "$GCC" = "yes"; then
8928 aros_gcc_ar
=`$CC -print-prog-name=ar`
8929 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8930 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8932 $as_echo_n "checking for $ac_word... " >&6; }
8933 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
8934 $as_echo_n "(cached) " >&6
8936 case $aros_target_ar_ln in
8938 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8942 for as_dir
in `dirname $aros_gcc_ar`
8945 test -z "$as_dir" && as_dir
=.
8946 for ac_exec_ext
in '' $ac_executable_extensions; do
8947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8948 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8959 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8960 if test -n "$aros_target_ar_ln"; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8962 $as_echo "$aros_target_ar_ln" >&6; }
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8965 $as_echo "no" >&6; }
8970 if test "$aros_target_ar_ln" = ""; then
8971 # Extract the first word of "ar", so it can be a program name with args.
8972 set dummy
ar; ac_word
=$2
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8974 $as_echo_n "checking for $ac_word... " >&6; }
8975 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
8976 $as_echo_n "(cached) " >&6
8978 case $aros_target_ar_ln in
8980 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8987 test -z "$as_dir" && as_dir
=.
8988 for ac_exec_ext
in '' $ac_executable_extensions; do
8989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8990 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9001 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9002 if test -n "$aros_target_ar_ln"; then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9004 $as_echo "$aros_target_ar_ln" >&6; }
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9007 $as_echo "no" >&6; }
9014 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9015 set dummy
$aros_target_ar; ac_word
=$2
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9017 $as_echo_n "checking for $ac_word... " >&6; }
9018 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9019 $as_echo_n "(cached) " >&6
9021 case $aros_target_ar_ln in
9023 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9030 test -z "$as_dir" && as_dir
=.
9031 for ac_exec_ext
in '' $ac_executable_extensions; do
9032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9033 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9044 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9045 if test -n "$aros_target_ar_ln"; then
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9047 $as_echo "$aros_target_ar_ln" >&6; }
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9050 $as_echo "no" >&6; }
9056 if test "$aros_target_ar_ln" = ""; then
9057 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9060 if test "$aros_target_nm" = ""; then
9061 if test "$cross_compiling" = "yes" ; then
9062 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9063 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9065 $as_echo_n "checking for $ac_word... " >&6; }
9066 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9067 $as_echo_n "(cached) " >&6
9069 case $aros_target_nm_ln in
9071 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9078 test -z "$as_dir" && as_dir
=.
9079 for ac_exec_ext
in '' $ac_executable_extensions; do
9080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9081 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9092 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9093 if test -n "$aros_target_nm_ln"; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9095 $as_echo "$aros_target_nm_ln" >&6; }
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9098 $as_echo "no" >&6; }
9103 if test "$GCC" = "yes"; then
9104 aros_gcc_nm
=`$CC -print-prog-name=nm`
9105 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9106 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9108 $as_echo_n "checking for $ac_word... " >&6; }
9109 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9110 $as_echo_n "(cached) " >&6
9112 case $aros_target_nm_ln in
9114 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9118 for as_dir
in `dirname $aros_gcc_nm`
9121 test -z "$as_dir" && as_dir
=.
9122 for ac_exec_ext
in '' $ac_executable_extensions; do
9123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9124 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9135 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9136 if test -n "$aros_target_nm_ln"; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9138 $as_echo "$aros_target_nm_ln" >&6; }
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9141 $as_echo "no" >&6; }
9146 if test "$aros_target_nm_ln" = ""; then
9147 # Extract the first word of "nm", so it can be a program name with args.
9148 set dummy nm
; ac_word
=$2
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9150 $as_echo_n "checking for $ac_word... " >&6; }
9151 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9152 $as_echo_n "(cached) " >&6
9154 case $aros_target_nm_ln in
9156 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9163 test -z "$as_dir" && as_dir
=.
9164 for ac_exec_ext
in '' $ac_executable_extensions; do
9165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9166 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9177 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9178 if test -n "$aros_target_nm_ln"; then
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9180 $as_echo "$aros_target_nm_ln" >&6; }
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9183 $as_echo "no" >&6; }
9190 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
9191 set dummy
$aros_target_nm; ac_word
=$2
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9193 $as_echo_n "checking for $ac_word... " >&6; }
9194 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9195 $as_echo_n "(cached) " >&6
9197 case $aros_target_nm_ln in
9199 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9206 test -z "$as_dir" && as_dir
=.
9207 for ac_exec_ext
in '' $ac_executable_extensions; do
9208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9209 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9220 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9221 if test -n "$aros_target_nm_ln"; then
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9223 $as_echo "$aros_target_nm_ln" >&6; }
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9226 $as_echo "no" >&6; }
9232 if test "$aros_target_nm_ln" = ""; then
9233 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9236 if test "$aros_target_objcopy" = ""; then
9237 if test "$cross_compiling" = "yes" ; then
9238 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9239 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9241 $as_echo_n "checking for $ac_word... " >&6; }
9242 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9243 $as_echo_n "(cached) " >&6
9245 case $aros_target_objcopy_ln in
9247 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9254 test -z "$as_dir" && as_dir
=.
9255 for ac_exec_ext
in '' $ac_executable_extensions; do
9256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9257 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9268 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9269 if test -n "$aros_target_objcopy_ln"; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9271 $as_echo "$aros_target_objcopy_ln" >&6; }
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9274 $as_echo "no" >&6; }
9279 if test "$GCC" = "yes"; then
9280 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9281 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9282 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9284 $as_echo_n "checking for $ac_word... " >&6; }
9285 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9286 $as_echo_n "(cached) " >&6
9288 case $aros_target_objcopy_ln in
9290 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9294 for as_dir
in `dirname $aros_gcc_objcopy`
9297 test -z "$as_dir" && as_dir
=.
9298 for ac_exec_ext
in '' $ac_executable_extensions; do
9299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9300 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9311 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9312 if test -n "$aros_target_objcopy_ln"; then
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9314 $as_echo "$aros_target_objcopy_ln" >&6; }
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9317 $as_echo "no" >&6; }
9322 if test "$aros_target_objcopy_ln" = ""; then
9323 # Extract the first word of "objcopy", so it can be a program name with args.
9324 set dummy objcopy
; ac_word
=$2
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9326 $as_echo_n "checking for $ac_word... " >&6; }
9327 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9328 $as_echo_n "(cached) " >&6
9330 case $aros_target_objcopy_ln in
9332 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9339 test -z "$as_dir" && as_dir
=.
9340 for ac_exec_ext
in '' $ac_executable_extensions; do
9341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9342 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9353 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9354 if test -n "$aros_target_objcopy_ln"; then
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9356 $as_echo "$aros_target_objcopy_ln" >&6; }
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9359 $as_echo "no" >&6; }
9366 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
9367 set dummy
$aros_target_objcopy; ac_word
=$2
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9369 $as_echo_n "checking for $ac_word... " >&6; }
9370 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9371 $as_echo_n "(cached) " >&6
9373 case $aros_target_objcopy_ln in
9375 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9382 test -z "$as_dir" && as_dir
=.
9383 for ac_exec_ext
in '' $ac_executable_extensions; do
9384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9385 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9396 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9397 if test -n "$aros_target_objcopy_ln"; then
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9399 $as_echo "$aros_target_objcopy_ln" >&6; }
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9402 $as_echo "no" >&6; }
9408 if test "$aros_target_objcopy_ln" = ""; then
9409 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9412 if test "$aros_target_objdump" = ""; then
9413 if test "$cross_compiling" = "yes" ; then
9414 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9415 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9417 $as_echo_n "checking for $ac_word... " >&6; }
9418 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9419 $as_echo_n "(cached) " >&6
9421 case $aros_target_objdump_ln in
9423 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9430 test -z "$as_dir" && as_dir
=.
9431 for ac_exec_ext
in '' $ac_executable_extensions; do
9432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9433 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9444 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9445 if test -n "$aros_target_objdump_ln"; then
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9447 $as_echo "$aros_target_objdump_ln" >&6; }
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9450 $as_echo "no" >&6; }
9455 if test "$GCC" = "yes"; then
9456 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9457 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9458 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9460 $as_echo_n "checking for $ac_word... " >&6; }
9461 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9462 $as_echo_n "(cached) " >&6
9464 case $aros_target_objdump_ln in
9466 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9470 for as_dir
in `dirname $aros_gcc_objdump`
9473 test -z "$as_dir" && as_dir
=.
9474 for ac_exec_ext
in '' $ac_executable_extensions; do
9475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9476 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9487 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9488 if test -n "$aros_target_objdump_ln"; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9490 $as_echo "$aros_target_objdump_ln" >&6; }
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9493 $as_echo "no" >&6; }
9498 if test "$aros_target_objdump_ln" = ""; then
9499 # Extract the first word of "objdump", so it can be a program name with args.
9500 set dummy objdump
; ac_word
=$2
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9502 $as_echo_n "checking for $ac_word... " >&6; }
9503 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9504 $as_echo_n "(cached) " >&6
9506 case $aros_target_objdump_ln in
9508 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9515 test -z "$as_dir" && as_dir
=.
9516 for ac_exec_ext
in '' $ac_executable_extensions; do
9517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9518 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9529 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9530 if test -n "$aros_target_objdump_ln"; then
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9532 $as_echo "$aros_target_objdump_ln" >&6; }
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9535 $as_echo "no" >&6; }
9542 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9543 set dummy
$aros_target_objdump; ac_word
=$2
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9545 $as_echo_n "checking for $ac_word... " >&6; }
9546 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9547 $as_echo_n "(cached) " >&6
9549 case $aros_target_objdump_ln in
9551 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9558 test -z "$as_dir" && as_dir
=.
9559 for ac_exec_ext
in '' $ac_executable_extensions; do
9560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9561 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9572 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9573 if test -n "$aros_target_objdump_ln"; then
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9575 $as_echo "$aros_target_objdump_ln" >&6; }
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9578 $as_echo "no" >&6; }
9584 if test "$aros_target_objdump_ln" = ""; then
9585 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9588 if test "$aros_target_ranlib" = ""; then
9589 if test "$cross_compiling" = "yes" ; then
9590 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9591 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9593 $as_echo_n "checking for $ac_word... " >&6; }
9594 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9595 $as_echo_n "(cached) " >&6
9597 case $aros_target_ranlib_ln in
9599 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9606 test -z "$as_dir" && as_dir
=.
9607 for ac_exec_ext
in '' $ac_executable_extensions; do
9608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9609 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9620 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9621 if test -n "$aros_target_ranlib_ln"; then
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9623 $as_echo "$aros_target_ranlib_ln" >&6; }
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9626 $as_echo "no" >&6; }
9631 if test "$GCC" = "yes"; then
9632 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9633 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9634 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9636 $as_echo_n "checking for $ac_word... " >&6; }
9637 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9640 case $aros_target_ranlib_ln in
9642 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9646 for as_dir
in `dirname $aros_gcc_ranlib`
9649 test -z "$as_dir" && as_dir
=.
9650 for ac_exec_ext
in '' $ac_executable_extensions; do
9651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9652 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9663 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9664 if test -n "$aros_target_ranlib_ln"; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9666 $as_echo "$aros_target_ranlib_ln" >&6; }
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9669 $as_echo "no" >&6; }
9674 if test "$aros_target_ranlib_ln" = ""; then
9675 # Extract the first word of "ranlib", so it can be a program name with args.
9676 set dummy ranlib
; ac_word
=$2
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9678 $as_echo_n "checking for $ac_word... " >&6; }
9679 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9680 $as_echo_n "(cached) " >&6
9682 case $aros_target_ranlib_ln in
9684 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9691 test -z "$as_dir" && as_dir
=.
9692 for ac_exec_ext
in '' $ac_executable_extensions; do
9693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9694 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9705 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9706 if test -n "$aros_target_ranlib_ln"; then
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9708 $as_echo "$aros_target_ranlib_ln" >&6; }
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9711 $as_echo "no" >&6; }
9718 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9719 set dummy
$aros_target_ranlib; ac_word
=$2
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9721 $as_echo_n "checking for $ac_word... " >&6; }
9722 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9723 $as_echo_n "(cached) " >&6
9725 case $aros_target_ranlib_ln in
9727 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9734 test -z "$as_dir" && as_dir
=.
9735 for ac_exec_ext
in '' $ac_executable_extensions; do
9736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9737 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9748 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9749 if test -n "$aros_target_ranlib_ln"; then
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9751 $as_echo "$aros_target_ranlib_ln" >&6; }
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9754 $as_echo "no" >&6; }
9760 if test "$aros_target_ranlib_ln" = ""; then
9761 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9764 if test "$aros_target_strip" = ""; then
9765 if test "$cross_compiling" = "yes" ; then
9766 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9767 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9769 $as_echo_n "checking for $ac_word... " >&6; }
9770 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9771 $as_echo_n "(cached) " >&6
9773 case $aros_target_strip_ln in
9775 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9782 test -z "$as_dir" && as_dir
=.
9783 for ac_exec_ext
in '' $ac_executable_extensions; do
9784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9785 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9796 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9797 if test -n "$aros_target_strip_ln"; then
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9799 $as_echo "$aros_target_strip_ln" >&6; }
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9802 $as_echo "no" >&6; }
9807 if test "$GCC" = "yes"; then
9808 aros_gcc_strip
=`$CC -print-prog-name=strip`
9809 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9810 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9812 $as_echo_n "checking for $ac_word... " >&6; }
9813 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9814 $as_echo_n "(cached) " >&6
9816 case $aros_target_strip_ln in
9818 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9822 for as_dir
in `dirname $aros_gcc_strip`
9825 test -z "$as_dir" && as_dir
=.
9826 for ac_exec_ext
in '' $ac_executable_extensions; do
9827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9828 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9839 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9840 if test -n "$aros_target_strip_ln"; then
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9842 $as_echo "$aros_target_strip_ln" >&6; }
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9845 $as_echo "no" >&6; }
9850 if test "$aros_target_strip_ln" = ""; then
9851 # Extract the first word of "strip", so it can be a program name with args.
9852 set dummy strip
; ac_word
=$2
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9854 $as_echo_n "checking for $ac_word... " >&6; }
9855 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9856 $as_echo_n "(cached) " >&6
9858 case $aros_target_strip_ln in
9860 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9867 test -z "$as_dir" && as_dir
=.
9868 for ac_exec_ext
in '' $ac_executable_extensions; do
9869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9870 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9881 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9882 if test -n "$aros_target_strip_ln"; then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9884 $as_echo "$aros_target_strip_ln" >&6; }
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9887 $as_echo "no" >&6; }
9894 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
9895 set dummy
$aros_target_strip; ac_word
=$2
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9897 $as_echo_n "checking for $ac_word... " >&6; }
9898 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9899 $as_echo_n "(cached) " >&6
9901 case $aros_target_strip_ln in
9903 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9910 test -z "$as_dir" && as_dir
=.
9911 for ac_exec_ext
in '' $ac_executable_extensions; do
9912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9913 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9924 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9925 if test -n "$aros_target_strip_ln"; then
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9927 $as_echo "$aros_target_strip_ln" >&6; }
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9930 $as_echo "no" >&6; }
9936 if test "$aros_target_strip_ln" = ""; then
9937 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
9939 if test "$aros_target_cxx" != ""; then
9940 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
9941 set dummy
$aros_target_cxx; ac_word
=$2
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9943 $as_echo_n "checking for $ac_word... " >&6; }
9944 if ${ac_cv_path_aros_target_cxx+:} false
; then :
9945 $as_echo_n "(cached) " >&6
9947 case $aros_target_cxx in
9949 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
9952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9956 test -z "$as_dir" && as_dir
=.
9957 for ac_exec_ext
in '' $ac_executable_extensions; do
9958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9959 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
9960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9970 aros_target_cxx
=$ac_cv_path_aros_target_cxx
9971 if test -n "$aros_target_cxx"; then
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
9973 $as_echo "$aros_target_cxx" >&6; }
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9976 $as_echo "no" >&6; }
9980 if test "$aros_target_cxx" = ""; then
9981 as_fn_error $?
"c++ is required to build AROS. Please install and run configure again." "$LINENO" 5
9985 aros_target_cc
=$AROS_CROSSTOOLSDIR/$aros_target_cc
9986 aros_target_cxx
=$AROS_CROSSTOOLSDIR/$aros_target_cxx
9987 aros_target_as_ln
=$AROS_CROSSTOOLSDIR/$aros_target_as
9988 aros_target_ar_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ar
9989 aros_target_nm_ln
=$AROS_CROSSTOOLSDIR/$aros_target_nm
9990 aros_target_objcopy_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objcopy
9991 aros_target_objdump_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objdump
9992 aros_target_ranlib_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
9993 aros_target_strip_ln
=$AROS_CROSSTOOLSDIR/$aros_target_strip
9995 aros_kernel_ar
=$AROS_CROSSTOOLSDIR/$aros_target_ar
9996 aros_kernel_ld
=$AROS_CROSSTOOLSDIR/$aros_target_ld
9997 aros_kernel_ranlib
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
9999 crosstools_target
=tools-crosstools
10002 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
10004 orig_target_cc
=$aros_kernel_cc
10005 orig_target_ld
=$aros_kernel_ld
10007 if test "$crosstools" != "yes"; then
10008 if test "$aros_target_cc" != ""; then
10009 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
10010 set dummy
$aros_target_cc; ac_word
=$2
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10012 $as_echo_n "checking for $ac_word... " >&6; }
10013 if ${ac_cv_path_aros_target_cc+:} false
; then :
10014 $as_echo_n "(cached) " >&6
10016 case $aros_target_cc in
10018 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
10021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10022 for as_dir
in $PATH
10025 test -z "$as_dir" && as_dir
=.
10026 for ac_exec_ext
in '' $ac_executable_extensions; do
10027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10028 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10039 aros_target_cc
=$ac_cv_path_aros_target_cc
10040 if test -n "$aros_target_cc"; then
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
10042 $as_echo "$aros_target_cc" >&6; }
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10045 $as_echo "no" >&6; }
10049 if test "$aros_target_cc" = ""; then
10050 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
10052 orig_target_cc
=$aros_target_cc
10054 if test "$aros_target_ld" != ""; then
10055 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
10056 set dummy
$aros_target_ld; ac_word
=$2
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10058 $as_echo_n "checking for $ac_word... " >&6; }
10059 if ${ac_cv_path_aros_target_ld+:} false
; then :
10060 $as_echo_n "(cached) " >&6
10062 case $aros_target_ld in
10064 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
10067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10068 for as_dir
in $PATH
10071 test -z "$as_dir" && as_dir
=.
10072 for ac_exec_ext
in '' $ac_executable_extensions; do
10073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10074 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
10075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10085 aros_target_ld
=$ac_cv_path_aros_target_ld
10086 if test -n "$aros_target_ld"; then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
10088 $as_echo "$aros_target_ld" >&6; }
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10091 $as_echo "no" >&6; }
10095 if test "$aros_target_ld" = ""; then
10096 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10098 orig_target_ld
=$aros_target_ld
10101 orig_target_cc
=$aros_target_cc
10102 orig_target_ld
=$aros_target_ld
10105 # Build crosstools if we have no C++ - temporary thing
10106 if test "$aros_target_cxx" = "" -a "$crosstools" != "yes"; then
10107 crosstools_cxx_target
=tools-crosstools
10110 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10111 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10112 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10113 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10114 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10115 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10116 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10118 # aros_cc_pre is a variable that is added to the front of the compiler name
10119 # in the generated aros-gcc shell script. We need this to enable the cache
10120 # to work across cleaned builds. Also, support DISTCC using the correct
10121 # environment variable.
10124 if test "x${DISTCC}" != "x" ; then
10125 if test "x${CCACHE}" != "x" ; then
10126 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10128 aros_cc_pre
="${DISTCC} "
10131 if test "x${CCACHE}" != "x" ; then
10132 aros_cc_pre
="${CCACHE} "
10136 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10138 aros_target_nostdinc_cflags
=-nostdinc
10140 aros_target_nostartup_ldflags
=-nostartfiles
10142 aros_target_nix_ldflags
=-nix
10144 aros_target_detach_ldflags
=-detach
10146 aros_target_nostdlib_ldflags
=-nostdlib
10150 if test "$crosstools" != "yes"; then
10151 if test "$GCC" = "yes"; then
10152 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10155 # We do not know which gcc version we are going to build and what we need to know
10156 # here is different for different versions so this will be set later during the
10157 # build of crosstools.
10158 aros_target_cc_path
=@aros_target_cc_path@
10160 aros_target_cc
="${prefix}-gcc"
10161 aros_target_as
="${prefix}-as"
10162 aros_target_ld
="${prefix}-ld"
10163 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10164 aros_target_objcopy
=${prefix}-objcopy
10165 aros_target_objdump
=${prefix}-objdump
10166 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10167 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10168 aros_target_strip
=${prefix}-strip
10169 aros_plain_nm
="${prefix}-nm"
10170 aros_plain_ar
="${prefix}-ar"
10172 # Find the system include path. We can suggest that an alternative is
10173 # used if we don't get it correct. The default is to use /usr/include.
10174 # Which is set in the aros_target_incl_def variable.
10176 # Check whether --enable-includes was given.
10177 if test "${enable_includes+set}" = set; then :
10178 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10180 aros_target_incl
=$aros_target_incl_def
10184 if test "$aros_kernel_includes" = ""; then
10185 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10186 # FIXME: for cross-compiling this should point to another location
10187 aros_kernel_includes
="-isystem $aros_target_incl"
10191 if test "$aros_kernel_includes" != "" ; then
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
10193 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
10194 if test "$aros_kernel_cc_includes" = "" ; then
10195 # Try to guess where the directory is.
10196 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
10197 if test -d $aros_kernel_cc_includes; then
10198 # Check if there is also an include-fixed directory and add it
10199 # to kernel compiler's include path as it may contain some of
10200 # the headers we need.
10201 if test -d "$aros_kernel_cc_includes"-fixed; then
10202 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
10205 # The directory doesn't exist, we need to do some more work.
10206 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
10208 # These are the headers we're looking for.
10209 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10210 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10214 for h
in $headers; do
10215 # Which other headers are needed by each of the above?
10216 deps
=$
(echo "#include <$h>" | \
10217 $aros_kernel_cc -E -M - 2>/dev
/null | \
10218 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10220 # Copy all the needed headers to a directory beneath gendir.
10223 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
10224 sed -n "s,^.*/include\(/.*\),\1,p")
10225 ! test -d $dir && mkdir
-p $dir
10226 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
10232 $as_echo "$aros_kernel_cc_includes" >&6; }
10233 # Adding -nostdinc to kernel includes as they are always used together.
10234 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
10237 if test "$crosstools" != "yes"; then
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
10239 $as_echo_n "checking for the target compiler's include path... " >&6; }
10240 if test "$aros_target_cc_includes" = "" ; then
10241 #try to guess where the directory is
10242 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10243 if ! test -d $aros_target_cc_includes; then
10244 #the directory doesn't exist, we need to do some more work
10245 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10247 #these are the headers we're looking for
10248 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10249 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10253 for h
in $headers; do
10254 #which other headers each of the above headers needs?
10255 deps
=$
(echo "#include <$h>" | \
10256 $orig_target_cc -E -M - 2>/dev
/null | \
10257 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10259 #copy all the needed headers to a directory beneath gendir
10262 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10263 sed -n "s,^.*/include\(/.*\),\1,p")
10264 ! test -d $dir && mkdir
-p $dir
10265 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
10271 $as_echo "$aros_target_cc_includes" >&6; }
10273 # We do not know which gcc version we are going to build and what we need to know
10274 # here is different for different versions so this will be set later during the
10275 # build of crosstools.
10276 aros_target_cc_includes
=@aros_target_cc_includes@
10280 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10281 # On GCC >= 4.0 -iquote should be used
10285 save_cflags
="$CFLAGS"
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10288 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10289 if test "x-$crosstools" != "x-yes"; then
10290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10301 if ac_fn_c_try_compile
"$LINENO"; then :
10306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10308 # we do know it is supported for the smallest version of gcc we are going to build
10309 # we assume it's also supported by later versions
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10313 $as_echo "$has_iquote" >&6; }
10314 if test "x-$has_iquote" = "x-yes" ; then
10315 host_cflags_iquote
=-iquote
10316 host_cflags_iquote_end
=
10318 host_cflags_iquote
=-I
10319 host_cflags_iquote_end
=-I-
10321 kernel_cflags_iquote
=$host_cflags_iquote
10322 kernel_cflags_iquote_end
=$host_cflags_iquote_end
10323 if test "x-$cross_compiling" = "x-yes"; then
10324 CC
="$aros_kernel_cc"
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
10326 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
10327 if test "x-$crosstools" != "x-yes"; then
10328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10339 if ac_fn_c_try_compile
"$LINENO"; then :
10340 use_no_stack_protector
="yes"
10342 use_no_stack_protector
="no"
10344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10346 # we do know it is supported for the smallest version of gcc we are going to build
10347 # we assume it's also supported by later versions
10348 use_no_stack_protector
=yes
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
10351 $as_echo "$use_no_stack_protector" >&6; }
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10353 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10354 if test "x-$crosstools" != "x-yes"; then
10355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10366 if ac_fn_c_try_compile
"$LINENO"; then :
10371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10373 # we do know it is supported for the smallest version of gcc we are going to build
10374 # we assume it's also supported by later versions
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10378 $as_echo "$has_iquote" >&6; }
10379 if test "x-$has_iquote" = "x-yes" ; then
10380 kernel_cflags_iquote
=-iquote
10381 kernel_cflags_iquote_end
=
10383 kernel_cflags_iquote
=-I
10384 kernel_cflags_iquote_end
=-I-
10387 aros_cflags_iquote
=$kernel_cflags_iquote
10388 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
10389 if test "$orig_target_cc" != "$aros_kernel_cc"; then
10390 CC
="$orig_target_cc"
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10392 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10393 if test "x-$crosstools" != "x-yes"; then
10394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10405 if ac_fn_c_try_compile
"$LINENO"; then :
10410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10412 # we do know it is supported for the smallest version of gcc we are going to build
10413 # we assume it's also supported by later versions
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10417 $as_echo "$has_iquote" >&6; }
10418 if test "x-$has_iquote" = "x-yes" ; then
10419 aros_cflags_iquote
=-iquote
10420 aros_cflags_iquote_end
=
10422 aros_cflags_iquote
=-I
10423 aros_cflags_iquote_end
=-I-
10426 if test "x-$use_no_stack_protector" = "x-yes" ; then
10427 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
10430 #-----------------------------------------------------------------------------
10432 # Check if we can explicitly choose older version of symbol hashing
10434 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
10435 CC
="$aros_kernel_cc"
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
10437 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
10438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10449 if ac_fn_c_try_link
"$LINENO"; then :
10450 use_hash_style
="yes"
10452 use_hash_style
="no"
10454 rm -f core conftest.err conftest.
$ac_objext \
10455 conftest
$ac_exeext conftest.
$ac_ext
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
10457 $as_echo "$use_hash_style" >&6; }
10458 if test "x-$use_hash_style" = "x-yes" ; then
10459 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
10462 CFLAGS
="$save_cflags"
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
10473 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
10475 # Check whether --with-resolution was given.
10476 if test "${with_resolution+set}" = set; then :
10477 withval
=$with_resolution; resolution
=$withval
10482 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10483 if test "$resolution" = "yes" ; then
10486 if test "$resolution" = "no" ; then
10489 if test "$resolution" != "none" ; then
10490 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
10491 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
10492 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10495 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10496 aros_cv_default_wbwidth
=$aros_default_wbwidth
10497 aros_cv_default_wbheight
=$aros_default_wbheight
10498 aros_cv_default_wbdepth
=$aros_default_wbdepth
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
10501 $as_echo_n "checking if serial debug is enabled... " >&6; }
10503 # Check whether --with-serial-debug was given.
10504 if test "${with_serial_debug+set}" = set; then :
10505 withval
=$with_serial_debug; serial_debug
=$withval
10510 if test "$aros_serial_debug" = 0 ; then
10511 serial_debug_forced
=""
10512 if test "$serial_debug" = "yes" ; then
10515 if test "$serial_debug" = "no" ; then
10516 serial_debug
="none"
10519 serial_debug_forced
="(forced)"
10520 serial_debug
=$aros_serial_debug
10522 if test "$serial_debug" != "none" ; then
10523 aros_serial_debug
=$serial_debug
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
10525 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10528 $as_echo "no" >&6; }
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
10532 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
10533 # Check whether --enable-palm_debug_hack was given.
10534 if test "${enable_palm_debug_hack+set}" = set; then :
10535 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
10537 palm_debug_hack
="no"
10540 if test "$palm_debug_hack" = "yes" ; then
10541 aros_palm_debug_hack
="1"
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
10544 $as_echo "$palm_debug_hack" >&6; }
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
10547 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
10548 # Check whether --enable-usb30_code was given.
10549 if test "${enable_usb30_code+set}" = set; then :
10550 enableval
=$enable_usb30_code; usb30_code
="yes"
10555 if test "$usb30_code" = "yes" ; then
10556 aros_usb30_code
="1"
10558 aros_usb30_code
="0"
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
10561 $as_echo "$usb30_code" >&6; }
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
10564 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
10565 # Check whether --enable-nesting_supervisor was given.
10566 if test "${enable_nesting_supervisor+set}" = set; then :
10567 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
10569 nesting_supervisor
="no"
10572 if test "$nesting_supervisor" = "yes" ; then
10573 aros_nesting_supervisor
="1"
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
10576 $as_echo "$nesting_supervisor" >&6; }
10578 if test "$aros_enable_mmu" = "" ; then
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
10580 $as_echo_n "checking if MMU support is enabled... " >&6; }
10581 # Check whether --enable-mmu was given.
10582 if test "${enable_mmu+set}" = set; then :
10583 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
10585 aros_enable_mmu
="yes"
10588 if test "$aros_enable_mmu" = "" ; then
10589 aros_enable_mmu
="yes"
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
10592 $as_echo "$aros_enable_mmu" >&6; }
10594 if test "$aros_enable_mmu" = "no" ; then
10595 aros_enable_mmu
="0"
10597 aros_enable_mmu
="1"
10601 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10603 if test "x-$need_dlopen" != "x-no" ; then
10604 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10605 if test "x$ac_cv_func_dlopen" = xyes
; then :
10611 if test "x-$have_dl" = "x-no" ; then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10613 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10614 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10615 $as_echo_n "(cached) " >&6
10617 ac_check_lib_save_LIBS
=$LIBS
10619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10622 /* Override any GCC internal prototype to avoid an error.
10623 Use char because int might match the return type of a GCC
10624 builtin and then its argument prototype would still apply. */
10637 if ac_fn_c_try_link
"$LINENO"; then :
10638 ac_cv_lib_dl_dlopen
=yes
10640 ac_cv_lib_dl_dlopen
=no
10642 rm -f core conftest.err conftest.
$ac_objext \
10643 conftest
$ac_exeext conftest.
$ac_ext
10644 LIBS
=$ac_check_lib_save_LIBS
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10647 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10648 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10650 aros_host_ldflags
="$aros_host_ldflags -ldl"
10656 if test "x-$have_dl" = "x-no" ; then
10657 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
10662 # Check whether --enable-x11_hidd was given.
10663 if test "${enable_x11_hidd+set}" = set; then :
10664 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
10666 x11_hidd
="$need_x11"
10669 case "x-$x11_hidd" in
10670 x-yes|x-no|x-auto
) ;;
10671 *) x11_hidd
="$need_x11" ;;
10676 if test "x-$x11_hidd" != "x-no" ; then
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10679 $as_echo_n "checking for X... " >&6; }
10682 # Check whether --with-x was given.
10683 if test "${with_x+set}" = set; then :
10687 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10688 if test "x$with_x" = xno
; then
10689 # The user explicitly disabled X.
10692 case $x_includes,$x_libraries in #(
10693 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
10694 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
10695 $as_echo_n "(cached) " >&6
10697 # One or both of the vars are not set, and there is no cached value.
10698 ac_x_includes
=no ac_x_libraries
=no
10699 rm -f -r conftest.dir
10700 if mkdir conftest.dir
; then
10702 cat >Imakefile
<<'_ACEOF'
10704 @echo incroot='${INCROOT}'
10706 @echo usrlibdir='${USRLIBDIR}'
10708 @echo libdir='${LIBDIR}'
10710 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10711 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10712 for ac_var
in incroot usrlibdir libdir
; do
10713 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10715 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10716 for ac_extension
in a so sl dylib la dll
; do
10717 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10718 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10719 ac_im_usrlibdir
=$ac_im_libdir; break
10722 # Screen out bogus values from the imake configuration. They are
10723 # bogus both because they are the default anyway, and because
10724 # using them would break gcc on systems where it needs fixed includes.
10725 case $ac_im_incroot in
10726 /usr
/include
) ac_x_includes
= ;;
10727 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10729 case $ac_im_usrlibdir in
10730 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
10731 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10735 rm -f -r conftest.dir
10738 # Standard set of common directories for X headers.
10739 # Check X11 before X11Rn because it is often a symlink to the current release.
10753 /usr/local/X11/include
10754 /usr/local/X11R7/include
10755 /usr/local/X11R6/include
10756 /usr/local/X11R5/include
10757 /usr/local/X11R4/include
10759 /usr/local/include/X11
10760 /usr/local/include/X11R7
10761 /usr/local/include/X11R6
10762 /usr/local/include/X11R5
10763 /usr/local/include/X11R4
10767 /usr/XFree86/include/X11
10771 /usr/unsupported/include
10772 /usr/athena/include
10773 /usr/local/x11r5/include
10774 /usr/lpp/Xamples/include
10776 /usr/openwin/include
10777 /usr/openwin/share/include'
10779 if test "$ac_x_includes" = no
; then
10780 # Guess where to find include files, by looking for Xlib.h.
10781 # First, try using that file with no special directory specified.
10782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10784 #include <X11/Xlib.h>
10786 if ac_fn_c_try_cpp
"$LINENO"; then :
10787 # We can compile using X headers with no special include directory.
10790 for ac_dir
in $ac_x_header_dirs; do
10791 if test -r "$ac_dir/X11/Xlib.h"; then
10792 ac_x_includes
=$ac_dir
10797 rm -f conftest.err conftest.i conftest.
$ac_ext
10798 fi # $ac_x_includes = no
10800 if test "$ac_x_libraries" = no
; then
10801 # Check for the libraries.
10802 # See if we find them without any special options.
10803 # Don't add to $LIBS permanently.
10806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10808 #include <X11/Xlib.h>
10817 if ac_fn_c_try_link
"$LINENO"; then :
10819 # We can link X programs with no special library path.
10823 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10825 # Don't even attempt the hair of trying to link an X program!
10826 for ac_extension
in a so sl dylib la dll
; do
10827 if test -r "$ac_dir/libX11.$ac_extension"; then
10828 ac_x_libraries
=$ac_dir
10834 rm -f core conftest.err conftest.
$ac_objext \
10835 conftest
$ac_exeext conftest.
$ac_ext
10836 fi # $ac_x_libraries = no
10838 case $ac_x_includes,$ac_x_libraries in #(
10839 no
,* |
*,no |
*\'*)
10840 # Didn't find X, or a directory has "'" in its name.
10841 ac_cv_have_x
="have_x=no";; #(
10843 # Record where we found X for the cache.
10844 ac_cv_have_x
="have_x=yes\
10845 ac_x_includes='$ac_x_includes'\
10846 ac_x_libraries='$ac_x_libraries'"
10852 eval "$ac_cv_have_x"
10855 if test "$have_x" != yes; then
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10857 $as_echo "$have_x" >&6; }
10860 # If each of the values was on the command line, it overrides each guess.
10861 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10862 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10863 # Update the cache value to reflect the command line values.
10864 ac_cv_have_x
="have_x=yes\
10865 ac_x_includes='$x_includes'\
10866 ac_x_libraries='$x_libraries'"
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10868 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10873 for path
in $x_libraries
10875 x_cflags
="$x_cflags -L$path"
10878 for path
in $x_includes
10880 x_cflags
="$x_cflags -I$path"
10883 if test "x-$no_x" = "x-yes" ; then
10885 if test "x-$x11_hidd" != "x-auto" ; then
10886 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
10890 x11_hidd_target
=kernel-x11gfx-kobj
10893 # Check whether --enable-x11_shm was given.
10894 if test "${enable_x11_shm+set}" = set; then :
10895 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10897 x11_hidd_shm
="auto"
10900 case "x-$x11_hidd_shm" in
10901 x-yes|x-no|x-auto
) ;;
10902 *) x11_hidd_shm
="auto" ;;
10907 if test "x-$x11_hidd_shm" != "x-no" ; then
10909 for ac_header
in sys
/ipc.h
10911 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
10912 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
10913 cat >>confdefs.h
<<_ACEOF
10914 #define HAVE_SYS_IPC_H 1
10921 for ac_header
in sys
/shm.h
10923 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
10924 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
10925 cat >>confdefs.h
<<_ACEOF
10926 #define HAVE_SYS_SHM_H 1
10934 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10936 save_cflags
="$CFLAGS"
10937 CFLAGS
="$CFLAGS $x_cflags"
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10939 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10940 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10941 $as_echo_n "(cached) " >&6
10943 ac_check_lib_save_LIBS
=$LIBS
10944 LIBS
="-lXext $LIBS"
10945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10946 /* end confdefs.h. */
10948 /* Override any GCC internal prototype to avoid an error.
10949 Use char because int might match the return type of a GCC
10950 builtin and then its argument prototype would still apply. */
10954 char XShmQueryExtension ();
10958 return XShmQueryExtension ();
10963 if ac_fn_c_try_link
"$LINENO"; then :
10964 ac_cv_lib_Xext_XShmQueryExtension
=yes
10966 ac_cv_lib_Xext_XShmQueryExtension
=no
10968 rm -f core conftest.err conftest.
$ac_objext \
10969 conftest
$ac_exeext conftest.
$ac_ext
10970 LIBS
=$ac_check_lib_save_LIBS
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10973 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10974 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10978 CFLAGS
="$save_cflags"
10982 if test "x-$have_xshm" = "x-yes" ; then
10983 DO_XSHM_SUPPORT
="1"
10984 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10985 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
10987 DO_XSHM_SUPPORT
="0"
10991 # Check whether --enable-x11_vidmode was given.
10992 if test "${enable_x11_vidmode+set}" = set; then :
10993 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
10995 x11_hidd_vidmode
="auto"
10998 case "x-$x11_hidd_vidmode" in
10999 x-yes|x-no|x-auto
) ;;
11000 *) x11_hidd_vidmode
="auto" ;;
11005 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11007 save_cflags
="$CFLAGS"
11008 CFLAGS
="$CFLAGS $x_cflags"
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11010 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11011 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
11012 $as_echo_n "(cached) " >&6
11014 ac_check_lib_save_LIBS
=$LIBS
11015 LIBS
="-lXxf86vm $LIBS"
11016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11025 char XF86VidModeQueryExtension ();
11029 return XF86VidModeQueryExtension ();
11034 if ac_fn_c_try_link
"$LINENO"; then :
11035 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11037 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11039 rm -f core conftest.err conftest.
$ac_objext \
11040 conftest
$ac_exeext conftest.
$ac_ext
11041 LIBS
=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11044 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11045 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
11049 CFLAGS
="$save_cflags"
11052 if test "x-$have_vidmode" = "x-yes" ; then
11053 DO_VIDMODE_SUPPORT
="1"
11054 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11055 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
11057 DO_VIDMODE_SUPPORT
="0"
11061 aros_host_x11_includes
=$x_includes
11062 aros_host_x11_libdirs
=$x_libraries
11066 # Check whether --enable-sdl_hidd was given.
11067 if test "${enable_sdl_hidd+set}" = set; then :
11068 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11073 case "x-$sdl_hidd" in
11074 x-yes|x-no|x-auto
) ;;
11075 *) sdl_hidd
="auto" ;;
11078 if test "x-$sdl_hidd" != "x-no" ; then
11081 # Check whether --with-sdl-prefix was given.
11082 if test "${with_sdl_prefix+set}" = set; then :
11083 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11089 # Check whether --with-sdl-exec-prefix was given.
11090 if test "${with_sdl_exec_prefix+set}" = set; then :
11091 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11096 # Check whether --enable-sdltest was given.
11097 if test "${enable_sdltest+set}" = set; then :
11098 enableval
=$enable_sdltest;
11104 if test x
$sdl_exec_prefix != x
; then
11105 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11106 if test x
${SDL_CONFIG+set} != xset
; then
11107 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11110 if test x
$sdl_prefix != x
; then
11111 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11112 if test x
${SDL_CONFIG+set} != xset
; then
11113 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11117 if test "x$prefix" != xNONE
; then
11118 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11120 # Extract the first word of "sdl-config", so it can be a program name with args.
11121 set dummy sdl-config
; ac_word
=$2
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11123 $as_echo_n "checking for $ac_word... " >&6; }
11124 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
11125 $as_echo_n "(cached) " >&6
11127 case $SDL_CONFIG in
11129 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11133 for as_dir
in $PATH
11136 test -z "$as_dir" && as_dir
=.
11137 for ac_exec_ext
in '' $ac_executable_extensions; do
11138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11139 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11147 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
11151 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
11152 if test -n "$SDL_CONFIG"; then
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
11154 $as_echo "$SDL_CONFIG" >&6; }
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11157 $as_echo "no" >&6; }
11161 min_sdl_version
=1.2.10
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
11163 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
11165 if test "$SDL_CONFIG" = "no" ; then
11168 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
11169 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
11171 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
11172 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11173 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
11174 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11175 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
11176 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11177 if test "x$enable_sdltest" = "xyes" ; then
11178 ac_save_CFLAGS
="$CFLAGS"
11179 ac_save_CXXFLAGS
="$CXXFLAGS"
11180 ac_save_LIBS
="$LIBS"
11181 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11182 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11183 LIBS
="$LIBS $SDL_LIBS"
11185 if test "$cross_compiling" = yes; then :
11186 echo $ac_n "cross compiling; assumed OK... $ac_c"
11188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11192 #include <stdlib.h>
11193 #include <string.h>
11197 my_strdup (char *str)
11203 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
11204 strcpy (new_str, str);
11212 int main (int argc, char *argv[])
11214 int major, minor, micro;
11217 /* This hangs on some systems (?)
11218 system ("touch conf.sdltest");
11220 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
11222 /* HP/UX 9 (%@#!) writes to sscanf strings */
11223 tmp_version = my_strdup("$min_sdl_version");
11224 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11225 printf("%s, bad version string\n", "$min_sdl_version");
11229 if (($sdl_major_version > major) ||
11230 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
11231 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
11237 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
11238 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
11239 printf("*** best to upgrade to the required version.\n");
11240 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
11241 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
11242 printf("*** config.cache before re-running configure\n");
11249 if ac_fn_c_try_run
"$LINENO"; then :
11254 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11255 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11258 CFLAGS
="$ac_save_CFLAGS"
11259 CXXFLAGS
="$ac_save_CXXFLAGS"
11260 LIBS
="$ac_save_LIBS"
11263 if test "x$no_sdl" = x
; then
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11265 $as_echo "yes" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11269 $as_echo "no" >&6; }
11270 if test "$SDL_CONFIG" = "no" ; then
11271 echo "*** The sdl-config script installed by SDL could not be found"
11272 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
11273 echo "*** your path, or set the SDL_CONFIG environment variable to the"
11274 echo "*** full path to sdl-config."
11276 if test -f conf.sdltest
; then
11279 echo "*** Could not run SDL test program, checking why..."
11280 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11281 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11282 LIBS
="$LIBS $SDL_LIBS"
11283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11289 int main(int argc, char *argv[])
11292 #define main K_and_R_C_main
11302 if ac_fn_c_try_link
"$LINENO"; then :
11303 echo "*** The test program compiled, but did not run. This usually means"
11304 echo "*** that the run-time linker is not finding SDL or finding the wrong"
11305 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
11306 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11307 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11308 echo "*** is required on your system"
11310 echo "*** If you have an old version installed, it is best to remove it, although"
11311 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11313 echo "*** The test program failed to compile or link. See the file config.log for the"
11314 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
11315 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
11316 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
11318 rm -f core conftest.err conftest.
$ac_objext \
11319 conftest
$ac_exeext conftest.
$ac_ext
11320 CFLAGS
="$ac_save_CFLAGS"
11321 CXXFLAGS
="$ac_save_CXXFLAGS"
11322 LIBS
="$ac_save_LIBS"
11334 if test "x-$have_sdl" != "x-yes" ; then
11336 if test "x-$sdl_hidd" != "x-auto" ; then
11337 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
11341 sdl_hidd_target
=kernel-hidd-sdl
11342 aros_host_sdl_cflags
=SDL_CFLAGS
11343 aros_host_sdl_libs
=SDL_LIBS
11347 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11348 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11353 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
11354 oss_library_target
=workbench-libs-oss-unix
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
11360 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
11361 # Check whether --enable-dbus was given.
11362 if test "${enable_dbus+set}" = set; then :
11363 enableval
=$enable_dbus; dbus
="yes"
11368 if test "$dbus" = "yes" ; then
11370 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
11371 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
11372 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
11373 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
11378 $as_echo "$dbus" >&6; }
11492 # Native version related
11495 # Palm native version related
11501 # Unix/Hosted version related
11507 # Apple iOS related
11532 # Collect-aros stuff: "-ius" to ignore undefined symbols
11535 # C compiler related
11538 case "$aros_flavour" in
11539 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
11540 aros_flavour
="emulation" ;;
11541 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11542 aros_flavour
="emulation" ;;
11543 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
11544 aros_flavour
="standalone";;
11545 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11546 aros_flavour
="standalone";;
11547 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
11548 aros_flavour
="native" ;;
11549 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11550 aros_flavour
="native" ;;
11551 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
11552 aros_flavour
="linklib" ;;
11553 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11554 aros_flavour
="palmnative" ;;
11555 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11556 aros_flavour
="mac68knative" ;;
11557 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11558 aros_flavour
="ppcnative" ;;
11561 if test ! -d ${aros_inc_dir} ; then
11562 ${MKDIR} ${aros_inc_dir}
11564 if test ! -d ${aros_geninc_dir} ; then
11565 ${MKDIR} ${aros_geninc_dir}
11567 if test ! -d ${aros_hostcfg_dir} ; then
11568 ${MKDIR} ${aros_hostcfg_dir}
11570 if test ! -d ${aros_targetcfg_dir} ; then
11571 ${MKDIR} ${aros_targetcfg_dir}
11573 if test ! -d ${aros_tools_dir} ; then
11574 ${MKDIR} ${aros_tools_dir}
11576 if test ! -d ${aros_scripts_dir} ; then
11577 ${MKDIR} ${aros_scripts_dir}
11580 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11583 ac_config_commands
="$ac_config_commands compiler_executable"
11585 ac_config_commands
="$ac_config_commands genmf_executable"
11588 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_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-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"
11591 cat >confcache
<<\_ACEOF
11592 # This file is a shell script that caches the results of configure
11593 # tests run on this system so they can be shared between configure
11594 # scripts and configure runs, see configure's option --config-cache.
11595 # It is not useful on other systems. If it contains results you don't
11596 # want to keep, you may remove or edit it.
11598 # config.status only pays attention to the cache file if you give it
11599 # the --recheck option to rerun configure.
11601 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11602 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11603 # following values.
11607 # The following way of writing the cache mishandles newlines in values,
11608 # but we know of no workaround that is simple, portable, and efficient.
11609 # So, we kill variables containing newlines.
11610 # Ultrix sh set writes to stderr and can't be redirected directly,
11611 # and sets the high bit in the cache file unless we assign to the vars.
11613 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11614 eval ac_val
=\$
$ac_var
11618 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11619 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11622 _ | IFS | as_nl
) ;; #(
11623 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11624 *) { eval $ac_var=; unset $ac_var;} ;;
11630 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11631 *${as_nl}ac_space
=\
*)
11632 # `set' does not quote correctly, so add quotes: double-quote
11633 # substitution turns \\\\ into \\, and sed turns \\ into \.
11636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11639 # `set' quotes correctly as required by POSIX, so do not add quotes.
11640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11649 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11651 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11653 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11654 if test -w "$cache_file"; then
11655 if test "x$cache_file" != "x/dev/null"; then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11657 $as_echo "$as_me: updating cache $cache_file" >&6;}
11658 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11659 cat confcache
>"$cache_file"
11661 case $cache_file in #(
11663 mv -f confcache
"$cache_file"$$
&&
11664 mv -f "$cache_file"$$
"$cache_file" ;; #(
11666 mv -f confcache
"$cache_file" ;;
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11672 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11677 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11678 # Let make expand exec_prefix.
11679 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11681 DEFS
=-DHAVE_CONFIG_H
11686 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11687 # 1. Remove the extension, and $U if already installed.
11688 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11689 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11690 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11691 # will be set to the directory where LIBOBJS objects are built.
11692 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11693 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11695 LIBOBJS
=$ac_libobjs
11697 LTLIBOBJS
=$ac_ltlibobjs
11701 : "${CONFIG_STATUS=./config.status}"
11703 ac_clean_files_save
=$ac_clean_files
11704 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11706 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11708 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11710 # Generated by $as_me.
11711 # Run this file to recreate the current configuration.
11712 # Compiler output produced by configure, useful for debugging
11713 # configure, is in config.log if it exists.
11716 ac_cs_recheck=false
11719 SHELL=\${CONFIG_SHELL-$SHELL}
11722 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11723 ## -------------------- ##
11724 ## M4sh Initialization. ##
11725 ## -------------------- ##
11727 # Be more Bourne compatible
11728 DUALCASE
=1; export DUALCASE
# for MKS sh
11729 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11732 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11733 # is contrary to our usage. Disable this feature.
11734 alias -g '${1+"$@"}'='"$@"'
11735 setopt NO_GLOB_SUBST
11737 case `(set -o) 2>/dev/null` in #(
11749 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11750 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11751 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11752 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11753 # Prefer a ksh shell builtin over an external printf program on Solaris,
11754 # but without wasting forks for bash or zsh.
11755 if test -z "$BASH_VERSION$ZSH_VERSION" \
11756 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11757 as_echo='print
-r --'
11758 as_echo_n='print
-rn --'
11759 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11760 as_echo='printf %s
\n'
11761 as_echo_n='printf %s
'
11763 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11764 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11765 as_echo_n='/usr
/ucb
/echo -n'
11767 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11768 as_echo_n_body='eval
11772 expr "X$arg" : "X\\(.*\\)$as_nl";
11773 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11775 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11777 export as_echo_n_body
11778 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11780 export as_echo_body
11781 as_echo='sh
-c $as_echo_body as_echo
'
11784 # The user is always right.
11785 if test "${PATH_SEPARATOR+set}" != set; then
11787 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11788 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11795 # We need space, tab and new line, in precisely that order. Quoting is
11796 # there to prevent editors from complaining about space-tab.
11797 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11798 # splitting by setting IFS to empty value.)
11801 # Find who we are. Look in the path if we contain no directory separator.
11804 *[\\/]* ) as_myself=$0 ;;
11805 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11806 for as_dir in $PATH
11809 test -z "$as_dir" && as_dir=.
11810 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11816 # We did not find ourselves, most probably we were run as `sh COMMAND'
11817 # in which case we are not to be found in the path.
11818 if test "x$as_myself" = x
; then
11821 if test ! -f "$as_myself"; then
11822 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11826 # Unset variables that we do not need and which cause bugs (e.g. in
11827 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11828 # suppresses any "Segmentation fault" message there. '((' could
11829 # trigger a bug in pdksh 5.2.14.
11830 for as_var
in BASH_ENV ENV MAIL MAILPATH
11831 do eval test x\
${$as_var+set} = xset \
11832 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11845 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11848 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11849 # ----------------------------------------
11850 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11851 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11852 # script with STATUS, using 1 if that was 0.
11855 as_status
=$1; test $as_status -eq 0 && as_status
=1
11857 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11858 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11860 $as_echo "$as_me: error: $2" >&2
11861 as_fn_exit
$as_status
11865 # as_fn_set_status STATUS
11866 # -----------------------
11867 # Set $? to STATUS, without forking.
11868 as_fn_set_status
()
11871 } # as_fn_set_status
11873 # as_fn_exit STATUS
11874 # -----------------
11875 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11879 as_fn_set_status
$1
11885 # Portably unset VAR.
11888 { eval $1=; unset $1;}
11890 as_unset
=as_fn_unset
11891 # as_fn_append VAR VALUE
11892 # ----------------------
11893 # Append the text in VALUE to the end of the definition contained in VAR. Take
11894 # advantage of any shell optimizations that allow amortized linear growth over
11895 # repeated appends, instead of the typical quadratic growth present in naive
11897 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11898 eval 'as_fn_append ()
11909 # as_fn_arith ARG...
11910 # ------------------
11911 # Perform arithmetic evaluation on the ARGs, and store the result in the
11912 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11913 # must be portable across $(()) and expr.
11914 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11915 eval 'as_fn_arith ()
11922 as_val
=`expr "$@" || test $? -eq 1`
11927 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11928 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11934 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11935 as_basename
=basename
11940 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11946 as_me
=`$as_basename -- "$0" ||
11947 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11948 X"$0" : 'X\(//\)$' \| \
11949 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11951 sed '/^.*\/\([^/][^/]*\)\/*$/{
11965 # Avoid depending upon Character Ranges.
11966 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11967 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11968 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11969 as_cr_digits
='0123456789'
11970 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11972 ECHO_C
= ECHO_N
= ECHO_T
=
11973 case `echo -n x` in #(((((
11975 case `echo 'xy\c'` in
11976 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11978 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11985 rm -f conf$$ conf$$.exe conf$$.
file
11986 if test -d conf$$.dir
; then
11987 rm -f conf$$.dir
/conf$$.
file
11990 mkdir conf$$.dir
2>/dev
/null
11992 if (echo >conf$$.
file) 2>/dev
/null
; then
11993 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11995 # ... but there are two gotchas:
11996 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11997 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11998 # In both cases, we have to default to `cp -p'.
11999 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12001 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12009 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12010 rmdir conf$$.dir
2>/dev
/null
12015 # Create "$as_dir" as a directory, including parents if necessary.
12020 -*) as_dir
=.
/$as_dir;;
12022 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12026 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12027 *) as_qdir
=$as_dir;;
12029 as_dirs
="'$as_qdir' $as_dirs"
12030 as_dir
=`$as_dirname -- "$as_dir" ||
12031 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12032 X"$as_dir" : 'X\(//\)[^/]' \| \
12033 X"$as_dir" : 'X\(//\)$' \| \
12034 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12035 $as_echo X"$as_dir" |
12036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12040 /^X\(\/\/\)[^/].*/{
12053 test -d "$as_dir" && break
12055 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12056 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12060 if mkdir
-p .
2>/dev
/null
; then
12061 as_mkdir_p
='mkdir -p "$as_dir"'
12063 test -d .
/-p && rmdir .
/-p
12067 if test -x / >/dev
/null
2>&1; then
12068 as_test_x
='test -x'
12070 if ls -dL / >/dev
/null
2>&1; then
12077 if test -d "$1"; then
12083 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12084 ???[sx]*):;;*)false;;esac;fi
12088 as_executable_p
=$as_test_x
12090 # Sed expression to map a string onto a valid CPP name.
12091 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12093 # Sed expression to map a string onto a valid variable name.
12094 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12098 ## ----------------------------------- ##
12099 ## Main body of $CONFIG_STATUS script. ##
12100 ## ----------------------------------- ##
12102 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12105 # Save the log message, to keep $0 and so on meaningful, and to
12106 # report actual input values of CONFIG_FILES etc. instead of their
12107 # values after options handling.
12109 This file was extended by $as_me, which was
12110 generated by GNU Autoconf 2.68. Invocation command line was
12112 CONFIG_FILES = $CONFIG_FILES
12113 CONFIG_HEADERS = $CONFIG_HEADERS
12114 CONFIG_LINKS = $CONFIG_LINKS
12115 CONFIG_COMMANDS = $CONFIG_COMMANDS
12118 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12123 case $ac_config_files in *"
12124 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12127 case $ac_config_headers in *"
12128 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12133 # Files that config.status was made for.
12134 config_files="$ac_config_files"
12135 config_headers="$ac_config_headers"
12136 config_commands="$ac_config_commands"
12140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12142 \`$as_me' instantiates files and other configuration actions
12143 from templates according to the current configuration. Unless the files
12144 and actions are specified as TAGs, all are instantiated by default.
12146 Usage: $0 [OPTION]... [TAG]...
12148 -h, --help print this help, then exit
12149 -V, --version print version number and configuration settings, then exit
12150 --config print configuration, then exit
12151 -q, --quiet, --silent
12152 do not print progress messages
12153 -d, --debug don't remove temporary files
12154 --recheck update $as_me by reconfiguring in the same conditions
12155 --file=FILE[:TEMPLATE]
12156 instantiate the configuration file FILE
12157 --header=FILE[:TEMPLATE]
12158 instantiate the configuration header FILE
12160 Configuration files:
12163 Configuration headers:
12166 Configuration commands:
12169 Report bugs to the package provider."
12172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12173 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12176 configured by $0, generated by GNU Autoconf 2.68,
12177 with options \\"\$ac_cs_config\\"
12179 Copyright (C) 2010 Free Software Foundation, Inc.
12180 This config.status script is free software; the Free Software Foundation
12181 gives unlimited permission to copy, distribute and modify it."
12185 test -n "\$AWK" || AWK=awk
12188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12189 # The default lists apply if the user does not specify any file.
12195 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12196 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12200 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12212 # Handling of the options.
12213 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12215 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12216 $as_echo "$ac_cs_version"; exit ;;
12217 --config |
--confi |
--conf |
--con |
--co |
--c )
12218 $as_echo "$ac_cs_config"; exit ;;
12219 --debug |
--debu |
--deb |
--de |
--d |
-d )
12221 --file |
--fil |
--fi |
--f )
12224 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12225 '') as_fn_error $?
"missing file argument" ;;
12227 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12228 ac_need_defaults
=false
;;
12229 --header |
--heade |
--head |
--hea )
12232 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12234 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12235 ac_need_defaults
=false
;;
12237 # Conflict between --help and --header
12238 as_fn_error $?
"ambiguous option: \`$1'
12239 Try \`$0 --help' for more information.";;
12240 --help |
--hel |
-h )
12241 $as_echo "$ac_cs_usage"; exit ;;
12242 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12243 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12246 # This is an error.
12247 -*) as_fn_error $?
"unrecognized option: \`$1'
12248 Try \`$0 --help' for more information." ;;
12250 *) as_fn_append ac_config_targets
" $1"
12251 ac_need_defaults
=false
;;
12257 ac_configure_extra_args
=
12259 if $ac_cs_silent; then
12261 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12266 if \$ac_cs_recheck; then
12267 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12269 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12270 CONFIG_SHELL='$SHELL'
12271 export CONFIG_SHELL
12276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12280 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12281 ## Running $as_me. ##
12287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12292 aros_host_exe_suffix=${aros_host_exe_suffix}
12293 aros_tools_dir=${aros_tools_dir}
12294 aros_target_cpu=${aros_target_cpu}
12295 aros_target_arch=${aros_target_arch}
12296 aros_target_suffix=${aros_target_suffix}
12297 aros_target_nm_ln=${aros_target_nm_ln}
12298 aros_target_as_ln=${aros_target_as_ln}
12299 aros_target_ar_ln=${aros_target_ar_ln}
12300 aros_target_ranlib_ln=${aros_target_ranlib_ln}
12301 aros_target_objdump_ln=${aros_target_objdump_ln}
12302 aros_target_objcopy_ln=${aros_target_objcopy_ln}
12303 aros_target_strip_ln=${aros_target_strip_ln}
12306 aros_tools_dir=${aros_tools_dir}
12311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12313 # Handling of arguments.
12314 for ac_config_target
in $ac_config_targets
12316 case $ac_config_target in
12317 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
12318 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
12319 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
12320 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12321 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
12322 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
12323 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
12324 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
12325 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
12326 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
12327 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
12328 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
12329 "${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" ;;
12330 "${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" ;;
12331 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
12332 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
12333 "${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" ;;
12335 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12340 # If the user did not use the arguments to specify the items to instantiate,
12341 # then the envvar interface is used. Set only those that are not.
12342 # We use the long form for the default assignment because of an extremely
12343 # bizarre bug on SunOS 4.1.3.
12344 if $ac_need_defaults; then
12345 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12346 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12347 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12350 # Have a temporary directory for convenience. Make it in the build tree
12351 # simply because there is no reason against having it here, and in addition,
12352 # creating and moving files from /tmp can sometimes cause problems.
12353 # Hook for its removal unless debugging.
12354 # Note that there is a small window in which the directory will not be cleaned:
12355 # after its creation but before its name has been assigned to `$tmp'.
12359 trap 'exit_status=$?
12360 : "${ac_tmp:=$tmp}"
12361 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12363 trap 'as_fn_exit 1' 1 2 13 15
12365 # Create a (secure) tmp directory for tmp files.
12368 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12372 tmp
=.
/conf$$
-$RANDOM
12373 (umask 077 && mkdir
"$tmp")
12374 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12377 # Set up the scripts for CONFIG_FILES section.
12378 # No need to generate them if there are no CONFIG_FILES.
12379 # This happens for instance with `./config.status config.h'.
12380 if test -n "$CONFIG_FILES"; then
12383 ac_cr
=`echo X | tr X '\015'`
12384 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12385 # But we know of no other shell where ac_cr would be empty at this
12386 # point, so we can use a bashism as a fallback.
12387 if test "x$ac_cr" = x
; then
12388 eval ac_cr
=\$
\'\\r
\'
12390 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12391 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12394 ac_cs_awk_cr
=$ac_cr
12397 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12402 echo "cat >conf$$subs.awk <<_ACEOF" &&
12403 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12405 } >conf$$subs.sh ||
12406 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12407 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12409 for ac_last_try in false false false false false :; do
12410 . ./conf$$subs.sh ||
12411 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12413 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12414 if test $ac_delim_n = $ac_delim_num; then
12416 elif $ac_last_try; then
12417 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12419 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12422 rm -f conf$$subs.sh
12424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12425 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12429 s/^/S["/; s
/!.
*/"]=/
12439 s/\(.\{148\}\)..*/\1/
12441 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12446 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12453 s/\(.\{148\}\)..*/\1/
12455 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12459 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12464 ' <conf$$subs.awk | sed '
12469 ' >>$CONFIG_STATUS || ac_write_fail=1
12470 rm -f conf$$subs.awk
12471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12473 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12474 for (key in S) S_is_set[key] = 1
12480 nfields = split(line, field, "@
")
12482 len = length(field[1])
12483 for (i = 2; i < nfields; i++) {
12485 keylen = length(key)
12486 if (S_is_set[key]) {
12488 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12489 len += length(value) + length(field[++i])
12500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12501 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12502 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12505 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12506 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12509 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12510 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12511 # trailing colons and then remove the whole line if VPATH becomes empty
12512 # (actually we leave an empty line to preserve line numbers).
12513 if test "x
$srcdir" = x.; then
12514 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12533 fi # test -n "$CONFIG_FILES"
12535 # Set up the scripts for CONFIG_HEADERS section.
12536 # No need to generate them if there are no CONFIG_HEADERS.
12537 # This happens for instance with `./config.status Makefile'.
12538 if test -n "$CONFIG_HEADERS"; then
12539 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12543 # Transform confdefs.h into an awk script `defines.awk', embedded as
12544 # here-document in config.status, that substitutes the proper values into
12545 # config.h.in to produce config.h.
12547 # Create a delimiter string that does not exist in confdefs.h, to ease
12548 # handling of long lines.
12550 for ac_last_try in false false :; do
12551 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12552 if test -z "$ac_tt"; then
12554 elif $ac_last_try; then
12555 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12557 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12561 # For the awk script, D is an array of macro values keyed by name,
12562 # likewise P contains macro parameters if any. Preserve backslash
12563 # newline sequences.
12565 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12567 s/.\{148\}/&'"$ac_delim"'/g
12570 s/^[ ]*#[ ]*define[ ][ ]*/ /
12577 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12579 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12583 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12584 D["\
1"]=" \
3\\\\\\n
"\\/p
12586 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12591 s/.\{148\}/&'"$ac_delim"'/g
12596 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12599 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12601 ' <confdefs.h | sed '
12602 s/'"$ac_delim"'/"\\\
12603 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12606 for (key in D) D_is_set[key] = 1
12609 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12611 split(line, arg, " ")
12612 if (arg[1] == "#") {
12616 defundef
= substr
(arg
[1], 2)
12619 split(mac1
, mac2
, "(") #)
12621 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12622 if (D_is_set
[macro
]) {
12623 # Preserve the white space surrounding the "#".
12624 print prefix
"define", macro P
[macro
] D
[macro
]
12627 # Replace #undef with comments. This is necessary, for example,
12628 # in the case of _POSIX_SOURCE, which is predefined and required
12629 # on some systems where configure will not decide to define it.
12630 if (defundef
== "undef") {
12631 print
"/*", prefix defundef
, macro
, "*/"
12639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12640 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12641 fi # test -n "$CONFIG_HEADERS"
12644 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12649 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12651 case $ac_mode$ac_tag in
12653 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12654 :[FH
]-) ac_tag
=-:-;;
12655 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12672 -) ac_f
="$ac_tmp/stdin";;
12673 *) # Look for the file first in the build tree, then in the source tree
12674 # (if the path is not absolute). The absolute path cannot be DOS-style,
12675 # because $ac_f cannot contain `:'.
12679 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12681 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12683 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12684 as_fn_append ac_file_inputs
" '$ac_f'"
12687 # Let's still pretend it is `configure' which instantiates (i.e., don't
12688 # use $as_me), people would be surprised to read:
12689 # /* config.h. Generated by config.status. */
12690 configure_input
='Generated from '`
12691 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12693 if test x
"$ac_file" != x-
; then
12694 configure_input
="$ac_file. $configure_input"
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12696 $as_echo "$as_me: creating $ac_file" >&6;}
12698 # Neutralize special characters interpreted by sed in replacement strings.
12699 case $configure_input in #(
12700 *\
&* |
*\|
* |
*\\* )
12701 ac_sed_conf_input
=`$as_echo "$configure_input" |
12702 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12703 *) ac_sed_conf_input
=$configure_input;;
12707 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
12708 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12713 ac_dir
=`$as_dirname -- "$ac_file" ||
12714 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12715 X"$ac_file" : 'X\(//\)[^/]' \| \
12716 X"$ac_file" : 'X\(//\)$' \| \
12717 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12718 $as_echo X"$ac_file" |
12719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12723 /^X\(\/\/\)[^/].*/{
12736 as_dir
="$ac_dir"; as_fn_mkdir_p
12740 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12742 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12743 # A ".." for each directory in $ac_dir_suffix.
12744 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12745 case $ac_top_builddir_sub in
12746 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12747 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12750 ac_abs_top_builddir
=$ac_pwd
12751 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12752 # for backward compatibility:
12753 ac_top_builddir
=$ac_top_build_prefix
12756 .
) # We are building in place.
12758 ac_top_srcdir
=$ac_top_builddir_sub
12759 ac_abs_top_srcdir
=$ac_pwd ;;
12760 [\\/]* | ?
:[\\/]* ) # Absolute name.
12761 ac_srcdir
=$srcdir$ac_dir_suffix;
12762 ac_top_srcdir
=$srcdir
12763 ac_abs_top_srcdir
=$srcdir ;;
12764 *) # Relative name.
12765 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12766 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12767 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12769 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12781 # If the template does not know about datarootdir, expand it.
12782 # FIXME: This hack should be removed a few years after 2.60.
12783 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12794 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12795 *datarootdir
*) ac_datarootdir_seen
=yes;;
12796 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12798 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12801 ac_datarootdir_hack='
12802 s&@datadir@&$datadir&g
12803 s&@docdir@&$docdir&g
12804 s&@infodir@&$infodir&g
12805 s&@localedir@&$localedir&g
12806 s&@mandir@&$mandir&g
12807 s&\\\${datarootdir}&$datarootdir&g' ;;
12811 # Neutralize VPATH when `$srcdir' = `.'.
12812 # Shell code in configure.ac might set extrasub.
12813 # FIXME: do we really want to maintain this feature?
12814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12815 ac_sed_extra="$ac_vpsub
12818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12820 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12821 s|@configure_input@|
$ac_sed_conf_input|
;t t
12822 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12823 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12824 s
&@srcdir@
&$ac_srcdir&;t t
12825 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12826 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12827 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12828 s
&@builddir@
&$ac_builddir&;t t
12829 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12830 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12831 $ac_datarootdir_hack
12833 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
12834 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
12836 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12837 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
12838 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12839 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12841 which seems to be undefined. Please make sure it is defined" >&5
12842 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12843 which seems to be undefined. Please make sure it is defined" >&2;}
12845 rm -f "$ac_tmp/stdin"
12847 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12848 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12850 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12856 if test x"$ac_file" != x-; then
12858 $as_echo "/* $configure_input */" \
12859 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
12860 } >"$ac_tmp/config.h" \
12861 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12862 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12864 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12867 mv "$ac_tmp/config.h" "$ac_file" \
12868 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12871 $as_echo "/* $configure_input */" \
12872 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
12873 || as_fn_error $? "could not create -" "$LINENO" 5
12877 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12878 $as_echo "$as_me: executing $ac_file commands" >&6;}
12883 case $ac_file$ac_mode in
12884 "compiler_executable":C)
12885 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12887 prefix="${prefix}/${aros_target_cpu}-aros"
12888 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12892 chmod a+x ${prefix2}-gcc ${prefix2}-ld
12894 ln -sf ${prefix2}-gcc ${prefix}-gcc
12895 ln -sf ${prefix2}-ld ${prefix}-ld
12897 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
12898 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
12899 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
12900 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
12901 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
12902 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
12903 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
12905 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
12906 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
12907 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
12908 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
12909 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
12910 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
12911 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
12913 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
12921 ac_clean_files=$ac_clean_files_save
12923 test $ac_write_fail = 0 ||
12924 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
12927 # configure is writing to config.log, and then calls config.status.
12928 # config.status does its own redirection, appending to config.log.
12929 # Unfortunately, on DOS this fails, as config.log is still kept open
12930 # by configure, so config.status won't be able to
write to it
; its
12931 # output is simply discarded. So we exec the FD to /dev/null,
12932 # effectively closing config.log, so it can be properly (re)opened and
12933 # appended to by config.status. When coming back to configure, we
12934 # need to make the FD available again.
12935 if test "$no_create" != yes; then
12937 ac_config_status_args
=
12938 test "$silent" = yes &&
12939 ac_config_status_args
="$ac_config_status_args --quiet"
12941 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12943 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12944 # would make configure fail if this is the last instruction.
12945 $ac_cs_success || as_fn_exit
1
12947 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12949 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12954 #XXX compatability...
12955 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12957 if test -n "$aros_shared_cflags" ; then
12958 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12959 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg