2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 ac_unique_file
="mmakefile"
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
603 ac_subst_vars
='LTLIBOBJS
605 ignore_undefined_symbols
621 aros_nesting_supervisor
627 aros_host_x11_libdirs
628 aros_host_x11_includes
632 aros_default_wbheight
638 crosstools_cxx_target
640 aros_target_strip_flags
647 aros_kernel_objcflags
666 aros_target_cc_includes
681 aros_target_bootloader
698 aros_amigaos_compliance
712 aros_cflags_iquote_end
714 kernel_cflags_iquote_end
716 host_cflags_iquote_end
718 aros_target_nostdlib_ldflags
719 aros_target_detach_ldflags
720 aros_target_nix_ldflags
721 aros_target_nostartup_ldflags
722 aros_target_nostdinc_cflags
727 aros_target_ranlib_ln
728 aros_target_objdump_ln
729 aros_target_objcopy_ln
827 program_transform_name
840 enable_option_checking
849 enable_target_variant
855 enable_amigaos_compliance
868 enable_palm_debug_hack
870 enable_nesting_supervisor
882 ac_precious_vars
='build_alias
894 # Initialize some variables set by options.
896 ac_init_version
=false
897 ac_unrecognized_opts
=
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name
=s
,x
,x
,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir
='${exec_prefix}/bin'
923 sbindir
='${exec_prefix}/sbin'
924 libexecdir
='${exec_prefix}/libexec'
925 datarootdir
='${prefix}/share'
926 datadir
='${datarootdir}'
927 sysconfdir
='${prefix}/etc'
928 sharedstatedir
='${prefix}/com'
929 localstatedir
='${prefix}/var'
930 includedir
='${prefix}/include'
931 oldincludedir
='/usr/include'
932 docdir
='${datarootdir}/doc/${PACKAGE}'
933 infodir
='${datarootdir}/info'
938 libdir
='${exec_prefix}/lib'
939 localedir
='${datarootdir}/locale'
940 mandir
='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\
$ac_option
954 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959 # Accept the important Cygnus configure options, so we can diagnose typos.
961 case $ac_dashdash$ac_option in
965 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
967 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
970 -build |
--build |
--buil |
--bui |
--bu)
971 ac_prev
=build_alias
;;
972 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
973 build_alias
=$ac_optarg ;;
975 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
976 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
977 ac_prev
=cache_file
;;
978 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
979 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
980 cache_file
=$ac_optarg ;;
983 cache_file
=config.cache
;;
985 -datadir |
--datadir |
--datadi |
--datad)
987 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
988 datadir
=$ac_optarg ;;
990 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
991 |
--dataroo |
--dataro |
--datar)
992 ac_prev
=datarootdir
;;
993 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
994 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
995 datarootdir
=$ac_optarg ;;
997 -disable-* |
--disable-*)
998 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1001 as_fn_error $?
"invalid feature name: $ac_useropt"
1002 ac_useropt_orig
=$ac_useropt
1003 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1006 "enable_
$ac_useropt"
1008 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1009 ac_unrecognized_sep
=', ';;
1011 eval enable_
$ac_useropt=no
;;
1013 -docdir |
--docdir |
--docdi |
--doc |
--do)
1015 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1016 docdir
=$ac_optarg ;;
1018 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1020 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1021 dvidir
=$ac_optarg ;;
1023 -enable-* |
--enable-*)
1024 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1027 as_fn_error $?
"invalid feature name: $ac_useropt"
1028 ac_useropt_orig
=$ac_useropt
1029 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "enable_
$ac_useropt"
1034 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1035 ac_unrecognized_sep
=', ';;
1037 eval enable_
$ac_useropt=\
$ac_optarg ;;
1039 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1040 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1041 |
--exec |
--exe |
--ex)
1042 ac_prev
=exec_prefix
;;
1043 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1044 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1045 |
--exec=* |
--exe=* |
--ex=*)
1046 exec_prefix
=$ac_optarg ;;
1048 -gas |
--gas |
--ga |
--g)
1049 # Obsolete; use --with-gas.
1052 -help |
--help |
--hel |
--he |
-h)
1053 ac_init_help
=long
;;
1054 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1055 ac_init_help
=recursive
;;
1056 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1057 ac_init_help
=short
;;
1059 -host |
--host |
--hos |
--ho)
1060 ac_prev
=host_alias
;;
1061 -host=* |
--host=* |
--hos=* |
--ho=*)
1062 host_alias
=$ac_optarg ;;
1064 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1066 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1068 htmldir
=$ac_optarg ;;
1070 -includedir |
--includedir |
--includedi |
--included |
--include \
1071 |
--includ |
--inclu |
--incl |
--inc)
1072 ac_prev
=includedir
;;
1073 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1074 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1075 includedir
=$ac_optarg ;;
1077 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1079 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1080 infodir
=$ac_optarg ;;
1082 -libdir |
--libdir |
--libdi |
--libd)
1084 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1085 libdir
=$ac_optarg ;;
1087 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1088 |
--libexe |
--libex |
--libe)
1089 ac_prev
=libexecdir
;;
1090 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1091 |
--libexe=* |
--libex=* |
--libe=*)
1092 libexecdir
=$ac_optarg ;;
1094 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1095 ac_prev
=localedir
;;
1096 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1097 localedir
=$ac_optarg ;;
1099 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1100 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1101 ac_prev
=localstatedir
;;
1102 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1103 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1104 localstatedir
=$ac_optarg ;;
1106 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1108 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1109 mandir
=$ac_optarg ;;
1111 -nfp |
--nfp |
--nf)
1112 # Obsolete; use --without-fp.
1115 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1116 |
--no-cr |
--no-c |
-n)
1119 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1120 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1123 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1124 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1125 |
--oldin |
--oldi |
--old |
--ol |
--o)
1126 ac_prev
=oldincludedir
;;
1127 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1128 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1129 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1130 oldincludedir
=$ac_optarg ;;
1132 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1134 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1135 prefix
=$ac_optarg ;;
1137 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1138 |
--program-pre |
--program-pr |
--program-p)
1139 ac_prev
=program_prefix
;;
1140 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1141 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1142 program_prefix
=$ac_optarg ;;
1144 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1145 |
--program-suf |
--program-su |
--program-s)
1146 ac_prev
=program_suffix
;;
1147 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1148 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1149 program_suffix
=$ac_optarg ;;
1151 -program-transform-name |
--program-transform-name \
1152 |
--program-transform-nam |
--program-transform-na \
1153 |
--program-transform-n |
--program-transform- \
1154 |
--program-transform |
--program-transfor \
1155 |
--program-transfo |
--program-transf \
1156 |
--program-trans |
--program-tran \
1157 |
--progr-tra |
--program-tr |
--program-t)
1158 ac_prev
=program_transform_name
;;
1159 -program-transform-name=* |
--program-transform-name=* \
1160 |
--program-transform-nam=* |
--program-transform-na=* \
1161 |
--program-transform-n=* |
--program-transform-=* \
1162 |
--program-transform=* |
--program-transfor=* \
1163 |
--program-transfo=* |
--program-transf=* \
1164 |
--program-trans=* |
--program-tran=* \
1165 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1166 program_transform_name
=$ac_optarg ;;
1168 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1170 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1171 pdfdir
=$ac_optarg ;;
1173 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1175 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1178 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1179 |
-silent |
--silent |
--silen |
--sile |
--sil)
1182 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1184 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1186 sbindir
=$ac_optarg ;;
1188 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1189 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1190 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1192 ac_prev
=sharedstatedir
;;
1193 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1194 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1195 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1197 sharedstatedir
=$ac_optarg ;;
1199 -site |
--site |
--sit)
1201 -site=* |
--site=* |
--sit=*)
1204 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1206 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1207 srcdir
=$ac_optarg ;;
1209 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1210 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1211 ac_prev
=sysconfdir
;;
1212 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1213 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1214 sysconfdir
=$ac_optarg ;;
1216 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1217 ac_prev
=target_alias
;;
1218 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1219 target_alias
=$ac_optarg ;;
1221 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1224 -version |
--version |
--versio |
--versi |
--vers |
-V)
1225 ac_init_version
=: ;;
1228 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1231 as_fn_error $?
"invalid package name: $ac_useropt"
1232 ac_useropt_orig
=$ac_useropt
1233 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1234 case $ac_user_opts in
1238 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1239 ac_unrecognized_sep
=', ';;
1241 eval with_
$ac_useropt=\
$ac_optarg ;;
1243 -without-* |
--without-*)
1244 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1247 as_fn_error $?
"invalid package name: $ac_useropt"
1248 ac_useropt_orig
=$ac_useropt
1249 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250 case $ac_user_opts in
1254 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1255 ac_unrecognized_sep
=', ';;
1257 eval with_
$ac_useropt=no
;;
1260 # Obsolete; use --with-x.
1263 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1264 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1265 ac_prev
=x_includes
;;
1266 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1267 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1268 x_includes
=$ac_optarg ;;
1270 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1271 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1272 ac_prev
=x_libraries
;;
1273 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1274 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1275 x_libraries
=$ac_optarg ;;
1277 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1278 Try \`$0 --help' for more information"
1282 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1283 # Reject names that are not valid shell variable names.
1284 case $ac_envvar in #(
1285 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1286 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1288 eval $ac_envvar=\
$ac_optarg
1289 export $ac_envvar ;;
1292 # FIXME: should be removed in autoconf 3.0.
1293 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1295 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1296 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1302 if test -n "$ac_prev"; then
1303 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1304 as_fn_error $?
"missing argument to $ac_option"
1307 if test -n "$ac_unrecognized_opts"; then
1308 case $enable_option_checking in
1310 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1311 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1315 # Check all directory arguments for consistency.
1316 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1317 datadir sysconfdir sharedstatedir localstatedir includedir \
1318 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1319 libdir localedir mandir
1321 eval ac_val
=\$
$ac_var
1322 # Remove trailing slashes.
1325 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1326 eval $ac_var=\
$ac_val;;
1328 # Be sure to have absolute directory names.
1330 [\\/$
]* | ?
:[\\/]* ) continue;;
1331 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1333 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1336 # There might be people who depend on the old broken behavior: `$host'
1337 # used to hold the argument of --host etc.
1338 # FIXME: To remove some day.
1341 target
=$target_alias
1343 # FIXME: To remove some day.
1344 if test "x$host_alias" != x
; then
1345 if test "x$build_alias" = x
; then
1346 cross_compiling
=maybe
1347 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1348 If a cross compiler is detected then cross compile mode will be used" >&2
1349 elif test "x$build_alias" != "x$host_alias"; then
1355 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1357 test "$silent" = yes && exec 6>/dev
/null
1360 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1361 ac_ls_di
=`ls -di .` &&
1362 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1363 as_fn_error $?
"working directory cannot be determined"
1364 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365 as_fn_error $?
"pwd does not report name of working directory"
1368 # Find the source files, if location was not specified.
1369 if test -z "$srcdir"; then
1370 ac_srcdir_defaulted
=yes
1371 # Try the directory containing this script, then the parent directory.
1372 ac_confdir
=`$as_dirname -- "$as_myself" ||
1373 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1374 X"$as_myself" : 'X\(//\)[^/]' \| \
1375 X"$as_myself" : 'X\(//\)$' \| \
1376 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1377 $as_echo X"$as_myself" |
1378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1400 ac_srcdir_defaulted
=no
1402 if test ! -r "$srcdir/$ac_unique_file"; then
1403 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1404 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1406 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1408 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1410 # When building in place, set srcdir=.
1411 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 # Remove unnecessary trailing slashes from srcdir.
1415 # Double slashes in file names in object file debugging info
1416 # mess up M-x gdb in Emacs.
1418 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420 for ac_var
in $ac_precious_vars; do
1421 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1422 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1423 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1424 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1428 # Report the --help message.
1430 if test "$ac_init_help" = "long"; then
1431 # Omit some internal or obsolete options to make the list less imposing.
1432 # This message is too long to be a string in the A/UX 3.1 sh.
1434 \`configure' configures this package to adapt to many kinds of systems.
1436 Usage: $0 [OPTION]... [VAR=VALUE]...
1438 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1439 VAR=VALUE. See below for descriptions of some of the useful variables.
1441 Defaults for the options are specified in brackets.
1444 -h, --help display this help and exit
1445 --help=short display options specific to this package
1446 --help=recursive display the short help of all the included packages
1447 -V, --version display version information and exit
1448 -q, --quiet, --silent do not print \`checking ...' messages
1449 --cache-file=FILE cache test results in FILE [disabled]
1450 -C, --config-cache alias for \`--cache-file=config.cache'
1451 -n, --no-create do not create output files
1452 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1454 Installation directories:
1455 --prefix=PREFIX install architecture-independent files in PREFIX
1456 [$ac_default_prefix]
1457 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 By default, \`make install' will install all the files in
1461 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1462 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1463 for instance \`--prefix=\$HOME'.
1465 For better control, use the options below.
1467 Fine tuning of the installation directories:
1468 --bindir=DIR user executables [EPREFIX/bin]
1469 --sbindir=DIR system admin executables [EPREFIX/sbin]
1470 --libexecdir=DIR program executables [EPREFIX/libexec]
1471 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1472 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1473 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1474 --libdir=DIR object code libraries [EPREFIX/lib]
1475 --includedir=DIR C header files [PREFIX/include]
1476 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1477 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1478 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1479 --infodir=DIR info documentation [DATAROOTDIR/info]
1480 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1481 --mandir=DIR man documentation [DATAROOTDIR/man]
1482 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1483 --htmldir=DIR html documentation [DOCDIR]
1484 --dvidir=DIR dvi documentation [DOCDIR]
1485 --pdfdir=DIR pdf documentation [DOCDIR]
1486 --psdir=DIR ps documentation [DOCDIR]
1492 --x-includes=DIR X include files are
in DIR
1493 --x-libraries=DIR X library files are
in DIR
1496 --build=BUILD configure
for building on BUILD
[guessed
]
1497 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1501 if test -n "$ac_init_help"; then
1506 --disable-option-checking ignore unrecognized
--enable/--with options
1507 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1508 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1509 --enable-build-type=TYPE
1510 Select the build
type. Available types are
:
1511 personal
, nightly
, snapshot
, milestone
, release. Do
1512 NOT use this option unless you know what you are
1513 doing
! (default
=personal
)
1514 --enable-debug=list Enable different types of debug. Commas or
1515 whitespaces can be used to separate the items
in the
1516 list. Available types of debug are
: all
, none
,
1517 messages
, stack
, mungwall
, modules
, symbols. If no
1518 list is provided
then "all" is assumed.
1520 --enable-crosstools Build cross-compiler toolchains
if necessary
1522 --enable-distcc Use distcc as a front end to the compiler
1524 --enable-ccache Use ccache as a front end to the compiler
1526 --enable-target-variant=NAME
1527 Enable a specific target variant
(default
=none
)
1528 --enable-amigaos-compliance=VERSION
1529 Enforce userspace AmigaOS compliance to a specific
1530 KickStart version
(default
=none
).
1531 --enable-includes=dir Alternative system include directory
1532 --enable-palm-debug-hack
1533 Enable palm debug output hack
in palm native
1535 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1536 --enable-nesting-supervisor
1537 Enable nesting supervisor support
in unix
1539 --disable-mmu Disable MMU support
(default
=enabled
)
1540 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1541 --enable-x11-shm use X11 shared memory
(default
=auto
)
1542 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1543 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1544 --disable-sdltest Do not try to compile and run a
test SDL program
1545 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1548 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1549 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1550 --with-gcc-version=VERSION
1551 Use
host gcc-VERSION
for building AROS
1552 --with-optimization=FLAGS
1553 Use optimization flags FLAGS
(default
=-O2).
1554 --with-paranoia=FLAGS CC flags to
enable paranoia
1555 --with-xcode=PATH Specify XCode path
for iOS targets
1556 (default
=/Developer
).
1557 --with-sdk-version=VERSION
1558 Use iOS SDK version VERSION
(default
=4.1).
1559 --with-sdk=PATH Specify Android SDK path
1560 (default
=$default_android_sdk).
1561 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1562 --with-sdk-version=LEVEL
1563 Use Android SDK
for API LEVEL
(default
=12).
1564 --with-ndk-version=LEVEL
1565 Use Android NDK
for API LEVEL
(default
=9).
1566 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1567 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1568 --with-float=<spec
> Specify floating point ABI
1569 (default
=$gcc_default_float_abi).
1570 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1571 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1572 --with-portssources=DIR Where to download sourcecode
for external ports
1573 --with-bootloader=NAME Use a specific bootloader
1574 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1575 --with-theme=NAME Use a specific GUI Theme
1576 --with-resolution=XRESxYRESxDEPTH
1577 Default resolution of the initial WorkbenchScreen
1578 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1579 --with-x use the X Window System
1580 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1581 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1583 Some influential environment variables
:
1584 CC C compiler
command
1585 CFLAGS C compiler flags
1586 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1587 nonstandard directory
<lib dir
>
1588 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1589 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1590 you have headers
in a nonstandard directory
<include dir
>
1592 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1594 Use these variables to override the choices made by
`configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1597 Report bugs to the package provider.
1602 if test "$ac_init_help" = "recursive"; then
1603 # If there are subdirs, report their specific --help.
1604 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605 test -d "$ac_dir" ||
1606 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1614 # A ".." for each directory in $ac_dir_suffix.
1615 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1616 case $ac_top_builddir_sub in
1617 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1621 ac_abs_top_builddir=$ac_pwd
1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623 # for backward compatibility:
1624 ac_top_builddir=$ac_top_build_prefix
1627 .) # We are building in place.
1629 ac_top_srcdir=$ac_top_builddir_sub
1630 ac_abs_top_srcdir=$ac_pwd ;;
1631 [\\/]* | ?:[\\/]* ) # Absolute name.
1632 ac_srcdir=$srcdir$ac_dir_suffix;
1633 ac_top_srcdir=$srcdir
1634 ac_abs_top_srcdir=$srcdir ;;
1636 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637 ac_top_srcdir=$ac_top_build_prefix$srcdir
1638 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1642 cd "$ac_dir" || { ac_status=$?; continue; }
1643 # Check for guested configure.
1644 if test -f "$ac_srcdir/configure.gnu"; then
1646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647 elif test -f "$ac_srcdir/configure"; then
1649 $SHELL "$ac_srcdir/configure" --help=recursive
1651 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1653 cd "$ac_pwd" || { ac_status=$?; break; }
1657 test -n "$ac_init_help" && exit $ac_status
1658 if $ac_init_version; then
1661 generated by GNU Autoconf 2.68
1663 Copyright (C) 2010 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1670 ## ------------------------ ##
1671 ## Autoconf initialization. ##
1672 ## ------------------------ ##
1674 # ac_fn_c_try_compile LINENO
1675 # --------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_c_try_compile ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext
1681 if { { ac_try="$ac_compile"
1683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1684 *) ac_try_echo
=$ac_try;;
1686 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_compile") 2>conftest.err
1690 if test -s conftest.err
; then
1691 grep -v '^ *+' conftest.err
>conftest.er1
1692 cat conftest.er1
>&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest.
$ac_objext; then :
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.
$ac_ext >&5
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status
$ac_retval
1710 } # ac_fn_c_try_compile
1712 # ac_fn_c_try_cpp LINENO
1713 # ----------------------
1714 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1717 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1718 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } > conftest.i && {
1734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status $ac_retval
1749 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1750 # -------------------------------------------------------
1751 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1752 # the include files in INCLUDES and setting the cache variable VAR
1754 ac_fn_c_check_header_mongrel ()
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 if eval \${$3+:} false; then :
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \${$3+:} false; then :
1761 $as_echo_n "(cached) " >&6
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765 $as_echo "$ac_res" >&6; }
1767 # Is the header compilable?
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1769 $as_echo_n "checking $2 usability... " >&6; }
1770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1775 if ac_fn_c_try_compile "$LINENO"; then :
1776 ac_header_compiler=yes
1778 ac_header_compiler=no
1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1782 $as_echo "$ac_header_compiler" >&6; }
1784 # Is the header present?
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1786 $as_echo_n "checking $2 presence... " >&6; }
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1791 if ac_fn_c_try_cpp "$LINENO"; then :
1792 ac_header_preproc=yes
1794 ac_header_preproc=no
1796 rm -f conftest.err conftest.i conftest.$ac_ext
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1798 $as_echo "$ac_header_preproc" >&6; }
1800 # So? What about this header?
1801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1804 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1806 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1810 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1812 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1814 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1816 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1818 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822 $as_echo_n "checking for $2... " >&6; }
1823 if eval \${$3+:} false; then :
1824 $as_echo_n "(cached) " >&6
1826 eval "$3=\$ac_header_compiler"
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834 } # ac_fn_c_check_header_mongrel
1836 # ac_fn_c_try_run LINENO
1837 # ----------------------
1838 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1839 # that executables *can* be run.
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 if { { ac_try="$ac_link"
1845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1846 *) ac_try_echo
=$ac_try;;
1848 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_link") 2>&5
1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1854 { { case "(($ac_try" in
1855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1856 *) ac_try_echo=$ac_try;;
1858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_try") 2>&5
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; }; }; then :
1866 $as_echo "$as_me: program exited with status $ac_status" >&5
1867 $as_echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.$ac_ext >&5
1870 ac_retval=$ac_status
1872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874 as_fn_set_status $ac_retval
1878 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1879 # -------------------------------------------------------
1880 # Tests whether HEADER exists and can be compiled using the include files in
1881 # INCLUDES, setting the cache variable VAR accordingly.
1882 ac_fn_c_check_header_compile ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if eval \${$3+:} false; then :
1888 $as_echo_n "(cached) " >&6
1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1895 if ac_fn_c_try_compile "$LINENO"; then :
1900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904 $as_echo "$ac_res" >&6; }
1905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 } # ac_fn_c_check_header_compile
1909 # ac_fn_c_try_link LINENO
1910 # -----------------------
1911 # Try to link conftest.$ac_ext, and return whether this succeeded.
1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915 rm -f conftest.$ac_objext conftest$ac_exeext
1916 if { { ac_try="$ac_link"
1918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1919 *) ac_try_echo
=$ac_try;;
1921 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_link") 2>conftest.err
1925 if test -s conftest.err
; then
1926 grep -v '^ *+' conftest.err
>conftest.er1
1927 cat conftest.er1
>&5
1928 mv -f conftest.er1 conftest.err
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && {
1932 test -z "$ac_c_werror_flag" ||
1933 test ! -s conftest.err
1934 } && test -s conftest
$ac_exeext && {
1935 test "$cross_compiling" = yes ||
1936 $as_test_x conftest
$ac_exeext
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.
$ac_ext >&5
1945 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1946 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1947 # interfere with the next link command; also delete a directory that is
1948 # left behind by Apple's compiler. We do this before executing the actions.
1949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 as_fn_set_status
$ac_retval
1953 } # ac_fn_c_try_link
1955 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1956 # ----------------------------------------------------
1957 # Tries to find if the field MEMBER exists in type AGGR, after including
1958 # INCLUDES, setting cache variable VAR accordingly.
1959 ac_fn_c_check_member
()
1961 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1963 $as_echo_n "checking for $2.$3... " >&6; }
1964 if eval \
${$4+:} false
; then :
1965 $as_echo_n "(cached) " >&6
1967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1980 if ac_fn_c_try_compile
"$LINENO"; then :
1983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1984 /* end confdefs.h. */
1990 if (sizeof ac_aggr.$3)
1996 if ac_fn_c_try_compile
"$LINENO"; then :
2001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2007 $as_echo "$ac_res" >&6; }
2008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010 } # ac_fn_c_check_member
2012 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2013 # ---------------------------------------------
2014 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2016 ac_fn_c_check_decl
()
2018 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2019 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2020 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2022 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2023 if eval \
${$3+:} false
; then :
2024 $as_echo_n "(cached) " >&6
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2032 #ifndef $as_decl_name
2034 (void) $as_decl_use;
2036 (void) $as_decl_name;
2044 if ac_fn_c_try_compile
"$LINENO"; then :
2049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 } # ac_fn_c_check_decl
2058 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2059 # -------------------------------------------
2060 # Tests whether TYPE exists after having included INCLUDES, setting cache
2061 # variable VAR accordingly.
2062 ac_fn_c_check_type
()
2064 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2066 $as_echo_n "checking for $2... " >&6; }
2067 if eval \
${$3+:} false
; then :
2068 $as_echo_n "(cached) " >&6
2071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2072 /* end confdefs.h. */
2083 if ac_fn_c_try_compile
"$LINENO"; then :
2084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2096 if ac_fn_c_try_compile
"$LINENO"; then :
2101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107 $as_echo "$ac_res" >&6; }
2108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110 } # ac_fn_c_check_type
2112 # ac_fn_c_check_func LINENO FUNC VAR
2113 # ----------------------------------
2114 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2115 ac_fn_c_check_func
()
2117 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119 $as_echo_n "checking for $2... " >&6; }
2120 if eval \
${$3+:} false
; then :
2121 $as_echo_n "(cached) " >&6
2123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2125 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2127 #define $2 innocuous_$2
2129 /* System header to define __stub macros and hopefully few prototypes,
2130 which can conflict with char $2 (); below.
2131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2132 <limits.h> exists even on freestanding compilers. */
2135 # include <limits.h>
2137 # include <assert.h>
2142 /* Override any GCC internal prototype to avoid an error.
2143 Use char because int might match the return type of a GCC
2144 builtin and then its argument prototype would still apply. */
2149 /* The GNU C library defines this for functions which it implements
2150 to always fail with ENOSYS. Some functions are actually named
2151 something starting with __ and the normal name is an alias. */
2152 #if defined __stub_$2 || defined __stub___$2
2164 if ac_fn_c_try_link
"$LINENO"; then :
2169 rm -f core conftest.err conftest.
$ac_objext \
2170 conftest
$ac_exeext conftest.
$ac_ext
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2174 $as_echo "$ac_res" >&6; }
2175 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2177 } # ac_fn_c_check_func
2178 cat >config.log
<<_ACEOF
2179 This file contains any messages produced by compilers while
2180 running configure, to aid debugging if configure makes a mistake.
2182 It was created by $as_me, which was
2183 generated by GNU Autoconf 2.68. Invocation command line was
2195 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2196 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2197 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2198 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2199 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2201 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2202 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2204 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2205 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2206 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2207 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2208 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2209 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2210 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir
=.
2219 $as_echo "PATH: $as_dir"
2235 # Keep a trace of the command line.
2236 # Strip out --no-create and --no-recursion so they do not pile up.
2237 # Strip out --silent because we don't want to record it for future runs.
2238 # Also quote any args containing shell meta-characters.
2239 # Make two passes to allow for proper duplicate-argument suppression.
2243 ac_must_keep_next
=false
2249 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2250 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2251 |
-silent |
--silent |
--silen |
--sile |
--sil)
2254 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2257 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2259 as_fn_append ac_configure_args1
" '$ac_arg'"
2260 if test $ac_must_keep_next = true
; then
2261 ac_must_keep_next
=false
# Got value, back to normal.
2264 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2265 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2266 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2267 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2268 case "$ac_configure_args0 " in
2269 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2272 -* ) ac_must_keep_next
=true
;;
2275 as_fn_append ac_configure_args
" '$ac_arg'"
2280 { ac_configure_args0
=; unset ac_configure_args0
;}
2281 { ac_configure_args1
=; unset ac_configure_args1
;}
2283 # When interrupted or exit'd, cleanup temporary files, and complete
2284 # config.log. We remove comments because anyway the quotes in there
2285 # would cause problems or look ugly.
2286 # WARNING: Use '\'' to represent an apostrophe within the trap.
2287 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2288 trap 'exit_status=$?
2289 # Save into config.log some information that might help in debugging.
2293 $as_echo "## ---------------- ##
2294 ## Cache variables. ##
2295 ## ---------------- ##"
2297 # The following way of writing the cache mishandles newlines in values,
2299 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2300 eval ac_val=\$$ac_var
2304 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2305 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2308 _ | IFS | as_nl) ;; #(
2309 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2310 *) { eval $ac_var=; unset $ac_var;} ;;
2315 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2316 *${as_nl}ac_space=\ *)
2318 "s/'\''/'\''\\\\'\'''\''/g;
2319 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2322 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2329 $as_echo "## ----------------- ##
2330 ## Output variables. ##
2331 ## ----------------- ##"
2333 for ac_var in $ac_subst_vars
2335 eval ac_val=\$$ac_var
2337 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2339 $as_echo "$ac_var='\''$ac_val'\''"
2343 if test -n "$ac_subst_files"; then
2344 $as_echo "## ------------------- ##
2345 ## File substitutions. ##
2346 ## ------------------- ##"
2348 for ac_var
in $ac_subst_files
2350 eval ac_val
=\$
$ac_var
2352 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2354 $as_echo "$ac_var='\''$ac_val'\''"
2359 if test -s confdefs.h; then
2360 $as_echo "## ----------- ##
2367 test "$ac_signal" != 0 &&
2368 $as_echo "$as_me: caught signal $ac_signal"
2369 $as_echo "$as_me: exit $exit_status"
2371 rm -f core *.core core.conftest.* &&
2372 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2375 for ac_signal
in 1 2 13 15; do
2376 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2380 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2381 rm -f -r conftest
* confdefs.h
2383 $as_echo "/* confdefs.h */" > confdefs.h
2385 # Predefined preprocessor variables.
2387 cat >>confdefs.h
<<_ACEOF
2388 #define PACKAGE_NAME "$PACKAGE_NAME"
2391 cat >>confdefs.h
<<_ACEOF
2392 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2399 cat >>confdefs.h
<<_ACEOF
2400 #define PACKAGE_STRING "$PACKAGE_STRING"
2403 cat >>confdefs.h
<<_ACEOF
2404 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2407 cat >>confdefs.h
<<_ACEOF
2408 #define PACKAGE_URL "$PACKAGE_URL"
2412 # Let the site file select an alternate cache file if it wants to.
2413 # Prefer an explicitly selected file to automatically selected ones.
2416 if test -n "$CONFIG_SITE"; then
2417 # We do not want a PATH search for config.site.
2418 case $CONFIG_SITE in #((
2419 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2420 */*) ac_site_file1
=$CONFIG_SITE;;
2421 *) ac_site_file1
=.
/$CONFIG_SITE;;
2423 elif test "x$prefix" != xNONE
; then
2424 ac_site_file1
=$prefix/share
/config.site
2425 ac_site_file2
=$prefix/etc
/config.site
2427 ac_site_file1
=$ac_default_prefix/share
/config.site
2428 ac_site_file2
=$ac_default_prefix/etc
/config.site
2430 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2432 test "x$ac_site_file" = xNONE
&& continue
2433 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2435 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2436 sed 's/^/| /' "$ac_site_file" >&5
2438 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440 as_fn_error $?
"failed to load site script $ac_site_file
2441 See \`config.log' for more details" "$LINENO" 5 ; }
2445 if test -r "$cache_file"; then
2446 # Some versions of bash will fail to source /dev/null (special files
2447 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2448 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2450 $as_echo "$as_me: loading cache $cache_file" >&6;}
2452 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2453 *) .
"./$cache_file";;
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2458 $as_echo "$as_me: creating cache $cache_file" >&6;}
2462 as_fn_append ac_header_list
" stdlib.h"
2463 as_fn_append ac_header_list
" unistd.h"
2464 as_fn_append ac_header_list
" sys/param.h"
2465 # Check that the precious variables saved in the cache have kept the same
2467 ac_cache_corrupted
=false
2468 for ac_var
in $ac_precious_vars; do
2469 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2470 eval ac_new_set
=\
$ac_env_${ac_var}_set
2471 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2472 eval ac_new_val
=\
$ac_env_${ac_var}_value
2473 case $ac_old_set,$ac_new_set in
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2476 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2477 ac_cache_corrupted
=: ;;
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2480 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2481 ac_cache_corrupted
=: ;;
2484 if test "x$ac_old_val" != "x$ac_new_val"; then
2485 # differences in whitespace do not lead to failure.
2486 ac_old_val_w
=`echo x $ac_old_val`
2487 ac_new_val_w
=`echo x $ac_new_val`
2488 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2490 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2491 ac_cache_corrupted
=:
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2494 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2495 eval $ac_var=\
$ac_old_val
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2498 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2500 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2503 # Pass precious variables to config.status.
2504 if test "$ac_new_set" = set; then
2506 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2507 *) ac_arg
=$ac_var=$ac_new_val ;;
2509 case " $ac_configure_args " in
2510 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2511 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2515 if $ac_cache_corrupted; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2519 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2520 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2522 ## -------------------- ##
2523 ## Main body of script. ##
2524 ## -------------------- ##
2527 ac_cpp
='$CPP $CPPFLAGS'
2528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2535 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2536 if test -f "$ac_dir/install-sh"; then
2538 ac_install_sh
="$ac_aux_dir/install-sh -c"
2540 elif test -f "$ac_dir/install.sh"; then
2542 ac_install_sh
="$ac_aux_dir/install.sh -c"
2544 elif test -f "$ac_dir/shtool"; then
2546 ac_install_sh
="$ac_aux_dir/shtool install -c"
2550 if test -z "$ac_aux_dir"; then
2551 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2554 # These three variables are undocumented and unsupported,
2555 # and are intended to be withdrawn in a future Autoconf release.
2556 # They can cause serious problems if a builder's source tree is in a directory
2557 # whose full name contains unusual characters.
2558 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2559 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2560 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2564 # Check what host we are running on.
2565 # If a target is not suggested, we use this one.
2566 # Note that what we call a target, Autoconf calls a host.
2567 # Make sure we can run config.sub.
2568 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2569 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2572 $as_echo_n "checking build system type... " >&6; }
2573 if ${ac_cv_build+:} false
; then :
2574 $as_echo_n "(cached) " >&6
2576 ac_build_alias
=$build_alias
2577 test "x$ac_build_alias" = x
&&
2578 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2579 test "x$ac_build_alias" = x
&&
2580 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2581 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2582 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2586 $as_echo "$ac_cv_build" >&6; }
2587 case $ac_cv_build in
2589 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
2592 ac_save_IFS
=$IFS; IFS
='-'
2598 # Remember, the first character of IFS is used to create $*,
2599 # except with old shells:
2602 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2606 $as_echo_n "checking host system type... " >&6; }
2607 if ${ac_cv_host+:} false
; then :
2608 $as_echo_n "(cached) " >&6
2610 if test "x$host_alias" = x
; then
2611 ac_cv_host
=$ac_cv_build
2613 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2614 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2619 $as_echo "$ac_cv_host" >&6; }
2622 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
2625 ac_save_IFS
=$IFS; IFS
='-'
2631 # Remember, the first character of IFS is used to create $*,
2632 # except with old shells:
2635 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2639 # The AROS target is slightly different to the normal GNU style
2640 # format. We don't have the middle part, and we reverse the order
2641 # of the $(CPU) and $(OS) bits.
2643 # Don't strip the version of the target yet, it might be
2644 # useful on some systems.
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2647 $as_echo_n "checking for AROS style target... " >&6; }
2649 if test "$target" = "NONE" ; then
2650 target
=$host_os-$host_cpu
2652 if test "$target" = "" ; then
2653 target
=$host_os-$host_cpu
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2657 $as_echo "$target" >&6; }
2659 if test "$host_os" = "mingw32" ; then
2663 #don't know where else to put this...
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2665 $as_echo_n "checking building AROS in... " >&6; }
2666 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2667 AROS_BUILDDIR_UNIX
=${PWD}
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2669 $as_echo "$AROS_BUILDDIR" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2672 $as_echo_n "checking AROS source in... " >&6; }
2673 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2676 $as_echo "$SRCDIR" >&6; }
2678 # Parse the target field into something useful.
2680 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2681 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2684 aros_default_wbwidth
=800
2685 aros_default_wbheight
=600
2686 aros_default_wbdepth
=4
2689 # The first step is to find the host binaries.
2690 # Check for a compiler.
2692 ac_cpp
='$CPP $CPPFLAGS'
2693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2696 if test -n "$ac_tool_prefix"; then
2697 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2698 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if ${ac_cv_prog_CC+:} false
; then :
2702 $as_echo_n "(cached) " >&6
2704 if test -n "$CC"; then
2705 ac_cv_prog_CC
="$CC" # Let the user override the test.
2707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir
=.
2712 for ac_exec_ext
in '' $ac_executable_extensions; do
2713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 if test -n "$CC"; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2727 $as_echo "$CC" >&6; }
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730 $as_echo "no" >&6; }
2735 if test -z "$ac_cv_prog_CC"; then
2737 # Extract the first word of "gcc", so it can be a program name with args.
2738 set dummy gcc
; ac_word
=$2
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2740 $as_echo_n "checking for $ac_word... " >&6; }
2741 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2742 $as_echo_n "(cached) " >&6
2744 if test -n "$ac_ct_CC"; then
2745 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir
=.
2752 for ac_exec_ext
in '' $ac_executable_extensions; do
2753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754 ac_cv_prog_ac_ct_CC
="gcc"
2755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2765 if test -n "$ac_ct_CC"; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2767 $as_echo "$ac_ct_CC" >&6; }
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2770 $as_echo "no" >&6; }
2773 if test "x$ac_ct_CC" = x
; then
2776 case $cross_compiling:$ac_tool_warned in
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2780 ac_tool_warned
=yes ;;
2788 if test -z "$CC"; then
2789 if test -n "$ac_tool_prefix"; then
2790 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2791 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if ${ac_cv_prog_CC+:} false
; then :
2795 $as_echo_n "(cached) " >&6
2797 if test -n "$CC"; then
2798 ac_cv_prog_CC
="$CC" # Let the user override the test.
2800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir
=.
2805 for ac_exec_ext
in '' $ac_executable_extensions; do
2806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2807 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 if test -n "$CC"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2820 $as_echo "$CC" >&6; }
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2829 if test -z "$CC"; then
2830 # Extract the first word of "cc", so it can be a program name with args.
2831 set dummy cc
; ac_word
=$2
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833 $as_echo_n "checking for $ac_word... " >&6; }
2834 if ${ac_cv_prog_CC+:} false
; then :
2835 $as_echo_n "(cached) " >&6
2837 if test -n "$CC"; then
2838 ac_cv_prog_CC
="$CC" # Let the user override the test.
2841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2845 test -z "$as_dir" && as_dir
=.
2846 for ac_exec_ext
in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2849 ac_prog_rejected
=yes
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 if test $ac_prog_rejected = yes; then
2861 # We found a bogon in the path, so make sure we never use it.
2862 set dummy
$ac_cv_prog_CC
2864 if test $# != 0; then
2865 # We chose a different compiler from the bogus one.
2866 # However, it has the same basename, so the bogon will be chosen
2867 # first if we set CC to just the basename; use the full file name.
2869 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2875 if test -n "$CC"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2877 $as_echo "$CC" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2885 if test -z "$CC"; then
2886 if test -n "$ac_tool_prefix"; then
2887 for ac_prog
in cl.exe
2889 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2890 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892 $as_echo_n "checking for $ac_word... " >&6; }
2893 if ${ac_cv_prog_CC+:} false
; then :
2894 $as_echo_n "(cached) " >&6
2896 if test -n "$CC"; then
2897 ac_cv_prog_CC
="$CC" # Let the user override the test.
2899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir
=.
2904 for ac_exec_ext
in '' $ac_executable_extensions; do
2905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2906 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 if test -n "$CC"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2919 $as_echo "$CC" >&6; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2926 test -n "$CC" && break
2929 if test -z "$CC"; then
2931 for ac_prog
in cl.exe
2933 # Extract the first word of "$ac_prog", so it can be a program name with args.
2934 set dummy
$ac_prog; ac_word
=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$ac_ct_CC"; then
2941 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir
=.
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950 ac_cv_prog_ac_ct_CC
="$ac_prog"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2961 if test -n "$ac_ct_CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2963 $as_echo "$ac_ct_CC" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2970 test -n "$ac_ct_CC" && break
2973 if test "x$ac_ct_CC" = x
; then
2976 case $cross_compiling:$ac_tool_warned in
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2980 ac_tool_warned
=yes ;;
2989 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2991 as_fn_error $?
"no acceptable C compiler found in \$PATH
2992 See \`config.log' for more details" "$LINENO" 5 ; }
2994 # Provide some information about the compiler.
2995 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2998 for ac_option
in --version -v -V -qversion; do
2999 { { ac_try
="$ac_compiler $ac_option >&5"
3001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 $as_echo "$ac_try_echo"; } >&5
3006 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3008 if test -s conftest.err; then
3010 ... rest of stderr output deleted ...
3011 10q' conftest.err >conftest.er1
3012 cat conftest.er1 >&5
3014 rm -f conftest.er1 conftest.err
3015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3016 test $ac_status = 0; }
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3030 ac_clean_files_save=$ac_clean_files
3031 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3032 # Try to create an executable without -o first, disregard a.out.
3033 # It will help us diagnose broken compilers, and finding out an intuition
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3036 $as_echo_n "checking whether the C compiler works... " >&6; }
3037 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3039 # The possible output files:
3040 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3043 for ac_file in $ac_files
3046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3047 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3052 if { { ac_try="$ac_link_default"
3054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3055 *) ac_try_echo
=$ac_try;;
3057 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 $as_echo "$ac_try_echo"; } >&5
3059 (eval "$ac_link_default") 2>&5
3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3062 test $ac_status = 0; }; then :
3063 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3064 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3065 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3066 # so that the user can short-circuit this test for compilers unknown to
3068 for ac_file
in $ac_files ''
3070 test -f "$ac_file" ||
continue
3072 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3075 # We found the default executable, but exeext='' is most
3079 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3081 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3083 # We set ac_cv_exeext here because the later test for it is not
3084 # safe: cross compilers may not add the suffix if given an `-o'
3085 # argument, so we may need to know it at that point already.
3086 # Even if this section looks crufty: it has the advantage of
3093 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3098 if test -z "$ac_file"; then :
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3101 $as_echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.
$ac_ext >&5
3104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3106 as_fn_error
77 "C compiler cannot create executables
3107 See \`config.log' for more details" "$LINENO" 5 ; }
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3110 $as_echo "yes" >&6; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3113 $as_echo_n "checking for C compiler default output file name... " >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3115 $as_echo "$ac_file" >&6; }
3116 ac_exeext
=$ac_cv_exeext
3118 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3119 ac_clean_files
=$ac_clean_files_save
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3121 $as_echo_n "checking for suffix of executables... " >&6; }
3122 if { { ac_try
="$ac_link"
3124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3128 $as_echo "$ac_try_echo"; } >&5
3129 (eval "$ac_link") 2>&5
3131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3132 test $ac_status = 0; }; then :
3133 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3134 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3135 # work properly (i.e., refer to `conftest.exe'), while it won't with
3137 for ac_file
in conftest.exe conftest conftest.
*; do
3138 test -f "$ac_file" ||
continue
3140 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3141 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3149 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3150 See \`config.log' for more details" "$LINENO" 5 ; }
3152 rm -f conftest conftest
$ac_cv_exeext
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3154 $as_echo "$ac_cv_exeext" >&6; }
3156 rm -f conftest.
$ac_ext
3157 EXEEXT
=$ac_cv_exeext
3159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3165 FILE *f = fopen ("conftest.out", "w");
3166 return ferror (f) || fclose (f) != 0;
3172 ac_clean_files
="$ac_clean_files conftest.out"
3173 # Check that the compiler produces executables we can run. If not, either
3174 # the compiler is broken, or we cross compile.
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3176 $as_echo_n "checking whether we are cross compiling... " >&6; }
3177 if test "$cross_compiling" != yes; then
3178 { { ac_try
="$ac_link"
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_link") 2>&5
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }
3189 if { ac_try='./conftest$ac_cv_exeext'
3190 { { case "(($ac_try" in
3191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3192 *) ac_try_echo
=$ac_try;;
3194 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3195 $as_echo "$ac_try_echo"; } >&5
3196 (eval "$ac_try") 2>&5
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; }; }; then
3202 if test "$cross_compiling" = maybe
; then
3205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207 as_fn_error $?
"cannot run C compiled programs.
3208 If you meant to cross compile, use \`--host'.
3209 See \`config.log' for more details" "$LINENO" 5 ; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3214 $as_echo "$cross_compiling" >&6; }
3216 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3217 ac_clean_files
=$ac_clean_files_save
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3219 $as_echo_n "checking for suffix of object files... " >&6; }
3220 if ${ac_cv_objext+:} false
; then :
3221 $as_echo_n "(cached) " >&6
3223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3234 rm -f conftest.o conftest.obj
3235 if { { ac_try
="$ac_compile"
3237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3241 $as_echo "$ac_try_echo"; } >&5
3242 (eval "$ac_compile") 2>&5
3244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245 test $ac_status = 0; }; then :
3246 for ac_file in conftest.o conftest.obj conftest.*; do
3247 test -f "$ac_file" || continue;
3249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3250 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3255 $as_echo "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3260 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3261 See \
`config.log' for more details" "$LINENO" 5 ; }
3263 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3266 $as_echo "$ac_cv_objext" >&6; }
3267 OBJEXT=$ac_cv_objext
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3270 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3271 if ${ac_cv_c_compiler_gnu+:} false; then :
3272 $as_echo_n "(cached) " >&6
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3288 if ac_fn_c_try_compile "$LINENO"; then :
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3298 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3299 if test $ac_compiler_gnu = yes; then
3304 ac_test_CFLAGS=${CFLAGS+set}
3305 ac_save_CFLAGS=$CFLAGS
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3307 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3308 if ${ac_cv_prog_cc_g+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 ac_save_c_werror_flag=$ac_c_werror_flag
3312 ac_c_werror_flag=yes
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3326 if ac_fn_c_try_compile "$LINENO"; then :
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3341 if ac_fn_c_try_compile "$LINENO"; then :
3344 ac_c_werror_flag=$ac_save_c_werror_flag
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3357 if ac_fn_c_try_compile "$LINENO"; then :
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 ac_c_werror_flag=$ac_save_c_werror_flag
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3368 $as_echo "$ac_cv_prog_cc_g" >&6; }
3369 if test "$ac_test_CFLAGS" = set; then
3370 CFLAGS=$ac_save_CFLAGS
3371 elif test $ac_cv_prog_cc_g = yes; then
3372 if test "$GCC" = yes; then
3378 if test "$GCC" = yes; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3385 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3386 if ${ac_cv_prog_cc_c89+:} false; then :
3387 $as_echo_n "(cached) " >&6
3389 ac_cv_prog_cc_c89=no
3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392 /* end confdefs.h. */
3395 #include <sys/types.h>
3396 #include <sys/stat.h>
3397 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3398 struct buf { int x; };
3399 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3400 static char *e (p, i)
3406 static char *f (char * (*g) (char **, int), char **p, ...)
3411 s = g (p, va_arg (v,int));
3416 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3417 function prototypes and stuff, but not '\xHH' hex character constants.
3418 These don't provoke an error unfortunately, instead are silently treated
3419 as 'x'. The following induces an error, until -std is added to get
3420 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3421 array size at least. It's necessary to write '\x00'==0 to get something
3422 that's true only with -std. */
3423 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3425 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3426 inside strings and character constants. */
3428 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3430 int test (int i, double x);
3431 struct s1 {int (*f) (int a);};
3432 struct s2 {int (*f) (double a);};
3433 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3439 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3444 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3445 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3447 CC="$ac_save_CC $ac_arg"
3448 if ac_fn_c_try_compile "$LINENO"; then :
3449 ac_cv_prog_cc_c89=$ac_arg
3451 rm -f core conftest.err conftest.$ac_objext
3452 test "x$ac_cv_prog_cc_c89" != "xno" && break
3454 rm -f conftest.$ac_ext
3459 case "x$ac_cv_prog_cc_c89" in
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3462 $as_echo "none needed" >&6; } ;;
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3465 $as_echo "unsupported" >&6; } ;;
3467 CC="$CC $ac_cv_prog_cc_c89"
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3469 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3471 if test "x$ac_cv_prog_cc_c89" != xno; then :
3476 ac_cpp='$CPP $CPPFLAGS'
3477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3481 case $ac_cv_prog_cc_stdc in #(
3483 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3486 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3487 if ${ac_cv_prog_cc_c99+:} false; then :
3488 $as_echo_n "(cached) " >&6
3490 ac_cv_prog_cc_c99=no
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3495 #include <stdbool.h>
3500 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3501 #define debug(...) fprintf (stderr, __VA_ARGS__)
3502 #define showlist(...) puts (#__VA_ARGS__)
3503 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3505 test_varargs_macros (void)
3510 debug ("X = %d\n", x);
3511 showlist (The first, second, and third items.);
3512 report (x>y, "x is %d but y is %d", x, y);
3515 // Check long long types.
3516 #define BIG64 18446744073709551615ull
3517 #define BIG32 4294967295ul
3518 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3520 your preprocessor is broken;
3524 your preprocessor is broken;
3526 static long long int bignum = -9223372036854775807LL;
3527 static unsigned long long int ubignum = BIG64;
3529 struct incomplete_array
3537 const wchar_t *name;
3541 typedef const char *ccp;
3544 test_restrict (ccp restrict text)
3546 // See if C++-style comments work.
3547 // Iterate through items via the restricted pointer.
3548 // Also check for declarations in for loops.
3549 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3554 // Check varargs and va_copy.
3556 test_varargs (const char *format, ...)
3559 va_start (args, format);
3561 va_copy (args_copy, args);
3572 str = va_arg (args_copy, const char *);
3575 number = va_arg (args_copy, int);
3578 fnumber = va_arg (args_copy, double);
3593 _Bool success = false;
3596 if (test_restrict ("String literal") == 0)
3598 char *restrict newvar = "Another string";
3601 test_varargs ("s, d' f .", "string", 65, 34.234);
3602 test_varargs_macros ();
3604 // Check flexible array members.
3605 struct incomplete_array *ia =
3606 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3608 for (int i = 0; i < ia->datasize; ++i)
3609 ia->data[i] = i * 1.234;
3611 // Check named initializers.
3612 struct named_init ni = {
3614 .name = L"Test wide string",
3615 .average = 543.34343,
3620 int dynamic_array[ni.number];
3621 dynamic_array[ni.number - 1] = 543;
3623 // work around unused variable warnings
3624 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3625 || dynamic_array[ni.number - 1] != 543);
3631 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3633 CC="$ac_save_CC $ac_arg"
3634 if ac_fn_c_try_compile "$LINENO"; then :
3635 ac_cv_prog_cc_c99=$ac_arg
3637 rm -f core conftest.err conftest.$ac_objext
3638 test "x$ac_cv_prog_cc_c99" != "xno" && break
3640 rm -f conftest.$ac_ext
3645 case "x$ac_cv_prog_cc_c99" in
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3648 $as_echo "none needed" >&6; } ;;
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3651 $as_echo "unsupported" >&6; } ;;
3653 CC="$CC $ac_cv_prog_cc_c99"
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3655 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3657 if test "x$ac_cv_prog_cc_c99" != xno; then :
3658 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3661 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3662 if ${ac_cv_prog_cc_c89+:} false; then :
3663 $as_echo_n "(cached) " >&6
3665 ac_cv_prog_cc_c89=no
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3671 #include <sys/types.h>
3672 #include <sys/stat.h>
3673 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3674 struct buf { int x; };
3675 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3676 static char *e (p, i)
3682 static char *f (char * (*g) (char **, int), char **p, ...)
3687 s = g (p, va_arg (v,int));
3692 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3693 function prototypes and stuff, but not '\xHH' hex character constants.
3694 These don't provoke an error unfortunately, instead are silently treated
3695 as 'x'. The following induces an error, until -std is added to get
3696 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3697 array size at least. It's necessary to write '\x00'==0 to get something
3698 that's true only with -std. */
3699 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3701 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3702 inside strings and character constants. */
3704 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3706 int test (int i, double x);
3707 struct s1 {int (*f) (int a);};
3708 struct s2 {int (*f) (double a);};
3709 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3715 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3720 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3721 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3723 CC="$ac_save_CC $ac_arg"
3724 if ac_fn_c_try_compile "$LINENO"; then :
3725 ac_cv_prog_cc_c89=$ac_arg
3727 rm -f core conftest.err conftest.$ac_objext
3728 test "x$ac_cv_prog_cc_c89" != "xno" && break
3730 rm -f conftest.$ac_ext
3735 case "x$ac_cv_prog_cc_c89" in
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3738 $as_echo "none needed" >&6; } ;;
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3741 $as_echo "unsupported" >&6; } ;;
3743 CC="$CC $ac_cv_prog_cc_c89"
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3745 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3747 if test "x$ac_cv_prog_cc_c89" != xno; then :
3748 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3750 ac_cv_prog_cc_stdc=no
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3757 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3758 if ${ac_cv_prog_cc_stdc+:} false; then :
3759 $as_echo_n "(cached) " >&6
3762 case $ac_cv_prog_cc_stdc in #(
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3765 $as_echo "unsupported" >&6; } ;; #(
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3768 $as_echo "none needed" >&6; } ;; #(
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3771 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3775 ac_cpp='$CPP $CPPFLAGS'
3776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3780 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3781 # On Suns, sometimes $CPP names a directory.
3782 if test -n "$CPP" && test -d "$CPP"; then
3785 if test -z "$CPP"; then
3786 if ${ac_cv_prog_CPP+:} false; then :
3787 $as_echo_n "(cached) " >&6
3789 # Double quotes because CPP needs to be expanded
3790 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3793 for ac_c_preproc_warn_flag in '' yes
3795 # Use a header file that comes with gcc, so configuring glibc
3796 # with a fresh cross-compiler works.
3797 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3798 # <limits.h> exists even on freestanding compilers.
3799 # On the NeXT, cc -E runs the code through the compiler's parser,
3800 # not just through cpp. "Syntax error" is here to catch this case.
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3804 # include <limits.h>
3806 # include <assert.h>
3810 if ac_fn_c_try_cpp "$LINENO"; then :
3813 # Broken: fails on valid input.
3816 rm -f conftest.err conftest.i conftest.$ac_ext
3818 # OK, works on sane cases. Now check whether nonexistent headers
3819 # can be detected and how.
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3822 #include <ac_nonexistent.h>
3824 if ac_fn_c_try_cpp "$LINENO"; then :
3825 # Broken: success on invalid input.
3828 # Passes both tests.
3832 rm -f conftest.err conftest.i conftest.$ac_ext
3835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3836 rm -f conftest.i conftest.err conftest.
$ac_ext
3837 if $ac_preproc_ok; then :
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3850 $as_echo "$CPP" >&6; }
3852 for ac_c_preproc_warn_flag
in '' yes
3854 # Use a header file that comes with gcc, so configuring glibc
3855 # with a fresh cross-compiler works.
3856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3857 # <limits.h> exists even on freestanding compilers.
3858 # On the NeXT, cc -E runs the code through the compiler's parser,
3859 # not just through cpp. "Syntax error" is here to catch this case.
3860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3863 # include <limits.h>
3865 # include <assert.h>
3869 if ac_fn_c_try_cpp
"$LINENO"; then :
3872 # Broken: fails on valid input.
3875 rm -f conftest.err conftest.i conftest.
$ac_ext
3877 # OK, works on sane cases. Now check whether nonexistent headers
3878 # can be detected and how.
3879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3881 #include <ac_nonexistent.h>
3883 if ac_fn_c_try_cpp
"$LINENO"; then :
3884 # Broken: success on invalid input.
3887 # Passes both tests.
3891 rm -f conftest.err conftest.i conftest.
$ac_ext
3894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3895 rm -f conftest.i conftest.err conftest.
$ac_ext
3896 if $ac_preproc_ok; then :
3899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3901 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3902 See \`config.log' for more details" "$LINENO" 5 ; }
3906 ac_cpp
='$CPP $CPPFLAGS'
3907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3912 # Check for a compatible awk
3913 for ac_prog
in gawk nawk
3915 # Extract the first word of "$ac_prog", so it can be a program name with args.
3916 set dummy
$ac_prog; ac_word
=$2
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if ${ac_cv_prog_AWK+:} false
; then :
3920 $as_echo_n "(cached) " >&6
3922 if test -n "$AWK"; then
3923 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3929 test -z "$as_dir" && as_dir
=.
3930 for ac_exec_ext
in '' $ac_executable_extensions; do
3931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932 ac_cv_prog_AWK
="$ac_prog"
3933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 if test -n "$AWK"; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3945 $as_echo "$AWK" >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3952 test -n "$AWK" && break
3955 if test "$AWK" = ""; then
3956 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3958 # Extract the first word of "mmake", so it can be a program name with args.
3959 set dummy mmake
; ac_word
=$2
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3961 $as_echo_n "checking for $ac_word... " >&6; }
3962 if ${ac_cv_prog_MMAKE+:} false
; then :
3963 $as_echo_n "(cached) " >&6
3965 if test -n "$MMAKE"; then
3966 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3972 test -z "$as_dir" && as_dir
=.
3973 for ac_exec_ext
in '' $ac_executable_extensions; do
3974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3975 ac_cv_prog_MMAKE
="mmake "
3976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 MMAKE
=$ac_cv_prog_MMAKE
3986 if test -n "$MMAKE"; then
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3988 $as_echo "$MMAKE" >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991 $as_echo "no" >&6; }
3996 # Perform some default variable assignments. Note all of these will be
3997 # Regenerated from the script, so there is no need to cache them.
4000 if test "$GCC" = "yes"; then
4001 aros_gcc_ld
=`$CC -print-prog-name=ld`
4002 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4003 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_path_aros_host_ld+:} false
; then :
4007 $as_echo_n "(cached) " >&6
4009 case $aros_host_ld in
4011 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4015 for as_dir
in `dirname $aros_gcc_ld`
4018 test -z "$as_dir" && as_dir
=.
4019 for ac_exec_ext
in '' $ac_executable_extensions; do
4020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4021 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 aros_host_ld
=$ac_cv_path_aros_host_ld
4033 if test -n "$aros_host_ld"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4035 $as_echo "$aros_host_ld" >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4043 if test "$aros_host_ld" = ""; then
4044 # Extract the first word of "ld", so it can be a program name with args.
4045 set dummy ld
; ac_word
=$2
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4047 $as_echo_n "checking for $ac_word... " >&6; }
4048 if ${ac_cv_path_aros_host_ld+:} false
; then :
4049 $as_echo_n "(cached) " >&6
4051 case $aros_host_ld in
4053 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4060 test -z "$as_dir" && as_dir
=.
4061 for ac_exec_ext
in '' $ac_executable_extensions; do
4062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4063 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4074 aros_host_ld
=$ac_cv_path_aros_host_ld
4075 if test -n "$aros_host_ld"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4077 $as_echo "$aros_host_ld" >&6; }
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4085 if test "$aros_host_ld" = ""; then
4086 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4088 aros_host_make
="make"
4089 aros_host_cflags
=$CFLAGS
4090 aros_host_ldflags
=$LDFLAGS
4091 aros_host_debug
="-g -O0"
4092 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4093 aros_host_mkargs
="--no-print-directory"
4094 aros_host_incl
="/usr/include"
4095 aros_host_exe_suffix
="$EXEEXT"
4096 aros_host_lib_suffix
=""
4098 # Ignore all compliance, AROS ROMs = 0
4099 # KickStart v1.0 = 30
4100 # KickStart v1.3 = 34
4101 # KickStart v2.0 = 37
4102 # KickStart v3.0 = 39
4103 # KickStart v3.1 = 40
4105 aros_amigaos_compliance
=0
4107 for ac_prog
in aclocal aclocal19 aclocal-1.9
4109 # Extract the first word of "$ac_prog", so it can be a program name with args.
4110 set dummy
$ac_prog; ac_word
=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4114 $as_echo_n "(cached) " >&6
4116 if test -n "$aros_host_aclocal"; then
4117 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir
=.
4124 for ac_exec_ext
in '' $ac_executable_extensions; do
4125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4126 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4137 if test -n "$aros_host_aclocal"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4139 $as_echo "$aros_host_aclocal" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4146 test -n "$aros_host_aclocal" && break
4149 for ac_prog
in autoconf autoconf259 autoconf253
4151 # Extract the first word of "$ac_prog", so it can be a program name with args.
4152 set dummy
$ac_prog; ac_word
=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4156 $as_echo_n "(cached) " >&6
4158 if test -n "$aros_host_autoconf"; then
4159 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir
=.
4166 for ac_exec_ext
in '' $ac_executable_extensions; do
4167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4168 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4178 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4179 if test -n "$aros_host_autoconf"; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4181 $as_echo "$aros_host_autoconf" >&6; }
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184 $as_echo "no" >&6; }
4188 test -n "$aros_host_autoconf" && break
4191 for ac_prog
in autoheader autoheader259 autoheader253
4193 # Extract the first word of "$ac_prog", so it can be a program name with args.
4194 set dummy
$ac_prog; ac_word
=$2
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196 $as_echo_n "checking for $ac_word... " >&6; }
4197 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4198 $as_echo_n "(cached) " >&6
4200 if test -n "$aros_host_autoheader"; then
4201 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4207 test -z "$as_dir" && as_dir
=.
4208 for ac_exec_ext
in '' $ac_executable_extensions; do
4209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4210 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4220 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4221 if test -n "$aros_host_autoheader"; then
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4223 $as_echo "$aros_host_autoheader" >&6; }
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226 $as_echo "no" >&6; }
4230 test -n "$aros_host_autoheader" && break
4233 for ac_prog
in automake automake19 automake-1.9
4235 # Extract the first word of "$ac_prog", so it can be a program name with args.
4236 set dummy
$ac_prog; ac_word
=$2
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4238 $as_echo_n "checking for $ac_word... " >&6; }
4239 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4240 $as_echo_n "(cached) " >&6
4242 if test -n "$aros_host_automake"; then
4243 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir
=.
4250 for ac_exec_ext
in '' $ac_executable_extensions; do
4251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4252 ac_cv_prog_aros_host_automake
="$ac_prog"
4253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4262 aros_host_automake
=$ac_cv_prog_aros_host_automake
4263 if test -n "$aros_host_automake"; then
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4265 $as_echo "$aros_host_automake" >&6; }
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268 $as_echo "no" >&6; }
4272 test -n "$aros_host_automake" && break
4276 if test "$aros_host_aclocal" = ""; then
4277 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4279 if test "$aros_host_automake" = ""; then
4280 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4283 case "$aros_host_cc" in
4285 aros_host_cc_pipe
="-pipe"
4288 aros_host_cc_pipe
=""
4291 aros_host_cc_pipe
=""
4295 aros_kernel_cc_includes
=""
4296 aros_target_cc_includes
=""
4298 # ----------------------------------------------------------------------------------------
4299 # Host-specific defaults
4301 # Override this to "yes" in order to force a specific build to use real AROS crosscompiler
4302 # instead of a wrapper script.
4303 # Useful for non-ELF hosts (like Windows and Darwin).
4304 # Can also be overriden in target section below
4307 # This is the main host configuration section. It is where the host
4308 # can change the values of any variables it needs to change. We do
4309 # not look at anything that compiles to the target yet, we'll get
4314 aros_host_arch
="aros"
4315 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4318 aros_host_cpu
="i386"
4321 aros_host_cpu
="x86_64"
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4328 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4329 aros_host_cpu
="$host_cpu"
4335 aros_host_arch
="linux"
4336 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4337 android_build_os
="linux-x86"
4338 android_tool
="android"
4339 default_android_sdk
="/opt/android-sdk-linux_x86"
4342 aros_host_cpu
="i386"
4345 aros_host_cpu
="x86_64"
4348 aros_host_cpu
="m68k"
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4358 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4359 aros_host_cpu
="$host_cpu"
4365 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4366 aros_host_make
="gmake"
4367 aros_host_arch
="freebsd"
4368 aros_host_cpu
="i386"
4370 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4374 aros_object_format
="elf_i386"
4378 aros_object_format
="elf_i386_fbsd"
4385 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4386 aros_host_arch
="darwin"
4388 android_build_os
="darwin-x86"
4389 android_tool
="android"
4390 default_android_sdk
="/android-sdk-mac_x86"
4393 aros_host_cpu
="i386"
4396 aros_host_cpu
="x86_64"
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4403 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4404 aros_host_cpu
="$host_cpu"
4408 aros_host_ldflags
="$aros_host_ldflags -liconv"
4413 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4414 aros_host_make
="gmake"
4415 aros_host_arch
="dragonfly"
4418 aros_host_cpu
="i386"
4421 aros_host_cpu
="x86_64"
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4425 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4426 aros_host_cpu
="$host_cpu"
4432 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4433 aros_host_make
="gmake"
4434 aros_host_arch
="netbsd"
4437 aros_host_cpu
="i386"
4440 aros_host_cpu
="m68k"
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4444 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4445 aros_host_cpu
="$host_cpu"
4448 aros_host_lib_suffix
=".0.0"
4452 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4453 aros_host_make
="gmake"
4454 aros_host_arch
="openbsd"
4457 aros_host_cpu
="i386"
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4461 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4462 aros_host_cpu
="$host_cpu"
4468 aros_host_arch
="solaris"
4469 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4472 aros_host_cpu
="i386"
4475 aros_host_cpu
="sparc"
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4479 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4480 aros_host_cpu
="$host_cpu"
4486 aros_host_arch
="morphos"
4491 aros_host_arch
="amiga"
4496 TOUCH
="/gg/bin/touch"
4499 aros_host_cpu
="m68k"
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4506 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4507 aros_host_cpu
="$host_cpu"
4513 aros_host_arch
="cygwin"
4515 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4516 android_build_os
="windows"
4517 android_tool
="android.bat"
4518 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4522 aros_host_cpu
="i386"
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4526 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4527 aros_host_cpu
="$host_cpu"
4533 aros_host_arch
="mingw32"
4535 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4536 android_build_os
="windows"
4537 android_tool
="android.bat"
4538 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4544 $as_echo_n "checking for Windows native gcc target... " >&6; }
4545 host_cpu
=`gcc -dumpmachine`
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4547 $as_echo "$host_cpu" >&6; }
4554 aros_host_cpu
="i386"
4558 aros_host_cpu
="x86_64"
4559 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4564 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4565 aros_host_cpu
="$host_cpu"
4570 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4574 # Extract the first word of "ar", so it can be a program name with args.
4575 set dummy
ar; 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_ar+:} false
; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -n "$aros_host_ar"; then
4582 ac_cv_prog_aros_host_ar
="$aros_host_ar" # 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_ar
="ar cr"
4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 aros_host_ar
=$ac_cv_prog_aros_host_ar
4602 if test -n "$aros_host_ar"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4604 $as_echo "$aros_host_ar" >&6; }
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4611 if test "$aros_host_ar" = ""; then
4612 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4614 # Extract the first word of "ranlib", so it can be a program name with args.
4615 set dummy ranlib
; 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_ranlib+:} false
; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -n "$aros_host_ranlib"; then
4622 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # 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_ranlib
="ranlib "
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4642 if test -n "$aros_host_ranlib"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4644 $as_echo "$aros_host_ranlib" >&6; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4651 if test "$aros_host_ranlib" = ""; then
4652 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4654 # Extract the first word of "strip", so it can be a program name with args.
4655 set dummy strip
; ac_word
=$2
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657 $as_echo_n "checking for $ac_word... " >&6; }
4658 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4659 $as_echo_n "(cached) " >&6
4661 if test -n "$aros_host_strip"; then
4662 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4668 test -z "$as_dir" && as_dir
=.
4669 for ac_exec_ext
in '' $ac_executable_extensions; do
4670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4671 ac_cv_prog_aros_host_strip
="strip "
4672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681 aros_host_strip
=$ac_cv_prog_aros_host_strip
4682 if test -n "$aros_host_strip"; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4684 $as_echo "$aros_host_strip" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4691 if test "$aros_host_strip" = ""; then
4692 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4695 # Extract the first word of "rm", so it can be a program name with args.
4696 set dummy
rm; 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_RM+:} false
; then :
4700 $as_echo_n "(cached) " >&6
4702 if test -n "$RM"; then
4703 ac_cv_prog_RM
="$RM" # 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
4712 ac_cv_prog_RM
="rm -rf"
4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 if test -n "$RM"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4725 $as_echo "$RM" >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4732 if test "$RM" = ""; then
4733 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4735 # Extract the first word of "cp", so it can be a program name with args.
4736 set dummy
cp; 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_CP+:} false
; then :
4740 $as_echo_n "(cached) " >&6
4742 if test -n "$CP"; then
4743 ac_cv_prog_CP
="$CP" # 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 "$CP"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4765 $as_echo "$CP" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4772 if test "$CP" = ""; then
4773 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4775 # Extract the first word of "mv", so it can be a program name with args.
4776 set dummy
mv; 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_MV+:} false
; then :
4780 $as_echo_n "(cached) " >&6
4782 if test -n "$MV"; then
4783 ac_cv_prog_MV
="$MV" # 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
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 if test -n "$MV"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4805 $as_echo "$MV" >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4812 if test "$MV" = ""; then
4813 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4815 # Extract the first word of "echo", so it can be a program name with args.
4816 set dummy
echo; 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_ECHO+:} false
; then :
4820 $as_echo_n "(cached) " >&6
4822 if test -n "$ECHO"; then
4823 ac_cv_prog_ECHO
="$ECHO" # 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_ECHO
="echo "
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 ECHO
=$ac_cv_prog_ECHO
4843 if test -n "$ECHO"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4845 $as_echo "$ECHO" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4852 if test "$ECHO" = ""; then
4853 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4855 # Extract the first word of "mkdir", so it can be a program name with args.
4856 set dummy mkdir
; 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_MKDIR+:} false
; then :
4860 $as_echo_n "(cached) " >&6
4862 if test -n "$MKDIR"; then
4863 ac_cv_prog_MKDIR
="$MKDIR" # 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_MKDIR
="mkdir -p"
4873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 MKDIR
=$ac_cv_prog_MKDIR
4883 if test -n "$MKDIR"; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4885 $as_echo "$MKDIR" >&6; }
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4888 $as_echo "no" >&6; }
4892 if test "$MKDIR" = ""; then
4893 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4895 # Extract the first word of "touch", so it can be a program name with args.
4896 set dummy
touch; 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_TOUCH+:} false
; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$TOUCH"; then
4903 ac_cv_prog_TOUCH
="$TOUCH" # 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_TOUCH
="touch "
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 TOUCH
=$ac_cv_prog_TOUCH
4923 if test -n "$TOUCH"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4925 $as_echo "$TOUCH" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 if test "$TOUCH" = ""; then
4933 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4935 # Extract the first word of "sort", so it can be a program name with args.
4936 set dummy
sort; 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_SORT+:} false
; then :
4940 $as_echo_n "(cached) " >&6
4942 if test -n "$SORT"; then
4943 ac_cv_prog_SORT
="$SORT" # 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_SORT
="sort "
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 SORT
=$ac_cv_prog_SORT
4963 if test -n "$SORT"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4965 $as_echo "$SORT" >&6; }
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4972 if test "$SORT" = ""; then
4973 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4975 # Extract the first word of "uniq", so it can be a program name with args.
4976 set dummy
uniq; 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_UNIQ+:} false
; then :
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$UNIQ"; then
4983 ac_cv_prog_UNIQ
="$UNIQ" # 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_UNIQ
="uniq "
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 UNIQ
=$ac_cv_prog_UNIQ
5003 if test -n "$UNIQ"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5005 $as_echo "$UNIQ" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5012 if test "$UNIQ" = ""; then
5013 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5015 # Extract the first word of "true", so it can be a program name with args.
5016 set dummy true
; 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_NOP+:} false
; then :
5020 $as_echo_n "(cached) " >&6
5022 if test -n "$NOP"; then
5023 ac_cv_prog_NOP
="$NOP" # 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_NOP
="true "
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 if test -n "$NOP"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5045 $as_echo "$NOP" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5052 if test "$NOP" = ""; then
5053 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5055 # Extract the first word of "cat", so it can be a program name with args.
5056 set dummy
cat; 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_CAT+:} false
; then :
5060 $as_echo_n "(cached) " >&6
5062 if test -n "$CAT"; then
5063 ac_cv_prog_CAT
="$CAT" # 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_CAT
="cat "
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 if test -n "$CAT"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5085 $as_echo "$CAT" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5092 if test "$CAT" = ""; then
5093 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5095 # Extract the first word of "bison", so it can be a program name with args.
5096 set dummy bison
; 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_BISON+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -n "$BISON"; then
5103 ac_cv_prog_BISON
="$BISON" # 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_BISON
="bison "
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 BISON
=$ac_cv_prog_BISON
5123 if test -n "$BISON"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5125 $as_echo "$BISON" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5132 if test "$BISON" = ""; then
5133 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5135 # Extract the first word of "flex", so it can be a program name with args.
5136 set dummy flex
; 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_FLEX+:} false
; then :
5140 $as_echo_n "(cached) " >&6
5142 if test -n "$FLEX"; then
5143 ac_cv_prog_FLEX
="$FLEX" # 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_FLEX
="flex "
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 FLEX
=$ac_cv_prog_FLEX
5163 if test -n "$FLEX"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5165 $as_echo "$FLEX" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5172 if test "$FLEX" = ""; then
5173 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5175 # Extract the first word of "pngtopnm", so it can be a program name with args.
5176 set dummy pngtopnm
; 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_PNGTOPNM+:} false
; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$PNGTOPNM"; then
5183 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # 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_PNGTOPNM
="pngtopnm "
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5203 if test -n "$PNGTOPNM"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5205 $as_echo "$PNGTOPNM" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 if test "$PNGTOPNM" = ""; then
5213 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5215 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5216 set dummy ppmtoilbm
; 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_PPMTOILBM+:} false
; then :
5220 $as_echo_n "(cached) " >&6
5222 if test -n "$PPMTOILBM"; then
5223 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # 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_PPMTOILBM
="ppmtoilbm "
5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5243 if test -n "$PPMTOILBM"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5245 $as_echo "$PPMTOILBM" >&6; }
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5252 if test "$PPMTOILBM" = ""; then
5253 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5255 # Extract the first word of "sed", so it can be a program name with args.
5256 set dummy
sed; 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_SED+:} false
; then :
5260 $as_echo_n "(cached) " >&6
5262 if test -n "$SED"; then
5263 ac_cv_prog_SED
="$SED" # 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_SED
="sed "
5273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 if test -n "$SED"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5285 $as_echo "$SED" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5292 if test "$SED" = ""; then
5293 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5295 # Extract the first word of "chmod", so it can be a program name with args.
5296 set dummy
chmod; 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_CHMOD+:} false
; then :
5300 $as_echo_n "(cached) " >&6
5302 if test -n "$CHMOD"; then
5303 ac_cv_prog_CHMOD
="$CHMOD" # 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_CHMOD
="chmod "
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 CHMOD
=$ac_cv_prog_CHMOD
5323 if test -n "$CHMOD"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5325 $as_echo "$CHMOD" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5332 if test "$CHMOD" = ""; then
5333 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5335 # Extract the first word of "patch", so it can be a program name with args.
5336 set dummy
patch; ac_word
=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_PATCH+:} false
; then :
5340 $as_echo_n "(cached) " >&6
5342 if test -n "$PATCH"; then
5343 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir
=.
5350 for ac_exec_ext
in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_PATCH
="patch "
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 PATCH
=$ac_cv_prog_PATCH
5363 if test -n "$PATCH"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5365 $as_echo "$PATCH" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5372 if test "$PATCH" = ""; then
5373 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5380 if test -n "$PYTHON"; then
5381 # If the user set $PYTHON, use it and don't search something else.
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5383 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5384 prog
="import sys, string
5385 # split strings by '.' and convert to numeric. Append some zeros
5386 # because we need at least 4 digits for the hex conversion.
5387 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5389 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5390 sys.exit(sys.hexversion < minverhex)"
5391 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5392 ($PYTHON -c "$prog") >&5 2>&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); }; then :
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5397 $as_echo "yes" >&6; }
5399 as_fn_error $?
"too old" "$LINENO" 5
5401 am_display_PYTHON
=$PYTHON
5403 # Otherwise, try each interpreter until we find one that satisfies
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5406 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5407 if ${am_cv_pathless_PYTHON+:} false
; then :
5408 $as_echo_n "(cached) " >&6
5411 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
5412 test "$am_cv_pathless_PYTHON" = none
&& break
5413 prog
="import sys, string
5414 # split strings by '.' and convert to numeric. Append some zeros
5415 # because we need at least 4 digits for the hex conversion.
5416 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5418 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5419 sys.exit(sys.hexversion < minverhex)"
5420 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5421 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 (exit $ac_status); }; then :
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5430 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5431 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5432 if test "$am_cv_pathless_PYTHON" = none
; then
5435 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5436 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_path_PYTHON+:} false
; then :
5440 $as_echo_n "(cached) " >&6
5444 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir
=.
5452 for ac_exec_ext
in '' $ac_executable_extensions; do
5453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5454 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 PYTHON
=$ac_cv_path_PYTHON
5466 if test -n "$PYTHON"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5468 $as_echo "$PYTHON" >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5476 am_display_PYTHON
=$am_cv_pathless_PYTHON
5480 if test "$PYTHON" = :; then
5481 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5486 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5487 if ${am_cv_python_version+:} false
; then :
5488 $as_echo_n "(cached) " >&6
5490 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5493 $as_echo "$am_cv_python_version" >&6; }
5494 PYTHON_VERSION
=$am_cv_python_version
5498 PYTHON_PREFIX
='${prefix}'
5500 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5505 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5506 if ${am_cv_python_platform+:} false
; then :
5507 $as_echo_n "(cached) " >&6
5509 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5512 $as_echo "$am_cv_python_platform" >&6; }
5513 PYTHON_PLATFORM
=$am_cv_python_platform
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5519 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5520 if ${am_cv_python_pythondir+:} false
; then :
5521 $as_echo_n "(cached) " >&6
5523 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5524 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5527 $as_echo "$am_cv_python_pythondir" >&6; }
5528 pythondir
=$am_cv_python_pythondir
5532 pkgpythondir
=\
${pythondir}/$PACKAGE
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5536 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5537 if ${am_cv_python_pyexecdir+:} false
; then :
5538 $as_echo_n "(cached) " >&6
5540 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5541 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5544 $as_echo "$am_cv_python_pyexecdir" >&6; }
5545 pyexecdir
=$am_cv_python_pyexecdir
5549 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5567 # Check for some includes for the X11 HIDD and the kernel
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5571 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5572 if ${ac_cv_path_GREP+:} false
; then :
5573 $as_echo_n "(cached) " >&6
5575 if test -z "$GREP"; then
5576 ac_path_GREP_found
=false
5577 # Loop through the user's path and test for each of PROGNAME-LIST
5578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5579 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5582 test -z "$as_dir" && as_dir
=.
5583 for ac_prog
in grep ggrep
; do
5584 for ac_exec_ext
in '' $ac_executable_extensions; do
5585 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5586 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5587 # Check for GNU ac_path_GREP and select it if it is found.
5588 # Check for GNU $ac_path_GREP
5589 case `"$ac_path_GREP" --version 2>&1` in
5591 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5594 $as_echo_n 0123456789 >"conftest.in"
5597 cat "conftest.in" "conftest.in" >"conftest.tmp"
5598 mv "conftest.tmp" "conftest.in"
5599 cp "conftest.in" "conftest.nl"
5600 $as_echo 'GREP' >> "conftest.nl"
5601 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5602 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5603 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5604 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5605 # Best one so far, save it but keep looking for a better one
5606 ac_cv_path_GREP
="$ac_path_GREP"
5607 ac_path_GREP_max
=$ac_count
5609 # 10*(2^10) chars as input seems more than enough
5610 test $ac_count -gt 10 && break
5612 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5615 $ac_path_GREP_found && break 3
5620 if test -z "$ac_cv_path_GREP"; then
5621 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5624 ac_cv_path_GREP
=$GREP
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5629 $as_echo "$ac_cv_path_GREP" >&6; }
5630 GREP
="$ac_cv_path_GREP"
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5634 $as_echo_n "checking for egrep... " >&6; }
5635 if ${ac_cv_path_EGREP+:} false
; then :
5636 $as_echo_n "(cached) " >&6
5638 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5639 then ac_cv_path_EGREP
="$GREP -E"
5641 if test -z "$EGREP"; then
5642 ac_path_EGREP_found
=false
5643 # Loop through the user's path and test for each of PROGNAME-LIST
5644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5645 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5648 test -z "$as_dir" && as_dir
=.
5649 for ac_prog
in egrep; do
5650 for ac_exec_ext
in '' $ac_executable_extensions; do
5651 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5652 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5653 # Check for GNU ac_path_EGREP and select it if it is found.
5654 # Check for GNU $ac_path_EGREP
5655 case `"$ac_path_EGREP" --version 2>&1` in
5657 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5660 $as_echo_n 0123456789 >"conftest.in"
5663 cat "conftest.in" "conftest.in" >"conftest.tmp"
5664 mv "conftest.tmp" "conftest.in"
5665 cp "conftest.in" "conftest.nl"
5666 $as_echo 'EGREP' >> "conftest.nl"
5667 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5668 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5669 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5670 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5671 # Best one so far, save it but keep looking for a better one
5672 ac_cv_path_EGREP
="$ac_path_EGREP"
5673 ac_path_EGREP_max
=$ac_count
5675 # 10*(2^10) chars as input seems more than enough
5676 test $ac_count -gt 10 && break
5678 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5681 $ac_path_EGREP_found && break 3
5686 if test -z "$ac_cv_path_EGREP"; then
5687 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5690 ac_cv_path_EGREP
=$EGREP
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5696 $as_echo "$ac_cv_path_EGREP" >&6; }
5697 EGREP
="$ac_cv_path_EGREP"
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5701 $as_echo_n "checking for ANSI C header files... " >&6; }
5702 if ${ac_cv_header_stdc+:} false
; then :
5703 $as_echo_n "(cached) " >&6
5705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5720 if ac_fn_c_try_compile
"$LINENO"; then :
5721 ac_cv_header_stdc
=yes
5723 ac_cv_header_stdc
=no
5725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5727 if test $ac_cv_header_stdc = yes; then
5728 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5730 /* end confdefs.h. */
5734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5735 $EGREP "memchr" >/dev
/null
2>&1; then :
5738 ac_cv_header_stdc
=no
5744 if test $ac_cv_header_stdc = yes; then
5745 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5747 /* end confdefs.h. */
5751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5752 $EGREP "free" >/dev
/null
2>&1; then :
5755 ac_cv_header_stdc
=no
5761 if test $ac_cv_header_stdc = yes; then
5762 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5763 if test "$cross_compiling" = yes; then :
5766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5767 /* end confdefs.h. */
5770 #if ((' ' & 0x0FF) == 0x020)
5771 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5772 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5774 # define ISLOWER(c) \
5775 (('a' <= (c) && (c) <= 'i') \
5776 || ('j' <= (c) && (c) <= 'r') \
5777 || ('s' <= (c) && (c) <= 'z'))
5778 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5781 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5786 for (i = 0; i < 256; i++)
5787 if (XOR (islower (i), ISLOWER (i))
5788 || toupper (i) != TOUPPER (i))
5793 if ac_fn_c_try_run
"$LINENO"; then :
5796 ac_cv_header_stdc
=no
5798 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5799 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5805 $as_echo "$ac_cv_header_stdc" >&6; }
5806 if test $ac_cv_header_stdc = yes; then
5808 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5812 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5813 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5814 inttypes.h stdint.h unistd.h
5816 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5817 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5819 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5820 cat >>confdefs.h
<<_ACEOF
5821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5829 for ac_header
in sys
/ipc.h sys
/shm.h \
5830 sys
/mmap.h sys
/mman.h sysexits.h \
5831 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5834 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5835 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5836 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5837 cat >>confdefs.h
<<_ACEOF
5838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5846 for ac_header
in sys
/mount.h
5848 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5850 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
5851 cat >>confdefs.h
<<_ACEOF
5852 #define HAVE_SYS_MOUNT_H 1
5861 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5862 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5864 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5865 if eval \
${$as_ac_Header+:} false
; then :
5866 $as_echo_n "(cached) " >&6
5868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5870 #include <sys/types.h>
5882 if ac_fn_c_try_compile
"$LINENO"; then :
5883 eval "$as_ac_Header=yes"
5885 eval "$as_ac_Header=no"
5887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5889 eval ac_res
=\$
$as_ac_Header
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5891 $as_echo "$ac_res" >&6; }
5892 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5893 cat >>confdefs.h
<<_ACEOF
5894 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5897 ac_header_dirent
=$ac_hdr; break
5901 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5902 if test $ac_header_dirent = dirent.h
; then
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5904 $as_echo_n "checking for library containing opendir... " >&6; }
5905 if ${ac_cv_search_opendir+:} false
; then :
5906 $as_echo_n "(cached) " >&6
5908 ac_func_search_save_LIBS
=$LIBS
5909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5912 /* Override any GCC internal prototype to avoid an error.
5913 Use char because int might match the return type of a GCC
5914 builtin and then its argument prototype would still apply. */
5927 for ac_lib
in '' dir
; do
5928 if test -z "$ac_lib"; then
5929 ac_res
="none required"
5932 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5934 if ac_fn_c_try_link
"$LINENO"; then :
5935 ac_cv_search_opendir
=$ac_res
5937 rm -f core conftest.err conftest.
$ac_objext \
5939 if ${ac_cv_search_opendir+:} false
; then :
5943 if ${ac_cv_search_opendir+:} false
; then :
5946 ac_cv_search_opendir
=no
5949 LIBS
=$ac_func_search_save_LIBS
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5952 $as_echo "$ac_cv_search_opendir" >&6; }
5953 ac_res
=$ac_cv_search_opendir
5954 if test "$ac_res" != no
; then :
5955 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5961 $as_echo_n "checking for library containing opendir... " >&6; }
5962 if ${ac_cv_search_opendir+:} false
; then :
5963 $as_echo_n "(cached) " >&6
5965 ac_func_search_save_LIBS
=$LIBS
5966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h. */
5969 /* Override any GCC internal prototype to avoid an error.
5970 Use char because int might match the return type of a GCC
5971 builtin and then its argument prototype would still apply. */
5984 for ac_lib
in '' x
; do
5985 if test -z "$ac_lib"; then
5986 ac_res
="none required"
5989 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5991 if ac_fn_c_try_link
"$LINENO"; then :
5992 ac_cv_search_opendir
=$ac_res
5994 rm -f core conftest.err conftest.
$ac_objext \
5996 if ${ac_cv_search_opendir+:} false
; then :
6000 if ${ac_cv_search_opendir+:} false
; then :
6003 ac_cv_search_opendir
=no
6006 LIBS
=$ac_func_search_save_LIBS
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6009 $as_echo "$ac_cv_search_opendir" >&6; }
6010 ac_res
=$ac_cv_search_opendir
6011 if test "$ac_res" != no
; then :
6012 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6019 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6020 if ${ac_cv_header_stat_broken+:} false
; then :
6021 $as_echo_n "(cached) " >&6
6023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6024 /* end confdefs.h. */
6025 #include <sys/types.h>
6026 #include <sys/stat.h>
6028 #if defined S_ISBLK && defined S_IFDIR
6029 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6032 #if defined S_ISBLK && defined S_IFCHR
6033 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6036 #if defined S_ISLNK && defined S_IFREG
6037 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6040 #if defined S_ISSOCK && defined S_IFREG
6041 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6045 if ac_fn_c_try_compile
"$LINENO"; then :
6046 ac_cv_header_stat_broken
=no
6048 ac_cv_header_stat_broken
=yes
6050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6053 $as_echo "$ac_cv_header_stat_broken" >&6; }
6054 if test $ac_cv_header_stat_broken = yes; then
6056 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6061 $as_echo_n "checking for ANSI C header files... " >&6; }
6062 if ${ac_cv_header_stdc+:} false
; then :
6063 $as_echo_n "(cached) " >&6
6065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6080 if ac_fn_c_try_compile
"$LINENO"; then :
6081 ac_cv_header_stdc
=yes
6083 ac_cv_header_stdc
=no
6085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6087 if test $ac_cv_header_stdc = yes; then
6088 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6090 /* end confdefs.h. */
6094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6095 $EGREP "memchr" >/dev
/null
2>&1; then :
6098 ac_cv_header_stdc
=no
6104 if test $ac_cv_header_stdc = yes; then
6105 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6112 $EGREP "free" >/dev
/null
2>&1; then :
6115 ac_cv_header_stdc
=no
6121 if test $ac_cv_header_stdc = yes; then
6122 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6123 if test "$cross_compiling" = yes; then :
6126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6127 /* end confdefs.h. */
6130 #if ((' ' & 0x0FF) == 0x020)
6131 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6132 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6134 # define ISLOWER(c) \
6135 (('a' <= (c) && (c) <= 'i') \
6136 || ('j' <= (c) && (c) <= 'r') \
6137 || ('s' <= (c) && (c) <= 'z'))
6138 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6141 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6146 for (i = 0; i < 256; i++)
6147 if (XOR (islower (i), ISLOWER (i))
6148 || toupper (i) != TOUPPER (i))
6153 if ac_fn_c_try_run
"$LINENO"; then :
6156 ac_cv_header_stdc
=no
6158 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6159 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6165 $as_echo "$ac_cv_header_stdc" >&6; }
6166 if test $ac_cv_header_stdc = yes; then
6168 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6173 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6174 if ${ac_cv_header_sys_wait_h+:} false
; then :
6175 $as_echo_n "(cached) " >&6
6177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6178 /* end confdefs.h. */
6179 #include <sys/types.h>
6180 #include <sys/wait.h>
6182 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6185 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6193 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6198 if ac_fn_c_try_compile
"$LINENO"; then :
6199 ac_cv_header_sys_wait_h
=yes
6201 ac_cv_header_sys_wait_h
=no
6203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6206 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6207 if test $ac_cv_header_sys_wait_h = yes; then
6209 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6214 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6215 if ${ac_cv_header_time+:} false
; then :
6216 $as_echo_n "(cached) " >&6
6218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6220 #include <sys/types.h>
6221 #include <sys/time.h>
6227 if ((struct tm *) 0)
6233 if ac_fn_c_try_compile
"$LINENO"; then :
6234 ac_cv_header_time
=yes
6236 ac_cv_header_time
=no
6238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6241 $as_echo "$ac_cv_header_time" >&6; }
6242 if test $ac_cv_header_time = yes; then
6244 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6248 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6249 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6251 cat >>confdefs.h
<<_ACEOF
6252 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6256 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6261 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6262 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6264 cat >>confdefs.h
<<_ACEOF
6265 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6269 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6272 case " $LIBOBJS " in
6273 *" fileblocks.$ac_objext "* ) ;;
6274 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6281 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6282 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6284 cat >>confdefs.h
<<_ACEOF
6285 #define HAVE_STRUCT_STAT_ST_RDEV 1
6289 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6295 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6296 if ${ac_cv_struct_tm+:} false
; then :
6297 $as_echo_n "(cached) " >&6
6299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h. */
6301 #include <sys/types.h>
6308 int *p = &tm.tm_sec;
6314 if ac_fn_c_try_compile
"$LINENO"; then :
6315 ac_cv_struct_tm
=time.h
6317 ac_cv_struct_tm
=sys
/time.h
6319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6322 $as_echo "$ac_cv_struct_tm" >&6; }
6323 if test $ac_cv_struct_tm = sys
/time.h
; then
6325 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6329 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6330 #include <$ac_cv_struct_tm>
6333 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6335 cat >>confdefs.h
<<_ACEOF
6336 #define HAVE_STRUCT_TM_TM_ZONE 1
6342 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6344 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6347 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6349 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6355 cat >>confdefs.h
<<_ACEOF
6356 #define HAVE_DECL_TZNAME $ac_have_decl
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6360 $as_echo_n "checking for tzname... " >&6; }
6361 if ${ac_cv_var_tzname+:} false
; then :
6362 $as_echo_n "(cached) " >&6
6364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6367 #if !HAVE_DECL_TZNAME
6368 extern char *tzname[];
6374 return tzname[0][0];
6379 if ac_fn_c_try_link
"$LINENO"; then :
6380 ac_cv_var_tzname
=yes
6384 rm -f core conftest.err conftest.
$ac_objext \
6385 conftest
$ac_exeext conftest.
$ac_ext
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6388 $as_echo "$ac_cv_var_tzname" >&6; }
6389 if test $ac_cv_var_tzname = yes; then
6391 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6396 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6397 if test "x$ac_cv_type_off_t" = xyes
; then :
6401 cat >>confdefs.h
<<_ACEOF
6402 #define off_t long int
6407 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6408 if test "x$ac_cv_type_pid_t" = xyes
; then :
6412 cat >>confdefs.h
<<_ACEOF
6418 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6419 if test "x$ac_cv_type_size_t" = xyes
; then :
6423 cat >>confdefs.h
<<_ACEOF
6424 #define size_t unsigned int
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6430 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6431 if ${ac_cv_type_uid_t+:} false
; then :
6432 $as_echo_n "(cached) " >&6
6434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6436 #include <sys/types.h>
6439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6440 $EGREP "uid_t" >/dev
/null
2>&1; then :
6441 ac_cv_type_uid_t
=yes
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6449 $as_echo "$ac_cv_type_uid_t" >&6; }
6450 if test $ac_cv_type_uid_t = no
; then
6452 $as_echo "#define uid_t int" >>confdefs.h
6455 $as_echo "#define gid_t int" >>confdefs.h
6460 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6461 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6463 cat >>confdefs.h
<<_ACEOF
6464 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6471 # Look for some functions
6472 for ac_func
in getpagesize kqueue statfs statvfs \
6473 clone kse_create rfork_thread thr_create sa_register \
6474 getcontext makecontext setcontext sigaltstack swapcontext
6476 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6477 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6478 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6479 cat >>confdefs.h
<<_ACEOF
6480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6490 for ac_header
in $ac_header_list
6492 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6493 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6495 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6496 cat >>confdefs.h
<<_ACEOF
6497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6511 for ac_func
in getpagesize
6513 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6514 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6515 cat >>confdefs.h
<<_ACEOF
6516 #define HAVE_GETPAGESIZE 1
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6523 $as_echo_n "checking for working mmap... " >&6; }
6524 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6525 $as_echo_n "(cached) " >&6
6527 if test "$cross_compiling" = yes; then :
6528 ac_cv_func_mmap_fixed_mapped
=no
6530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 $ac_includes_default
6533 /* malloc might have been renamed as rpl_malloc. */
6536 /* Thanks to Mike Haertel and Jim Avera for this test.
6537 Here is a matrix of mmap possibilities:
6538 mmap private not fixed
6539 mmap private fixed at somewhere currently unmapped
6540 mmap private fixed at somewhere already mapped
6541 mmap shared not fixed
6542 mmap shared fixed at somewhere currently unmapped
6543 mmap shared fixed at somewhere already mapped
6544 For private mappings, we should verify that changes cannot be read()
6545 back from the file, nor mmap's back from the file at a different
6546 address. (There have been systems where private was not correctly
6547 implemented like the infamous i386 svr4.0, and systems where the
6548 VM page cache was not coherent with the file system buffer cache
6549 like early versions of FreeBSD and possibly contemporary NetBSD.)
6550 For shared mappings, we should conversely verify that changes get
6551 propagated back to all the places they're supposed to be.
6553 Grep wants private fixed already mapped.
6554 The main things grep needs to know about mmap are:
6555 * does it exist and is it safe to write into the mmap'd area
6556 * how to use it (BSD variants) */
6559 #include <sys/mman.h>
6561 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6565 /* This mess was copied from the GNU getpagesize.h. */
6566 #ifndef HAVE_GETPAGESIZE
6567 # ifdef _SC_PAGESIZE
6568 # define getpagesize() sysconf(_SC_PAGESIZE)
6569 # else /* no _SC_PAGESIZE */
6570 # ifdef HAVE_SYS_PARAM_H
6571 # include <sys/param.h>
6572 # ifdef EXEC_PAGESIZE
6573 # define getpagesize() EXEC_PAGESIZE
6574 # else /* no EXEC_PAGESIZE */
6576 # define getpagesize() NBPG * CLSIZE
6579 # endif /* no CLSIZE */
6580 # else /* no NBPG */
6582 # define getpagesize() NBPC
6583 # else /* no NBPC */
6585 # define getpagesize() PAGESIZE
6586 # endif /* PAGESIZE */
6587 # endif /* no NBPC */
6588 # endif /* no NBPG */
6589 # endif /* no EXEC_PAGESIZE */
6590 # else /* no HAVE_SYS_PARAM_H */
6591 # define getpagesize() 8192 /* punt totally */
6592 # endif /* no HAVE_SYS_PARAM_H */
6593 # endif /* no _SC_PAGESIZE */
6595 #endif /* no HAVE_GETPAGESIZE */
6600 char *data, *data2, *data3;
6605 pagesize = getpagesize ();
6607 /* First, make a file with some known garbage in it. */
6608 data = (char *) malloc (pagesize);
6611 for (i = 0; i < pagesize; ++i)
6612 *(data + i) = rand ();
6614 fd = creat ("conftest.mmap", 0600);
6617 if (write (fd, data, pagesize) != pagesize)
6621 /* Next, check that the tail of a page is zero-filled. File must have
6622 non-zero length, otherwise we risk SIGBUS for entire page. */
6623 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6627 if (write (fd2, cdata2, 1) != 1)
6629 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6630 if (data2 == MAP_FAILED)
6632 for (i = 0; i < pagesize; ++i)
6636 if (munmap (data2, pagesize))
6639 /* Next, try to mmap the file at a fixed address which already has
6640 something else allocated at it. If we can, also make sure that
6641 we see the same garbage. */
6642 fd = open ("conftest.mmap", O_RDWR);
6645 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6646 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6648 for (i = 0; i < pagesize; ++i)
6649 if (*(data + i) != *(data2 + i))
6652 /* Finally, make sure that changes to the mapped area do not
6653 percolate back to the file as seen by read(). (This is a bug on
6654 some variants of i386 svr4.0.) */
6655 for (i = 0; i < pagesize; ++i)
6656 *(data2 + i) = *(data2 + i) + 1;
6657 data3 = (char *) malloc (pagesize);
6660 if (read (fd, data3, pagesize) != pagesize)
6662 for (i = 0; i < pagesize; ++i)
6663 if (*(data + i) != *(data3 + i))
6669 if ac_fn_c_try_run
"$LINENO"; then :
6670 ac_cv_func_mmap_fixed_mapped
=yes
6672 ac_cv_func_mmap_fixed_mapped
=no
6674 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6675 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6680 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6681 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6683 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6686 rm -f conftest.mmap conftest.txt
6691 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6692 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6693 aros_config_ldflags
=""
6695 aros_shared_default
=yes
6697 aros_shared_cflags
="-fPIC"
6698 aros_shared_aflags
=""
6699 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6700 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6702 aros_kernel_ar_flags
="cr"
6703 aros_target_ar_flags
="cr"
6704 aros_target_nm_flags
="-C -ul"
6705 aros_target_strip_flags
="--strip-unneeded -R.comment"
6710 aros_target_genmap
="-Wl,-Map -Xlinker"
6712 # Native flavour stuff
6713 aros_serial_debug
="0"
6715 # Palm native flavour stuff
6716 aros_palm_debug_hack
="0"
6718 # Unix flavour stuff
6719 aros_nesting_supervisor
="0"
6721 # Collect-aros stuff: "-ius" to ignore undefined symbols
6722 ignore_undefined_symbols
=""
6724 # Check for X11 by default
6727 #-----------------------------------------------------------------------------
6730 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6731 # it switched on by default, and we use the host compiler, so it compiles AROS
6732 # code with this enabled resulting in link failures as we don't have support
6735 # We use two methods to disable it. For the host compiler (used to compile
6736 # some hosted modules), we test to see if the compiler supports stack
6737 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6738 # work on all platforms.
6740 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6741 # (this is done unconditionally, as it should have no effect on compilers
6742 # without the stack protection feature). This may be specific to the way that
6743 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6744 # strong enough to disable it in a generic way though, so we'll live with it
6745 # until another vendor ships GCC with it enabled in a different way, and deal
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6750 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6751 save_cflags
="$CFLAGS"
6752 CFLAGS
="$CFLAGS -fno-stack-protector"
6753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h. */
6764 if ac_fn_c_try_compile
"$LINENO"; then :
6765 use_no_stack_protector
="yes"
6767 use_no_stack_protector
="no"
6769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6771 $as_echo "$use_no_stack_protector" >&6; }
6772 if test "x-$use_no_stack_protector" = "x-yes" ; then
6773 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6775 CFLAGS
="$save_cflags"
6777 #-----------------------------------------------------------------------------
6779 # Disable pointer-signedness warnings if the compiler recognises the option
6780 # (this only works for the host compiler at the moment)
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6783 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6784 save_cflags
="$CFLAGS"
6785 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6787 /* end confdefs.h. */
6797 if ac_fn_c_try_compile
"$LINENO"; then :
6798 use_no_sign_warning
="yes"
6800 use_no_sign_warning
="no"
6802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6804 $as_echo "$use_no_sign_warning" >&6; }
6805 if test "x-$use_no_sign_warning" = "x-yes" ; then
6806 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6808 CFLAGS
="$save_cflags"
6810 #-----------------------------------------------------------------------------
6812 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6815 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6816 save_cflags
="$CFLAGS"
6817 CFLAGS
="$CFLAGS -fgnu89-inline"
6818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6819 /* end confdefs.h. */
6829 if ac_fn_c_try_compile
"$LINENO"; then :
6830 use_gnu89_inline
="yes"
6832 use_gnu89_inline
="no"
6834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6836 $as_echo "$use_gnu89_inline" >&6; }
6837 if test "x-$use_gnu89_inline" = "x-yes" ; then
6838 gnu89_inline
="-fgnu89-inline"
6840 CFLAGS
="$save_cflags"
6842 #-----------------------------------------------------------------------------
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6845 $as_echo_n "checking for type of build... " >&6; }
6846 # Check whether --enable-build_type was given.
6847 if test "${enable_build_type+set}" = set; then :
6848 enableval
=$enable_build_type; build_type
=$enableval
6850 build_type
="personal"
6854 if test "$build_type" = "nightly"; then
6855 build_type_string
="NIGHTLY"
6856 elif test "$build_type" = "snapshot"; then
6857 build_type_string
="SNAPSHOT"
6858 elif test "$build_type" = "milestone"; then
6859 build_type_string
="MILESTONE"
6860 elif test "$build_type" = "release"; then
6861 build_type_string
="RELEASE"
6863 build_type_string
="PERSONAL"
6864 build_type
="personal"
6867 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6870 $as_echo "$build_type" >&6; }
6872 #-----------------------------------------------------------------------------
6873 all_debug_types
="messages stack modules mungwall symbols"
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6876 $as_echo_n "checking which debug types to enable... " >&6; }
6877 # Check whether --enable-debug was given.
6878 if test "${enable_debug+set}" = set; then :
6879 enableval
=$enable_debug; debug
="$enableval"
6885 if test "$debug" = "" -o "$debug" = "no"; then
6887 elif test "$debug" = "yes"; then
6891 if test "$debug" = "all" ; then
6892 debug
="messages stack modules symbols"
6893 for d
in $all_debug_types; do
6894 export aros_
${d}_debug
="1"
6897 for d
in $all_debug_types; do
6898 export aros_
${d}_debug
="0"
6902 if test "$debug" != "none"; then
6903 debug
=`echo $debug | sed s/,/\ /g`
6906 for d2
in $all_debug_types; do
6907 if test "$d2" = "$d"; then
6912 if test "$found" = "0"; then
6913 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6915 export aros_
${d}_debug
="1"
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6920 $as_echo "$debug" >&6; }
6922 if test "$aros_messages_debug" = "1"; then
6923 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6925 aros_messages_debug
=""
6927 if test "$aros_symbols_debug" = "1"; then
6928 aros_symbols_debug
="-g"
6930 aros_symbols_debug
=""
6933 # These are the flags to pass when compiling debugged programs
6934 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6935 aros_debug_aflags
=""
6936 aros_debug_ldflags
="$aros_symbols_debug"
6938 #-----------------------------------------------------------------------------
6939 # Checking if we should build crosstools..
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6941 $as_echo_n "checking whether to build crosstools... " >&6; }
6942 # Check whether --enable-crosstools was given.
6943 if test "${enable_crosstools+set}" = set; then :
6944 enableval
=$enable_crosstools; crosstools
="$enableval"
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
6950 $as_echo "$crosstools" >&6; }
6952 #-----------------------------------------------------------------------------
6953 # Checking for distcc and ccache.
6955 # Always apply the transforms in this particular order. Basically you should
6956 # always run 'ccache distcc compiler' in that order for the best performance.
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6959 $as_echo_n "checking whether to enable distcc... " >&6; }
6960 # Check whether --enable-distcc was given.
6961 if test "${enable_distcc+set}" = set; then :
6962 enableval
=$enable_distcc; distcc
="$enableval"
6967 if test "$distcc" != "" -a "$distcc" != "no"; then
6968 # AC_CHECK_PROG will print out the result in this case
6969 # Extract the first word of "distcc", so it can be a program name with args.
6970 set dummy distcc
; ac_word
=$2
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6972 $as_echo_n "checking for $ac_word... " >&6; }
6973 if ${ac_cv_path_DISTCC+:} false
; then :
6974 $as_echo_n "(cached) " >&6
6978 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6985 test -z "$as_dir" && as_dir
=.
6986 for ac_exec_ext
in '' $ac_executable_extensions; do
6987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6988 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7000 DISTCC
=$ac_cv_path_DISTCC
7001 if test -n "$DISTCC"; then
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7003 $as_echo "$DISTCC" >&6; }
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7006 $as_echo "no" >&6; }
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7012 $as_echo "no" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7016 $as_echo_n "checking whether to enable ccache... " >&6; }
7017 # Check whether --enable-ccache was given.
7018 if test "${enable_ccache+set}" = set; then :
7019 enableval
=$enable_ccache; ccache
="$enableval"
7024 if test "$ccache" != "" -a "$ccache" != "no"; then
7025 # AC_CHECK_PROG will print out the result in this case
7026 # Extract the first word of "ccache", so it can be a program name with args.
7027 set dummy ccache
; ac_word
=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_CCACHE+:} false
; then :
7031 $as_echo_n "(cached) " >&6
7033 if test -n "$CCACHE"; then
7034 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir
=.
7041 for ac_exec_ext
in '' $ac_executable_extensions; do
7042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043 ac_cv_prog_CCACHE
="ccache"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 CCACHE
=$ac_cv_prog_CCACHE
7054 if test -n "$CCACHE"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7056 $as_echo "$CCACHE" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7065 $as_echo "no" >&6; }
7068 #-----------------------------------------------------------------------------
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7070 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7072 # Check whether --with-gcc-version was given.
7073 if test "${with_gcc_version+set}" = set; then :
7074 withval
=$with_gcc_version; target_tool_version
="$withval"
7076 target_tool_version
="default"
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7080 $as_echo "$target_tool_version" >&6; }
7082 #-----------------------------------------------------------------------------
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7084 $as_echo_n "checking what optimization flags to use... " >&6; }
7086 # Check whether --with-optimization was given.
7087 if test "${with_optimization+set}" = set; then :
7088 withval
=$with_optimization; optimization
="$withval"
7090 optimization
="unknown"
7093 if test "$optimization" = "unknown"; then
7094 if test "$debug" != "none"; then
7100 aros_config_cflags
="$aros_config_cflags $optimization"
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7102 $as_echo "$optimization" >&6; }
7104 #-----------------------------------------------------------------------------
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7106 $as_echo_n "checking what paranoia flags to use... " >&6; }
7108 # Check whether --with-paranoia was given.
7109 if test "${with_paranoia+set}" = set; then :
7110 withval
=$with_paranoia; paranoia_flags
="$withval"
7112 paranoia_flags
="default"
7115 if test "$paranoia_flags" = "default"; then
7117 else if test "$paranoia_flags" = "yes"; then
7118 paranoia_flags
="-Wall -Werror"
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7121 $as_echo "$paranoia_flags" >&6; }
7122 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7124 #-----------------------------------------------------------------------------
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7126 $as_echo_n "checking what target variant to enable... " >&6; }
7127 # Check whether --enable-target_variant was given.
7128 if test "${enable_target_variant+set}" = set; then :
7129 enableval
=$enable_target_variant; target_variant
=$enableval
7134 if test "$target_variant" = ""; then
7135 aros_target_variant
=""
7136 aros_target_suffix
=""
7139 aros_target_variant
="$target_variant"
7140 aros_target_suffix
="-$target_variant"
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7143 $as_echo "$enableval" >&6; }
7145 #-----------------------------------------------------------------------------
7146 # Target-specific defaults. You can override then on a per-target basis.
7148 # Bootloader name. Currently used by PC target.
7149 target_bootloader
="none"
7151 # Prefix for toolchain used to build bootstrap. For hosted ports, this should be a toolchain for target host OS.
7152 # (i. e. when building mingw32-i386 port this should be set to "i386-mingw32-").
7153 # For native ports this toolchain is used to build a bootloader and second-level bootstrap (if present).
7154 if test "$crosstools" != "yes"; then
7155 target_tool_prefix
=${target_cpu}-elf-
7157 target_tool_prefix
=${target_cpu}-aros-
7160 #-----------------------------------------------------------------------------
7161 # Additional options for some specific targets
7163 case "$aros_target_variant" in
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7166 $as_echo_n "checking XCode path... " >&6; }
7168 # Check whether --with-xcode was given.
7169 if test "${with_xcode+set}" = set; then :
7170 withval
=$with_xcode; aros_xcode_path
="$withval"
7172 aros_xcode_path
="/Developer"
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7176 $as_echo "$aros_xcode_path" >&6; }
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7179 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7181 # Check whether --with-sdk-version was given.
7182 if test "${with_sdk_version+set}" = set; then :
7183 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7185 aros_sdk_version
="4.1"
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7189 $as_echo "$aros_sdk_version" >&6; }
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7195 $as_echo_n "checking Android SDK path... " >&6; }
7197 # Check whether --with-sdk was given.
7198 if test "${with_sdk+set}" = set; then :
7199 withval
=$with_sdk; aros_android_sdk
="$withval"
7201 aros_android_sdk
=$default_android_sdk
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7205 $as_echo "$aros_android_sdk" >&6; }
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7208 $as_echo_n "checking Android NDK path... " >&6; }
7210 # Check whether --with-ndk was given.
7211 if test "${with_ndk+set}" = set; then :
7212 withval
=$with_ndk; aros_android_ndk
="$withval"
7214 aros_android_ndk
="none"
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7218 $as_echo "$aros_android_ndk" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7221 $as_echo_n "checking what Android SDK version to use... " >&6; }
7223 # Check whether --with-sdk-version was given.
7224 if test "${with_sdk_version+set}" = set; then :
7225 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7227 aros_sdk_version
="12"
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7231 $as_echo "$aros_sdk_version" >&6; }
7233 if test "$aros_android_ndk" != "none"; then
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7235 $as_echo_n "checking what Android NDK version to use... " >&6; }
7237 # Check whether --with-ndk-version was given.
7238 if test "${with_ndk_version+set}" = set; then :
7239 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7241 aros_ndk_version
="9"
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7245 $as_echo "$aros_ndk_version" >&6; }
7248 export PATH
="$aros_android_sdk/tools:$PATH"
7249 # Extract the first word of "$android_tool", so it can be a program name with args.
7250 set dummy
$android_tool; ac_word
=$2
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252 $as_echo_n "checking for $ac_word... " >&6; }
7253 if ${ac_cv_path_android_tool+:} false
; then :
7254 $as_echo_n "(cached) " >&6
7256 case $android_tool in
7258 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7265 test -z "$as_dir" && as_dir
=.
7266 for ac_exec_ext
in '' $ac_executable_extensions; do
7267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7268 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7279 android_tool
=$ac_cv_path_android_tool
7280 if test -n "$android_tool"; then
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7282 $as_echo "$android_tool" >&6; }
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7285 $as_echo "no" >&6; }
7289 if test "$android_tool" = ""; then
7290 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7293 aros_android_level
=android-
$aros_sdk_version
7294 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7295 echo "Platform $aros_android_level is not installed in your SDK"
7296 echo "Use --with-sdk-version=<API level number> to select another platform version"
7297 echo "You can check what plaform versions are installed in your SDK"
7298 echo "by examining contents of $aros_android_sdk/platforms directory"
7299 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7302 # Extract the first word of "ant", so it can be a program name with args.
7303 set dummy ant
; ac_word
=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 $as_echo_n "checking for $ac_word... " >&6; }
7306 if ${ac_cv_path_ant+:} false
; then :
7307 $as_echo_n "(cached) " >&6
7311 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7318 test -z "$as_dir" && as_dir
=.
7319 for ac_exec_ext
in '' $ac_executable_extensions; do
7320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7321 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7333 if test -n "$ant"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7335 $as_echo "$ant" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7342 if test "$ant" = ""; then
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7344 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7347 if test "$host_os" = "mingw32"; then
7348 android_tool
="cmd //c $android_tool"
7354 #-----------------------------------------------------------------------------
7356 # This is the target configuration switch.
7357 case "$target_os" in
7359 aros_target_arch
="linux"
7360 aros_target_family
="unix"
7361 case "$target_cpu" in
7363 aros_target_cpu
="m68k"
7364 aros_object_format
="m68kelf"
7365 aros_flavour
="emulcompat"
7366 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7367 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7368 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7369 gcc_target_cpu
="mc68000"
7372 aros_target_cpu
="i386"
7373 aros_object_format
="elf_i386"
7374 aros_flavour
="emulation"
7375 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
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_wbdepth
=8
7382 gcc_target_cpu
="i386"
7383 pci_hidd_target
="hidd-pci-linux"
7384 android_tool_dir_prefix
="x86"
7385 android_tool_prefix
="i686-android-linux"
7386 android_ndk_arch
="x86"
7389 aros_target_cpu
="x86_64"
7390 aros_object_format
="elf_x86_64"
7391 aros_flavour
="emulation"
7392 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7393 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7394 aros_default_wbdepth
=8
7395 pci_hidd_target
="hidd-pci-linux"
7398 aros_target_cpu
="ppc"
7399 aros_object_format
="elf32ppc"
7400 aros_flavour
="emulation"
7401 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7402 aros_default_wbdepth
=8
7403 gcc_target_cpu
="ppc"
7406 # Same as powerpc, but I need this for the nightly build to work again.
7407 # Actually, the nightly should be made working with powerpc target.
7408 # That just was too much work for the moment, another week or two.
7410 aros_target_cpu
="ppc"
7411 aros_object_format
="elf32ppc"
7412 aros_flavour
="emulation"
7413 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7414 aros_default_wbdepth
=8
7415 gcc_target_cpu
="ppc"
7418 aros_target_cpu
="arm"
7419 aros_object_format
="armelf_linux_eabi"
7420 aros_flavour
="emulation"
7421 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7422 gcc_target_cpu
="arm"
7423 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7424 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7425 aros_arch_libs
="-laeabi"
7426 android_tool_dir_prefix
="arm-linux-androideabi"
7427 android_tool_prefix
="arm-linux-androideabi"
7428 android_ndk_arch
="arm"
7431 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7434 case "$aros_target_variant" in
7437 if test "$android_ndk_arch" = ""; then
7438 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7441 aros_default_wbwidth
=320
7442 aros_default_wbheight
=480
7443 if test "$aros_android_ndk" = "none"; then
7444 aros_kernel_cflags
="-mandroid"
7445 aros_kernel_ldflags
="-mandroid"
7448 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7449 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7450 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7451 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7452 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7453 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7456 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7457 target_tool_prefix
="$android_tool_prefix-"
7463 aros_target_arch
="pc"
7464 aros_shared_default
="no"
7465 target_bootloader
="grub2"
7466 case "$target_cpu" in
7468 aros_target_cpu
="i386"
7471 if test "$aros_object_format" = "" ; then
7472 aros_object_format
="elf_i386"
7474 aros_flavour
="standalone"
7475 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7476 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7477 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7478 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7479 aros_config_ldflags
="-m32 -march=i486"
7480 aros_kernel_ldflags
="-melf_i386"
7481 aros_default_wbwidth
=640
7482 aros_default_wbheight
=480
7483 gcc_target_cpu
="i386"
7486 aros_target_cpu
="x86_64"
7488 if test "$aros_object_format" = "" ; then
7489 aros_object_format
="elf_x86_64"
7491 aros_flavour
="standalone"
7492 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7493 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7494 aros_kernel_ldflags
=""
7495 aros_default_wbwidth
=640
7496 aros_default_wbheight
=480
7499 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7505 aros_target_arch
="prep"
7506 aros_shared_default
="no"
7507 aros_target_cpu
="ppc"
7508 aros_object_format
="elf32ppc"
7509 aros_flavour
="ppcnative"
7510 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7511 aros_kernel_ldflags
=""
7512 aros_default_wbwidth
=640
7513 aros_default_wbheight
=480
7514 gcc_target_cpu
="ppc"
7518 aros_target_arch
="freebsd"
7519 aros_target_family
="unix"
7520 aros_target_cpu
="i386"
7521 aros_flavour
="emulation"
7522 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7523 gcc_target_cpu
="i386"
7525 aros_target_strip_flags
="-x"
7529 aros_target_arch
="darwin"
7530 aros_target_family
="unix"
7531 aros_flavour
="emulation"
7532 case "$target_cpu" in
7534 aros_ios_platform
="iPhoneSimulator"
7535 aros_target_cpu
="i386"
7536 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7537 aros_kernel_ldflags
=""
7538 aros_macosx_version
="10.4"
7539 aros_default_wbdepth
=8
7540 gcc_target_cpu
="i386"
7541 aros_object_format
="elf_i386"
7542 aros_kernel_ar_flags
="-cr"
7543 aros_target_strip_flags
="-x"
7544 target_tool_prefix
="i686-apple-darwin10-"
7545 target_tool_flags
="-m32"
7548 aros_target_cpu
="x86_64"
7549 aros_object_format
="elf_x86_64"
7550 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7551 aros_macosx_version
="10.6"
7552 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7553 aros_kernel_cflags
="-m64"
7554 aros_kernel_ldflags
="-m64"
7555 aros_target_cflags
="-mcmodel=large"
7556 aros_default_wbdepth
=8
7558 aros_kernel_ar_flags
="-cr"
7560 aros_kernel_ranlib
="ranlib"
7561 target_tool_prefix
="i686-apple-darwin10-"
7564 aros_target_cpu
="ppc"
7565 aros_object_format
="elf32ppc"
7566 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7567 aros_kernel_ldflags
=""
7568 aros_macosx_version
="10.0"
7569 aros_default_wbdepth
=8
7570 gcc_target_cpu
="ppc"
7572 aros_kernel_ar_flags
="-cr"
7573 aros_kernel_ld
="ld -arch ppc"
7574 aros_kernel_ranlib
="ranlib -arch ppc"
7575 target_tool_prefix
="powerpc-apple-darwin10-"
7578 aros_ios_platform
="iPhoneOS"
7579 aros_target_cpu
="arm"
7580 aros_object_format
="armelf_linux_eabi"
7581 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7582 aros_arch_libs
="-laeabi"
7583 aros_default_wbdepth
=8
7584 gcc_target_cpu
="arm"
7586 aros_kernel_ar_flags
="-cr"
7587 aros_kernel_ld
="ld -arch arm"
7588 aros_kernel_ranlib
="ranlib -arch arm"
7589 target_tool_prefix
="arm-apple-darwin10-"
7590 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7593 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7596 case "$aros_target_variant" in
7598 aros_ios_version
="3.0"
7599 aros_default_wbwidth
=320
7600 aros_default_wbheight
=480
7601 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7602 target_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7603 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7605 # This is here because it may depend on iOS or SDK version
7606 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7607 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7608 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7611 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7612 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7618 aros_target_arch
="dragonfly"
7619 aros_target_family
="unix"
7620 aros_flavour
="emulation"
7621 case "$target_cpu" in
7623 aros_target_cpu
="i386"
7624 aros_object_format
="elf_i386"
7625 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7628 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7629 aros_target_cpu
="x86_64"
7630 aros_object_format
="elf_x86_64"
7631 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7634 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7640 aros_target_arch
="netbsd"
7641 aros_target_family
="unix"
7642 case "$target_cpu" in
7644 aros_target_cpu
="m68k"
7645 aros_object_format
="m68kelf"
7646 aros_flavour
="emulcompat"
7647 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7648 gcc_target_cpu
="mc68000"
7651 aros_target_cpu
="i386"
7652 aros_object_format
="elf_i386"
7653 aros_flavour
="emulation"
7654 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7655 aros_default_wbdepth
=8
7656 gcc_target_cpu
="i386"
7659 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7662 aros_target_genmap
="-Wl,-M -Xlinker >"
7663 aros_flavour
="emulation"
7664 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7668 aros_target_arch
="openbsd"
7669 aros_target_family
="unix"
7670 case "$target_cpu" in
7672 aros_target_cpu
="i386"
7673 aros_object_format
="elf_i386"
7674 aros_flavour
="emulation"
7675 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7676 gcc_target_cpu
="i386"
7679 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7682 aros_target_genmap
="-Wl,-M -Xlinker >"
7683 aros_target_nm_flags
="-u"
7684 aros_flavour
="emulation"
7688 aros_target_arch
="solaris"
7689 aros_target_family
="unix"
7690 case "$target_cpu" in
7692 aros_target_cpu
="i386"
7693 aros_object_format
="elf_i386"
7694 aros_flavour
="emulation"
7695 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7696 aros_default_wbdepth
=8
7697 gcc_target_cpu
="i386"
7700 aros_target_cpu
="sparc"
7701 aros_object_format
="elf_sparc"
7702 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7703 gcc_target_cpu
="sparc"
7706 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7709 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7710 aros_flavour
="emulation"
7714 aros_target_arch
="morphos"
7715 aros_shared_default
="no"
7716 aros_target_cpu
="ppc"
7717 aros_object_format
="elf_ppc"
7718 aros_flavour
="nativecompat"
7719 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7720 gcc_target_cpu
="ppc"
7724 aros_target_arch
="sam440"
7725 aros_shared_default
="no"
7726 aros_target_cpu
="ppc"
7727 aros_object_format
="elf32ppc"
7728 aros_flavour
="ppcnative"
7729 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7730 aros_kernel_ldflags
=""
7731 aros_default_wbwidth
=1024
7732 aros_default_wbheight
=768
7733 aros_default_wbdepth
=24
7734 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7735 gcc_target_cpu
="powerpc"
7739 aros_target_arch
="efika"
7740 aros_shared_default
="no"
7741 aros_target_cpu
="arm"
7742 aros_object_format
="armelf_linux_eabi"
7743 aros_flavour
="standalone"
7744 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7745 aros_kernel_ldflags
=""
7746 aros_default_wbwidth
=1024
7747 aros_default_wbheight
=600
7748 aros_arch_libs
="-laeabi"
7749 gcc_default_cpu
="armv7-a"
7750 gcc_default_fpu
="vfpv3"
7751 gcc_default_float_abi
="hard"
7752 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
7753 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
7757 aros_target_arch
="chrp"
7758 aros_shared_default
="no"
7759 aros_target_cpu
="ppc"
7760 aros_object_format
="elf32ppc"
7761 aros_flavour
="ppcnative"
7762 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7763 aros_kernel_ldflags
=""
7764 aros_default_wbwidth
=640
7765 aros_default_wbheight
=480
7766 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7767 gcc_target_cpu
="powerpc"
7768 case "$aros_target_variant" in
7770 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7776 aros_target_arch
="amiga"
7777 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7778 aros_shared_default
="no"
7780 case "$target_cpu" in
7782 # Check whether --enable-amigaos_compliance was given.
7783 if test "${enable_amigaos_compliance+set}" = set; then :
7784 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
7788 aros_target_cpu
="m68k"
7789 aros_object_format
="m68kelf"
7790 aros_flavour
="standcompat"
7791 gcc_target_cpu
="m68000"
7792 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
7793 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
7794 target_tool_prefix
="m68k-elf-"
7795 # Needed to get the correct multilib
7796 aros_config_ldflags
="-${gcc_target_cpu}"
7797 aros_shared_ldflags
="-${gcc_target_cpu}"
7798 aros_kernel_ldflags
="-${gcc_target_cpu}"
7799 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7800 aros_target_strip_flags
="-R.comment --strip-debug"
7801 aros_default_wbwidth
=640
7802 aros_default_wbheight
=256
7803 aros_default_wbdepth
=2
7807 aros_flavour
="native"
7808 gcc_target_cpu
="ppc"
7811 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7817 aros_target_arch
="mingw32"
7818 aros_shared_default
="no"
7819 aros_flavour
="emulation"
7820 aros_shared_cflags
=""
7823 case "$target_cpu" in
7825 aros_target_cpu
="i386"
7826 aros_object_format
="elf_i386"
7827 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7828 aros_default_wbdepth
=8
7829 gcc_target_cpu
="i386"
7831 aros_target_as
="i386-aros-as"
7832 aros_target_ar
="i386-aros-ar"
7833 aros_target_ranlib
="i386-aros-ranlib"
7834 aros_target_nm
="i386-aros-nm"
7835 aros_target_strip
="i386-aros-strip"
7836 aros_target_objcopy
="i386-aros-objcopy"
7837 aros_target_objdump
="i386-aros-objdump"
7839 target_tool_prefix
="i386-mingw32-"
7842 aros_target_cpu
="x86_64"
7843 aros_object_format
="elf_x86_64"
7844 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7845 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7846 aros_default_wbdepth
=8
7847 target_tool_prefix
="x86_64-w64-mingw32-"
7850 aros_target_cpu
="arm"
7851 aros_object_format
="armelf_linux_eabi"
7852 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7853 aros_arch_libs
="-laeabi"
7854 aros_default_wbdepth
=8
7855 gcc_target_cpu
="arm"
7856 gcc_default_float_abi
="soft"
7857 target_tool_prefix
="arm-mingw32ce-"
7858 aros_default_wbwidth
=160
7859 aros_default_wbheight
=160
7862 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7865 if test $host_os = "cygwin"; then
7866 aros_kernel_cflags
="-mno-cygwin"
7870 aros_target_arch
="pp"
7871 aros_shared_default
="no"
7872 case "$target_cpu" in
7874 aros_target_cpu
="m68k"
7875 aros_object_format
="m68kelf"
7876 aros_flavour
="palmnative"
7877 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7878 aros_default_wbwidth
=160
7879 aros_default_wbheight
=160
7880 aros_default_wbdepth
=1
7881 aros_target_ar_flags
="cru"
7882 aros_compiler_libs
="-lgcc1"
7883 aros_shared_default
=no
7884 aros_shared_cflags
="-fpic"
7885 aros_shared_aflags
=""
7886 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7887 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7888 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7889 aros_debug_aflags
=""
7890 aros_debug_ldflags
="$aros_symbols_debug"
7891 aros_mungwall_debug
="0"
7892 aros_modules_debug
="0"
7893 gcc_target_cpu
="mc68000"
7894 ignore_undefined_symbols
="-ius"
7897 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7903 aros_target_arch
="mac"
7904 aros_shared_default
="no"
7905 case "$target_cpu" in
7907 aros_target_cpu
="m68k"
7908 aros_object_format
="m68kelf"
7909 aros_flavour
="mac68knative"
7910 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7911 aros_default_wbwidth
=512
7912 aros_default_wbheight
=384
7913 aros_default_wbdepth
=8
7914 aros_target_ar_flags
="cru"
7915 aros_compiler_libs
="-lgcc1"
7916 aros_shared_default
=no
7917 aros_shared_cflags
="-fpic"
7918 aros_shared_aflags
=""
7919 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7920 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7921 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
7922 aros_debug_aflags
=""
7923 aros_debug_ldflags
="$aros_symbols_debug"
7924 aros_mungwall_debug
="0"
7925 aros_modules_debug
="0"
7926 gcc_target_cpu
="mc68000"
7927 ignore_undefined_symbols
="-ius"
7930 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7936 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
7940 # Now process extra architecture-specific options.
7941 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
7942 # as well as floating-point ABI.
7943 case "$aros_target_cpu" in
7945 if test "$gcc_default_cpu" = ""; then
7946 gcc_default_cpu
="armv6"
7948 if test "$gcc_default_fpu" = ""; then
7949 gcc_default_fpu
="vfp"
7951 if test "$gcc_default_float_abi" = ""; then
7952 gcc_default_float_abi
="softfp"
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
7956 $as_echo_n "checking Which minimum CPU to use... " >&6; }
7958 # Check whether --with-cpu was given.
7959 if test "${with_cpu+set}" = set; then :
7960 withval
=$with_cpu; aros_gcc_cpu
="$withval"
7962 aros_gcc_cpu
=$gcc_default_cpu
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
7966 $as_echo "$aros_gcc_cpu" >&6; }
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
7969 $as_echo_n "checking Which minimum FPU to use... " >&6; }
7971 # Check whether --with-fpu was given.
7972 if test "${with_fpu+set}" = set; then :
7973 withval
=$with_fpu; aros_gcc_fpu
="$withval"
7975 aros_gcc_fpu
=$gcc_default_fpu
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
7979 $as_echo "$aros_gcc_fpu" >&6; }
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
7982 $as_echo_n "checking Which floating point ABI to use... " >&6; }
7984 # Check whether --with-float was given.
7985 if test "${with_float+set}" = set; then :
7986 withval
=$with_float; aros_gcc_float_abi
="$withval"
7988 aros_gcc_float_abi
=$gcc_default_float_abi
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
7992 $as_echo "$aros_gcc_float_abi" >&6; }
7994 aros_config_cflags
="$aros_config_cflags -marm -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi -fno-asynchronous-unwind-tables -fno-exceptions"
7995 aros_config_aflags
="$aros_config_aflags -marm -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi -fno-asynchronous-unwind-tables -fno-exceptions"
7999 # Some formats need custom ELF specs.
8000 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8001 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8002 elf_specs_in
=config
/${aros_object_format}-specs.
in
8004 elf_specs_in
=config
/elf-specs.
in
8007 #-----------------------------------------------------------------------------
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
8009 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
8011 # Check whether --with-crosstools was given.
8012 if test "${with_crosstools+set}" = set; then :
8013 withval
=$with_crosstools; with_crosstools
=$withval
8015 with_crosstools
="default"
8018 if test "$with_crosstools" = "default"; then
8019 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8021 AROS_CROSSTOOLSDIR
="$with_crosstools"
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8024 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8026 if test "$crosstools" != "no" -o "$with_crosstools" != "default"; then
8030 PATH
=$AROS_CROSSTOOLSDIR:$PATH
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8034 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8036 # Check whether --with-aros-gcc was given.
8037 if test "${with_aros_gcc+set}" = set; then :
8038 withval
=$with_aros_gcc; aros_gcc_version
="$withval"
8040 aros_gcc_version
="$use_aros_gcc"
8043 case "$aros_gcc_version" in
8045 aros_gcc_version
="default"
8048 aros_gcc_version
="none"
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8052 $as_echo "$aros_gcc_version" >&6; }
8054 if test "$aros_gcc_version" != "none"; then
8057 if test "$aros_gcc_version" != "default"; then
8058 aros_target_cc
="$aros_target_cpu-aros-gcc-$aros_gcc_version"
8059 aros_target_cxx
="$aros_target_cpu-aros-g++-$aros_gcc_version"
8061 aros_target_cc
="$aros_target_cpu-aros-gcc"
8062 aros_target_cxx
="$aros_target_cpu-aros-g++"
8065 aros_target_ld
="$aros_target_cpu-aros-ld"
8066 aros_target_as
="$aros_target_cpu-aros-as"
8067 aros_target_ar
="$aros_target_cpu-aros-ar"
8068 aros_target_ranlib
="$aros_target_cpu-aros-ranlib"
8069 aros_target_nm
="$aros_target_cpu-aros-nm"
8070 aros_target_strip
="$aros_target_cpu-aros-strip"
8071 aros_target_objcopy
="$aros_target_cpu-aros-objcopy"
8072 aros_target_objdump
="$aros_target_cpu-aros-objdump"
8075 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8076 # Since we override specs, we may need to put these defines there
8077 if test "$gcc_target_cpu" != ""; then
8078 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8082 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8084 # Check whether --with-portssources was given.
8085 if test "${with_portssources+set}" = set; then :
8086 withval
=$with_portssources; with_portssrcdir
=$withval
8088 with_portssrcdir
="default"
8091 if test "$with_portssrcdir" = "default"; then
8092 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8094 AROS_PORTSSRCDIR
="$with_portssrcdir"
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8097 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8100 $as_echo_n "checking which bootloader to use... " >&6; }
8102 # Check whether --with-bootloader was given.
8103 if test "${with_bootloader+set}" = set; then :
8104 withval
=$with_bootloader; target_bootloader
=$withval
8106 target_bootloader
=$target_bootloader
8109 if test "$target_bootloader" = "none"; then
8110 aros_target_bootloader
=""
8112 aros_target_bootloader
="$target_bootloader"
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8115 $as_echo "$target_bootloader" >&6; }
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8118 $as_echo_n "checking which icon-set to use... " >&6; }
8120 # Check whether --with-iconset was given.
8121 if test "${with_iconset+set}" = set; then :
8122 withval
=$with_iconset; target_iconset
=$withval
8124 target_iconset
="default"
8127 if test "$target_iconset" = "default"; then
8128 aros_target_iconset
="Gorilla"
8129 target_iconset
="default (Gorilla)"
8131 aros_target_iconset
="$target_iconset"
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8134 $as_echo "$target_iconset" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8137 $as_echo_n "checking which GUI Theme to use... " >&6; }
8139 # Check whether --with-theme was given.
8140 if test "${with_theme+set}" = set; then :
8141 withval
=$with_theme; target_guitheme
=$withval
8143 target_guitheme
="default"
8146 if test "$target_guitheme" = "default"; then
8147 aros_target_guitheme
="Ice"
8149 aros_target_guitheme
="$target_guitheme"
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8152 $as_echo "$aros_target_guitheme" >&6; }
8154 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8157 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8161 if test "$aros_host_cpu" == "x86_64" ; then
8162 if test "$aros_target_cpu" == "i386" ; then
8163 if test "$aros_target_arch" != "mingw32"; then
8169 if test "$aros_host_arch" == "darwin" ; then
8170 if test "$aros_target_arch" != "darwin" ; then
8175 if test "$aros_host_arch" == "mingw32" ; then
8176 if test "$aros_target_arch" != "mingw32" ; then
8181 # I want to have this information in configure output, although it might be
8182 # misleading, e.g. for darwin hosted you cannot compile target code without a
8183 # cross compiler, but here it says no.
8185 # Note: it says 'yes' only if bootstrap ("kernel") is cross-compiled.
8186 # Target code is a little bit different thing.
8188 echo "checking wether we are (AROS style) cross compiling... $cross_compiling"
8190 # Set prefix for target compiler etc. if we're cross-compiling
8191 # (should possibly be earlier but needs to be after AC_PROG_CC)
8192 if test "$cross_compiling" = "yes" ; then
8194 if test "x-$aros_flavour" = "x-standalone" -o "x-$aros_flavour" = "x-standcompat" ; then
8195 if test "$aros_gcc_version" != "none"; then
8198 target_tool_prefix
=${target_cpu}-aros-
8199 target_tool_version
=$aros_gcc_version
8200 use_kernel_cc_wrapper
=yes
8209 aros_target_objcopy
=
8210 aros_target_objdump
=
8214 CC
=${target_tool_prefix}gcc
8215 CPP
=${target_tool_prefix}cpp
8216 if test "$target_tool_version" != "default"; then
8217 CC
="$CC-$target_tool_version"
8218 CPP
="$CC-$target_tool_version"
8220 if test "$crosstools" != "yes" ; then
8221 # Extract the first word of "$CC", so it can be a program name with args.
8222 set dummy
$CC; ac_word
=$2
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8224 $as_echo_n "checking for $ac_word... " >&6; }
8225 if ${ac_cv_path_CC+:} false
; then :
8226 $as_echo_n "(cached) " >&6
8230 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
8233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8237 test -z "$as_dir" && as_dir
=.
8238 for ac_exec_ext
in '' $ac_executable_extensions; do
8239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8240 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
8241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8252 if test -n "$CC"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8254 $as_echo "$CC" >&6; }
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8257 $as_echo "no" >&6; }
8261 if test "$CC" = ""; then
8262 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8265 CC
=$AROS_CROSSTOOLSDIR/$CC
8268 CC
="$CC $target_tool_flags"
8270 #-----------------------------------------------------------------------------
8272 # Disable pointer-signedness warnings if the compiler recognises the option
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8275 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8276 save_cflags
="$CFLAGS"
8277 if test "$crosstools" != "yes" ; then
8278 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8290 if ac_fn_c_try_compile
"$LINENO"; then :
8291 use_no_sign_warning
="yes"
8293 use_no_sign_warning
="no"
8295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8297 # we do know it is supported for the smallest version of gcc we are going to build
8298 # we assume it's also supported by later versions
8299 use_no_sign_warning
=yes
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8302 $as_echo "$use_no_sign_warning" >&6; }
8303 if test "x-$use_no_sign_warning" = "x-yes" ; then
8304 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8306 CFLAGS
="$save_cflags"
8308 #-----------------------------------------------------------------------------
8310 # Find all the tools we need to compile. This could be cross-compiling
8311 # though! If that is the case we use the GNU form of the target and
8312 # simply add this to the front of the binary name. This is rather simple,
8313 # but it should work under most circumstances.
8315 # The default tools are to use the same as the host, but only if the
8316 # host and target CPU are the same. With GCC this is normally enough.
8320 aros_shared_ld
="$aros_host_ld"
8322 aros_target_mkdep
="$aros_host_mkdep"
8323 aros_target_incl_def
="$aros_host_incl"
8325 aros_kernel_cc
="$CC"
8327 # The default tools executables to be linked to.
8328 if test "$rescomp" != ""; then
8329 if test "$cross_compiling" = "yes" ; then
8330 rescomp
=${target_tool_prefix}${rescomp}
8332 # Extract the first word of "$rescomp", so it can be a program name with args.
8333 set dummy
$rescomp; ac_word
=$2
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8335 $as_echo_n "checking for $ac_word... " >&6; }
8336 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
8337 $as_echo_n "(cached) " >&6
8339 case $aros_kernel_rescomp in
8341 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8348 test -z "$as_dir" && as_dir
=.
8349 for ac_exec_ext
in '' $ac_executable_extensions; do
8350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8351 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8362 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8363 if test -n "$aros_kernel_rescomp"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8365 $as_echo "$aros_kernel_rescomp" >&6; }
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8368 $as_echo "no" >&6; }
8372 if test "$aros_kernel_rescomp" = ""; then
8373 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8377 if test "$crosstools" != "yes"; then
8379 if test "$aros_kernel_ld" = ""; then
8380 if test "$cross_compiling" = "yes" ; then
8381 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8382 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8384 $as_echo_n "checking for $ac_word... " >&6; }
8385 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8386 $as_echo_n "(cached) " >&6
8388 case $aros_kernel_ld in
8390 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8397 test -z "$as_dir" && as_dir
=.
8398 for ac_exec_ext
in '' $ac_executable_extensions; do
8399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8400 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8411 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8412 if test -n "$aros_kernel_ld"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8414 $as_echo "$aros_kernel_ld" >&6; }
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8417 $as_echo "no" >&6; }
8422 if test "$GCC" = "yes"; then
8423 aros_gcc_ld
=`$CC -print-prog-name=ld`
8424 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8425 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8427 $as_echo_n "checking for $ac_word... " >&6; }
8428 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8429 $as_echo_n "(cached) " >&6
8431 case $aros_kernel_ld in
8433 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8437 for as_dir
in `dirname $aros_gcc_ld`
8440 test -z "$as_dir" && as_dir
=.
8441 for ac_exec_ext
in '' $ac_executable_extensions; do
8442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8443 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8454 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8455 if test -n "$aros_kernel_ld"; then
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8457 $as_echo "$aros_kernel_ld" >&6; }
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8460 $as_echo "no" >&6; }
8465 if test "$aros_kernel_ld" = ""; then
8466 # Extract the first word of "ld", so it can be a program name with args.
8467 set dummy ld
; ac_word
=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469 $as_echo_n "checking for $ac_word... " >&6; }
8470 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8471 $as_echo_n "(cached) " >&6
8473 case $aros_kernel_ld in
8475 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8482 test -z "$as_dir" && as_dir
=.
8483 for ac_exec_ext
in '' $ac_executable_extensions; do
8484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8485 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8496 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8497 if test -n "$aros_kernel_ld"; then
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8499 $as_echo "$aros_kernel_ld" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 $as_echo "no" >&6; }
8509 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8510 set dummy
$aros_kernel_ld; ac_word
=$2
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8512 $as_echo_n "checking for $ac_word... " >&6; }
8513 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8514 $as_echo_n "(cached) " >&6
8516 case $aros_kernel_ld in
8518 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8525 test -z "$as_dir" && as_dir
=.
8526 for ac_exec_ext
in '' $ac_executable_extensions; do
8527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8528 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8539 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8540 if test -n "$aros_kernel_ld"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8542 $as_echo "$aros_kernel_ld" >&6; }
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8545 $as_echo "no" >&6; }
8551 if test "$aros_kernel_ld" = ""; then
8552 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8555 if test "$aros_kernel_ar" = ""; then
8556 if test "$cross_compiling" = "yes" ; then
8557 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8558 set dummy
${target_tool_prefix}ar; ac_word
=$2
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8560 $as_echo_n "checking for $ac_word... " >&6; }
8561 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8562 $as_echo_n "(cached) " >&6
8564 case $aros_kernel_ar in
8566 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8573 test -z "$as_dir" && as_dir
=.
8574 for ac_exec_ext
in '' $ac_executable_extensions; do
8575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8576 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8587 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8588 if test -n "$aros_kernel_ar"; then
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8590 $as_echo "$aros_kernel_ar" >&6; }
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593 $as_echo "no" >&6; }
8598 if test "$GCC" = "yes"; then
8599 aros_gcc_ar
=`$CC -print-prog-name=ar`
8600 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8601 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8603 $as_echo_n "checking for $ac_word... " >&6; }
8604 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8605 $as_echo_n "(cached) " >&6
8607 case $aros_kernel_ar in
8609 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8613 for as_dir
in `dirname $aros_gcc_ar`
8616 test -z "$as_dir" && as_dir
=.
8617 for ac_exec_ext
in '' $ac_executable_extensions; do
8618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8619 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8630 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8631 if test -n "$aros_kernel_ar"; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8633 $as_echo "$aros_kernel_ar" >&6; }
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8636 $as_echo "no" >&6; }
8641 if test "$aros_kernel_ar" = ""; then
8642 # Extract the first word of "ar", so it can be a program name with args.
8643 set dummy
ar; ac_word
=$2
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8645 $as_echo_n "checking for $ac_word... " >&6; }
8646 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8647 $as_echo_n "(cached) " >&6
8649 case $aros_kernel_ar in
8651 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8658 test -z "$as_dir" && as_dir
=.
8659 for ac_exec_ext
in '' $ac_executable_extensions; do
8660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8661 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8672 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8673 if test -n "$aros_kernel_ar"; then
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8675 $as_echo "$aros_kernel_ar" >&6; }
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8678 $as_echo "no" >&6; }
8685 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
8686 set dummy
$aros_kernel_ar; ac_word
=$2
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8688 $as_echo_n "checking for $ac_word... " >&6; }
8689 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8690 $as_echo_n "(cached) " >&6
8692 case $aros_kernel_ar in
8694 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8701 test -z "$as_dir" && as_dir
=.
8702 for ac_exec_ext
in '' $ac_executable_extensions; do
8703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8704 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8715 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8716 if test -n "$aros_kernel_ar"; then
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8718 $as_echo "$aros_kernel_ar" >&6; }
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8721 $as_echo "no" >&6; }
8727 if test "$aros_kernel_ar" = ""; then
8728 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8731 if test "$aros_kernel_ranlib" = ""; then
8732 if test "$cross_compiling" = "yes" ; then
8733 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8734 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8736 $as_echo_n "checking for $ac_word... " >&6; }
8737 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8738 $as_echo_n "(cached) " >&6
8740 case $aros_kernel_ranlib in
8742 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8749 test -z "$as_dir" && as_dir
=.
8750 for ac_exec_ext
in '' $ac_executable_extensions; do
8751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8752 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8763 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8764 if test -n "$aros_kernel_ranlib"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8766 $as_echo "$aros_kernel_ranlib" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8769 $as_echo "no" >&6; }
8774 if test "$GCC" = "yes"; then
8775 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8776 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8777 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8779 $as_echo_n "checking for $ac_word... " >&6; }
8780 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8781 $as_echo_n "(cached) " >&6
8783 case $aros_kernel_ranlib in
8785 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8789 for as_dir
in `dirname $aros_gcc_ranlib`
8792 test -z "$as_dir" && as_dir
=.
8793 for ac_exec_ext
in '' $ac_executable_extensions; do
8794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8795 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8806 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8807 if test -n "$aros_kernel_ranlib"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8809 $as_echo "$aros_kernel_ranlib" >&6; }
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8817 if test "$aros_kernel_ranlib" = ""; then
8818 # Extract the first word of "ranlib", so it can be a program name with args.
8819 set dummy ranlib
; ac_word
=$2
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8821 $as_echo_n "checking for $ac_word... " >&6; }
8822 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8823 $as_echo_n "(cached) " >&6
8825 case $aros_kernel_ranlib in
8827 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8834 test -z "$as_dir" && as_dir
=.
8835 for ac_exec_ext
in '' $ac_executable_extensions; do
8836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8837 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8848 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8849 if test -n "$aros_kernel_ranlib"; then
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8851 $as_echo "$aros_kernel_ranlib" >&6; }
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8854 $as_echo "no" >&6; }
8861 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
8862 set dummy
$aros_kernel_ranlib; ac_word
=$2
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8864 $as_echo_n "checking for $ac_word... " >&6; }
8865 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8866 $as_echo_n "(cached) " >&6
8868 case $aros_kernel_ranlib in
8870 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8877 test -z "$as_dir" && as_dir
=.
8878 for ac_exec_ext
in '' $ac_executable_extensions; do
8879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8880 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8891 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8892 if test -n "$aros_kernel_ranlib"; then
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8894 $as_echo "$aros_kernel_ranlib" >&6; }
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8897 $as_echo "no" >&6; }
8903 if test "$aros_kernel_ranlib" = ""; then
8904 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8907 if test "$target_tool_prefix" != "${target_cpu}-elf-" -a "$target_tool_prefix" != "${target_cpu}-aros-" ; then
8908 target_tool_prefix
=${target_cpu}-elf-
8909 if test "$aros_target_cc" == ""; then
8910 aros_target_cc
="${target_tool_prefix}gcc"
8912 if test "$aros_target_ld" == ""; then
8913 aros_target_ld
="${target_tool_prefix}ld"
8917 if test "$aros_target_as" = ""; then
8918 if test "$cross_compiling" = "yes" ; then
8919 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8920 set dummy
${target_tool_prefix}as
; ac_word
=$2
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8922 $as_echo_n "checking for $ac_word... " >&6; }
8923 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8924 $as_echo_n "(cached) " >&6
8926 case $aros_target_as_ln in
8928 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8935 test -z "$as_dir" && as_dir
=.
8936 for ac_exec_ext
in '' $ac_executable_extensions; do
8937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8938 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8949 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8950 if test -n "$aros_target_as_ln"; then
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8952 $as_echo "$aros_target_as_ln" >&6; }
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8955 $as_echo "no" >&6; }
8960 if test "$GCC" = "yes"; then
8961 aros_gcc_as
=`$CC -print-prog-name=as`
8962 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8963 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8965 $as_echo_n "checking for $ac_word... " >&6; }
8966 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8967 $as_echo_n "(cached) " >&6
8969 case $aros_target_as_ln in
8971 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8975 for as_dir
in `dirname $aros_gcc_as`
8978 test -z "$as_dir" && as_dir
=.
8979 for ac_exec_ext
in '' $ac_executable_extensions; do
8980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8981 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8992 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8993 if test -n "$aros_target_as_ln"; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8995 $as_echo "$aros_target_as_ln" >&6; }
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8998 $as_echo "no" >&6; }
9003 if test "$aros_target_as_ln" = ""; then
9004 # Extract the first word of "as", so it can be a program name with args.
9005 set dummy as
; ac_word
=$2
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9007 $as_echo_n "checking for $ac_word... " >&6; }
9008 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
9009 $as_echo_n "(cached) " >&6
9011 case $aros_target_as_ln in
9013 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9020 test -z "$as_dir" && as_dir
=.
9021 for ac_exec_ext
in '' $ac_executable_extensions; do
9022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9023 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9034 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9035 if test -n "$aros_target_as_ln"; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
9037 $as_echo "$aros_target_as_ln" >&6; }
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9040 $as_echo "no" >&6; }
9047 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9048 set dummy
$aros_target_as; ac_word
=$2
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9050 $as_echo_n "checking for $ac_word... " >&6; }
9051 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
9052 $as_echo_n "(cached) " >&6
9054 case $aros_target_as_ln in
9056 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9063 test -z "$as_dir" && as_dir
=.
9064 for ac_exec_ext
in '' $ac_executable_extensions; do
9065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9066 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9077 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9078 if test -n "$aros_target_as_ln"; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
9080 $as_echo "$aros_target_as_ln" >&6; }
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9083 $as_echo "no" >&6; }
9089 if test "$aros_target_as_ln" = ""; then
9090 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9093 if test "$aros_target_ar" = ""; then
9094 if test "$cross_compiling" = "yes" ; then
9095 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9096 set dummy
${target_tool_prefix}ar; ac_word
=$2
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9098 $as_echo_n "checking for $ac_word... " >&6; }
9099 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9100 $as_echo_n "(cached) " >&6
9102 case $aros_target_ar_ln in
9104 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9111 test -z "$as_dir" && as_dir
=.
9112 for ac_exec_ext
in '' $ac_executable_extensions; do
9113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9114 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9125 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9126 if test -n "$aros_target_ar_ln"; then
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9128 $as_echo "$aros_target_ar_ln" >&6; }
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9131 $as_echo "no" >&6; }
9136 if test "$GCC" = "yes"; then
9137 aros_gcc_ar
=`$CC -print-prog-name=ar`
9138 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9139 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9141 $as_echo_n "checking for $ac_word... " >&6; }
9142 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9143 $as_echo_n "(cached) " >&6
9145 case $aros_target_ar_ln in
9147 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9151 for as_dir
in `dirname $aros_gcc_ar`
9154 test -z "$as_dir" && as_dir
=.
9155 for ac_exec_ext
in '' $ac_executable_extensions; do
9156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9157 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9168 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9169 if test -n "$aros_target_ar_ln"; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9171 $as_echo "$aros_target_ar_ln" >&6; }
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9174 $as_echo "no" >&6; }
9179 if test "$aros_target_ar_ln" = ""; then
9180 # Extract the first word of "ar", so it can be a program name with args.
9181 set dummy
ar; ac_word
=$2
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9183 $as_echo_n "checking for $ac_word... " >&6; }
9184 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9185 $as_echo_n "(cached) " >&6
9187 case $aros_target_ar_ln in
9189 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9196 test -z "$as_dir" && as_dir
=.
9197 for ac_exec_ext
in '' $ac_executable_extensions; do
9198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9199 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9210 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9211 if test -n "$aros_target_ar_ln"; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9213 $as_echo "$aros_target_ar_ln" >&6; }
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9216 $as_echo "no" >&6; }
9223 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9224 set dummy
$aros_target_ar; ac_word
=$2
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9226 $as_echo_n "checking for $ac_word... " >&6; }
9227 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9228 $as_echo_n "(cached) " >&6
9230 case $aros_target_ar_ln in
9232 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9239 test -z "$as_dir" && as_dir
=.
9240 for ac_exec_ext
in '' $ac_executable_extensions; do
9241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9242 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9253 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9254 if test -n "$aros_target_ar_ln"; then
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9256 $as_echo "$aros_target_ar_ln" >&6; }
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9259 $as_echo "no" >&6; }
9265 if test "$aros_target_ar_ln" = ""; then
9266 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9269 if test "$aros_target_nm" = ""; then
9270 if test "$cross_compiling" = "yes" ; then
9271 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9272 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9274 $as_echo_n "checking for $ac_word... " >&6; }
9275 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9276 $as_echo_n "(cached) " >&6
9278 case $aros_target_nm_ln in
9280 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9287 test -z "$as_dir" && as_dir
=.
9288 for ac_exec_ext
in '' $ac_executable_extensions; do
9289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9290 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9301 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9302 if test -n "$aros_target_nm_ln"; then
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9304 $as_echo "$aros_target_nm_ln" >&6; }
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9307 $as_echo "no" >&6; }
9312 if test "$GCC" = "yes"; then
9313 aros_gcc_nm
=`$CC -print-prog-name=nm`
9314 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9315 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9317 $as_echo_n "checking for $ac_word... " >&6; }
9318 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9319 $as_echo_n "(cached) " >&6
9321 case $aros_target_nm_ln in
9323 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9327 for as_dir
in `dirname $aros_gcc_nm`
9330 test -z "$as_dir" && as_dir
=.
9331 for ac_exec_ext
in '' $ac_executable_extensions; do
9332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9333 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9344 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9345 if test -n "$aros_target_nm_ln"; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9347 $as_echo "$aros_target_nm_ln" >&6; }
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9350 $as_echo "no" >&6; }
9355 if test "$aros_target_nm_ln" = ""; then
9356 # Extract the first word of "nm", so it can be a program name with args.
9357 set dummy nm
; ac_word
=$2
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9359 $as_echo_n "checking for $ac_word... " >&6; }
9360 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9361 $as_echo_n "(cached) " >&6
9363 case $aros_target_nm_ln in
9365 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9372 test -z "$as_dir" && as_dir
=.
9373 for ac_exec_ext
in '' $ac_executable_extensions; do
9374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9375 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9386 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9387 if test -n "$aros_target_nm_ln"; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9389 $as_echo "$aros_target_nm_ln" >&6; }
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9392 $as_echo "no" >&6; }
9399 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
9400 set dummy
$aros_target_nm; ac_word
=$2
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9402 $as_echo_n "checking for $ac_word... " >&6; }
9403 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9404 $as_echo_n "(cached) " >&6
9406 case $aros_target_nm_ln in
9408 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9415 test -z "$as_dir" && as_dir
=.
9416 for ac_exec_ext
in '' $ac_executable_extensions; do
9417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9418 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9429 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9430 if test -n "$aros_target_nm_ln"; then
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9432 $as_echo "$aros_target_nm_ln" >&6; }
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9435 $as_echo "no" >&6; }
9441 if test "$aros_target_nm_ln" = ""; then
9442 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9445 if test "$aros_target_objcopy" = ""; then
9446 if test "$cross_compiling" = "yes" ; then
9447 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9448 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9450 $as_echo_n "checking for $ac_word... " >&6; }
9451 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9452 $as_echo_n "(cached) " >&6
9454 case $aros_target_objcopy_ln in
9456 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9463 test -z "$as_dir" && as_dir
=.
9464 for ac_exec_ext
in '' $ac_executable_extensions; do
9465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9466 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9477 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9478 if test -n "$aros_target_objcopy_ln"; then
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9480 $as_echo "$aros_target_objcopy_ln" >&6; }
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9483 $as_echo "no" >&6; }
9488 if test "$GCC" = "yes"; then
9489 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9490 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9491 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9493 $as_echo_n "checking for $ac_word... " >&6; }
9494 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9495 $as_echo_n "(cached) " >&6
9497 case $aros_target_objcopy_ln in
9499 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9503 for as_dir
in `dirname $aros_gcc_objcopy`
9506 test -z "$as_dir" && as_dir
=.
9507 for ac_exec_ext
in '' $ac_executable_extensions; do
9508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9509 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9520 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9521 if test -n "$aros_target_objcopy_ln"; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9523 $as_echo "$aros_target_objcopy_ln" >&6; }
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9526 $as_echo "no" >&6; }
9531 if test "$aros_target_objcopy_ln" = ""; then
9532 # Extract the first word of "objcopy", so it can be a program name with args.
9533 set dummy objcopy
; ac_word
=$2
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9535 $as_echo_n "checking for $ac_word... " >&6; }
9536 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9537 $as_echo_n "(cached) " >&6
9539 case $aros_target_objcopy_ln in
9541 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9548 test -z "$as_dir" && as_dir
=.
9549 for ac_exec_ext
in '' $ac_executable_extensions; do
9550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9551 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9562 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9563 if test -n "$aros_target_objcopy_ln"; then
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9565 $as_echo "$aros_target_objcopy_ln" >&6; }
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9568 $as_echo "no" >&6; }
9575 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
9576 set dummy
$aros_target_objcopy; ac_word
=$2
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9578 $as_echo_n "checking for $ac_word... " >&6; }
9579 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9580 $as_echo_n "(cached) " >&6
9582 case $aros_target_objcopy_ln in
9584 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9591 test -z "$as_dir" && as_dir
=.
9592 for ac_exec_ext
in '' $ac_executable_extensions; do
9593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9594 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9605 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9606 if test -n "$aros_target_objcopy_ln"; then
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9608 $as_echo "$aros_target_objcopy_ln" >&6; }
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9611 $as_echo "no" >&6; }
9617 if test "$aros_target_objcopy_ln" = ""; then
9618 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9621 if test "$aros_target_objdump" = ""; then
9622 if test "$cross_compiling" = "yes" ; then
9623 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9624 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9626 $as_echo_n "checking for $ac_word... " >&6; }
9627 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9628 $as_echo_n "(cached) " >&6
9630 case $aros_target_objdump_ln in
9632 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9639 test -z "$as_dir" && as_dir
=.
9640 for ac_exec_ext
in '' $ac_executable_extensions; do
9641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9642 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9653 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9654 if test -n "$aros_target_objdump_ln"; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9656 $as_echo "$aros_target_objdump_ln" >&6; }
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9659 $as_echo "no" >&6; }
9664 if test "$GCC" = "yes"; then
9665 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9666 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9667 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9669 $as_echo_n "checking for $ac_word... " >&6; }
9670 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9671 $as_echo_n "(cached) " >&6
9673 case $aros_target_objdump_ln in
9675 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9679 for as_dir
in `dirname $aros_gcc_objdump`
9682 test -z "$as_dir" && as_dir
=.
9683 for ac_exec_ext
in '' $ac_executable_extensions; do
9684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9685 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9696 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9697 if test -n "$aros_target_objdump_ln"; then
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9699 $as_echo "$aros_target_objdump_ln" >&6; }
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9702 $as_echo "no" >&6; }
9707 if test "$aros_target_objdump_ln" = ""; then
9708 # Extract the first word of "objdump", so it can be a program name with args.
9709 set dummy objdump
; ac_word
=$2
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9711 $as_echo_n "checking for $ac_word... " >&6; }
9712 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9713 $as_echo_n "(cached) " >&6
9715 case $aros_target_objdump_ln in
9717 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9724 test -z "$as_dir" && as_dir
=.
9725 for ac_exec_ext
in '' $ac_executable_extensions; do
9726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9727 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9738 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9739 if test -n "$aros_target_objdump_ln"; then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9741 $as_echo "$aros_target_objdump_ln" >&6; }
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9744 $as_echo "no" >&6; }
9751 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9752 set dummy
$aros_target_objdump; ac_word
=$2
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9754 $as_echo_n "checking for $ac_word... " >&6; }
9755 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9756 $as_echo_n "(cached) " >&6
9758 case $aros_target_objdump_ln in
9760 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9767 test -z "$as_dir" && as_dir
=.
9768 for ac_exec_ext
in '' $ac_executable_extensions; do
9769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9770 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9781 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9782 if test -n "$aros_target_objdump_ln"; then
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9784 $as_echo "$aros_target_objdump_ln" >&6; }
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9787 $as_echo "no" >&6; }
9793 if test "$aros_target_objdump_ln" = ""; then
9794 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9797 if test "$aros_target_ranlib" = ""; then
9798 if test "$cross_compiling" = "yes" ; then
9799 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9800 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9802 $as_echo_n "checking for $ac_word... " >&6; }
9803 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9804 $as_echo_n "(cached) " >&6
9806 case $aros_target_ranlib_ln in
9808 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9815 test -z "$as_dir" && as_dir
=.
9816 for ac_exec_ext
in '' $ac_executable_extensions; do
9817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9818 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9829 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9830 if test -n "$aros_target_ranlib_ln"; then
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9832 $as_echo "$aros_target_ranlib_ln" >&6; }
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9835 $as_echo "no" >&6; }
9840 if test "$GCC" = "yes"; then
9841 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9842 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9843 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9845 $as_echo_n "checking for $ac_word... " >&6; }
9846 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9847 $as_echo_n "(cached) " >&6
9849 case $aros_target_ranlib_ln in
9851 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9855 for as_dir
in `dirname $aros_gcc_ranlib`
9858 test -z "$as_dir" && as_dir
=.
9859 for ac_exec_ext
in '' $ac_executable_extensions; do
9860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9861 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9872 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9873 if test -n "$aros_target_ranlib_ln"; then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9875 $as_echo "$aros_target_ranlib_ln" >&6; }
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9878 $as_echo "no" >&6; }
9883 if test "$aros_target_ranlib_ln" = ""; then
9884 # Extract the first word of "ranlib", so it can be a program name with args.
9885 set dummy ranlib
; ac_word
=$2
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9887 $as_echo_n "checking for $ac_word... " >&6; }
9888 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9889 $as_echo_n "(cached) " >&6
9891 case $aros_target_ranlib_ln in
9893 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9900 test -z "$as_dir" && as_dir
=.
9901 for ac_exec_ext
in '' $ac_executable_extensions; do
9902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9903 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9914 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9915 if test -n "$aros_target_ranlib_ln"; then
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9917 $as_echo "$aros_target_ranlib_ln" >&6; }
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9920 $as_echo "no" >&6; }
9927 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9928 set dummy
$aros_target_ranlib; ac_word
=$2
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9930 $as_echo_n "checking for $ac_word... " >&6; }
9931 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9932 $as_echo_n "(cached) " >&6
9934 case $aros_target_ranlib_ln in
9936 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9943 test -z "$as_dir" && as_dir
=.
9944 for ac_exec_ext
in '' $ac_executable_extensions; do
9945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9946 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9957 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9958 if test -n "$aros_target_ranlib_ln"; then
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9960 $as_echo "$aros_target_ranlib_ln" >&6; }
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9963 $as_echo "no" >&6; }
9969 if test "$aros_target_ranlib_ln" = ""; then
9970 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9973 if test "$aros_target_strip" = ""; then
9974 if test "$cross_compiling" = "yes" ; then
9975 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9976 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9978 $as_echo_n "checking for $ac_word... " >&6; }
9979 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9980 $as_echo_n "(cached) " >&6
9982 case $aros_target_strip_ln in
9984 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9991 test -z "$as_dir" && as_dir
=.
9992 for ac_exec_ext
in '' $ac_executable_extensions; do
9993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9994 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10005 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10006 if test -n "$aros_target_strip_ln"; then
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10008 $as_echo "$aros_target_strip_ln" >&6; }
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10011 $as_echo "no" >&6; }
10016 if test "$GCC" = "yes"; then
10017 aros_gcc_strip
=`$CC -print-prog-name=strip`
10018 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10019 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10021 $as_echo_n "checking for $ac_word... " >&6; }
10022 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
10023 $as_echo_n "(cached) " >&6
10025 case $aros_target_strip_ln in
10027 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10031 for as_dir
in `dirname $aros_gcc_strip`
10034 test -z "$as_dir" && as_dir
=.
10035 for ac_exec_ext
in '' $ac_executable_extensions; do
10036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10037 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10048 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10049 if test -n "$aros_target_strip_ln"; then
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10051 $as_echo "$aros_target_strip_ln" >&6; }
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10054 $as_echo "no" >&6; }
10059 if test "$aros_target_strip_ln" = ""; then
10060 # Extract the first word of "strip", so it can be a program name with args.
10061 set dummy strip
; ac_word
=$2
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10063 $as_echo_n "checking for $ac_word... " >&6; }
10064 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
10065 $as_echo_n "(cached) " >&6
10067 case $aros_target_strip_ln in
10069 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10073 for as_dir
in $PATH
10076 test -z "$as_dir" && as_dir
=.
10077 for ac_exec_ext
in '' $ac_executable_extensions; do
10078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10079 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10090 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10091 if test -n "$aros_target_strip_ln"; then
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10093 $as_echo "$aros_target_strip_ln" >&6; }
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10096 $as_echo "no" >&6; }
10103 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10104 set dummy
$aros_target_strip; ac_word
=$2
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10106 $as_echo_n "checking for $ac_word... " >&6; }
10107 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
10108 $as_echo_n "(cached) " >&6
10110 case $aros_target_strip_ln in
10112 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10116 for as_dir
in $PATH
10119 test -z "$as_dir" && as_dir
=.
10120 for ac_exec_ext
in '' $ac_executable_extensions; do
10121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10122 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10133 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10134 if test -n "$aros_target_strip_ln"; then
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10136 $as_echo "$aros_target_strip_ln" >&6; }
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10139 $as_echo "no" >&6; }
10145 if test "$aros_target_strip_ln" = ""; then
10146 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10148 if test "$aros_target_cxx" != ""; then
10149 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
10150 set dummy
$aros_target_cxx; ac_word
=$2
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10152 $as_echo_n "checking for $ac_word... " >&6; }
10153 if ${ac_cv_path_aros_target_cxx+:} false
; then :
10154 $as_echo_n "(cached) " >&6
10156 case $aros_target_cxx in
10158 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
10161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10162 for as_dir
in $PATH
10165 test -z "$as_dir" && as_dir
=.
10166 for ac_exec_ext
in '' $ac_executable_extensions; do
10167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10168 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10179 aros_target_cxx
=$ac_cv_path_aros_target_cxx
10180 if test -n "$aros_target_cxx"; then
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
10182 $as_echo "$aros_target_cxx" >&6; }
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10185 $as_echo "no" >&6; }
10189 if test "$aros_target_cxx" = ""; then
10190 as_fn_error $?
"c++ is required to build AROS. Please install and run configure again." "$LINENO" 5
10194 aros_target_cc
=$AROS_CROSSTOOLSDIR/$aros_target_cc
10195 aros_target_cxx
=$AROS_CROSSTOOLSDIR/$aros_target_cxx
10196 aros_target_as_ln
=$AROS_CROSSTOOLSDIR/$aros_target_as
10197 aros_target_ar_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10198 aros_target_nm_ln
=$AROS_CROSSTOOLSDIR/$aros_target_nm
10199 aros_target_objcopy_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objcopy
10200 aros_target_objdump_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objdump
10201 aros_target_ranlib_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10202 aros_target_strip_ln
=$AROS_CROSSTOOLSDIR/$aros_target_strip
10204 if test "$target_tool_prefix" != "${target_cpu}-aros-" ; then
10206 if test "$aros_kernel_ld" = ""; then
10207 if test "$cross_compiling" = "yes" ; then
10208 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
10209 set dummy
${target_tool_prefix}ld
; ac_word
=$2
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10211 $as_echo_n "checking for $ac_word... " >&6; }
10212 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10213 $as_echo_n "(cached) " >&6
10215 case $aros_kernel_ld in
10217 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10221 for as_dir
in $PATH
10224 test -z "$as_dir" && as_dir
=.
10225 for ac_exec_ext
in '' $ac_executable_extensions; do
10226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10227 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10238 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10239 if test -n "$aros_kernel_ld"; then
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10241 $as_echo "$aros_kernel_ld" >&6; }
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10244 $as_echo "no" >&6; }
10249 if test "$GCC" = "yes"; then
10250 aros_gcc_ld
=`$CC -print-prog-name=ld`
10251 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10252 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10254 $as_echo_n "checking for $ac_word... " >&6; }
10255 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10256 $as_echo_n "(cached) " >&6
10258 case $aros_kernel_ld in
10260 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10264 for as_dir
in `dirname $aros_gcc_ld`
10267 test -z "$as_dir" && as_dir
=.
10268 for ac_exec_ext
in '' $ac_executable_extensions; do
10269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10270 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10281 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10282 if test -n "$aros_kernel_ld"; then
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10284 $as_echo "$aros_kernel_ld" >&6; }
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10287 $as_echo "no" >&6; }
10292 if test "$aros_kernel_ld" = ""; then
10293 # Extract the first word of "ld", so it can be a program name with args.
10294 set dummy ld
; ac_word
=$2
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10296 $as_echo_n "checking for $ac_word... " >&6; }
10297 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10298 $as_echo_n "(cached) " >&6
10300 case $aros_kernel_ld in
10302 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10306 for as_dir
in $PATH
10309 test -z "$as_dir" && as_dir
=.
10310 for ac_exec_ext
in '' $ac_executable_extensions; do
10311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10312 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10323 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10324 if test -n "$aros_kernel_ld"; then
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10326 $as_echo "$aros_kernel_ld" >&6; }
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10329 $as_echo "no" >&6; }
10336 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10337 set dummy
$aros_kernel_ld; ac_word
=$2
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10339 $as_echo_n "checking for $ac_word... " >&6; }
10340 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10341 $as_echo_n "(cached) " >&6
10343 case $aros_kernel_ld in
10345 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10349 for as_dir
in $PATH
10352 test -z "$as_dir" && as_dir
=.
10353 for ac_exec_ext
in '' $ac_executable_extensions; do
10354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10355 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10366 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10367 if test -n "$aros_kernel_ld"; then
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10369 $as_echo "$aros_kernel_ld" >&6; }
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10372 $as_echo "no" >&6; }
10378 if test "$aros_kernel_ld" = ""; then
10379 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10382 if test "$aros_kernel_ar" = ""; then
10383 if test "$cross_compiling" = "yes" ; then
10384 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
10385 set dummy
${target_tool_prefix}ar; ac_word
=$2
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10387 $as_echo_n "checking for $ac_word... " >&6; }
10388 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10389 $as_echo_n "(cached) " >&6
10391 case $aros_kernel_ar in
10393 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10397 for as_dir
in $PATH
10400 test -z "$as_dir" && as_dir
=.
10401 for ac_exec_ext
in '' $ac_executable_extensions; do
10402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10403 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10414 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10415 if test -n "$aros_kernel_ar"; then
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10417 $as_echo "$aros_kernel_ar" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10420 $as_echo "no" >&6; }
10425 if test "$GCC" = "yes"; then
10426 aros_gcc_ar
=`$CC -print-prog-name=ar`
10427 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10428 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10430 $as_echo_n "checking for $ac_word... " >&6; }
10431 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10432 $as_echo_n "(cached) " >&6
10434 case $aros_kernel_ar in
10436 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10440 for as_dir
in `dirname $aros_gcc_ar`
10443 test -z "$as_dir" && as_dir
=.
10444 for ac_exec_ext
in '' $ac_executable_extensions; do
10445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10446 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10457 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10458 if test -n "$aros_kernel_ar"; then
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10460 $as_echo "$aros_kernel_ar" >&6; }
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10463 $as_echo "no" >&6; }
10468 if test "$aros_kernel_ar" = ""; then
10469 # Extract the first word of "ar", so it can be a program name with args.
10470 set dummy
ar; ac_word
=$2
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10472 $as_echo_n "checking for $ac_word... " >&6; }
10473 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10474 $as_echo_n "(cached) " >&6
10476 case $aros_kernel_ar in
10478 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10482 for as_dir
in $PATH
10485 test -z "$as_dir" && as_dir
=.
10486 for ac_exec_ext
in '' $ac_executable_extensions; do
10487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10488 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10499 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10500 if test -n "$aros_kernel_ar"; then
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10502 $as_echo "$aros_kernel_ar" >&6; }
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10505 $as_echo "no" >&6; }
10512 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10513 set dummy
$aros_kernel_ar; ac_word
=$2
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10515 $as_echo_n "checking for $ac_word... " >&6; }
10516 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10517 $as_echo_n "(cached) " >&6
10519 case $aros_kernel_ar in
10521 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10525 for as_dir
in $PATH
10528 test -z "$as_dir" && as_dir
=.
10529 for ac_exec_ext
in '' $ac_executable_extensions; do
10530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10531 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10542 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10543 if test -n "$aros_kernel_ar"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10545 $as_echo "$aros_kernel_ar" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10548 $as_echo "no" >&6; }
10554 if test "$aros_kernel_ar" = ""; then
10555 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10558 if test "$aros_kernel_ranlib" = ""; then
10559 if test "$cross_compiling" = "yes" ; then
10560 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10561 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10563 $as_echo_n "checking for $ac_word... " >&6; }
10564 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10565 $as_echo_n "(cached) " >&6
10567 case $aros_kernel_ranlib in
10569 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10573 for as_dir
in $PATH
10576 test -z "$as_dir" && as_dir
=.
10577 for ac_exec_ext
in '' $ac_executable_extensions; do
10578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10579 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10590 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10591 if test -n "$aros_kernel_ranlib"; then
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10593 $as_echo "$aros_kernel_ranlib" >&6; }
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10596 $as_echo "no" >&6; }
10601 if test "$GCC" = "yes"; then
10602 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10603 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10604 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10606 $as_echo_n "checking for $ac_word... " >&6; }
10607 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10608 $as_echo_n "(cached) " >&6
10610 case $aros_kernel_ranlib in
10612 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10616 for as_dir
in `dirname $aros_gcc_ranlib`
10619 test -z "$as_dir" && as_dir
=.
10620 for ac_exec_ext
in '' $ac_executable_extensions; do
10621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10622 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10633 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10634 if test -n "$aros_kernel_ranlib"; then
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10636 $as_echo "$aros_kernel_ranlib" >&6; }
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10639 $as_echo "no" >&6; }
10644 if test "$aros_kernel_ranlib" = ""; then
10645 # Extract the first word of "ranlib", so it can be a program name with args.
10646 set dummy ranlib
; ac_word
=$2
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10648 $as_echo_n "checking for $ac_word... " >&6; }
10649 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10650 $as_echo_n "(cached) " >&6
10652 case $aros_kernel_ranlib in
10654 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10658 for as_dir
in $PATH
10661 test -z "$as_dir" && as_dir
=.
10662 for ac_exec_ext
in '' $ac_executable_extensions; do
10663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10664 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10675 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10676 if test -n "$aros_kernel_ranlib"; then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10678 $as_echo "$aros_kernel_ranlib" >&6; }
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10681 $as_echo "no" >&6; }
10688 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10689 set dummy
$aros_kernel_ranlib; ac_word
=$2
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10691 $as_echo_n "checking for $ac_word... " >&6; }
10692 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10693 $as_echo_n "(cached) " >&6
10695 case $aros_kernel_ranlib in
10697 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10701 for as_dir
in $PATH
10704 test -z "$as_dir" && as_dir
=.
10705 for ac_exec_ext
in '' $ac_executable_extensions; do
10706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10707 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10718 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10719 if test -n "$aros_kernel_ranlib"; then
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10721 $as_echo "$aros_kernel_ranlib" >&6; }
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10724 $as_echo "no" >&6; }
10730 if test "$aros_kernel_ranlib" = ""; then
10731 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10734 aros_kernel_ar
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10735 aros_kernel_ld
=$AROS_CROSSTOOLSDIR/$aros_target_ld
10736 aros_kernel_ranlib
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10739 crosstools_target
=tools-crosstools
10742 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
10744 orig_target_cc
=$aros_kernel_cc
10745 orig_target_ld
=$aros_kernel_ld
10747 if test "$crosstools" != "yes"; then
10748 if test "$aros_target_cc" != ""; then
10749 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
10750 set dummy
$aros_target_cc; ac_word
=$2
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10752 $as_echo_n "checking for $ac_word... " >&6; }
10753 if ${ac_cv_path_aros_target_cc+:} false
; then :
10754 $as_echo_n "(cached) " >&6
10756 case $aros_target_cc in
10758 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
10761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10762 for as_dir
in $PATH
10765 test -z "$as_dir" && as_dir
=.
10766 for ac_exec_ext
in '' $ac_executable_extensions; do
10767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10768 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10779 aros_target_cc
=$ac_cv_path_aros_target_cc
10780 if test -n "$aros_target_cc"; then
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
10782 $as_echo "$aros_target_cc" >&6; }
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10785 $as_echo "no" >&6; }
10789 if test "$aros_target_cc" = ""; then
10790 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
10792 orig_target_cc
=$aros_target_cc
10794 if test "$aros_target_ld" != ""; then
10795 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
10796 set dummy
$aros_target_ld; ac_word
=$2
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10798 $as_echo_n "checking for $ac_word... " >&6; }
10799 if ${ac_cv_path_aros_target_ld+:} false
; then :
10800 $as_echo_n "(cached) " >&6
10802 case $aros_target_ld in
10804 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
10807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10808 for as_dir
in $PATH
10811 test -z "$as_dir" && as_dir
=.
10812 for ac_exec_ext
in '' $ac_executable_extensions; do
10813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10814 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
10815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10825 aros_target_ld
=$ac_cv_path_aros_target_ld
10826 if test -n "$aros_target_ld"; then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
10828 $as_echo "$aros_target_ld" >&6; }
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10831 $as_echo "no" >&6; }
10835 if test "$aros_target_ld" = ""; then
10836 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10838 orig_target_ld
=$aros_target_ld
10841 orig_target_cc
=$aros_target_cc
10842 orig_target_ld
=$aros_target_ld
10845 # Build crosstools if we have no C++ - temporary thing
10846 if test "$aros_target_cxx" = "" -a "$crosstools" != "yes"; then
10847 crosstools_cxx_target
=tools-crosstools
10850 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10851 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10852 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10853 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10854 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10855 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10856 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10858 # aros_cc_pre is a variable that is added to the front of the compiler name
10859 # in the generated aros-gcc shell script. We need this to enable the cache
10860 # to work across cleaned builds. Also, support DISTCC using the correct
10861 # environment variable.
10864 if test "x${DISTCC}" != "x" ; then
10865 if test "x${CCACHE}" != "x" ; then
10866 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10868 aros_cc_pre
="${DISTCC} "
10871 if test "x${CCACHE}" != "x" ; then
10872 aros_cc_pre
="${CCACHE} "
10876 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10878 aros_target_nostdinc_cflags
=-nostdinc
10880 aros_target_nostartup_ldflags
=-nostartfiles
10882 aros_target_nix_ldflags
=-nix
10884 aros_target_detach_ldflags
=-detach
10886 aros_target_nostdlib_ldflags
=-nostdlib
10890 if test "$crosstools" != "yes"; then
10891 if test "$GCC" = "yes"; then
10892 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10895 # We do not know which gcc version we are going to build and what we need to know
10896 # here is different for different versions so this will be set later during the
10897 # build of crosstools.
10898 aros_target_cc_path
=@aros_target_cc_path@
10900 aros_target_cc
="${prefix}-gcc"
10901 aros_target_as
="${prefix}-as"
10902 aros_target_ld
="${prefix}-ld"
10903 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10904 aros_target_objcopy
=${prefix}-objcopy
10905 aros_target_objdump
=${prefix}-objdump
10906 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10907 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10908 aros_target_strip
=${prefix}-strip
10909 aros_plain_nm
="${prefix}-nm"
10910 aros_plain_ar
="${prefix}-ar"
10912 # Find the system include path. We can suggest that an alternative is
10913 # used if we don't get it correct. The default is to use /usr/include.
10914 # Which is set in the aros_target_incl_def variable.
10916 # Check whether --enable-includes was given.
10917 if test "${enable_includes+set}" = set; then :
10918 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10920 aros_target_incl
=$aros_target_incl_def
10924 if test "$aros_kernel_includes" = ""; then
10925 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10926 # FIXME: for cross-compiling this should point to another location
10927 aros_kernel_includes
="-isystem $aros_target_incl"
10931 if test "$aros_kernel_includes" != "" ; then
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
10933 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
10934 if test "$aros_kernel_cc_includes" = "" ; then
10935 # Try to guess where the directory is.
10936 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
10937 if test -d $aros_kernel_cc_includes; then
10938 # Check if there is also an include-fixed directory and add it
10939 # to kernel compiler's include path as it may contain some of
10940 # the headers we need.
10941 if test -d "$aros_kernel_cc_includes"-fixed; then
10942 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
10944 # Check for specific includes directory. Neede for Ubuntu 11.10
10945 if test -d "/usr/include/i386-linux-gnu"; then
10946 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
10949 # The directory doesn't exist, we need to do some more work.
10950 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
10952 # These are the headers we're looking for.
10953 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10954 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10957 if test ! -f $aros_target_incl/stdint.h
; then
10958 headers
="$headers stdint.h"
10962 for h
in $headers; do
10963 # Which other headers are needed by each of the above?
10964 deps
=$
(echo "#include <$h>" | \
10965 $aros_kernel_cc -E -M - 2>/dev
/null | \
10966 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10968 # Copy all the needed headers to a directory beneath gendir.
10971 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
10972 sed -n "s,^.*/include\(/.*\),\1,p")
10973 ! test -d $dir && mkdir
-p $dir
10974 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
10980 $as_echo "$aros_kernel_cc_includes" >&6; }
10981 # Adding -nostdinc to kernel includes as they are always used together.
10982 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
10985 if test "$crosstools" != "yes"; then
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
10987 $as_echo_n "checking for the target compiler's include path... " >&6; }
10988 if test "$aros_target_cc_includes" = "" ; then
10989 #try to guess where the directory is
10990 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10991 if ! test -d $aros_target_cc_includes; then
10992 #the directory doesn't exist, we need to do some more work
10993 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10995 #these are the headers we're looking for
10996 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10997 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11001 for h
in $headers; do
11002 #which other headers each of the above headers needs?
11003 deps
=$
(echo "#include <$h>" | \
11004 $orig_target_cc -E -M - 2>/dev
/null | \
11005 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11007 #copy all the needed headers to a directory beneath gendir
11010 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
11011 sed -n "s,^.*/include\(/.*\),\1,p")
11012 ! test -d $dir && mkdir
-p $dir
11013 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
11019 $as_echo "$aros_target_cc_includes" >&6; }
11021 # We do not know which gcc version we are going to build and what we need to know
11022 # here is different for different versions so this will be set later during the
11023 # build of crosstools.
11024 aros_target_cc_includes
=@aros_target_cc_includes@
11028 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11029 # On GCC >= 4.0 -iquote should be used
11033 save_cflags
="$CFLAGS"
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11036 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11037 if test "x-$crosstools" != "x-yes"; then
11038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11049 if ac_fn_c_try_compile
"$LINENO"; then :
11054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11056 # we do know it is supported for the smallest version of gcc we are going to build
11057 # we assume it's also supported by later versions
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11061 $as_echo "$has_iquote" >&6; }
11062 if test "x-$has_iquote" = "x-yes" ; then
11063 host_cflags_iquote
=-iquote
11064 host_cflags_iquote_end
=
11066 host_cflags_iquote
=-I
11067 host_cflags_iquote_end
=-I-
11069 kernel_cflags_iquote
=$host_cflags_iquote
11070 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11071 if test "x-$cross_compiling" = "x-yes"; then
11072 CC
="$aros_kernel_cc"
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
11074 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
11075 if test "x-$crosstools" != "x-yes"; then
11076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11087 if ac_fn_c_try_compile
"$LINENO"; then :
11088 use_no_stack_protector
="yes"
11090 use_no_stack_protector
="no"
11092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11094 # we do know it is supported for the smallest version of gcc we are going to build
11095 # we assume it's also supported by later versions
11096 use_no_stack_protector
=yes
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
11099 $as_echo "$use_no_stack_protector" >&6; }
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11101 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11102 if test "x-$crosstools" != "x-yes"; then
11103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11114 if ac_fn_c_try_compile
"$LINENO"; then :
11119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11121 # we do know it is supported for the smallest version of gcc we are going to build
11122 # we assume it's also supported by later versions
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11126 $as_echo "$has_iquote" >&6; }
11127 if test "x-$has_iquote" = "x-yes" ; then
11128 kernel_cflags_iquote
=-iquote
11129 kernel_cflags_iquote_end
=
11131 kernel_cflags_iquote
=-I
11132 kernel_cflags_iquote_end
=-I-
11135 aros_cflags_iquote
=$kernel_cflags_iquote
11136 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11137 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11138 CC
="$orig_target_cc"
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11140 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11141 if test "x-$crosstools" != "x-yes"; then
11142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11153 if ac_fn_c_try_compile
"$LINENO"; then :
11158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11160 # we do know it is supported for the smallest version of gcc we are going to build
11161 # we assume it's also supported by later versions
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11165 $as_echo "$has_iquote" >&6; }
11166 if test "x-$has_iquote" = "x-yes" ; then
11167 aros_cflags_iquote
=-iquote
11168 aros_cflags_iquote_end
=
11170 aros_cflags_iquote
=-I
11171 aros_cflags_iquote_end
=-I-
11174 if test "x-$use_no_stack_protector" = "x-yes" ; then
11175 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
11178 #-----------------------------------------------------------------------------
11180 # Check if we can explicitly choose older version of symbol hashing
11182 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
11183 CC
="$aros_kernel_cc"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11185 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
11186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11197 if ac_fn_c_try_link
"$LINENO"; then :
11198 use_hash_style
="yes"
11200 use_hash_style
="no"
11202 rm -f core conftest.err conftest.
$ac_objext \
11203 conftest
$ac_exeext conftest.
$ac_ext
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
11205 $as_echo "$use_hash_style" >&6; }
11206 if test "x-$use_hash_style" = "x-yes" ; then
11207 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11210 CFLAGS
="$save_cflags"
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
11221 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11223 # Check whether --with-resolution was given.
11224 if test "${with_resolution+set}" = set; then :
11225 withval
=$with_resolution; resolution
=$withval
11230 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11231 if test "$resolution" = "yes" ; then
11234 if test "$resolution" = "no" ; then
11237 if test "$resolution" != "none" ; then
11238 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11239 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11240 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11243 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11244 aros_cv_default_wbwidth
=$aros_default_wbwidth
11245 aros_cv_default_wbheight
=$aros_default_wbheight
11246 aros_cv_default_wbdepth
=$aros_default_wbdepth
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
11249 $as_echo_n "checking if serial debug is enabled... " >&6; }
11251 # Check whether --with-serial-debug was given.
11252 if test "${with_serial_debug+set}" = set; then :
11253 withval
=$with_serial_debug; serial_debug
=$withval
11258 if test "$aros_serial_debug" = 0 ; then
11259 serial_debug_forced
=""
11260 if test "$serial_debug" = "yes" ; then
11263 if test "$serial_debug" = "no" ; then
11264 serial_debug
="none"
11267 serial_debug_forced
="(forced)"
11268 serial_debug
=$aros_serial_debug
11270 if test "$serial_debug" != "none" ; then
11271 aros_serial_debug
=$serial_debug
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
11273 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11276 $as_echo "no" >&6; }
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
11280 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11281 # Check whether --enable-palm_debug_hack was given.
11282 if test "${enable_palm_debug_hack+set}" = set; then :
11283 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11285 palm_debug_hack
="no"
11288 if test "$palm_debug_hack" = "yes" ; then
11289 aros_palm_debug_hack
="1"
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
11292 $as_echo "$palm_debug_hack" >&6; }
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
11295 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
11296 # Check whether --enable-usb30_code was given.
11297 if test "${enable_usb30_code+set}" = set; then :
11298 enableval
=$enable_usb30_code; usb30_code
="yes"
11303 if test "$usb30_code" = "yes" ; then
11304 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
11305 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
11308 $as_echo "$usb30_code" >&6; }
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
11311 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11312 # Check whether --enable-nesting_supervisor was given.
11313 if test "${enable_nesting_supervisor+set}" = set; then :
11314 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11316 nesting_supervisor
="no"
11319 if test "$nesting_supervisor" = "yes" ; then
11320 aros_nesting_supervisor
="1"
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
11323 $as_echo "$nesting_supervisor" >&6; }
11325 if test "$aros_enable_mmu" = "" ; then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
11327 $as_echo_n "checking if MMU support is enabled... " >&6; }
11328 # Check whether --enable-mmu was given.
11329 if test "${enable_mmu+set}" = set; then :
11330 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
11332 aros_enable_mmu
="yes"
11335 if test "$aros_enable_mmu" = "" ; then
11336 aros_enable_mmu
="yes"
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
11339 $as_echo "$aros_enable_mmu" >&6; }
11341 if test "$aros_enable_mmu" = "no" ; then
11342 aros_enable_mmu
="0"
11344 aros_enable_mmu
="1"
11348 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11350 if test "x-$need_dlopen" != "x-no" ; then
11351 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11352 if test "x$ac_cv_func_dlopen" = xyes
; then :
11358 if test "x-$have_dl" = "x-no" ; then
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11360 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11361 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11362 $as_echo_n "(cached) " >&6
11364 ac_check_lib_save_LIBS
=$LIBS
11366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11384 if ac_fn_c_try_link
"$LINENO"; then :
11385 ac_cv_lib_dl_dlopen
=yes
11387 ac_cv_lib_dl_dlopen
=no
11389 rm -f core conftest.err conftest.
$ac_objext \
11390 conftest
$ac_exeext conftest.
$ac_ext
11391 LIBS
=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11397 aros_host_ldflags
="$aros_host_ldflags -ldl"
11403 if test "x-$have_dl" = "x-no" ; then
11404 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
11409 # Check whether --enable-x11_hidd was given.
11410 if test "${enable_x11_hidd+set}" = set; then :
11411 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11413 x11_hidd
="$need_x11"
11416 case "x-$x11_hidd" in
11417 x-yes|x-no|x-auto
) ;;
11418 *) x11_hidd
="$need_x11" ;;
11423 if test "x-$x11_hidd" != "x-no" ; then
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11426 $as_echo_n "checking for X... " >&6; }
11429 # Check whether --with-x was given.
11430 if test "${with_x+set}" = set; then :
11434 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11435 if test "x$with_x" = xno
; then
11436 # The user explicitly disabled X.
11439 case $x_includes,$x_libraries in #(
11440 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
11441 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
11442 $as_echo_n "(cached) " >&6
11444 # One or both of the vars are not set, and there is no cached value.
11445 ac_x_includes
=no ac_x_libraries
=no
11446 rm -f -r conftest.dir
11447 if mkdir conftest.dir
; then
11449 cat >Imakefile
<<'_ACEOF'
11451 @echo incroot='${INCROOT}'
11453 @echo usrlibdir='${USRLIBDIR}'
11455 @echo libdir='${LIBDIR}'
11457 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11458 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11459 for ac_var
in incroot usrlibdir libdir
; do
11460 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11462 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11463 for ac_extension
in a so sl dylib la dll
; do
11464 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11465 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11466 ac_im_usrlibdir
=$ac_im_libdir; break
11469 # Screen out bogus values from the imake configuration. They are
11470 # bogus both because they are the default anyway, and because
11471 # using them would break gcc on systems where it needs fixed includes.
11472 case $ac_im_incroot in
11473 /usr
/include
) ac_x_includes
= ;;
11474 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11476 case $ac_im_usrlibdir in
11477 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
11478 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11482 rm -f -r conftest.dir
11485 # Standard set of common directories for X headers.
11486 # Check X11 before X11Rn because it is often a symlink to the current release.
11500 /usr/local/X11/include
11501 /usr/local/X11R7/include
11502 /usr/local/X11R6/include
11503 /usr/local/X11R5/include
11504 /usr/local/X11R4/include
11506 /usr/local/include/X11
11507 /usr/local/include/X11R7
11508 /usr/local/include/X11R6
11509 /usr/local/include/X11R5
11510 /usr/local/include/X11R4
11514 /usr/XFree86/include/X11
11518 /usr/unsupported/include
11519 /usr/athena/include
11520 /usr/local/x11r5/include
11521 /usr/lpp/Xamples/include
11523 /usr/openwin/include
11524 /usr/openwin/share/include'
11526 if test "$ac_x_includes" = no
; then
11527 # Guess where to find include files, by looking for Xlib.h.
11528 # First, try using that file with no special directory specified.
11529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11531 #include <X11/Xlib.h>
11533 if ac_fn_c_try_cpp
"$LINENO"; then :
11534 # We can compile using X headers with no special include directory.
11537 for ac_dir
in $ac_x_header_dirs; do
11538 if test -r "$ac_dir/X11/Xlib.h"; then
11539 ac_x_includes
=$ac_dir
11544 rm -f conftest.err conftest.i conftest.
$ac_ext
11545 fi # $ac_x_includes = no
11547 if test "$ac_x_libraries" = no
; then
11548 # Check for the libraries.
11549 # See if we find them without any special options.
11550 # Don't add to $LIBS permanently.
11553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11555 #include <X11/Xlib.h>
11564 if ac_fn_c_try_link
"$LINENO"; then :
11566 # We can link X programs with no special library path.
11570 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11572 # Don't even attempt the hair of trying to link an X program!
11573 for ac_extension
in a so sl dylib la dll
; do
11574 if test -r "$ac_dir/libX11.$ac_extension"; then
11575 ac_x_libraries
=$ac_dir
11581 rm -f core conftest.err conftest.
$ac_objext \
11582 conftest
$ac_exeext conftest.
$ac_ext
11583 fi # $ac_x_libraries = no
11585 case $ac_x_includes,$ac_x_libraries in #(
11586 no
,* |
*,no |
*\'*)
11587 # Didn't find X, or a directory has "'" in its name.
11588 ac_cv_have_x
="have_x=no";; #(
11590 # Record where we found X for the cache.
11591 ac_cv_have_x
="have_x=yes\
11592 ac_x_includes='$ac_x_includes'\
11593 ac_x_libraries='$ac_x_libraries'"
11599 eval "$ac_cv_have_x"
11602 if test "$have_x" != yes; then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11604 $as_echo "$have_x" >&6; }
11607 # If each of the values was on the command line, it overrides each guess.
11608 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11609 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11610 # Update the cache value to reflect the command line values.
11611 ac_cv_have_x
="have_x=yes\
11612 ac_x_includes='$x_includes'\
11613 ac_x_libraries='$x_libraries'"
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11615 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11620 for path
in $x_libraries
11622 x_cflags
="$x_cflags -L$path"
11625 for path
in $x_includes
11627 x_cflags
="$x_cflags -I$path"
11630 if test "x-$no_x" = "x-yes" ; then
11632 if test "x-$x11_hidd" != "x-auto" ; then
11633 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
11637 x11_hidd_target
=kernel-x11gfx-kobj
11640 # Check whether --enable-x11_shm was given.
11641 if test "${enable_x11_shm+set}" = set; then :
11642 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11644 x11_hidd_shm
="auto"
11647 case "x-$x11_hidd_shm" in
11648 x-yes|x-no|x-auto
) ;;
11649 *) x11_hidd_shm
="auto" ;;
11654 if test "x-$x11_hidd_shm" != "x-no" ; then
11656 for ac_header
in sys
/ipc.h
11658 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
11659 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
11660 cat >>confdefs.h
<<_ACEOF
11661 #define HAVE_SYS_IPC_H 1
11668 for ac_header
in sys
/shm.h
11670 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
11671 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
11672 cat >>confdefs.h
<<_ACEOF
11673 #define HAVE_SYS_SHM_H 1
11681 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11683 save_cflags
="$CFLAGS"
11684 CFLAGS
="$CFLAGS $x_cflags"
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11686 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11687 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
11688 $as_echo_n "(cached) " >&6
11690 ac_check_lib_save_LIBS
=$LIBS
11691 LIBS
="-lXext $LIBS"
11692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11701 char XShmQueryExtension ();
11705 return XShmQueryExtension ();
11710 if ac_fn_c_try_link
"$LINENO"; then :
11711 ac_cv_lib_Xext_XShmQueryExtension
=yes
11713 ac_cv_lib_Xext_XShmQueryExtension
=no
11715 rm -f core conftest.err conftest.
$ac_objext \
11716 conftest
$ac_exeext conftest.
$ac_ext
11717 LIBS
=$ac_check_lib_save_LIBS
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11720 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11721 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
11725 CFLAGS
="$save_cflags"
11729 if test "x-$have_xshm" = "x-yes" ; then
11730 DO_XSHM_SUPPORT
="1"
11731 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11732 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
11734 DO_XSHM_SUPPORT
="0"
11738 # Check whether --enable-x11_vidmode was given.
11739 if test "${enable_x11_vidmode+set}" = set; then :
11740 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11742 x11_hidd_vidmode
="auto"
11745 case "x-$x11_hidd_vidmode" in
11746 x-yes|x-no|x-auto
) ;;
11747 *) x11_hidd_vidmode
="auto" ;;
11752 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11754 save_cflags
="$CFLAGS"
11755 CFLAGS
="$CFLAGS $x_cflags"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11757 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11758 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
11759 $as_echo_n "(cached) " >&6
11761 ac_check_lib_save_LIBS
=$LIBS
11762 LIBS
="-lXxf86vm $LIBS"
11763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11764 /* end confdefs.h. */
11766 /* Override any GCC internal prototype to avoid an error.
11767 Use char because int might match the return type of a GCC
11768 builtin and then its argument prototype would still apply. */
11772 char XF86VidModeQueryExtension ();
11776 return XF86VidModeQueryExtension ();
11781 if ac_fn_c_try_link
"$LINENO"; then :
11782 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11784 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11786 rm -f core conftest.err conftest.
$ac_objext \
11787 conftest
$ac_exeext conftest.
$ac_ext
11788 LIBS
=$ac_check_lib_save_LIBS
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11791 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11792 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
11796 CFLAGS
="$save_cflags"
11799 if test "x-$have_vidmode" = "x-yes" ; then
11800 DO_VIDMODE_SUPPORT
="1"
11801 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11802 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
11804 DO_VIDMODE_SUPPORT
="0"
11808 aros_host_x11_includes
=$x_includes
11809 aros_host_x11_libdirs
=$x_libraries
11813 # Check whether --enable-sdl_hidd was given.
11814 if test "${enable_sdl_hidd+set}" = set; then :
11815 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11820 case "x-$sdl_hidd" in
11821 x-yes|x-no|x-auto
) ;;
11822 *) sdl_hidd
="auto" ;;
11825 if test "x-$sdl_hidd" != "x-no" ; then
11828 # Check whether --with-sdl-prefix was given.
11829 if test "${with_sdl_prefix+set}" = set; then :
11830 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11836 # Check whether --with-sdl-exec-prefix was given.
11837 if test "${with_sdl_exec_prefix+set}" = set; then :
11838 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11843 # Check whether --enable-sdltest was given.
11844 if test "${enable_sdltest+set}" = set; then :
11845 enableval
=$enable_sdltest;
11851 if test x
$sdl_exec_prefix != x
; then
11852 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11853 if test x
${SDL_CONFIG+set} != xset
; then
11854 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11857 if test x
$sdl_prefix != x
; then
11858 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11859 if test x
${SDL_CONFIG+set} != xset
; then
11860 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11864 if test "x$prefix" != xNONE
; then
11865 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11867 # Extract the first word of "sdl-config", so it can be a program name with args.
11868 set dummy sdl-config
; ac_word
=$2
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11870 $as_echo_n "checking for $ac_word... " >&6; }
11871 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
11872 $as_echo_n "(cached) " >&6
11874 case $SDL_CONFIG in
11876 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11880 for as_dir
in $PATH
11883 test -z "$as_dir" && as_dir
=.
11884 for ac_exec_ext
in '' $ac_executable_extensions; do
11885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11886 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11894 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
11898 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
11899 if test -n "$SDL_CONFIG"; then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
11901 $as_echo "$SDL_CONFIG" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11904 $as_echo "no" >&6; }
11908 min_sdl_version
=1.2.10
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
11910 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
11912 if test "$SDL_CONFIG" = "no" ; then
11915 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
11916 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
11918 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
11919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11920 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
11921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11922 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
11923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11924 if test "x$enable_sdltest" = "xyes" ; then
11925 ac_save_CFLAGS
="$CFLAGS"
11926 ac_save_CXXFLAGS
="$CXXFLAGS"
11927 ac_save_LIBS
="$LIBS"
11928 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11929 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11930 LIBS
="$LIBS $SDL_LIBS"
11932 if test "$cross_compiling" = yes; then :
11933 echo $ac_n "cross compiling; assumed OK... $ac_c"
11935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11939 #include <stdlib.h>
11940 #include <string.h>
11944 my_strdup (char *str)
11950 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
11951 strcpy (new_str, str);
11959 int main (int argc, char *argv[])
11961 int major, minor, micro;
11964 /* This hangs on some systems (?)
11965 system ("touch conf.sdltest");
11967 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
11969 /* HP/UX 9 (%@#!) writes to sscanf strings */
11970 tmp_version = my_strdup("$min_sdl_version");
11971 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11972 printf("%s, bad version string\n", "$min_sdl_version");
11976 if (($sdl_major_version > major) ||
11977 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
11978 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
11984 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
11985 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
11986 printf("*** best to upgrade to the required version.\n");
11987 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
11988 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
11989 printf("*** config.cache before re-running configure\n");
11996 if ac_fn_c_try_run
"$LINENO"; then :
12001 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12002 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12005 CFLAGS
="$ac_save_CFLAGS"
12006 CXXFLAGS
="$ac_save_CXXFLAGS"
12007 LIBS
="$ac_save_LIBS"
12010 if test "x$no_sdl" = x
; then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12012 $as_echo "yes" >&6; }
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12016 $as_echo "no" >&6; }
12017 if test "$SDL_CONFIG" = "no" ; then
12018 echo "*** The sdl-config script installed by SDL could not be found"
12019 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12020 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12021 echo "*** full path to sdl-config."
12023 if test -f conf.sdltest
; then
12026 echo "*** Could not run SDL test program, checking why..."
12027 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12028 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12029 LIBS
="$LIBS $SDL_LIBS"
12030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12036 int main(int argc, char *argv[])
12039 #define main K_and_R_C_main
12049 if ac_fn_c_try_link
"$LINENO"; then :
12050 echo "*** The test program compiled, but did not run. This usually means"
12051 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12052 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12053 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12054 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12055 echo "*** is required on your system"
12057 echo "*** If you have an old version installed, it is best to remove it, although"
12058 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12060 echo "*** The test program failed to compile or link. See the file config.log for the"
12061 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12062 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12063 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12065 rm -f core conftest.err conftest.
$ac_objext \
12066 conftest
$ac_exeext conftest.
$ac_ext
12067 CFLAGS
="$ac_save_CFLAGS"
12068 CXXFLAGS
="$ac_save_CXXFLAGS"
12069 LIBS
="$ac_save_LIBS"
12081 if test "x-$have_sdl" != "x-yes" ; then
12083 if test "x-$sdl_hidd" != "x-auto" ; then
12084 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
12088 sdl_hidd_target
=kernel-hidd-sdl
12089 aros_host_sdl_cflags
=SDL_CFLAGS
12090 aros_host_sdl_libs
=SDL_LIBS
12094 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12095 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12100 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
12101 oss_library_target
=workbench-libs-oss-unix
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
12107 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12108 # Check whether --enable-dbus was given.
12109 if test "${enable_dbus+set}" = set; then :
12110 enableval
=$enable_dbus; dbus
="yes"
12115 if test "$dbus" = "yes" ; then
12117 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12118 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12119 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12120 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
12125 $as_echo "$dbus" >&6; }
12127 if test "$use_kernel_cc_wrapper" = "yes" ; then
12128 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
12143 # Compatability with other Amiga-like operation systems
12246 # Native version related
12249 # Palm native version related
12255 # Unix/Hosted version related
12261 # Apple iOS related
12286 # Collect-aros stuff: "-ius" to ignore undefined symbols
12289 # C compiler related
12292 case "$aros_flavour" in
12293 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12294 aros_flavour
="emulation" ;;
12295 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12296 aros_flavour
="emulation" ;;
12297 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12298 aros_flavour
="standalone";;
12299 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12300 aros_flavour
="standalone";;
12301 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12302 aros_flavour
="native" ;;
12303 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12304 aros_flavour
="native" ;;
12305 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12306 aros_flavour
="linklib" ;;
12307 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12308 aros_flavour
="palmnative" ;;
12309 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12310 aros_flavour
="mac68knative" ;;
12311 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12312 aros_flavour
="ppcnative" ;;
12315 if test ! -d ${aros_inc_dir} ; then
12316 ${MKDIR} ${aros_inc_dir}
12318 if test ! -d ${aros_geninc_dir} ; then
12319 ${MKDIR} ${aros_geninc_dir}
12321 if test ! -d ${aros_hostcfg_dir} ; then
12322 ${MKDIR} ${aros_hostcfg_dir}
12324 if test ! -d ${aros_targetcfg_dir} ; then
12325 ${MKDIR} ${aros_targetcfg_dir}
12327 if test ! -d ${aros_tools_dir} ; then
12328 ${MKDIR} ${aros_tools_dir}
12330 if test ! -d ${aros_scripts_dir} ; then
12331 ${MKDIR} ${aros_scripts_dir}
12334 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12337 ac_config_commands
="$ac_config_commands compiler_executable"
12339 ac_config_commands
="$ac_config_commands genmf_executable"
12342 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_targetcfg_dir}/elf-specs:${elf_specs_in} ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc:scripts/elf-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
12345 cat >confcache
<<\_ACEOF
12346 # This file is a shell script that caches the results of configure
12347 # tests run on this system so they can be shared between configure
12348 # scripts and configure runs, see configure's option --config-cache.
12349 # It is not useful on other systems. If it contains results you don't
12350 # want to keep, you may remove or edit it.
12352 # config.status only pays attention to the cache file if you give it
12353 # the --recheck option to rerun configure.
12355 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12356 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12357 # following values.
12361 # The following way of writing the cache mishandles newlines in values,
12362 # but we know of no workaround that is simple, portable, and efficient.
12363 # So, we kill variables containing newlines.
12364 # Ultrix sh set writes to stderr and can't be redirected directly,
12365 # and sets the high bit in the cache file unless we assign to the vars.
12367 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12368 eval ac_val
=\$
$ac_var
12372 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12373 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12376 _ | IFS | as_nl
) ;; #(
12377 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12378 *) { eval $ac_var=; unset $ac_var;} ;;
12384 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12385 *${as_nl}ac_space
=\
*)
12386 # `set' does not quote correctly, so add quotes: double-quote
12387 # substitution turns \\\\ into \\, and sed turns \\ into \.
12390 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12393 # `set' quotes correctly as required by POSIX, so do not add quotes.
12394 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12403 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12405 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12407 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12408 if test -w "$cache_file"; then
12409 if test "x$cache_file" != "x/dev/null"; then
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12411 $as_echo "$as_me: updating cache $cache_file" >&6;}
12412 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12413 cat confcache
>"$cache_file"
12415 case $cache_file in #(
12417 mv -f confcache
"$cache_file"$$
&&
12418 mv -f "$cache_file"$$
"$cache_file" ;; #(
12420 mv -f confcache
"$cache_file" ;;
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12426 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12431 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12432 # Let make expand exec_prefix.
12433 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12435 DEFS
=-DHAVE_CONFIG_H
12440 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12441 # 1. Remove the extension, and $U if already installed.
12442 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12443 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12444 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12445 # will be set to the directory where LIBOBJS objects are built.
12446 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12447 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12449 LIBOBJS
=$ac_libobjs
12451 LTLIBOBJS
=$ac_ltlibobjs
12455 : "${CONFIG_STATUS=./config.status}"
12457 ac_clean_files_save
=$ac_clean_files
12458 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12460 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12462 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12464 # Generated by $as_me.
12465 # Run this file to recreate the current configuration.
12466 # Compiler output produced by configure, useful for debugging
12467 # configure, is in config.log if it exists.
12470 ac_cs_recheck=false
12473 SHELL=\${CONFIG_SHELL-$SHELL}
12476 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12477 ## -------------------- ##
12478 ## M4sh Initialization. ##
12479 ## -------------------- ##
12481 # Be more Bourne compatible
12482 DUALCASE
=1; export DUALCASE
# for MKS sh
12483 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12486 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12487 # is contrary to our usage. Disable this feature.
12488 alias -g '${1+"$@"}'='"$@"'
12489 setopt NO_GLOB_SUBST
12491 case `(set -o) 2>/dev/null` in #(
12503 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12504 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12505 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12506 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12507 # Prefer a ksh shell builtin over an external printf program on Solaris,
12508 # but without wasting forks for bash or zsh.
12509 if test -z "$BASH_VERSION$ZSH_VERSION" \
12510 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12511 as_echo='print
-r --'
12512 as_echo_n='print
-rn --'
12513 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12514 as_echo='printf %s
\n'
12515 as_echo_n='printf %s
'
12517 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12518 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12519 as_echo_n='/usr
/ucb
/echo -n'
12521 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12522 as_echo_n_body='eval
12526 expr "X$arg" : "X\\(.*\\)$as_nl";
12527 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12529 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12531 export as_echo_n_body
12532 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12534 export as_echo_body
12535 as_echo='sh
-c $as_echo_body as_echo
'
12538 # The user is always right.
12539 if test "${PATH_SEPARATOR+set}" != set; then
12541 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12542 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12549 # We need space, tab and new line, in precisely that order. Quoting is
12550 # there to prevent editors from complaining about space-tab.
12551 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12552 # splitting by setting IFS to empty value.)
12555 # Find who we are. Look in the path if we contain no directory separator.
12558 *[\\/]* ) as_myself=$0 ;;
12559 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12560 for as_dir in $PATH
12563 test -z "$as_dir" && as_dir=.
12564 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12570 # We did not find ourselves, most probably we were run as `sh COMMAND'
12571 # in which case we are not to be found in the path.
12572 if test "x$as_myself" = x
; then
12575 if test ! -f "$as_myself"; then
12576 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12580 # Unset variables that we do not need and which cause bugs (e.g. in
12581 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12582 # suppresses any "Segmentation fault" message there. '((' could
12583 # trigger a bug in pdksh 5.2.14.
12584 for as_var
in BASH_ENV ENV MAIL MAILPATH
12585 do eval test x\
${$as_var+set} = xset \
12586 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12599 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12602 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12603 # ----------------------------------------
12604 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12605 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12606 # script with STATUS, using 1 if that was 0.
12609 as_status
=$1; test $as_status -eq 0 && as_status
=1
12611 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12612 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12614 $as_echo "$as_me: error: $2" >&2
12615 as_fn_exit
$as_status
12619 # as_fn_set_status STATUS
12620 # -----------------------
12621 # Set $? to STATUS, without forking.
12622 as_fn_set_status
()
12625 } # as_fn_set_status
12627 # as_fn_exit STATUS
12628 # -----------------
12629 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12633 as_fn_set_status
$1
12639 # Portably unset VAR.
12642 { eval $1=; unset $1;}
12644 as_unset
=as_fn_unset
12645 # as_fn_append VAR VALUE
12646 # ----------------------
12647 # Append the text in VALUE to the end of the definition contained in VAR. Take
12648 # advantage of any shell optimizations that allow amortized linear growth over
12649 # repeated appends, instead of the typical quadratic growth present in naive
12651 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12652 eval 'as_fn_append ()
12663 # as_fn_arith ARG...
12664 # ------------------
12665 # Perform arithmetic evaluation on the ARGs, and store the result in the
12666 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12667 # must be portable across $(()) and expr.
12668 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12669 eval 'as_fn_arith ()
12676 as_val
=`expr "$@" || test $? -eq 1`
12681 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12682 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12688 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12689 as_basename
=basename
12694 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12700 as_me
=`$as_basename -- "$0" ||
12701 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12702 X"$0" : 'X\(//\)$' \| \
12703 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12705 sed '/^.*\/\([^/][^/]*\)\/*$/{
12719 # Avoid depending upon Character Ranges.
12720 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12721 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12722 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12723 as_cr_digits
='0123456789'
12724 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12726 ECHO_C
= ECHO_N
= ECHO_T
=
12727 case `echo -n x` in #(((((
12729 case `echo 'xy\c'` in
12730 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12732 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12739 rm -f conf$$ conf$$.exe conf$$.
file
12740 if test -d conf$$.dir
; then
12741 rm -f conf$$.dir
/conf$$.
file
12744 mkdir conf$$.dir
2>/dev
/null
12746 if (echo >conf$$.
file) 2>/dev
/null
; then
12747 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12749 # ... but there are two gotchas:
12750 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12751 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12752 # In both cases, we have to default to `cp -p'.
12753 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12755 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12763 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12764 rmdir conf$$.dir
2>/dev
/null
12769 # Create "$as_dir" as a directory, including parents if necessary.
12774 -*) as_dir
=.
/$as_dir;;
12776 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12780 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12781 *) as_qdir
=$as_dir;;
12783 as_dirs
="'$as_qdir' $as_dirs"
12784 as_dir
=`$as_dirname -- "$as_dir" ||
12785 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12786 X"$as_dir" : 'X\(//\)[^/]' \| \
12787 X"$as_dir" : 'X\(//\)$' \| \
12788 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12789 $as_echo X"$as_dir" |
12790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12794 /^X\(\/\/\)[^/].*/{
12807 test -d "$as_dir" && break
12809 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12810 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12814 if mkdir
-p .
2>/dev
/null
; then
12815 as_mkdir_p
='mkdir -p "$as_dir"'
12817 test -d .
/-p && rmdir .
/-p
12821 if test -x / >/dev
/null
2>&1; then
12822 as_test_x
='test -x'
12824 if ls -dL / >/dev
/null
2>&1; then
12831 if test -d "$1"; then
12837 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12838 ???[sx]*):;;*)false;;esac;fi
12842 as_executable_p
=$as_test_x
12844 # Sed expression to map a string onto a valid CPP name.
12845 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12847 # Sed expression to map a string onto a valid variable name.
12848 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12852 ## ----------------------------------- ##
12853 ## Main body of $CONFIG_STATUS script. ##
12854 ## ----------------------------------- ##
12856 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12859 # Save the log message, to keep $0 and so on meaningful, and to
12860 # report actual input values of CONFIG_FILES etc. instead of their
12861 # values after options handling.
12863 This file was extended by $as_me, which was
12864 generated by GNU Autoconf 2.68. Invocation command line was
12866 CONFIG_FILES = $CONFIG_FILES
12867 CONFIG_HEADERS = $CONFIG_HEADERS
12868 CONFIG_LINKS = $CONFIG_LINKS
12869 CONFIG_COMMANDS = $CONFIG_COMMANDS
12872 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12877 case $ac_config_files in *"
12878 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12881 case $ac_config_headers in *"
12882 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12887 # Files that config.status was made for.
12888 config_files="$ac_config_files"
12889 config_headers="$ac_config_headers"
12890 config_commands="$ac_config_commands"
12894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12896 \`$as_me' instantiates files and other configuration actions
12897 from templates according to the current configuration. Unless the files
12898 and actions are specified as TAGs, all are instantiated by default.
12900 Usage: $0 [OPTION]... [TAG]...
12902 -h, --help print this help, then exit
12903 -V, --version print version number and configuration settings, then exit
12904 --config print configuration, then exit
12905 -q, --quiet, --silent
12906 do not print progress messages
12907 -d, --debug don't remove temporary files
12908 --recheck update $as_me by reconfiguring in the same conditions
12909 --file=FILE[:TEMPLATE]
12910 instantiate the configuration file FILE
12911 --header=FILE[:TEMPLATE]
12912 instantiate the configuration header FILE
12914 Configuration files:
12917 Configuration headers:
12920 Configuration commands:
12923 Report bugs to the package provider."
12926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12927 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12930 configured by $0, generated by GNU Autoconf 2.68,
12931 with options \\"\$ac_cs_config\\"
12933 Copyright (C) 2010 Free Software Foundation, Inc.
12934 This config.status script is free software; the Free Software Foundation
12935 gives unlimited permission to copy, distribute and modify it."
12939 test -n "\$AWK" || AWK=awk
12942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12943 # The default lists apply if the user does not specify any file.
12949 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12950 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12954 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12966 # Handling of the options.
12967 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12969 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12970 $as_echo "$ac_cs_version"; exit ;;
12971 --config |
--confi |
--conf |
--con |
--co |
--c )
12972 $as_echo "$ac_cs_config"; exit ;;
12973 --debug |
--debu |
--deb |
--de |
--d |
-d )
12975 --file |
--fil |
--fi |
--f )
12978 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12979 '') as_fn_error $?
"missing file argument" ;;
12981 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12982 ac_need_defaults
=false
;;
12983 --header |
--heade |
--head |
--hea )
12986 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12988 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12989 ac_need_defaults
=false
;;
12991 # Conflict between --help and --header
12992 as_fn_error $?
"ambiguous option: \`$1'
12993 Try \`$0 --help' for more information.";;
12994 --help |
--hel |
-h )
12995 $as_echo "$ac_cs_usage"; exit ;;
12996 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12997 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13000 # This is an error.
13001 -*) as_fn_error $?
"unrecognized option: \`$1'
13002 Try \`$0 --help' for more information." ;;
13004 *) as_fn_append ac_config_targets
" $1"
13005 ac_need_defaults
=false
;;
13011 ac_configure_extra_args
=
13013 if $ac_cs_silent; then
13015 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13020 if \$ac_cs_recheck; then
13021 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13023 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13024 CONFIG_SHELL='$SHELL'
13025 export CONFIG_SHELL
13030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13034 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13035 ## Running $as_me. ##
13041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13046 aros_host_exe_suffix=${aros_host_exe_suffix}
13047 aros_tools_dir=${aros_tools_dir}
13048 aros_target_cpu=${aros_target_cpu}
13049 aros_target_arch=${aros_target_arch}
13050 aros_target_suffix=${aros_target_suffix}
13051 aros_target_nm_ln=${aros_target_nm_ln}
13052 aros_target_as_ln=${aros_target_as_ln}
13053 aros_target_ar_ln=${aros_target_ar_ln}
13054 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13055 aros_target_objdump_ln=${aros_target_objdump_ln}
13056 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13057 aros_target_strip_ln=${aros_target_strip_ln}
13058 aros_kernel_ld=${aros_kernel_ld}
13061 aros_tools_dir=${aros_tools_dir}
13066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13068 # Handling of arguments.
13069 for ac_config_target
in $ac_config_targets
13071 case $ac_config_target in
13072 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13073 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13074 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13075 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13076 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13077 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13078 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13079 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13080 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13081 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13082 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13083 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13084 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
13085 "${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" ;;
13086 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc:scripts/elf-gcc.in" ;;
13087 "${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" ;;
13088 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13089 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13090 "${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" ;;
13092 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13097 # If the user did not use the arguments to specify the items to instantiate,
13098 # then the envvar interface is used. Set only those that are not.
13099 # We use the long form for the default assignment because of an extremely
13100 # bizarre bug on SunOS 4.1.3.
13101 if $ac_need_defaults; then
13102 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13103 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13104 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13107 # Have a temporary directory for convenience. Make it in the build tree
13108 # simply because there is no reason against having it here, and in addition,
13109 # creating and moving files from /tmp can sometimes cause problems.
13110 # Hook for its removal unless debugging.
13111 # Note that there is a small window in which the directory will not be cleaned:
13112 # after its creation but before its name has been assigned to `$tmp'.
13116 trap 'exit_status=$?
13117 : "${ac_tmp:=$tmp}"
13118 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13120 trap 'as_fn_exit 1' 1 2 13 15
13122 # Create a (secure) tmp directory for tmp files.
13125 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13129 tmp
=.
/conf$$
-$RANDOM
13130 (umask 077 && mkdir
"$tmp")
13131 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13134 # Set up the scripts for CONFIG_FILES section.
13135 # No need to generate them if there are no CONFIG_FILES.
13136 # This happens for instance with `./config.status config.h'.
13137 if test -n "$CONFIG_FILES"; then
13140 ac_cr
=`echo X | tr X '\015'`
13141 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13142 # But we know of no other shell where ac_cr would be empty at this
13143 # point, so we can use a bashism as a fallback.
13144 if test "x$ac_cr" = x
; then
13145 eval ac_cr
=\$
\'\\r
\'
13147 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13148 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13151 ac_cs_awk_cr
=$ac_cr
13154 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13159 echo "cat >conf$$subs.awk <<_ACEOF" &&
13160 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13162 } >conf$$subs.sh ||
13163 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13164 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13166 for ac_last_try in false false false false false :; do
13167 . ./conf$$subs.sh ||
13168 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13170 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13171 if test $ac_delim_n = $ac_delim_num; then
13173 elif $ac_last_try; then
13174 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13176 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13179 rm -f conf$$subs.sh
13181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13182 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13186 s/^/S["/; s
/!.
*/"]=/
13196 s/\(.\{148\}\)..*/\1/
13198 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13203 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13210 s/\(.\{148\}\)..*/\1/
13212 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13216 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13221 ' <conf$$subs.awk | sed '
13226 ' >>$CONFIG_STATUS || ac_write_fail=1
13227 rm -f conf$$subs.awk
13228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13230 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13231 for (key in S) S_is_set[key] = 1
13237 nfields = split(line, field, "@
")
13239 len = length(field[1])
13240 for (i = 2; i < nfields; i++) {
13242 keylen = length(key)
13243 if (S_is_set[key]) {
13245 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13246 len += length(value) + length(field[++i])
13257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13258 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13259 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13262 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13263 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13266 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13267 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13268 # trailing colons and then remove the whole line if VPATH becomes empty
13269 # (actually we leave an empty line to preserve line numbers).
13270 if test "x
$srcdir" = x.; then
13271 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13290 fi # test -n "$CONFIG_FILES"
13292 # Set up the scripts for CONFIG_HEADERS section.
13293 # No need to generate them if there are no CONFIG_HEADERS.
13294 # This happens for instance with `./config.status Makefile'.
13295 if test -n "$CONFIG_HEADERS"; then
13296 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13300 # Transform confdefs.h into an awk script `defines.awk', embedded as
13301 # here-document in config.status, that substitutes the proper values into
13302 # config.h.in to produce config.h.
13304 # Create a delimiter string that does not exist in confdefs.h, to ease
13305 # handling of long lines.
13307 for ac_last_try in false false :; do
13308 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13309 if test -z "$ac_tt"; then
13311 elif $ac_last_try; then
13312 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13314 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13318 # For the awk script, D is an array of macro values keyed by name,
13319 # likewise P contains macro parameters if any. Preserve backslash
13320 # newline sequences.
13322 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13324 s/.\{148\}/&'"$ac_delim"'/g
13327 s/^[ ]*#[ ]*define[ ][ ]*/ /
13334 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13336 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13340 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13341 D["\
1"]=" \
3\\\\\\n
"\\/p
13343 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13348 s/.\{148\}/&'"$ac_delim"'/g
13353 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13356 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13358 ' <confdefs.h | sed '
13359 s/'"$ac_delim"'/"\\\
13360 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13363 for (key in D) D_is_set[key] = 1
13366 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13368 split(line, arg, " ")
13369 if (arg[1] == "#") {
13373 defundef
= substr
(arg
[1], 2)
13376 split(mac1
, mac2
, "(") #)
13378 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13379 if (D_is_set
[macro
]) {
13380 # Preserve the white space surrounding the "#".
13381 print prefix
"define", macro P
[macro
] D
[macro
]
13384 # Replace #undef with comments. This is necessary, for example,
13385 # in the case of _POSIX_SOURCE, which is predefined and required
13386 # on some systems where configure will not decide to define it.
13387 if (defundef
== "undef") {
13388 print
"/*", prefix defundef
, macro
, "*/"
13396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13397 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13398 fi # test -n "$CONFIG_HEADERS"
13401 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13406 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13408 case $ac_mode$ac_tag in
13410 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13411 :[FH
]-) ac_tag
=-:-;;
13412 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13429 -) ac_f
="$ac_tmp/stdin";;
13430 *) # Look for the file first in the build tree, then in the source tree
13431 # (if the path is not absolute). The absolute path cannot be DOS-style,
13432 # because $ac_f cannot contain `:'.
13436 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13438 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13440 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13441 as_fn_append ac_file_inputs
" '$ac_f'"
13444 # Let's still pretend it is `configure' which instantiates (i.e., don't
13445 # use $as_me), people would be surprised to read:
13446 # /* config.h. Generated by config.status. */
13447 configure_input
='Generated from '`
13448 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13450 if test x
"$ac_file" != x-
; then
13451 configure_input
="$ac_file. $configure_input"
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13453 $as_echo "$as_me: creating $ac_file" >&6;}
13455 # Neutralize special characters interpreted by sed in replacement strings.
13456 case $configure_input in #(
13457 *\
&* |
*\|
* |
*\\* )
13458 ac_sed_conf_input
=`$as_echo "$configure_input" |
13459 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13460 *) ac_sed_conf_input
=$configure_input;;
13464 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13465 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13470 ac_dir
=`$as_dirname -- "$ac_file" ||
13471 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13472 X"$ac_file" : 'X\(//\)[^/]' \| \
13473 X"$ac_file" : 'X\(//\)$' \| \
13474 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13475 $as_echo X"$ac_file" |
13476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13480 /^X\(\/\/\)[^/].*/{
13493 as_dir
="$ac_dir"; as_fn_mkdir_p
13497 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13499 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13500 # A ".." for each directory in $ac_dir_suffix.
13501 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13502 case $ac_top_builddir_sub in
13503 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13504 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13507 ac_abs_top_builddir
=$ac_pwd
13508 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13509 # for backward compatibility:
13510 ac_top_builddir
=$ac_top_build_prefix
13513 .
) # We are building in place.
13515 ac_top_srcdir
=$ac_top_builddir_sub
13516 ac_abs_top_srcdir
=$ac_pwd ;;
13517 [\\/]* | ?
:[\\/]* ) # Absolute name.
13518 ac_srcdir
=$srcdir$ac_dir_suffix;
13519 ac_top_srcdir
=$srcdir
13520 ac_abs_top_srcdir
=$srcdir ;;
13521 *) # Relative name.
13522 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13523 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13524 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13526 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13538 # If the template does not know about datarootdir, expand it.
13539 # FIXME: This hack should be removed a few years after 2.60.
13540 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13551 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13552 *datarootdir
*) ac_datarootdir_seen
=yes;;
13553 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13555 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13558 ac_datarootdir_hack='
13559 s&@datadir@&$datadir&g
13560 s&@docdir@&$docdir&g
13561 s&@infodir@&$infodir&g
13562 s&@localedir@&$localedir&g
13563 s&@mandir@&$mandir&g
13564 s&\\\${datarootdir}&$datarootdir&g' ;;
13568 # Neutralize VPATH when `$srcdir' = `.'.
13569 # Shell code in configure.ac might set extrasub.
13570 # FIXME: do we really want to maintain this feature?
13571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13572 ac_sed_extra="$ac_vpsub
13575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13577 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13578 s|@configure_input@|
$ac_sed_conf_input|
;t t
13579 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13580 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13581 s
&@srcdir@
&$ac_srcdir&;t t
13582 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13583 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13584 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13585 s
&@builddir@
&$ac_builddir&;t t
13586 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13587 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13588 $ac_datarootdir_hack
13590 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13591 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13593 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13594 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13595 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13596 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13598 which seems to be undefined. Please make sure it is defined" >&5
13599 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13600 which seems to be undefined. Please make sure it is defined" >&2;}
13602 rm -f "$ac_tmp/stdin"
13604 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13605 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13607 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13613 if test x"$ac_file" != x-; then
13615 $as_echo "/* $configure_input */" \
13616 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13617 } >"$ac_tmp/config.h" \
13618 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13619 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13621 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13624 mv "$ac_tmp/config.h" "$ac_file" \
13625 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13628 $as_echo "/* $configure_input */" \
13629 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13630 || as_fn_error $? "could not create -" "$LINENO" 5
13634 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13635 $as_echo "$as_me: executing $ac_file commands" >&6;}
13640 case $ac_file$ac_mode in
13641 "compiler_executable":C)
13642 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13644 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13645 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
13649 chmod a+x ${prefix2}-gcc ${prefix2}-ld ${prefix3}-gcc
13651 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
13652 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
13653 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
13654 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
13655 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
13656 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
13657 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
13659 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
13661 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
13669 ac_clean_files=$ac_clean_files_save
13671 test $ac_write_fail = 0 ||
13672 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13675 # configure is writing to config.log, and then calls config.status.
13676 # config.status does its own redirection, appending to config.log.
13677 # Unfortunately, on DOS this fails, as config.log is still kept open
13678 # by configure, so config.status won't be able to
write to it
; its
13679 # output is simply discarded. So we exec the FD to /dev/null,
13680 # effectively closing config.log, so it can be properly (re)opened and
13681 # appended to by config.status. When coming back to configure, we
13682 # need to make the FD available again.
13683 if test "$no_create" != yes; then
13685 ac_config_status_args
=
13686 test "$silent" = yes &&
13687 ac_config_status_args
="$ac_config_status_args --quiet"
13689 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13691 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13692 # would make configure fail if this is the last instruction.
13693 $ac_cs_success || as_fn_exit
1
13695 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13697 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13702 #XXX compatability...
13703 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13705 if test -n "$aros_shared_cflags" ; then
13706 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13707 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg