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 -mno-red-zone -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 target_tool_prefix
="arm-mingw32ce-"
7857 aros_default_wbwidth
=160
7858 aros_default_wbheight
=160
7861 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7864 if test $host_os = "cygwin"; then
7865 aros_kernel_cflags
="-mno-cygwin"
7869 aros_target_arch
="pp"
7870 aros_shared_default
="no"
7871 case "$target_cpu" in
7873 aros_target_cpu
="m68k"
7874 aros_object_format
="m68kelf"
7875 aros_flavour
="palmnative"
7876 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7877 aros_default_wbwidth
=160
7878 aros_default_wbheight
=160
7879 aros_default_wbdepth
=1
7880 aros_target_ar_flags
="cru"
7881 aros_compiler_libs
="-lgcc1"
7882 aros_shared_default
=no
7883 aros_shared_cflags
="-fpic"
7884 aros_shared_aflags
=""
7885 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7886 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7887 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7888 aros_debug_aflags
=""
7889 aros_debug_ldflags
="$aros_symbols_debug"
7890 aros_mungwall_debug
="0"
7891 aros_modules_debug
="0"
7892 gcc_target_cpu
="mc68000"
7893 ignore_undefined_symbols
="-ius"
7896 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7902 aros_target_arch
="mac"
7903 aros_shared_default
="no"
7904 case "$target_cpu" in
7906 aros_target_cpu
="m68k"
7907 aros_object_format
="m68kelf"
7908 aros_flavour
="mac68knative"
7909 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7910 aros_default_wbwidth
=512
7911 aros_default_wbheight
=384
7912 aros_default_wbdepth
=8
7913 aros_target_ar_flags
="cru"
7914 aros_compiler_libs
="-lgcc1"
7915 aros_shared_default
=no
7916 aros_shared_cflags
="-fpic"
7917 aros_shared_aflags
=""
7918 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7919 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7920 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
7921 aros_debug_aflags
=""
7922 aros_debug_ldflags
="$aros_symbols_debug"
7923 aros_mungwall_debug
="0"
7924 aros_modules_debug
="0"
7925 gcc_target_cpu
="mc68000"
7926 ignore_undefined_symbols
="-ius"
7929 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7935 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
7939 # Now process extra architecture-specific options.
7940 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
7941 # as well as floating-point ABI.
7942 case "$aros_target_cpu" in
7944 if test "$gcc_default_cpu" = ""; then
7945 gcc_default_cpu
="armv6"
7947 if test "$gcc_default_fpu" = ""; then
7948 gcc_default_fpu
="vfp"
7950 if test "$gcc_default_float_abi" = ""; then
7951 gcc_default_float_abi
="softfp"
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
7955 $as_echo_n "checking Which minimum CPU to use... " >&6; }
7957 # Check whether --with-cpu was given.
7958 if test "${with_cpu+set}" = set; then :
7959 withval
=$with_cpu; aros_gcc_cpu
="$withval"
7961 aros_gcc_cpu
=$gcc_default_cpu
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
7965 $as_echo "$aros_gcc_cpu" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
7968 $as_echo_n "checking Which minimum FPU to use... " >&6; }
7970 # Check whether --with-fpu was given.
7971 if test "${with_fpu+set}" = set; then :
7972 withval
=$with_fpu; aros_gcc_fpu
="$withval"
7974 aros_gcc_fpu
=$gcc_default_fpu
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
7978 $as_echo "$aros_gcc_fpu" >&6; }
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
7981 $as_echo_n "checking Which floating point ABI to use... " >&6; }
7983 # Check whether --with-float was given.
7984 if test "${with_float+set}" = set; then :
7985 withval
=$with_float; aros_gcc_float_abi
="$withval"
7987 aros_gcc_float_abi
=$gcc_default_float_abi
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
7991 $as_echo "$aros_gcc_float_abi" >&6; }
7993 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"
7994 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"
7998 # Some formats need custom ELF specs.
7999 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8000 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8001 elf_specs_in
=config
/${aros_object_format}-specs.
in
8003 elf_specs_in
=config
/elf-specs.
in
8006 #-----------------------------------------------------------------------------
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
8008 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
8010 # Check whether --with-crosstools was given.
8011 if test "${with_crosstools+set}" = set; then :
8012 withval
=$with_crosstools; with_crosstools
=$withval
8014 with_crosstools
="default"
8017 if test "$with_crosstools" = "default"; then
8018 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8020 AROS_CROSSTOOLSDIR
="$with_crosstools"
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8023 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8025 if test "$crosstools" != "no" -o "$with_crosstools" != "default"; then
8029 PATH
=$AROS_CROSSTOOLSDIR:$PATH
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8033 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8035 # Check whether --with-aros-gcc was given.
8036 if test "${with_aros_gcc+set}" = set; then :
8037 withval
=$with_aros_gcc; aros_gcc_version
="$withval"
8039 aros_gcc_version
="$use_aros_gcc"
8042 case "$aros_gcc_version" in
8044 aros_gcc_version
="default"
8047 aros_gcc_version
="none"
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8051 $as_echo "$aros_gcc_version" >&6; }
8053 if test "$aros_gcc_version" != "none"; then
8056 if test "$aros_gcc_version" != "default"; then
8057 aros_target_cc
="$aros_target_cpu-aros-gcc-$aros_gcc_version"
8058 aros_target_cxx
="$aros_target_cpu-aros-g++-$aros_gcc_version"
8060 aros_target_cc
="$aros_target_cpu-aros-gcc"
8061 aros_target_cxx
="$aros_target_cpu-aros-g++"
8064 aros_target_ld
="$aros_target_cpu-aros-ld"
8065 aros_target_as
="$aros_target_cpu-aros-as"
8066 aros_target_ar
="$aros_target_cpu-aros-ar"
8067 aros_target_ranlib
="$aros_target_cpu-aros-ranlib"
8068 aros_target_nm
="$aros_target_cpu-aros-nm"
8069 aros_target_strip
="$aros_target_cpu-aros-strip"
8070 aros_target_objcopy
="$aros_target_cpu-aros-objcopy"
8071 aros_target_objdump
="$aros_target_cpu-aros-objdump"
8074 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8075 # Since we override specs, we may need to put these defines there
8076 if test "$gcc_target_cpu" != ""; then
8077 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8081 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8083 # Check whether --with-portssources was given.
8084 if test "${with_portssources+set}" = set; then :
8085 withval
=$with_portssources; with_portssrcdir
=$withval
8087 with_portssrcdir
="default"
8090 if test "$with_portssrcdir" = "default"; then
8091 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8093 AROS_PORTSSRCDIR
="$with_portssrcdir"
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8096 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8099 $as_echo_n "checking which bootloader to use... " >&6; }
8101 # Check whether --with-bootloader was given.
8102 if test "${with_bootloader+set}" = set; then :
8103 withval
=$with_bootloader; target_bootloader
=$withval
8105 target_bootloader
=$target_bootloader
8108 if test "$target_bootloader" = "none"; then
8109 aros_target_bootloader
=""
8111 aros_target_bootloader
="$target_bootloader"
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8114 $as_echo "$target_bootloader" >&6; }
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8117 $as_echo_n "checking which icon-set to use... " >&6; }
8119 # Check whether --with-iconset was given.
8120 if test "${with_iconset+set}" = set; then :
8121 withval
=$with_iconset; target_iconset
=$withval
8123 target_iconset
="default"
8126 if test "$target_iconset" = "default"; then
8127 aros_target_iconset
="Gorilla"
8128 target_iconset
="default (Gorilla)"
8130 aros_target_iconset
="$target_iconset"
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8133 $as_echo "$target_iconset" >&6; }
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8136 $as_echo_n "checking which GUI Theme to use... " >&6; }
8138 # Check whether --with-theme was given.
8139 if test "${with_theme+set}" = set; then :
8140 withval
=$with_theme; target_guitheme
=$withval
8142 target_guitheme
="default"
8145 if test "$target_guitheme" = "default"; then
8146 aros_target_guitheme
="Ice"
8148 aros_target_guitheme
="$target_guitheme"
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8151 $as_echo "$aros_target_guitheme" >&6; }
8153 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8156 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8160 if test "$aros_host_cpu" == "x86_64" ; then
8161 if test "$aros_target_cpu" == "i386" ; then
8162 if test "$aros_target_arch" != "mingw32"; then
8168 if test "$aros_host_arch" == "darwin" ; then
8169 if test "$aros_target_arch" != "darwin" ; then
8174 if test "$aros_host_arch" == "mingw32" ; then
8175 if test "$aros_target_arch" != "mingw32" ; then
8180 # I want to have this information in configure output, although it might be
8181 # misleading, e.g. for darwin hosted you cannot compile target code without a
8182 # cross compiler, but here it says no.
8184 # Note: it says 'yes' only if bootstrap ("kernel") is cross-compiled.
8185 # Target code is a little bit different thing.
8187 echo "checking wether we are (AROS style) cross compiling... $cross_compiling"
8189 # Set prefix for target compiler etc. if we're cross-compiling
8190 # (should possibly be earlier but needs to be after AC_PROG_CC)
8191 if test "$cross_compiling" = "yes" ; then
8193 if test "x-$aros_flavour" = "x-standalone" -o "x-$aros_flavour" = "x-standcompat" ; then
8194 if test "$aros_gcc_version" != "none"; then
8197 target_tool_prefix
=${target_cpu}-aros-
8198 target_tool_version
=$aros_gcc_version
8199 use_kernel_cc_wrapper
=yes
8208 aros_target_objcopy
=
8209 aros_target_objdump
=
8213 CC
=${target_tool_prefix}gcc
8214 CPP
=${target_tool_prefix}cpp
8215 if test "$target_tool_version" != "default"; then
8216 CC
="$CC-$target_tool_version"
8217 CPP
="$CC-$target_tool_version"
8219 if test "$crosstools" != "yes" ; then
8220 # Extract the first word of "$CC", so it can be a program name with args.
8221 set dummy
$CC; ac_word
=$2
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8223 $as_echo_n "checking for $ac_word... " >&6; }
8224 if ${ac_cv_path_CC+:} false
; then :
8225 $as_echo_n "(cached) " >&6
8229 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
8232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8236 test -z "$as_dir" && as_dir
=.
8237 for ac_exec_ext
in '' $ac_executable_extensions; do
8238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8239 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
8240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8251 if test -n "$CC"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8253 $as_echo "$CC" >&6; }
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8260 if test "$CC" = ""; then
8261 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8264 CC
=$AROS_CROSSTOOLSDIR/$CC
8267 CC
="$CC $target_tool_flags"
8269 #-----------------------------------------------------------------------------
8271 # Disable pointer-signedness warnings if the compiler recognises the option
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8274 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8275 save_cflags
="$CFLAGS"
8276 if test "$crosstools" != "yes" ; then
8277 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h. */
8289 if ac_fn_c_try_compile
"$LINENO"; then :
8290 use_no_sign_warning
="yes"
8292 use_no_sign_warning
="no"
8294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8296 # we do know it is supported for the smallest version of gcc we are going to build
8297 # we assume it's also supported by later versions
8298 use_no_sign_warning
=yes
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8301 $as_echo "$use_no_sign_warning" >&6; }
8302 if test "x-$use_no_sign_warning" = "x-yes" ; then
8303 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8305 CFLAGS
="$save_cflags"
8307 #-----------------------------------------------------------------------------
8309 # Find all the tools we need to compile. This could be cross-compiling
8310 # though! If that is the case we use the GNU form of the target and
8311 # simply add this to the front of the binary name. This is rather simple,
8312 # but it should work under most circumstances.
8314 # The default tools are to use the same as the host, but only if the
8315 # host and target CPU are the same. With GCC this is normally enough.
8319 aros_shared_ld
="$aros_host_ld"
8321 aros_target_mkdep
="$aros_host_mkdep"
8322 aros_target_incl_def
="$aros_host_incl"
8324 aros_kernel_cc
="$CC"
8326 # The default tools executables to be linked to.
8327 if test "$rescomp" != ""; then
8328 if test "$cross_compiling" = "yes" ; then
8329 rescomp
=${target_tool_prefix}${rescomp}
8331 # Extract the first word of "$rescomp", so it can be a program name with args.
8332 set dummy
$rescomp; ac_word
=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
8336 $as_echo_n "(cached) " >&6
8338 case $aros_kernel_rescomp in
8340 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8347 test -z "$as_dir" && as_dir
=.
8348 for ac_exec_ext
in '' $ac_executable_extensions; do
8349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8350 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8361 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8362 if test -n "$aros_kernel_rescomp"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8364 $as_echo "$aros_kernel_rescomp" >&6; }
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 $as_echo "no" >&6; }
8371 if test "$aros_kernel_rescomp" = ""; then
8372 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8376 if test "$crosstools" != "yes"; then
8378 if test "$aros_kernel_ld" = ""; then
8379 if test "$cross_compiling" = "yes" ; then
8380 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8381 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8383 $as_echo_n "checking for $ac_word... " >&6; }
8384 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8385 $as_echo_n "(cached) " >&6
8387 case $aros_kernel_ld in
8389 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8396 test -z "$as_dir" && as_dir
=.
8397 for ac_exec_ext
in '' $ac_executable_extensions; do
8398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8399 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8410 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8411 if test -n "$aros_kernel_ld"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8413 $as_echo "$aros_kernel_ld" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8421 if test "$GCC" = "yes"; then
8422 aros_gcc_ld
=`$CC -print-prog-name=ld`
8423 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8424 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8426 $as_echo_n "checking for $ac_word... " >&6; }
8427 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8428 $as_echo_n "(cached) " >&6
8430 case $aros_kernel_ld in
8432 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8436 for as_dir
in `dirname $aros_gcc_ld`
8439 test -z "$as_dir" && as_dir
=.
8440 for ac_exec_ext
in '' $ac_executable_extensions; do
8441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8442 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8453 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8454 if test -n "$aros_kernel_ld"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8456 $as_echo "$aros_kernel_ld" >&6; }
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459 $as_echo "no" >&6; }
8464 if test "$aros_kernel_ld" = ""; then
8465 # Extract the first word of "ld", so it can be a program name with args.
8466 set dummy ld
; ac_word
=$2
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8468 $as_echo_n "checking for $ac_word... " >&6; }
8469 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8470 $as_echo_n "(cached) " >&6
8472 case $aros_kernel_ld in
8474 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8481 test -z "$as_dir" && as_dir
=.
8482 for ac_exec_ext
in '' $ac_executable_extensions; do
8483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8484 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8495 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8496 if test -n "$aros_kernel_ld"; then
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8498 $as_echo "$aros_kernel_ld" >&6; }
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8501 $as_echo "no" >&6; }
8508 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8509 set dummy
$aros_kernel_ld; ac_word
=$2
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8511 $as_echo_n "checking for $ac_word... " >&6; }
8512 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8513 $as_echo_n "(cached) " >&6
8515 case $aros_kernel_ld in
8517 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8524 test -z "$as_dir" && as_dir
=.
8525 for ac_exec_ext
in '' $ac_executable_extensions; do
8526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8527 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8538 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8539 if test -n "$aros_kernel_ld"; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8541 $as_echo "$aros_kernel_ld" >&6; }
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8544 $as_echo "no" >&6; }
8550 if test "$aros_kernel_ld" = ""; then
8551 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8554 if test "$aros_kernel_ar" = ""; then
8555 if test "$cross_compiling" = "yes" ; then
8556 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8557 set dummy
${target_tool_prefix}ar; ac_word
=$2
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8559 $as_echo_n "checking for $ac_word... " >&6; }
8560 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8561 $as_echo_n "(cached) " >&6
8563 case $aros_kernel_ar in
8565 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8572 test -z "$as_dir" && as_dir
=.
8573 for ac_exec_ext
in '' $ac_executable_extensions; do
8574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8575 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8586 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8587 if test -n "$aros_kernel_ar"; then
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8589 $as_echo "$aros_kernel_ar" >&6; }
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592 $as_echo "no" >&6; }
8597 if test "$GCC" = "yes"; then
8598 aros_gcc_ar
=`$CC -print-prog-name=ar`
8599 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8600 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8602 $as_echo_n "checking for $ac_word... " >&6; }
8603 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8604 $as_echo_n "(cached) " >&6
8606 case $aros_kernel_ar in
8608 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8612 for as_dir
in `dirname $aros_gcc_ar`
8615 test -z "$as_dir" && as_dir
=.
8616 for ac_exec_ext
in '' $ac_executable_extensions; do
8617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8618 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8629 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8630 if test -n "$aros_kernel_ar"; then
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8632 $as_echo "$aros_kernel_ar" >&6; }
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8635 $as_echo "no" >&6; }
8640 if test "$aros_kernel_ar" = ""; then
8641 # Extract the first word of "ar", so it can be a program name with args.
8642 set dummy
ar; ac_word
=$2
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8644 $as_echo_n "checking for $ac_word... " >&6; }
8645 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8646 $as_echo_n "(cached) " >&6
8648 case $aros_kernel_ar in
8650 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8657 test -z "$as_dir" && as_dir
=.
8658 for ac_exec_ext
in '' $ac_executable_extensions; do
8659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8660 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8671 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8672 if test -n "$aros_kernel_ar"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8674 $as_echo "$aros_kernel_ar" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8684 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
8685 set dummy
$aros_kernel_ar; ac_word
=$2
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8687 $as_echo_n "checking for $ac_word... " >&6; }
8688 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8689 $as_echo_n "(cached) " >&6
8691 case $aros_kernel_ar in
8693 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8700 test -z "$as_dir" && as_dir
=.
8701 for ac_exec_ext
in '' $ac_executable_extensions; do
8702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8703 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8714 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8715 if test -n "$aros_kernel_ar"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8717 $as_echo "$aros_kernel_ar" >&6; }
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8720 $as_echo "no" >&6; }
8726 if test "$aros_kernel_ar" = ""; then
8727 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8730 if test "$aros_kernel_ranlib" = ""; then
8731 if test "$cross_compiling" = "yes" ; then
8732 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8733 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8735 $as_echo_n "checking for $ac_word... " >&6; }
8736 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8737 $as_echo_n "(cached) " >&6
8739 case $aros_kernel_ranlib in
8741 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8748 test -z "$as_dir" && as_dir
=.
8749 for ac_exec_ext
in '' $ac_executable_extensions; do
8750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8751 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8762 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8763 if test -n "$aros_kernel_ranlib"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8765 $as_echo "$aros_kernel_ranlib" >&6; }
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 $as_echo "no" >&6; }
8773 if test "$GCC" = "yes"; then
8774 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8775 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8776 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778 $as_echo_n "checking for $ac_word... " >&6; }
8779 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8780 $as_echo_n "(cached) " >&6
8782 case $aros_kernel_ranlib in
8784 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8788 for as_dir
in `dirname $aros_gcc_ranlib`
8791 test -z "$as_dir" && as_dir
=.
8792 for ac_exec_ext
in '' $ac_executable_extensions; do
8793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8794 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8805 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8806 if test -n "$aros_kernel_ranlib"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8808 $as_echo "$aros_kernel_ranlib" >&6; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8811 $as_echo "no" >&6; }
8816 if test "$aros_kernel_ranlib" = ""; then
8817 # Extract the first word of "ranlib", so it can be a program name with args.
8818 set dummy ranlib
; ac_word
=$2
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8820 $as_echo_n "checking for $ac_word... " >&6; }
8821 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8822 $as_echo_n "(cached) " >&6
8824 case $aros_kernel_ranlib in
8826 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8833 test -z "$as_dir" && as_dir
=.
8834 for ac_exec_ext
in '' $ac_executable_extensions; do
8835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8836 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8847 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8848 if test -n "$aros_kernel_ranlib"; then
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8850 $as_echo "$aros_kernel_ranlib" >&6; }
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8853 $as_echo "no" >&6; }
8860 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
8861 set dummy
$aros_kernel_ranlib; ac_word
=$2
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8863 $as_echo_n "checking for $ac_word... " >&6; }
8864 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8865 $as_echo_n "(cached) " >&6
8867 case $aros_kernel_ranlib in
8869 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8876 test -z "$as_dir" && as_dir
=.
8877 for ac_exec_ext
in '' $ac_executable_extensions; do
8878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8879 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8890 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8891 if test -n "$aros_kernel_ranlib"; then
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8893 $as_echo "$aros_kernel_ranlib" >&6; }
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8896 $as_echo "no" >&6; }
8902 if test "$aros_kernel_ranlib" = ""; then
8903 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8906 if test "$target_tool_prefix" != "${target_cpu}-elf-" -a "$target_tool_prefix" != "${target_cpu}-aros-" ; then
8907 target_tool_prefix
=${target_cpu}-elf-
8908 if test "$aros_target_cc" == ""; then
8909 aros_target_cc
="${target_tool_prefix}gcc"
8911 if test "$aros_target_ld" == ""; then
8912 aros_target_ld
="${target_tool_prefix}ld"
8916 if test "$aros_target_as" = ""; then
8917 if test "$cross_compiling" = "yes" ; then
8918 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8919 set dummy
${target_tool_prefix}as
; ac_word
=$2
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8921 $as_echo_n "checking for $ac_word... " >&6; }
8922 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8923 $as_echo_n "(cached) " >&6
8925 case $aros_target_as_ln in
8927 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8934 test -z "$as_dir" && as_dir
=.
8935 for ac_exec_ext
in '' $ac_executable_extensions; do
8936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8937 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8948 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8949 if test -n "$aros_target_as_ln"; then
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8951 $as_echo "$aros_target_as_ln" >&6; }
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8954 $as_echo "no" >&6; }
8959 if test "$GCC" = "yes"; then
8960 aros_gcc_as
=`$CC -print-prog-name=as`
8961 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8962 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8964 $as_echo_n "checking for $ac_word... " >&6; }
8965 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8966 $as_echo_n "(cached) " >&6
8968 case $aros_target_as_ln in
8970 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8974 for as_dir
in `dirname $aros_gcc_as`
8977 test -z "$as_dir" && as_dir
=.
8978 for ac_exec_ext
in '' $ac_executable_extensions; do
8979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8980 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8991 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8992 if test -n "$aros_target_as_ln"; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8994 $as_echo "$aros_target_as_ln" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8997 $as_echo "no" >&6; }
9002 if test "$aros_target_as_ln" = ""; then
9003 # Extract the first word of "as", so it can be a program name with args.
9004 set dummy as
; ac_word
=$2
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9006 $as_echo_n "checking for $ac_word... " >&6; }
9007 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
9008 $as_echo_n "(cached) " >&6
9010 case $aros_target_as_ln in
9012 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9019 test -z "$as_dir" && as_dir
=.
9020 for ac_exec_ext
in '' $ac_executable_extensions; do
9021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9022 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9033 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9034 if test -n "$aros_target_as_ln"; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
9036 $as_echo "$aros_target_as_ln" >&6; }
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039 $as_echo "no" >&6; }
9046 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9047 set dummy
$aros_target_as; ac_word
=$2
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9049 $as_echo_n "checking for $ac_word... " >&6; }
9050 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
9051 $as_echo_n "(cached) " >&6
9053 case $aros_target_as_ln in
9055 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9062 test -z "$as_dir" && as_dir
=.
9063 for ac_exec_ext
in '' $ac_executable_extensions; do
9064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9065 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9076 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9077 if test -n "$aros_target_as_ln"; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
9079 $as_echo "$aros_target_as_ln" >&6; }
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9082 $as_echo "no" >&6; }
9088 if test "$aros_target_as_ln" = ""; then
9089 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9092 if test "$aros_target_ar" = ""; then
9093 if test "$cross_compiling" = "yes" ; then
9094 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9095 set dummy
${target_tool_prefix}ar; ac_word
=$2
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9097 $as_echo_n "checking for $ac_word... " >&6; }
9098 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9099 $as_echo_n "(cached) " >&6
9101 case $aros_target_ar_ln in
9103 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9110 test -z "$as_dir" && as_dir
=.
9111 for ac_exec_ext
in '' $ac_executable_extensions; do
9112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9113 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9124 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9125 if test -n "$aros_target_ar_ln"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9127 $as_echo "$aros_target_ar_ln" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9130 $as_echo "no" >&6; }
9135 if test "$GCC" = "yes"; then
9136 aros_gcc_ar
=`$CC -print-prog-name=ar`
9137 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9138 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9140 $as_echo_n "checking for $ac_word... " >&6; }
9141 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9142 $as_echo_n "(cached) " >&6
9144 case $aros_target_ar_ln in
9146 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9150 for as_dir
in `dirname $aros_gcc_ar`
9153 test -z "$as_dir" && as_dir
=.
9154 for ac_exec_ext
in '' $ac_executable_extensions; do
9155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9156 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9167 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9168 if test -n "$aros_target_ar_ln"; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9170 $as_echo "$aros_target_ar_ln" >&6; }
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9178 if test "$aros_target_ar_ln" = ""; then
9179 # Extract the first word of "ar", so it can be a program name with args.
9180 set dummy
ar; ac_word
=$2
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9182 $as_echo_n "checking for $ac_word... " >&6; }
9183 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9184 $as_echo_n "(cached) " >&6
9186 case $aros_target_ar_ln in
9188 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9195 test -z "$as_dir" && as_dir
=.
9196 for ac_exec_ext
in '' $ac_executable_extensions; do
9197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9198 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9209 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9210 if test -n "$aros_target_ar_ln"; then
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9212 $as_echo "$aros_target_ar_ln" >&6; }
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9215 $as_echo "no" >&6; }
9222 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9223 set dummy
$aros_target_ar; ac_word
=$2
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9225 $as_echo_n "checking for $ac_word... " >&6; }
9226 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9227 $as_echo_n "(cached) " >&6
9229 case $aros_target_ar_ln in
9231 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9238 test -z "$as_dir" && as_dir
=.
9239 for ac_exec_ext
in '' $ac_executable_extensions; do
9240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9241 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9252 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9253 if test -n "$aros_target_ar_ln"; then
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9255 $as_echo "$aros_target_ar_ln" >&6; }
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 $as_echo "no" >&6; }
9264 if test "$aros_target_ar_ln" = ""; then
9265 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9268 if test "$aros_target_nm" = ""; then
9269 if test "$cross_compiling" = "yes" ; then
9270 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9271 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9273 $as_echo_n "checking for $ac_word... " >&6; }
9274 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9275 $as_echo_n "(cached) " >&6
9277 case $aros_target_nm_ln in
9279 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9286 test -z "$as_dir" && as_dir
=.
9287 for ac_exec_ext
in '' $ac_executable_extensions; do
9288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9289 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9300 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9301 if test -n "$aros_target_nm_ln"; then
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9303 $as_echo "$aros_target_nm_ln" >&6; }
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9306 $as_echo "no" >&6; }
9311 if test "$GCC" = "yes"; then
9312 aros_gcc_nm
=`$CC -print-prog-name=nm`
9313 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9314 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9316 $as_echo_n "checking for $ac_word... " >&6; }
9317 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9318 $as_echo_n "(cached) " >&6
9320 case $aros_target_nm_ln in
9322 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9326 for as_dir
in `dirname $aros_gcc_nm`
9329 test -z "$as_dir" && as_dir
=.
9330 for ac_exec_ext
in '' $ac_executable_extensions; do
9331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9332 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9343 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9344 if test -n "$aros_target_nm_ln"; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9346 $as_echo "$aros_target_nm_ln" >&6; }
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9349 $as_echo "no" >&6; }
9354 if test "$aros_target_nm_ln" = ""; then
9355 # Extract the first word of "nm", so it can be a program name with args.
9356 set dummy nm
; ac_word
=$2
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9358 $as_echo_n "checking for $ac_word... " >&6; }
9359 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9360 $as_echo_n "(cached) " >&6
9362 case $aros_target_nm_ln in
9364 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9371 test -z "$as_dir" && as_dir
=.
9372 for ac_exec_ext
in '' $ac_executable_extensions; do
9373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9374 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9385 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9386 if test -n "$aros_target_nm_ln"; then
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9388 $as_echo "$aros_target_nm_ln" >&6; }
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9391 $as_echo "no" >&6; }
9398 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
9399 set dummy
$aros_target_nm; ac_word
=$2
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9401 $as_echo_n "checking for $ac_word... " >&6; }
9402 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9403 $as_echo_n "(cached) " >&6
9405 case $aros_target_nm_ln in
9407 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9414 test -z "$as_dir" && as_dir
=.
9415 for ac_exec_ext
in '' $ac_executable_extensions; do
9416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9417 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9428 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9429 if test -n "$aros_target_nm_ln"; then
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9431 $as_echo "$aros_target_nm_ln" >&6; }
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9434 $as_echo "no" >&6; }
9440 if test "$aros_target_nm_ln" = ""; then
9441 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9444 if test "$aros_target_objcopy" = ""; then
9445 if test "$cross_compiling" = "yes" ; then
9446 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9447 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9449 $as_echo_n "checking for $ac_word... " >&6; }
9450 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9451 $as_echo_n "(cached) " >&6
9453 case $aros_target_objcopy_ln in
9455 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9462 test -z "$as_dir" && as_dir
=.
9463 for ac_exec_ext
in '' $ac_executable_extensions; do
9464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9465 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9476 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9477 if test -n "$aros_target_objcopy_ln"; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9479 $as_echo "$aros_target_objcopy_ln" >&6; }
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9482 $as_echo "no" >&6; }
9487 if test "$GCC" = "yes"; then
9488 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9489 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9490 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9492 $as_echo_n "checking for $ac_word... " >&6; }
9493 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9494 $as_echo_n "(cached) " >&6
9496 case $aros_target_objcopy_ln in
9498 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9502 for as_dir
in `dirname $aros_gcc_objcopy`
9505 test -z "$as_dir" && as_dir
=.
9506 for ac_exec_ext
in '' $ac_executable_extensions; do
9507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9508 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9519 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9520 if test -n "$aros_target_objcopy_ln"; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9522 $as_echo "$aros_target_objcopy_ln" >&6; }
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9525 $as_echo "no" >&6; }
9530 if test "$aros_target_objcopy_ln" = ""; then
9531 # Extract the first word of "objcopy", so it can be a program name with args.
9532 set dummy objcopy
; ac_word
=$2
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9534 $as_echo_n "checking for $ac_word... " >&6; }
9535 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9536 $as_echo_n "(cached) " >&6
9538 case $aros_target_objcopy_ln in
9540 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9547 test -z "$as_dir" && as_dir
=.
9548 for ac_exec_ext
in '' $ac_executable_extensions; do
9549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9550 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9561 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9562 if test -n "$aros_target_objcopy_ln"; then
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9564 $as_echo "$aros_target_objcopy_ln" >&6; }
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9567 $as_echo "no" >&6; }
9574 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
9575 set dummy
$aros_target_objcopy; ac_word
=$2
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9577 $as_echo_n "checking for $ac_word... " >&6; }
9578 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9579 $as_echo_n "(cached) " >&6
9581 case $aros_target_objcopy_ln in
9583 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9590 test -z "$as_dir" && as_dir
=.
9591 for ac_exec_ext
in '' $ac_executable_extensions; do
9592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9593 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9604 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9605 if test -n "$aros_target_objcopy_ln"; then
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9607 $as_echo "$aros_target_objcopy_ln" >&6; }
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9610 $as_echo "no" >&6; }
9616 if test "$aros_target_objcopy_ln" = ""; then
9617 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9620 if test "$aros_target_objdump" = ""; then
9621 if test "$cross_compiling" = "yes" ; then
9622 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9623 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9625 $as_echo_n "checking for $ac_word... " >&6; }
9626 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9627 $as_echo_n "(cached) " >&6
9629 case $aros_target_objdump_ln in
9631 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9638 test -z "$as_dir" && as_dir
=.
9639 for ac_exec_ext
in '' $ac_executable_extensions; do
9640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9641 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9652 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9653 if test -n "$aros_target_objdump_ln"; then
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9655 $as_echo "$aros_target_objdump_ln" >&6; }
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9658 $as_echo "no" >&6; }
9663 if test "$GCC" = "yes"; then
9664 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9665 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9666 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9668 $as_echo_n "checking for $ac_word... " >&6; }
9669 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9670 $as_echo_n "(cached) " >&6
9672 case $aros_target_objdump_ln in
9674 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9678 for as_dir
in `dirname $aros_gcc_objdump`
9681 test -z "$as_dir" && as_dir
=.
9682 for ac_exec_ext
in '' $ac_executable_extensions; do
9683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9684 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9695 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9696 if test -n "$aros_target_objdump_ln"; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9698 $as_echo "$aros_target_objdump_ln" >&6; }
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9701 $as_echo "no" >&6; }
9706 if test "$aros_target_objdump_ln" = ""; then
9707 # Extract the first word of "objdump", so it can be a program name with args.
9708 set dummy objdump
; ac_word
=$2
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9710 $as_echo_n "checking for $ac_word... " >&6; }
9711 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9712 $as_echo_n "(cached) " >&6
9714 case $aros_target_objdump_ln in
9716 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9723 test -z "$as_dir" && as_dir
=.
9724 for ac_exec_ext
in '' $ac_executable_extensions; do
9725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9726 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9737 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9738 if test -n "$aros_target_objdump_ln"; then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9740 $as_echo "$aros_target_objdump_ln" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9743 $as_echo "no" >&6; }
9750 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9751 set dummy
$aros_target_objdump; ac_word
=$2
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9753 $as_echo_n "checking for $ac_word... " >&6; }
9754 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9755 $as_echo_n "(cached) " >&6
9757 case $aros_target_objdump_ln in
9759 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9766 test -z "$as_dir" && as_dir
=.
9767 for ac_exec_ext
in '' $ac_executable_extensions; do
9768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9769 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9780 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9781 if test -n "$aros_target_objdump_ln"; then
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9783 $as_echo "$aros_target_objdump_ln" >&6; }
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9786 $as_echo "no" >&6; }
9792 if test "$aros_target_objdump_ln" = ""; then
9793 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9796 if test "$aros_target_ranlib" = ""; then
9797 if test "$cross_compiling" = "yes" ; then
9798 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9799 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9801 $as_echo_n "checking for $ac_word... " >&6; }
9802 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9803 $as_echo_n "(cached) " >&6
9805 case $aros_target_ranlib_ln in
9807 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9814 test -z "$as_dir" && as_dir
=.
9815 for ac_exec_ext
in '' $ac_executable_extensions; do
9816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9817 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9828 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9829 if test -n "$aros_target_ranlib_ln"; then
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9831 $as_echo "$aros_target_ranlib_ln" >&6; }
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9834 $as_echo "no" >&6; }
9839 if test "$GCC" = "yes"; then
9840 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9841 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9842 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9844 $as_echo_n "checking for $ac_word... " >&6; }
9845 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9846 $as_echo_n "(cached) " >&6
9848 case $aros_target_ranlib_ln in
9850 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9854 for as_dir
in `dirname $aros_gcc_ranlib`
9857 test -z "$as_dir" && as_dir
=.
9858 for ac_exec_ext
in '' $ac_executable_extensions; do
9859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9860 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9871 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9872 if test -n "$aros_target_ranlib_ln"; then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9874 $as_echo "$aros_target_ranlib_ln" >&6; }
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9877 $as_echo "no" >&6; }
9882 if test "$aros_target_ranlib_ln" = ""; then
9883 # Extract the first word of "ranlib", so it can be a program name with args.
9884 set dummy ranlib
; ac_word
=$2
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9886 $as_echo_n "checking for $ac_word... " >&6; }
9887 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9888 $as_echo_n "(cached) " >&6
9890 case $aros_target_ranlib_ln in
9892 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9899 test -z "$as_dir" && as_dir
=.
9900 for ac_exec_ext
in '' $ac_executable_extensions; do
9901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9902 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9913 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9914 if test -n "$aros_target_ranlib_ln"; then
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9916 $as_echo "$aros_target_ranlib_ln" >&6; }
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9919 $as_echo "no" >&6; }
9926 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9927 set dummy
$aros_target_ranlib; ac_word
=$2
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9929 $as_echo_n "checking for $ac_word... " >&6; }
9930 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9931 $as_echo_n "(cached) " >&6
9933 case $aros_target_ranlib_ln in
9935 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9942 test -z "$as_dir" && as_dir
=.
9943 for ac_exec_ext
in '' $ac_executable_extensions; do
9944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9945 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9956 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9957 if test -n "$aros_target_ranlib_ln"; then
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9959 $as_echo "$aros_target_ranlib_ln" >&6; }
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9962 $as_echo "no" >&6; }
9968 if test "$aros_target_ranlib_ln" = ""; then
9969 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9972 if test "$aros_target_strip" = ""; then
9973 if test "$cross_compiling" = "yes" ; then
9974 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9975 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9977 $as_echo_n "checking for $ac_word... " >&6; }
9978 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9979 $as_echo_n "(cached) " >&6
9981 case $aros_target_strip_ln in
9983 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9990 test -z "$as_dir" && as_dir
=.
9991 for ac_exec_ext
in '' $ac_executable_extensions; do
9992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9993 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10004 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10005 if test -n "$aros_target_strip_ln"; then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10007 $as_echo "$aros_target_strip_ln" >&6; }
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10010 $as_echo "no" >&6; }
10015 if test "$GCC" = "yes"; then
10016 aros_gcc_strip
=`$CC -print-prog-name=strip`
10017 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10018 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10020 $as_echo_n "checking for $ac_word... " >&6; }
10021 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
10022 $as_echo_n "(cached) " >&6
10024 case $aros_target_strip_ln in
10026 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10030 for as_dir
in `dirname $aros_gcc_strip`
10033 test -z "$as_dir" && as_dir
=.
10034 for ac_exec_ext
in '' $ac_executable_extensions; do
10035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10036 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10047 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10048 if test -n "$aros_target_strip_ln"; then
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10050 $as_echo "$aros_target_strip_ln" >&6; }
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10053 $as_echo "no" >&6; }
10058 if test "$aros_target_strip_ln" = ""; then
10059 # Extract the first word of "strip", so it can be a program name with args.
10060 set dummy strip
; ac_word
=$2
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10062 $as_echo_n "checking for $ac_word... " >&6; }
10063 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
10064 $as_echo_n "(cached) " >&6
10066 case $aros_target_strip_ln in
10068 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10072 for as_dir
in $PATH
10075 test -z "$as_dir" && as_dir
=.
10076 for ac_exec_ext
in '' $ac_executable_extensions; do
10077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10078 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10089 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10090 if test -n "$aros_target_strip_ln"; then
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10092 $as_echo "$aros_target_strip_ln" >&6; }
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10095 $as_echo "no" >&6; }
10102 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10103 set dummy
$aros_target_strip; ac_word
=$2
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10105 $as_echo_n "checking for $ac_word... " >&6; }
10106 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
10107 $as_echo_n "(cached) " >&6
10109 case $aros_target_strip_ln in
10111 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10115 for as_dir
in $PATH
10118 test -z "$as_dir" && as_dir
=.
10119 for ac_exec_ext
in '' $ac_executable_extensions; do
10120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10121 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10132 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10133 if test -n "$aros_target_strip_ln"; then
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10135 $as_echo "$aros_target_strip_ln" >&6; }
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10138 $as_echo "no" >&6; }
10144 if test "$aros_target_strip_ln" = ""; then
10145 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10147 if test "$aros_target_cxx" != ""; then
10148 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
10149 set dummy
$aros_target_cxx; ac_word
=$2
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10151 $as_echo_n "checking for $ac_word... " >&6; }
10152 if ${ac_cv_path_aros_target_cxx+:} false
; then :
10153 $as_echo_n "(cached) " >&6
10155 case $aros_target_cxx in
10157 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
10160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10161 for as_dir
in $PATH
10164 test -z "$as_dir" && as_dir
=.
10165 for ac_exec_ext
in '' $ac_executable_extensions; do
10166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10167 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10178 aros_target_cxx
=$ac_cv_path_aros_target_cxx
10179 if test -n "$aros_target_cxx"; then
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
10181 $as_echo "$aros_target_cxx" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10184 $as_echo "no" >&6; }
10188 if test "$aros_target_cxx" = ""; then
10189 as_fn_error $?
"c++ is required to build AROS. Please install and run configure again." "$LINENO" 5
10193 aros_target_cc
=$AROS_CROSSTOOLSDIR/$aros_target_cc
10194 aros_target_cxx
=$AROS_CROSSTOOLSDIR/$aros_target_cxx
10195 aros_target_as_ln
=$AROS_CROSSTOOLSDIR/$aros_target_as
10196 aros_target_ar_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10197 aros_target_nm_ln
=$AROS_CROSSTOOLSDIR/$aros_target_nm
10198 aros_target_objcopy_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objcopy
10199 aros_target_objdump_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objdump
10200 aros_target_ranlib_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10201 aros_target_strip_ln
=$AROS_CROSSTOOLSDIR/$aros_target_strip
10203 if test "$target_tool_prefix" != "${target_cpu}-aros-" ; then
10205 if test "$aros_kernel_ld" = ""; then
10206 if test "$cross_compiling" = "yes" ; then
10207 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
10208 set dummy
${target_tool_prefix}ld
; ac_word
=$2
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10210 $as_echo_n "checking for $ac_word... " >&6; }
10211 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10212 $as_echo_n "(cached) " >&6
10214 case $aros_kernel_ld in
10216 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10220 for as_dir
in $PATH
10223 test -z "$as_dir" && as_dir
=.
10224 for ac_exec_ext
in '' $ac_executable_extensions; do
10225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10226 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10237 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10238 if test -n "$aros_kernel_ld"; then
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10240 $as_echo "$aros_kernel_ld" >&6; }
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10243 $as_echo "no" >&6; }
10248 if test "$GCC" = "yes"; then
10249 aros_gcc_ld
=`$CC -print-prog-name=ld`
10250 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10251 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10253 $as_echo_n "checking for $ac_word... " >&6; }
10254 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10255 $as_echo_n "(cached) " >&6
10257 case $aros_kernel_ld in
10259 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10263 for as_dir
in `dirname $aros_gcc_ld`
10266 test -z "$as_dir" && as_dir
=.
10267 for ac_exec_ext
in '' $ac_executable_extensions; do
10268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10269 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10280 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10281 if test -n "$aros_kernel_ld"; then
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10283 $as_echo "$aros_kernel_ld" >&6; }
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10286 $as_echo "no" >&6; }
10291 if test "$aros_kernel_ld" = ""; then
10292 # Extract the first word of "ld", so it can be a program name with args.
10293 set dummy ld
; ac_word
=$2
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10295 $as_echo_n "checking for $ac_word... " >&6; }
10296 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10297 $as_echo_n "(cached) " >&6
10299 case $aros_kernel_ld in
10301 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10305 for as_dir
in $PATH
10308 test -z "$as_dir" && as_dir
=.
10309 for ac_exec_ext
in '' $ac_executable_extensions; do
10310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10311 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10322 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10323 if test -n "$aros_kernel_ld"; then
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10325 $as_echo "$aros_kernel_ld" >&6; }
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10328 $as_echo "no" >&6; }
10335 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10336 set dummy
$aros_kernel_ld; ac_word
=$2
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10338 $as_echo_n "checking for $ac_word... " >&6; }
10339 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10340 $as_echo_n "(cached) " >&6
10342 case $aros_kernel_ld in
10344 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10348 for as_dir
in $PATH
10351 test -z "$as_dir" && as_dir
=.
10352 for ac_exec_ext
in '' $ac_executable_extensions; do
10353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10354 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10365 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10366 if test -n "$aros_kernel_ld"; then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10368 $as_echo "$aros_kernel_ld" >&6; }
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10371 $as_echo "no" >&6; }
10377 if test "$aros_kernel_ld" = ""; then
10378 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10381 if test "$aros_kernel_ar" = ""; then
10382 if test "$cross_compiling" = "yes" ; then
10383 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
10384 set dummy
${target_tool_prefix}ar; ac_word
=$2
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10386 $as_echo_n "checking for $ac_word... " >&6; }
10387 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10388 $as_echo_n "(cached) " >&6
10390 case $aros_kernel_ar in
10392 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10396 for as_dir
in $PATH
10399 test -z "$as_dir" && as_dir
=.
10400 for ac_exec_ext
in '' $ac_executable_extensions; do
10401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10402 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10413 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10414 if test -n "$aros_kernel_ar"; then
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10416 $as_echo "$aros_kernel_ar" >&6; }
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10419 $as_echo "no" >&6; }
10424 if test "$GCC" = "yes"; then
10425 aros_gcc_ar
=`$CC -print-prog-name=ar`
10426 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10427 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10429 $as_echo_n "checking for $ac_word... " >&6; }
10430 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10431 $as_echo_n "(cached) " >&6
10433 case $aros_kernel_ar in
10435 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10439 for as_dir
in `dirname $aros_gcc_ar`
10442 test -z "$as_dir" && as_dir
=.
10443 for ac_exec_ext
in '' $ac_executable_extensions; do
10444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10445 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10456 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10457 if test -n "$aros_kernel_ar"; then
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10459 $as_echo "$aros_kernel_ar" >&6; }
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10462 $as_echo "no" >&6; }
10467 if test "$aros_kernel_ar" = ""; then
10468 # Extract the first word of "ar", so it can be a program name with args.
10469 set dummy
ar; ac_word
=$2
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10471 $as_echo_n "checking for $ac_word... " >&6; }
10472 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10473 $as_echo_n "(cached) " >&6
10475 case $aros_kernel_ar in
10477 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10481 for as_dir
in $PATH
10484 test -z "$as_dir" && as_dir
=.
10485 for ac_exec_ext
in '' $ac_executable_extensions; do
10486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10487 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10498 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10499 if test -n "$aros_kernel_ar"; then
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10501 $as_echo "$aros_kernel_ar" >&6; }
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10504 $as_echo "no" >&6; }
10511 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10512 set dummy
$aros_kernel_ar; ac_word
=$2
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10514 $as_echo_n "checking for $ac_word... " >&6; }
10515 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10516 $as_echo_n "(cached) " >&6
10518 case $aros_kernel_ar in
10520 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10524 for as_dir
in $PATH
10527 test -z "$as_dir" && as_dir
=.
10528 for ac_exec_ext
in '' $ac_executable_extensions; do
10529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10530 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10541 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10542 if test -n "$aros_kernel_ar"; then
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10544 $as_echo "$aros_kernel_ar" >&6; }
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10547 $as_echo "no" >&6; }
10553 if test "$aros_kernel_ar" = ""; then
10554 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10557 if test "$aros_kernel_ranlib" = ""; then
10558 if test "$cross_compiling" = "yes" ; then
10559 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10560 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10562 $as_echo_n "checking for $ac_word... " >&6; }
10563 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10564 $as_echo_n "(cached) " >&6
10566 case $aros_kernel_ranlib in
10568 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10572 for as_dir
in $PATH
10575 test -z "$as_dir" && as_dir
=.
10576 for ac_exec_ext
in '' $ac_executable_extensions; do
10577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10578 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10589 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10590 if test -n "$aros_kernel_ranlib"; then
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10592 $as_echo "$aros_kernel_ranlib" >&6; }
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10595 $as_echo "no" >&6; }
10600 if test "$GCC" = "yes"; then
10601 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10602 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10603 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10605 $as_echo_n "checking for $ac_word... " >&6; }
10606 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10607 $as_echo_n "(cached) " >&6
10609 case $aros_kernel_ranlib in
10611 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10615 for as_dir
in `dirname $aros_gcc_ranlib`
10618 test -z "$as_dir" && as_dir
=.
10619 for ac_exec_ext
in '' $ac_executable_extensions; do
10620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10621 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10632 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10633 if test -n "$aros_kernel_ranlib"; then
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10635 $as_echo "$aros_kernel_ranlib" >&6; }
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10638 $as_echo "no" >&6; }
10643 if test "$aros_kernel_ranlib" = ""; then
10644 # Extract the first word of "ranlib", so it can be a program name with args.
10645 set dummy ranlib
; ac_word
=$2
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10647 $as_echo_n "checking for $ac_word... " >&6; }
10648 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10649 $as_echo_n "(cached) " >&6
10651 case $aros_kernel_ranlib in
10653 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10657 for as_dir
in $PATH
10660 test -z "$as_dir" && as_dir
=.
10661 for ac_exec_ext
in '' $ac_executable_extensions; do
10662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10663 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10674 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10675 if test -n "$aros_kernel_ranlib"; then
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10677 $as_echo "$aros_kernel_ranlib" >&6; }
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10680 $as_echo "no" >&6; }
10687 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10688 set dummy
$aros_kernel_ranlib; ac_word
=$2
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10690 $as_echo_n "checking for $ac_word... " >&6; }
10691 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10692 $as_echo_n "(cached) " >&6
10694 case $aros_kernel_ranlib in
10696 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10700 for as_dir
in $PATH
10703 test -z "$as_dir" && as_dir
=.
10704 for ac_exec_ext
in '' $ac_executable_extensions; do
10705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10706 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10717 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10718 if test -n "$aros_kernel_ranlib"; then
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10720 $as_echo "$aros_kernel_ranlib" >&6; }
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10723 $as_echo "no" >&6; }
10729 if test "$aros_kernel_ranlib" = ""; then
10730 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10733 aros_kernel_ar
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10734 aros_kernel_ld
=$AROS_CROSSTOOLSDIR/$aros_target_ld
10735 aros_kernel_ranlib
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10738 crosstools_target
=tools-crosstools
10741 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
10743 orig_target_cc
=$aros_kernel_cc
10744 orig_target_ld
=$aros_kernel_ld
10746 if test "$crosstools" != "yes"; then
10747 if test "$aros_target_cc" != ""; then
10748 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
10749 set dummy
$aros_target_cc; ac_word
=$2
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10751 $as_echo_n "checking for $ac_word... " >&6; }
10752 if ${ac_cv_path_aros_target_cc+:} false
; then :
10753 $as_echo_n "(cached) " >&6
10755 case $aros_target_cc in
10757 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
10760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10761 for as_dir
in $PATH
10764 test -z "$as_dir" && as_dir
=.
10765 for ac_exec_ext
in '' $ac_executable_extensions; do
10766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10767 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10778 aros_target_cc
=$ac_cv_path_aros_target_cc
10779 if test -n "$aros_target_cc"; then
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
10781 $as_echo "$aros_target_cc" >&6; }
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10784 $as_echo "no" >&6; }
10788 if test "$aros_target_cc" = ""; then
10789 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
10791 orig_target_cc
=$aros_target_cc
10793 if test "$aros_target_ld" != ""; then
10794 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
10795 set dummy
$aros_target_ld; ac_word
=$2
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10797 $as_echo_n "checking for $ac_word... " >&6; }
10798 if ${ac_cv_path_aros_target_ld+:} false
; then :
10799 $as_echo_n "(cached) " >&6
10801 case $aros_target_ld in
10803 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
10806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10807 for as_dir
in $PATH
10810 test -z "$as_dir" && as_dir
=.
10811 for ac_exec_ext
in '' $ac_executable_extensions; do
10812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10813 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
10814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10824 aros_target_ld
=$ac_cv_path_aros_target_ld
10825 if test -n "$aros_target_ld"; then
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
10827 $as_echo "$aros_target_ld" >&6; }
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10830 $as_echo "no" >&6; }
10834 if test "$aros_target_ld" = ""; then
10835 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10837 orig_target_ld
=$aros_target_ld
10840 orig_target_cc
=$aros_target_cc
10841 orig_target_ld
=$aros_target_ld
10844 # Build crosstools if we have no C++ - temporary thing
10845 if test "$aros_target_cxx" = "" -a "$crosstools" != "yes"; then
10846 crosstools_cxx_target
=tools-crosstools
10849 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10850 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10851 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10852 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10853 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10854 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10855 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10857 # aros_cc_pre is a variable that is added to the front of the compiler name
10858 # in the generated aros-gcc shell script. We need this to enable the cache
10859 # to work across cleaned builds. Also, support DISTCC using the correct
10860 # environment variable.
10863 if test "x${DISTCC}" != "x" ; then
10864 if test "x${CCACHE}" != "x" ; then
10865 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10867 aros_cc_pre
="${DISTCC} "
10870 if test "x${CCACHE}" != "x" ; then
10871 aros_cc_pre
="${CCACHE} "
10875 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10877 aros_target_nostdinc_cflags
=-nostdinc
10879 aros_target_nostartup_ldflags
=-nostartfiles
10881 aros_target_nix_ldflags
=-nix
10883 aros_target_detach_ldflags
=-detach
10885 aros_target_nostdlib_ldflags
=-nostdlib
10889 if test "$crosstools" != "yes"; then
10890 if test "$GCC" = "yes"; then
10891 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10894 # We do not know which gcc version we are going to build and what we need to know
10895 # here is different for different versions so this will be set later during the
10896 # build of crosstools.
10897 aros_target_cc_path
=@aros_target_cc_path@
10899 aros_target_cc
="${prefix}-gcc"
10900 aros_target_as
="${prefix}-as"
10901 aros_target_ld
="${prefix}-ld"
10902 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10903 aros_target_objcopy
=${prefix}-objcopy
10904 aros_target_objdump
=${prefix}-objdump
10905 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10906 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10907 aros_target_strip
=${prefix}-strip
10908 aros_plain_nm
="${prefix}-nm"
10909 aros_plain_ar
="${prefix}-ar"
10911 # Find the system include path. We can suggest that an alternative is
10912 # used if we don't get it correct. The default is to use /usr/include.
10913 # Which is set in the aros_target_incl_def variable.
10915 # Check whether --enable-includes was given.
10916 if test "${enable_includes+set}" = set; then :
10917 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10919 aros_target_incl
=$aros_target_incl_def
10923 if test "$aros_kernel_includes" = ""; then
10924 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10925 # FIXME: for cross-compiling this should point to another location
10926 aros_kernel_includes
="-isystem $aros_target_incl"
10930 if test "$aros_kernel_includes" != "" ; then
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
10932 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
10933 if test "$aros_kernel_cc_includes" = "" ; then
10934 # Try to guess where the directory is.
10935 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
10936 if test -d $aros_kernel_cc_includes; then
10937 # Check if there is also an include-fixed directory and add it
10938 # to kernel compiler's include path as it may contain some of
10939 # the headers we need.
10940 if test -d "$aros_kernel_cc_includes"-fixed; then
10941 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
10943 # Check for specific includes directory. Neede for Ubuntu 11.10
10944 if test -d "/usr/include/i386-linux-gnu"; then
10945 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
10948 # The directory doesn't exist, we need to do some more work.
10949 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
10951 # These are the headers we're looking for.
10952 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10953 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10956 if test ! -f $aros_target_incl/stdint.h
; then
10957 headers
="$headers stdint.h"
10961 for h
in $headers; do
10962 # Which other headers are needed by each of the above?
10963 deps
=$
(echo "#include <$h>" | \
10964 $aros_kernel_cc -E -M - 2>/dev
/null | \
10965 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10967 # Copy all the needed headers to a directory beneath gendir.
10970 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
10971 sed -n "s,^.*/include\(/.*\),\1,p")
10972 ! test -d $dir && mkdir
-p $dir
10973 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
10979 $as_echo "$aros_kernel_cc_includes" >&6; }
10980 # Adding -nostdinc to kernel includes as they are always used together.
10981 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
10984 if test "$crosstools" != "yes"; then
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
10986 $as_echo_n "checking for the target compiler's include path... " >&6; }
10987 if test "$aros_target_cc_includes" = "" ; then
10988 #try to guess where the directory is
10989 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10990 if ! test -d $aros_target_cc_includes; then
10991 #the directory doesn't exist, we need to do some more work
10992 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10994 #these are the headers we're looking for
10995 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10996 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11000 for h
in $headers; do
11001 #which other headers each of the above headers needs?
11002 deps
=$
(echo "#include <$h>" | \
11003 $orig_target_cc -E -M - 2>/dev
/null | \
11004 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11006 #copy all the needed headers to a directory beneath gendir
11009 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
11010 sed -n "s,^.*/include\(/.*\),\1,p")
11011 ! test -d $dir && mkdir
-p $dir
11012 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
11018 $as_echo "$aros_target_cc_includes" >&6; }
11020 # We do not know which gcc version we are going to build and what we need to know
11021 # here is different for different versions so this will be set later during the
11022 # build of crosstools.
11023 aros_target_cc_includes
=@aros_target_cc_includes@
11027 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11028 # On GCC >= 4.0 -iquote should be used
11032 save_cflags
="$CFLAGS"
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11035 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11036 if test "x-$crosstools" != "x-yes"; then
11037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11048 if ac_fn_c_try_compile
"$LINENO"; then :
11053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11055 # we do know it is supported for the smallest version of gcc we are going to build
11056 # we assume it's also supported by later versions
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11060 $as_echo "$has_iquote" >&6; }
11061 if test "x-$has_iquote" = "x-yes" ; then
11062 host_cflags_iquote
=-iquote
11063 host_cflags_iquote_end
=
11065 host_cflags_iquote
=-I
11066 host_cflags_iquote_end
=-I-
11068 kernel_cflags_iquote
=$host_cflags_iquote
11069 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11070 if test "x-$cross_compiling" = "x-yes"; then
11071 CC
="$aros_kernel_cc"
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
11073 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
11074 if test "x-$crosstools" != "x-yes"; then
11075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11086 if ac_fn_c_try_compile
"$LINENO"; then :
11087 use_no_stack_protector
="yes"
11089 use_no_stack_protector
="no"
11091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11093 # we do know it is supported for the smallest version of gcc we are going to build
11094 # we assume it's also supported by later versions
11095 use_no_stack_protector
=yes
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
11098 $as_echo "$use_no_stack_protector" >&6; }
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11100 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11101 if test "x-$crosstools" != "x-yes"; then
11102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11113 if ac_fn_c_try_compile
"$LINENO"; then :
11118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11120 # we do know it is supported for the smallest version of gcc we are going to build
11121 # we assume it's also supported by later versions
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11125 $as_echo "$has_iquote" >&6; }
11126 if test "x-$has_iquote" = "x-yes" ; then
11127 kernel_cflags_iquote
=-iquote
11128 kernel_cflags_iquote_end
=
11130 kernel_cflags_iquote
=-I
11131 kernel_cflags_iquote_end
=-I-
11134 aros_cflags_iquote
=$kernel_cflags_iquote
11135 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11136 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11137 CC
="$orig_target_cc"
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11139 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11140 if test "x-$crosstools" != "x-yes"; then
11141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11152 if ac_fn_c_try_compile
"$LINENO"; then :
11157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11159 # we do know it is supported for the smallest version of gcc we are going to build
11160 # we assume it's also supported by later versions
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11164 $as_echo "$has_iquote" >&6; }
11165 if test "x-$has_iquote" = "x-yes" ; then
11166 aros_cflags_iquote
=-iquote
11167 aros_cflags_iquote_end
=
11169 aros_cflags_iquote
=-I
11170 aros_cflags_iquote_end
=-I-
11173 if test "x-$use_no_stack_protector" = "x-yes" ; then
11174 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
11177 #-----------------------------------------------------------------------------
11179 # Check if we can explicitly choose older version of symbol hashing
11181 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
11182 CC
="$aros_kernel_cc"
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11184 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
11185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11196 if ac_fn_c_try_link
"$LINENO"; then :
11197 use_hash_style
="yes"
11199 use_hash_style
="no"
11201 rm -f core conftest.err conftest.
$ac_objext \
11202 conftest
$ac_exeext conftest.
$ac_ext
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
11204 $as_echo "$use_hash_style" >&6; }
11205 if test "x-$use_hash_style" = "x-yes" ; then
11206 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11209 CFLAGS
="$save_cflags"
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
11220 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11222 # Check whether --with-resolution was given.
11223 if test "${with_resolution+set}" = set; then :
11224 withval
=$with_resolution; resolution
=$withval
11229 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11230 if test "$resolution" = "yes" ; then
11233 if test "$resolution" = "no" ; then
11236 if test "$resolution" != "none" ; then
11237 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11238 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11239 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11242 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11243 aros_cv_default_wbwidth
=$aros_default_wbwidth
11244 aros_cv_default_wbheight
=$aros_default_wbheight
11245 aros_cv_default_wbdepth
=$aros_default_wbdepth
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
11248 $as_echo_n "checking if serial debug is enabled... " >&6; }
11250 # Check whether --with-serial-debug was given.
11251 if test "${with_serial_debug+set}" = set; then :
11252 withval
=$with_serial_debug; serial_debug
=$withval
11257 if test "$aros_serial_debug" = 0 ; then
11258 serial_debug_forced
=""
11259 if test "$serial_debug" = "yes" ; then
11262 if test "$serial_debug" = "no" ; then
11263 serial_debug
="none"
11266 serial_debug_forced
="(forced)"
11267 serial_debug
=$aros_serial_debug
11269 if test "$serial_debug" != "none" ; then
11270 aros_serial_debug
=$serial_debug
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
11272 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11275 $as_echo "no" >&6; }
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
11279 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11280 # Check whether --enable-palm_debug_hack was given.
11281 if test "${enable_palm_debug_hack+set}" = set; then :
11282 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11284 palm_debug_hack
="no"
11287 if test "$palm_debug_hack" = "yes" ; then
11288 aros_palm_debug_hack
="1"
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
11291 $as_echo "$palm_debug_hack" >&6; }
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
11294 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
11295 # Check whether --enable-usb30_code was given.
11296 if test "${enable_usb30_code+set}" = set; then :
11297 enableval
=$enable_usb30_code; usb30_code
="yes"
11302 if test "$usb30_code" = "yes" ; then
11303 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
11304 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
11307 $as_echo "$usb30_code" >&6; }
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
11310 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11311 # Check whether --enable-nesting_supervisor was given.
11312 if test "${enable_nesting_supervisor+set}" = set; then :
11313 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11315 nesting_supervisor
="no"
11318 if test "$nesting_supervisor" = "yes" ; then
11319 aros_nesting_supervisor
="1"
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
11322 $as_echo "$nesting_supervisor" >&6; }
11324 if test "$aros_enable_mmu" = "" ; then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
11326 $as_echo_n "checking if MMU support is enabled... " >&6; }
11327 # Check whether --enable-mmu was given.
11328 if test "${enable_mmu+set}" = set; then :
11329 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
11331 aros_enable_mmu
="yes"
11334 if test "$aros_enable_mmu" = "" ; then
11335 aros_enable_mmu
="yes"
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
11338 $as_echo "$aros_enable_mmu" >&6; }
11340 if test "$aros_enable_mmu" = "no" ; then
11341 aros_enable_mmu
="0"
11343 aros_enable_mmu
="1"
11347 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11349 if test "x-$need_dlopen" != "x-no" ; then
11350 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11351 if test "x$ac_cv_func_dlopen" = xyes
; then :
11357 if test "x-$have_dl" = "x-no" ; then
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11359 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11360 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11361 $as_echo_n "(cached) " >&6
11363 ac_check_lib_save_LIBS
=$LIBS
11365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11368 /* Override any GCC internal prototype to avoid an error.
11369 Use char because int might match the return type of a GCC
11370 builtin and then its argument prototype would still apply. */
11383 if ac_fn_c_try_link
"$LINENO"; then :
11384 ac_cv_lib_dl_dlopen
=yes
11386 ac_cv_lib_dl_dlopen
=no
11388 rm -f core conftest.err conftest.
$ac_objext \
11389 conftest
$ac_exeext conftest.
$ac_ext
11390 LIBS
=$ac_check_lib_save_LIBS
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11393 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11394 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11396 aros_host_ldflags
="$aros_host_ldflags -ldl"
11402 if test "x-$have_dl" = "x-no" ; then
11403 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
11408 # Check whether --enable-x11_hidd was given.
11409 if test "${enable_x11_hidd+set}" = set; then :
11410 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11412 x11_hidd
="$need_x11"
11415 case "x-$x11_hidd" in
11416 x-yes|x-no|x-auto
) ;;
11417 *) x11_hidd
="$need_x11" ;;
11422 if test "x-$x11_hidd" != "x-no" ; then
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11425 $as_echo_n "checking for X... " >&6; }
11428 # Check whether --with-x was given.
11429 if test "${with_x+set}" = set; then :
11433 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11434 if test "x$with_x" = xno
; then
11435 # The user explicitly disabled X.
11438 case $x_includes,$x_libraries in #(
11439 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
11440 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
11441 $as_echo_n "(cached) " >&6
11443 # One or both of the vars are not set, and there is no cached value.
11444 ac_x_includes
=no ac_x_libraries
=no
11445 rm -f -r conftest.dir
11446 if mkdir conftest.dir
; then
11448 cat >Imakefile
<<'_ACEOF'
11450 @echo incroot='${INCROOT}'
11452 @echo usrlibdir='${USRLIBDIR}'
11454 @echo libdir='${LIBDIR}'
11456 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11457 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11458 for ac_var
in incroot usrlibdir libdir
; do
11459 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11461 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11462 for ac_extension
in a so sl dylib la dll
; do
11463 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11464 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11465 ac_im_usrlibdir
=$ac_im_libdir; break
11468 # Screen out bogus values from the imake configuration. They are
11469 # bogus both because they are the default anyway, and because
11470 # using them would break gcc on systems where it needs fixed includes.
11471 case $ac_im_incroot in
11472 /usr
/include
) ac_x_includes
= ;;
11473 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11475 case $ac_im_usrlibdir in
11476 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
11477 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11481 rm -f -r conftest.dir
11484 # Standard set of common directories for X headers.
11485 # Check X11 before X11Rn because it is often a symlink to the current release.
11499 /usr/local/X11/include
11500 /usr/local/X11R7/include
11501 /usr/local/X11R6/include
11502 /usr/local/X11R5/include
11503 /usr/local/X11R4/include
11505 /usr/local/include/X11
11506 /usr/local/include/X11R7
11507 /usr/local/include/X11R6
11508 /usr/local/include/X11R5
11509 /usr/local/include/X11R4
11513 /usr/XFree86/include/X11
11517 /usr/unsupported/include
11518 /usr/athena/include
11519 /usr/local/x11r5/include
11520 /usr/lpp/Xamples/include
11522 /usr/openwin/include
11523 /usr/openwin/share/include'
11525 if test "$ac_x_includes" = no
; then
11526 # Guess where to find include files, by looking for Xlib.h.
11527 # First, try using that file with no special directory specified.
11528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11530 #include <X11/Xlib.h>
11532 if ac_fn_c_try_cpp
"$LINENO"; then :
11533 # We can compile using X headers with no special include directory.
11536 for ac_dir
in $ac_x_header_dirs; do
11537 if test -r "$ac_dir/X11/Xlib.h"; then
11538 ac_x_includes
=$ac_dir
11543 rm -f conftest.err conftest.i conftest.
$ac_ext
11544 fi # $ac_x_includes = no
11546 if test "$ac_x_libraries" = no
; then
11547 # Check for the libraries.
11548 # See if we find them without any special options.
11549 # Don't add to $LIBS permanently.
11552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11554 #include <X11/Xlib.h>
11563 if ac_fn_c_try_link
"$LINENO"; then :
11565 # We can link X programs with no special library path.
11569 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11571 # Don't even attempt the hair of trying to link an X program!
11572 for ac_extension
in a so sl dylib la dll
; do
11573 if test -r "$ac_dir/libX11.$ac_extension"; then
11574 ac_x_libraries
=$ac_dir
11580 rm -f core conftest.err conftest.
$ac_objext \
11581 conftest
$ac_exeext conftest.
$ac_ext
11582 fi # $ac_x_libraries = no
11584 case $ac_x_includes,$ac_x_libraries in #(
11585 no
,* |
*,no |
*\'*)
11586 # Didn't find X, or a directory has "'" in its name.
11587 ac_cv_have_x
="have_x=no";; #(
11589 # Record where we found X for the cache.
11590 ac_cv_have_x
="have_x=yes\
11591 ac_x_includes='$ac_x_includes'\
11592 ac_x_libraries='$ac_x_libraries'"
11598 eval "$ac_cv_have_x"
11601 if test "$have_x" != yes; then
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11603 $as_echo "$have_x" >&6; }
11606 # If each of the values was on the command line, it overrides each guess.
11607 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11608 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11609 # Update the cache value to reflect the command line values.
11610 ac_cv_have_x
="have_x=yes\
11611 ac_x_includes='$x_includes'\
11612 ac_x_libraries='$x_libraries'"
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11614 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11619 for path
in $x_libraries
11621 x_cflags
="$x_cflags -L$path"
11624 for path
in $x_includes
11626 x_cflags
="$x_cflags -I$path"
11629 if test "x-$no_x" = "x-yes" ; then
11631 if test "x-$x11_hidd" != "x-auto" ; then
11632 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
11636 x11_hidd_target
=kernel-x11gfx-kobj
11639 # Check whether --enable-x11_shm was given.
11640 if test "${enable_x11_shm+set}" = set; then :
11641 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11643 x11_hidd_shm
="auto"
11646 case "x-$x11_hidd_shm" in
11647 x-yes|x-no|x-auto
) ;;
11648 *) x11_hidd_shm
="auto" ;;
11653 if test "x-$x11_hidd_shm" != "x-no" ; then
11655 for ac_header
in sys
/ipc.h
11657 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
11658 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
11659 cat >>confdefs.h
<<_ACEOF
11660 #define HAVE_SYS_IPC_H 1
11667 for ac_header
in sys
/shm.h
11669 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
11670 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
11671 cat >>confdefs.h
<<_ACEOF
11672 #define HAVE_SYS_SHM_H 1
11680 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11682 save_cflags
="$CFLAGS"
11683 CFLAGS
="$CFLAGS $x_cflags"
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11685 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11686 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
11687 $as_echo_n "(cached) " >&6
11689 ac_check_lib_save_LIBS
=$LIBS
11690 LIBS
="-lXext $LIBS"
11691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11694 /* Override any GCC internal prototype to avoid an error.
11695 Use char because int might match the return type of a GCC
11696 builtin and then its argument prototype would still apply. */
11700 char XShmQueryExtension ();
11704 return XShmQueryExtension ();
11709 if ac_fn_c_try_link
"$LINENO"; then :
11710 ac_cv_lib_Xext_XShmQueryExtension
=yes
11712 ac_cv_lib_Xext_XShmQueryExtension
=no
11714 rm -f core conftest.err conftest.
$ac_objext \
11715 conftest
$ac_exeext conftest.
$ac_ext
11716 LIBS
=$ac_check_lib_save_LIBS
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11719 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11720 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
11724 CFLAGS
="$save_cflags"
11728 if test "x-$have_xshm" = "x-yes" ; then
11729 DO_XSHM_SUPPORT
="1"
11730 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11731 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
11733 DO_XSHM_SUPPORT
="0"
11737 # Check whether --enable-x11_vidmode was given.
11738 if test "${enable_x11_vidmode+set}" = set; then :
11739 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11741 x11_hidd_vidmode
="auto"
11744 case "x-$x11_hidd_vidmode" in
11745 x-yes|x-no|x-auto
) ;;
11746 *) x11_hidd_vidmode
="auto" ;;
11751 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11753 save_cflags
="$CFLAGS"
11754 CFLAGS
="$CFLAGS $x_cflags"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11756 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11757 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
11758 $as_echo_n "(cached) " >&6
11760 ac_check_lib_save_LIBS
=$LIBS
11761 LIBS
="-lXxf86vm $LIBS"
11762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11765 /* Override any GCC internal prototype to avoid an error.
11766 Use char because int might match the return type of a GCC
11767 builtin and then its argument prototype would still apply. */
11771 char XF86VidModeQueryExtension ();
11775 return XF86VidModeQueryExtension ();
11780 if ac_fn_c_try_link
"$LINENO"; then :
11781 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11783 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11785 rm -f core conftest.err conftest.
$ac_objext \
11786 conftest
$ac_exeext conftest.
$ac_ext
11787 LIBS
=$ac_check_lib_save_LIBS
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11790 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11791 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
11795 CFLAGS
="$save_cflags"
11798 if test "x-$have_vidmode" = "x-yes" ; then
11799 DO_VIDMODE_SUPPORT
="1"
11800 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11801 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
11803 DO_VIDMODE_SUPPORT
="0"
11807 aros_host_x11_includes
=$x_includes
11808 aros_host_x11_libdirs
=$x_libraries
11812 # Check whether --enable-sdl_hidd was given.
11813 if test "${enable_sdl_hidd+set}" = set; then :
11814 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11819 case "x-$sdl_hidd" in
11820 x-yes|x-no|x-auto
) ;;
11821 *) sdl_hidd
="auto" ;;
11824 if test "x-$sdl_hidd" != "x-no" ; then
11827 # Check whether --with-sdl-prefix was given.
11828 if test "${with_sdl_prefix+set}" = set; then :
11829 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11835 # Check whether --with-sdl-exec-prefix was given.
11836 if test "${with_sdl_exec_prefix+set}" = set; then :
11837 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11842 # Check whether --enable-sdltest was given.
11843 if test "${enable_sdltest+set}" = set; then :
11844 enableval
=$enable_sdltest;
11850 if test x
$sdl_exec_prefix != x
; then
11851 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11852 if test x
${SDL_CONFIG+set} != xset
; then
11853 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11856 if test x
$sdl_prefix != x
; then
11857 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11858 if test x
${SDL_CONFIG+set} != xset
; then
11859 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11863 if test "x$prefix" != xNONE
; then
11864 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11866 # Extract the first word of "sdl-config", so it can be a program name with args.
11867 set dummy sdl-config
; ac_word
=$2
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11869 $as_echo_n "checking for $ac_word... " >&6; }
11870 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
11871 $as_echo_n "(cached) " >&6
11873 case $SDL_CONFIG in
11875 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11879 for as_dir
in $PATH
11882 test -z "$as_dir" && as_dir
=.
11883 for ac_exec_ext
in '' $ac_executable_extensions; do
11884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11885 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11893 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
11897 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
11898 if test -n "$SDL_CONFIG"; then
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
11900 $as_echo "$SDL_CONFIG" >&6; }
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11903 $as_echo "no" >&6; }
11907 min_sdl_version
=1.2.10
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
11909 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
11911 if test "$SDL_CONFIG" = "no" ; then
11914 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
11915 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
11917 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
11918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11919 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
11920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11921 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
11922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11923 if test "x$enable_sdltest" = "xyes" ; then
11924 ac_save_CFLAGS
="$CFLAGS"
11925 ac_save_CXXFLAGS
="$CXXFLAGS"
11926 ac_save_LIBS
="$LIBS"
11927 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11928 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11929 LIBS
="$LIBS $SDL_LIBS"
11931 if test "$cross_compiling" = yes; then :
11932 echo $ac_n "cross compiling; assumed OK... $ac_c"
11934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11938 #include <stdlib.h>
11939 #include <string.h>
11943 my_strdup (char *str)
11949 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
11950 strcpy (new_str, str);
11958 int main (int argc, char *argv[])
11960 int major, minor, micro;
11963 /* This hangs on some systems (?)
11964 system ("touch conf.sdltest");
11966 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
11968 /* HP/UX 9 (%@#!) writes to sscanf strings */
11969 tmp_version = my_strdup("$min_sdl_version");
11970 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11971 printf("%s, bad version string\n", "$min_sdl_version");
11975 if (($sdl_major_version > major) ||
11976 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
11977 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
11983 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
11984 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
11985 printf("*** best to upgrade to the required version.\n");
11986 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
11987 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
11988 printf("*** config.cache before re-running configure\n");
11995 if ac_fn_c_try_run
"$LINENO"; then :
12000 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12001 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12004 CFLAGS
="$ac_save_CFLAGS"
12005 CXXFLAGS
="$ac_save_CXXFLAGS"
12006 LIBS
="$ac_save_LIBS"
12009 if test "x$no_sdl" = x
; then
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12011 $as_echo "yes" >&6; }
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12015 $as_echo "no" >&6; }
12016 if test "$SDL_CONFIG" = "no" ; then
12017 echo "*** The sdl-config script installed by SDL could not be found"
12018 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12019 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12020 echo "*** full path to sdl-config."
12022 if test -f conf.sdltest
; then
12025 echo "*** Could not run SDL test program, checking why..."
12026 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12027 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12028 LIBS
="$LIBS $SDL_LIBS"
12029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12030 /* end confdefs.h. */
12035 int main(int argc, char *argv[])
12038 #define main K_and_R_C_main
12048 if ac_fn_c_try_link
"$LINENO"; then :
12049 echo "*** The test program compiled, but did not run. This usually means"
12050 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12051 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12052 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12053 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12054 echo "*** is required on your system"
12056 echo "*** If you have an old version installed, it is best to remove it, although"
12057 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12059 echo "*** The test program failed to compile or link. See the file config.log for the"
12060 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12061 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12062 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12064 rm -f core conftest.err conftest.
$ac_objext \
12065 conftest
$ac_exeext conftest.
$ac_ext
12066 CFLAGS
="$ac_save_CFLAGS"
12067 CXXFLAGS
="$ac_save_CXXFLAGS"
12068 LIBS
="$ac_save_LIBS"
12080 if test "x-$have_sdl" != "x-yes" ; then
12082 if test "x-$sdl_hidd" != "x-auto" ; then
12083 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
12087 sdl_hidd_target
=kernel-hidd-sdl
12088 aros_host_sdl_cflags
=SDL_CFLAGS
12089 aros_host_sdl_libs
=SDL_LIBS
12093 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12094 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12099 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
12100 oss_library_target
=workbench-libs-oss-unix
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
12106 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12107 # Check whether --enable-dbus was given.
12108 if test "${enable_dbus+set}" = set; then :
12109 enableval
=$enable_dbus; dbus
="yes"
12114 if test "$dbus" = "yes" ; then
12116 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12117 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12118 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12119 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
12124 $as_echo "$dbus" >&6; }
12126 if test "$use_kernel_cc_wrapper" = "yes" ; then
12127 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
12142 # Compatability with other Amiga-like operation systems
12245 # Native version related
12248 # Palm native version related
12254 # Unix/Hosted version related
12260 # Apple iOS related
12285 # Collect-aros stuff: "-ius" to ignore undefined symbols
12288 # C compiler related
12291 case "$aros_flavour" in
12292 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12293 aros_flavour
="emulation" ;;
12294 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12295 aros_flavour
="emulation" ;;
12296 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12297 aros_flavour
="standalone";;
12298 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12299 aros_flavour
="standalone";;
12300 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12301 aros_flavour
="native" ;;
12302 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12303 aros_flavour
="native" ;;
12304 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12305 aros_flavour
="linklib" ;;
12306 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12307 aros_flavour
="palmnative" ;;
12308 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12309 aros_flavour
="mac68knative" ;;
12310 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12311 aros_flavour
="ppcnative" ;;
12314 if test ! -d ${aros_inc_dir} ; then
12315 ${MKDIR} ${aros_inc_dir}
12317 if test ! -d ${aros_geninc_dir} ; then
12318 ${MKDIR} ${aros_geninc_dir}
12320 if test ! -d ${aros_hostcfg_dir} ; then
12321 ${MKDIR} ${aros_hostcfg_dir}
12323 if test ! -d ${aros_targetcfg_dir} ; then
12324 ${MKDIR} ${aros_targetcfg_dir}
12326 if test ! -d ${aros_tools_dir} ; then
12327 ${MKDIR} ${aros_tools_dir}
12329 if test ! -d ${aros_scripts_dir} ; then
12330 ${MKDIR} ${aros_scripts_dir}
12333 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12336 ac_config_commands
="$ac_config_commands compiler_executable"
12338 ac_config_commands
="$ac_config_commands genmf_executable"
12341 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"
12344 cat >confcache
<<\_ACEOF
12345 # This file is a shell script that caches the results of configure
12346 # tests run on this system so they can be shared between configure
12347 # scripts and configure runs, see configure's option --config-cache.
12348 # It is not useful on other systems. If it contains results you don't
12349 # want to keep, you may remove or edit it.
12351 # config.status only pays attention to the cache file if you give it
12352 # the --recheck option to rerun configure.
12354 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12355 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12356 # following values.
12360 # The following way of writing the cache mishandles newlines in values,
12361 # but we know of no workaround that is simple, portable, and efficient.
12362 # So, we kill variables containing newlines.
12363 # Ultrix sh set writes to stderr and can't be redirected directly,
12364 # and sets the high bit in the cache file unless we assign to the vars.
12366 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12367 eval ac_val
=\$
$ac_var
12371 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12375 _ | IFS | as_nl
) ;; #(
12376 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12377 *) { eval $ac_var=; unset $ac_var;} ;;
12383 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12384 *${as_nl}ac_space
=\
*)
12385 # `set' does not quote correctly, so add quotes: double-quote
12386 # substitution turns \\\\ into \\, and sed turns \\ into \.
12389 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12392 # `set' quotes correctly as required by POSIX, so do not add quotes.
12393 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12402 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12404 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12406 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12407 if test -w "$cache_file"; then
12408 if test "x$cache_file" != "x/dev/null"; then
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12410 $as_echo "$as_me: updating cache $cache_file" >&6;}
12411 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12412 cat confcache
>"$cache_file"
12414 case $cache_file in #(
12416 mv -f confcache
"$cache_file"$$
&&
12417 mv -f "$cache_file"$$
"$cache_file" ;; #(
12419 mv -f confcache
"$cache_file" ;;
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12425 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12430 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12431 # Let make expand exec_prefix.
12432 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12434 DEFS
=-DHAVE_CONFIG_H
12439 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12440 # 1. Remove the extension, and $U if already installed.
12441 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12442 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12443 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12444 # will be set to the directory where LIBOBJS objects are built.
12445 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12446 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12448 LIBOBJS
=$ac_libobjs
12450 LTLIBOBJS
=$ac_ltlibobjs
12454 : "${CONFIG_STATUS=./config.status}"
12456 ac_clean_files_save
=$ac_clean_files
12457 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12459 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12461 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12463 # Generated by $as_me.
12464 # Run this file to recreate the current configuration.
12465 # Compiler output produced by configure, useful for debugging
12466 # configure, is in config.log if it exists.
12469 ac_cs_recheck=false
12472 SHELL=\${CONFIG_SHELL-$SHELL}
12475 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12476 ## -------------------- ##
12477 ## M4sh Initialization. ##
12478 ## -------------------- ##
12480 # Be more Bourne compatible
12481 DUALCASE
=1; export DUALCASE
# for MKS sh
12482 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12485 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12486 # is contrary to our usage. Disable this feature.
12487 alias -g '${1+"$@"}'='"$@"'
12488 setopt NO_GLOB_SUBST
12490 case `(set -o) 2>/dev/null` in #(
12502 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12503 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12504 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12505 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12506 # Prefer a ksh shell builtin over an external printf program on Solaris,
12507 # but without wasting forks for bash or zsh.
12508 if test -z "$BASH_VERSION$ZSH_VERSION" \
12509 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12510 as_echo='print
-r --'
12511 as_echo_n='print
-rn --'
12512 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12513 as_echo='printf %s
\n'
12514 as_echo_n='printf %s
'
12516 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12517 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12518 as_echo_n='/usr
/ucb
/echo -n'
12520 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12521 as_echo_n_body='eval
12525 expr "X$arg" : "X\\(.*\\)$as_nl";
12526 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12528 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12530 export as_echo_n_body
12531 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12533 export as_echo_body
12534 as_echo='sh
-c $as_echo_body as_echo
'
12537 # The user is always right.
12538 if test "${PATH_SEPARATOR+set}" != set; then
12540 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12541 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12548 # We need space, tab and new line, in precisely that order. Quoting is
12549 # there to prevent editors from complaining about space-tab.
12550 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12551 # splitting by setting IFS to empty value.)
12554 # Find who we are. Look in the path if we contain no directory separator.
12557 *[\\/]* ) as_myself=$0 ;;
12558 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12559 for as_dir in $PATH
12562 test -z "$as_dir" && as_dir=.
12563 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12569 # We did not find ourselves, most probably we were run as `sh COMMAND'
12570 # in which case we are not to be found in the path.
12571 if test "x$as_myself" = x
; then
12574 if test ! -f "$as_myself"; then
12575 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12579 # Unset variables that we do not need and which cause bugs (e.g. in
12580 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12581 # suppresses any "Segmentation fault" message there. '((' could
12582 # trigger a bug in pdksh 5.2.14.
12583 for as_var
in BASH_ENV ENV MAIL MAILPATH
12584 do eval test x\
${$as_var+set} = xset \
12585 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12598 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12601 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12602 # ----------------------------------------
12603 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12604 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12605 # script with STATUS, using 1 if that was 0.
12608 as_status
=$1; test $as_status -eq 0 && as_status
=1
12610 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12611 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12613 $as_echo "$as_me: error: $2" >&2
12614 as_fn_exit
$as_status
12618 # as_fn_set_status STATUS
12619 # -----------------------
12620 # Set $? to STATUS, without forking.
12621 as_fn_set_status
()
12624 } # as_fn_set_status
12626 # as_fn_exit STATUS
12627 # -----------------
12628 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12632 as_fn_set_status
$1
12638 # Portably unset VAR.
12641 { eval $1=; unset $1;}
12643 as_unset
=as_fn_unset
12644 # as_fn_append VAR VALUE
12645 # ----------------------
12646 # Append the text in VALUE to the end of the definition contained in VAR. Take
12647 # advantage of any shell optimizations that allow amortized linear growth over
12648 # repeated appends, instead of the typical quadratic growth present in naive
12650 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12651 eval 'as_fn_append ()
12662 # as_fn_arith ARG...
12663 # ------------------
12664 # Perform arithmetic evaluation on the ARGs, and store the result in the
12665 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12666 # must be portable across $(()) and expr.
12667 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12668 eval 'as_fn_arith ()
12675 as_val
=`expr "$@" || test $? -eq 1`
12680 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12681 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12687 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12688 as_basename
=basename
12693 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12699 as_me
=`$as_basename -- "$0" ||
12700 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12701 X"$0" : 'X\(//\)$' \| \
12702 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12704 sed '/^.*\/\([^/][^/]*\)\/*$/{
12718 # Avoid depending upon Character Ranges.
12719 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12720 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12721 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12722 as_cr_digits
='0123456789'
12723 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12725 ECHO_C
= ECHO_N
= ECHO_T
=
12726 case `echo -n x` in #(((((
12728 case `echo 'xy\c'` in
12729 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12731 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12738 rm -f conf$$ conf$$.exe conf$$.
file
12739 if test -d conf$$.dir
; then
12740 rm -f conf$$.dir
/conf$$.
file
12743 mkdir conf$$.dir
2>/dev
/null
12745 if (echo >conf$$.
file) 2>/dev
/null
; then
12746 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12748 # ... but there are two gotchas:
12749 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12750 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12751 # In both cases, we have to default to `cp -p'.
12752 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12754 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12762 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12763 rmdir conf$$.dir
2>/dev
/null
12768 # Create "$as_dir" as a directory, including parents if necessary.
12773 -*) as_dir
=.
/$as_dir;;
12775 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12779 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12780 *) as_qdir
=$as_dir;;
12782 as_dirs
="'$as_qdir' $as_dirs"
12783 as_dir
=`$as_dirname -- "$as_dir" ||
12784 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12785 X"$as_dir" : 'X\(//\)[^/]' \| \
12786 X"$as_dir" : 'X\(//\)$' \| \
12787 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12788 $as_echo X"$as_dir" |
12789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12793 /^X\(\/\/\)[^/].*/{
12806 test -d "$as_dir" && break
12808 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12809 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12813 if mkdir
-p .
2>/dev
/null
; then
12814 as_mkdir_p
='mkdir -p "$as_dir"'
12816 test -d .
/-p && rmdir .
/-p
12820 if test -x / >/dev
/null
2>&1; then
12821 as_test_x
='test -x'
12823 if ls -dL / >/dev
/null
2>&1; then
12830 if test -d "$1"; then
12836 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12837 ???[sx]*):;;*)false;;esac;fi
12841 as_executable_p
=$as_test_x
12843 # Sed expression to map a string onto a valid CPP name.
12844 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12846 # Sed expression to map a string onto a valid variable name.
12847 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12851 ## ----------------------------------- ##
12852 ## Main body of $CONFIG_STATUS script. ##
12853 ## ----------------------------------- ##
12855 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12858 # Save the log message, to keep $0 and so on meaningful, and to
12859 # report actual input values of CONFIG_FILES etc. instead of their
12860 # values after options handling.
12862 This file was extended by $as_me, which was
12863 generated by GNU Autoconf 2.68. Invocation command line was
12865 CONFIG_FILES = $CONFIG_FILES
12866 CONFIG_HEADERS = $CONFIG_HEADERS
12867 CONFIG_LINKS = $CONFIG_LINKS
12868 CONFIG_COMMANDS = $CONFIG_COMMANDS
12871 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12876 case $ac_config_files in *"
12877 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12880 case $ac_config_headers in *"
12881 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12886 # Files that config.status was made for.
12887 config_files="$ac_config_files"
12888 config_headers="$ac_config_headers"
12889 config_commands="$ac_config_commands"
12893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12895 \`$as_me' instantiates files and other configuration actions
12896 from templates according to the current configuration. Unless the files
12897 and actions are specified as TAGs, all are instantiated by default.
12899 Usage: $0 [OPTION]... [TAG]...
12901 -h, --help print this help, then exit
12902 -V, --version print version number and configuration settings, then exit
12903 --config print configuration, then exit
12904 -q, --quiet, --silent
12905 do not print progress messages
12906 -d, --debug don't remove temporary files
12907 --recheck update $as_me by reconfiguring in the same conditions
12908 --file=FILE[:TEMPLATE]
12909 instantiate the configuration file FILE
12910 --header=FILE[:TEMPLATE]
12911 instantiate the configuration header FILE
12913 Configuration files:
12916 Configuration headers:
12919 Configuration commands:
12922 Report bugs to the package provider."
12925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12926 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12929 configured by $0, generated by GNU Autoconf 2.68,
12930 with options \\"\$ac_cs_config\\"
12932 Copyright (C) 2010 Free Software Foundation, Inc.
12933 This config.status script is free software; the Free Software Foundation
12934 gives unlimited permission to copy, distribute and modify it."
12938 test -n "\$AWK" || AWK=awk
12941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12942 # The default lists apply if the user does not specify any file.
12948 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12949 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12953 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12965 # Handling of the options.
12966 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12968 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12969 $as_echo "$ac_cs_version"; exit ;;
12970 --config |
--confi |
--conf |
--con |
--co |
--c )
12971 $as_echo "$ac_cs_config"; exit ;;
12972 --debug |
--debu |
--deb |
--de |
--d |
-d )
12974 --file |
--fil |
--fi |
--f )
12977 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12978 '') as_fn_error $?
"missing file argument" ;;
12980 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12981 ac_need_defaults
=false
;;
12982 --header |
--heade |
--head |
--hea )
12985 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12987 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12988 ac_need_defaults
=false
;;
12990 # Conflict between --help and --header
12991 as_fn_error $?
"ambiguous option: \`$1'
12992 Try \`$0 --help' for more information.";;
12993 --help |
--hel |
-h )
12994 $as_echo "$ac_cs_usage"; exit ;;
12995 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12996 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12999 # This is an error.
13000 -*) as_fn_error $?
"unrecognized option: \`$1'
13001 Try \`$0 --help' for more information." ;;
13003 *) as_fn_append ac_config_targets
" $1"
13004 ac_need_defaults
=false
;;
13010 ac_configure_extra_args
=
13012 if $ac_cs_silent; then
13014 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13019 if \$ac_cs_recheck; then
13020 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13022 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13023 CONFIG_SHELL='$SHELL'
13024 export CONFIG_SHELL
13029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13033 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13034 ## Running $as_me. ##
13040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13045 aros_host_exe_suffix=${aros_host_exe_suffix}
13046 aros_tools_dir=${aros_tools_dir}
13047 aros_target_cpu=${aros_target_cpu}
13048 aros_target_arch=${aros_target_arch}
13049 aros_target_suffix=${aros_target_suffix}
13050 aros_target_nm_ln=${aros_target_nm_ln}
13051 aros_target_as_ln=${aros_target_as_ln}
13052 aros_target_ar_ln=${aros_target_ar_ln}
13053 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13054 aros_target_objdump_ln=${aros_target_objdump_ln}
13055 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13056 aros_target_strip_ln=${aros_target_strip_ln}
13057 aros_kernel_ld=${aros_kernel_ld}
13060 aros_tools_dir=${aros_tools_dir}
13065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13067 # Handling of arguments.
13068 for ac_config_target
in $ac_config_targets
13070 case $ac_config_target in
13071 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13072 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13073 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13074 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13075 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13076 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13077 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13078 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13079 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13080 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13081 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13082 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13083 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
13084 "${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" ;;
13085 "${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" ;;
13086 "${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" ;;
13087 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13088 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13089 "${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" ;;
13091 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13096 # If the user did not use the arguments to specify the items to instantiate,
13097 # then the envvar interface is used. Set only those that are not.
13098 # We use the long form for the default assignment because of an extremely
13099 # bizarre bug on SunOS 4.1.3.
13100 if $ac_need_defaults; then
13101 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13102 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13103 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13106 # Have a temporary directory for convenience. Make it in the build tree
13107 # simply because there is no reason against having it here, and in addition,
13108 # creating and moving files from /tmp can sometimes cause problems.
13109 # Hook for its removal unless debugging.
13110 # Note that there is a small window in which the directory will not be cleaned:
13111 # after its creation but before its name has been assigned to `$tmp'.
13115 trap 'exit_status=$?
13116 : "${ac_tmp:=$tmp}"
13117 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13119 trap 'as_fn_exit 1' 1 2 13 15
13121 # Create a (secure) tmp directory for tmp files.
13124 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13128 tmp
=.
/conf$$
-$RANDOM
13129 (umask 077 && mkdir
"$tmp")
13130 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13133 # Set up the scripts for CONFIG_FILES section.
13134 # No need to generate them if there are no CONFIG_FILES.
13135 # This happens for instance with `./config.status config.h'.
13136 if test -n "$CONFIG_FILES"; then
13139 ac_cr
=`echo X | tr X '\015'`
13140 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13141 # But we know of no other shell where ac_cr would be empty at this
13142 # point, so we can use a bashism as a fallback.
13143 if test "x$ac_cr" = x
; then
13144 eval ac_cr
=\$
\'\\r
\'
13146 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13147 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13150 ac_cs_awk_cr
=$ac_cr
13153 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13158 echo "cat >conf$$subs.awk <<_ACEOF" &&
13159 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13161 } >conf$$subs.sh ||
13162 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13163 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13165 for ac_last_try in false false false false false :; do
13166 . ./conf$$subs.sh ||
13167 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13169 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13170 if test $ac_delim_n = $ac_delim_num; then
13172 elif $ac_last_try; then
13173 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13175 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13178 rm -f conf$$subs.sh
13180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13181 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13185 s/^/S["/; s
/!.
*/"]=/
13195 s/\(.\{148\}\)..*/\1/
13197 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13202 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13209 s/\(.\{148\}\)..*/\1/
13211 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13215 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13220 ' <conf$$subs.awk | sed '
13225 ' >>$CONFIG_STATUS || ac_write_fail=1
13226 rm -f conf$$subs.awk
13227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13229 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13230 for (key in S) S_is_set[key] = 1
13236 nfields = split(line, field, "@
")
13238 len = length(field[1])
13239 for (i = 2; i < nfields; i++) {
13241 keylen = length(key)
13242 if (S_is_set[key]) {
13244 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13245 len += length(value) + length(field[++i])
13256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13257 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13258 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13261 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13262 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13265 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13266 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13267 # trailing colons and then remove the whole line if VPATH becomes empty
13268 # (actually we leave an empty line to preserve line numbers).
13269 if test "x
$srcdir" = x.; then
13270 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13289 fi # test -n "$CONFIG_FILES"
13291 # Set up the scripts for CONFIG_HEADERS section.
13292 # No need to generate them if there are no CONFIG_HEADERS.
13293 # This happens for instance with `./config.status Makefile'.
13294 if test -n "$CONFIG_HEADERS"; then
13295 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13299 # Transform confdefs.h into an awk script `defines.awk', embedded as
13300 # here-document in config.status, that substitutes the proper values into
13301 # config.h.in to produce config.h.
13303 # Create a delimiter string that does not exist in confdefs.h, to ease
13304 # handling of long lines.
13306 for ac_last_try in false false :; do
13307 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13308 if test -z "$ac_tt"; then
13310 elif $ac_last_try; then
13311 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13313 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13317 # For the awk script, D is an array of macro values keyed by name,
13318 # likewise P contains macro parameters if any. Preserve backslash
13319 # newline sequences.
13321 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13323 s/.\{148\}/&'"$ac_delim"'/g
13326 s/^[ ]*#[ ]*define[ ][ ]*/ /
13333 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13335 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13339 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13340 D["\
1"]=" \
3\\\\\\n
"\\/p
13342 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13347 s/.\{148\}/&'"$ac_delim"'/g
13352 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13355 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13357 ' <confdefs.h | sed '
13358 s/'"$ac_delim"'/"\\\
13359 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13362 for (key in D) D_is_set[key] = 1
13365 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13367 split(line, arg, " ")
13368 if (arg[1] == "#") {
13372 defundef
= substr
(arg
[1], 2)
13375 split(mac1
, mac2
, "(") #)
13377 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13378 if (D_is_set
[macro
]) {
13379 # Preserve the white space surrounding the "#".
13380 print prefix
"define", macro P
[macro
] D
[macro
]
13383 # Replace #undef with comments. This is necessary, for example,
13384 # in the case of _POSIX_SOURCE, which is predefined and required
13385 # on some systems where configure will not decide to define it.
13386 if (defundef
== "undef") {
13387 print
"/*", prefix defundef
, macro
, "*/"
13395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13396 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13397 fi # test -n "$CONFIG_HEADERS"
13400 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13405 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13407 case $ac_mode$ac_tag in
13409 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13410 :[FH
]-) ac_tag
=-:-;;
13411 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13428 -) ac_f
="$ac_tmp/stdin";;
13429 *) # Look for the file first in the build tree, then in the source tree
13430 # (if the path is not absolute). The absolute path cannot be DOS-style,
13431 # because $ac_f cannot contain `:'.
13435 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13437 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13439 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13440 as_fn_append ac_file_inputs
" '$ac_f'"
13443 # Let's still pretend it is `configure' which instantiates (i.e., don't
13444 # use $as_me), people would be surprised to read:
13445 # /* config.h. Generated by config.status. */
13446 configure_input
='Generated from '`
13447 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13449 if test x
"$ac_file" != x-
; then
13450 configure_input
="$ac_file. $configure_input"
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13452 $as_echo "$as_me: creating $ac_file" >&6;}
13454 # Neutralize special characters interpreted by sed in replacement strings.
13455 case $configure_input in #(
13456 *\
&* |
*\|
* |
*\\* )
13457 ac_sed_conf_input
=`$as_echo "$configure_input" |
13458 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13459 *) ac_sed_conf_input
=$configure_input;;
13463 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13464 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13469 ac_dir
=`$as_dirname -- "$ac_file" ||
13470 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13471 X"$ac_file" : 'X\(//\)[^/]' \| \
13472 X"$ac_file" : 'X\(//\)$' \| \
13473 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13474 $as_echo X"$ac_file" |
13475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13479 /^X\(\/\/\)[^/].*/{
13492 as_dir
="$ac_dir"; as_fn_mkdir_p
13496 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13498 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13499 # A ".." for each directory in $ac_dir_suffix.
13500 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13501 case $ac_top_builddir_sub in
13502 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13503 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13506 ac_abs_top_builddir
=$ac_pwd
13507 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13508 # for backward compatibility:
13509 ac_top_builddir
=$ac_top_build_prefix
13512 .
) # We are building in place.
13514 ac_top_srcdir
=$ac_top_builddir_sub
13515 ac_abs_top_srcdir
=$ac_pwd ;;
13516 [\\/]* | ?
:[\\/]* ) # Absolute name.
13517 ac_srcdir
=$srcdir$ac_dir_suffix;
13518 ac_top_srcdir
=$srcdir
13519 ac_abs_top_srcdir
=$srcdir ;;
13520 *) # Relative name.
13521 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13522 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13523 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13525 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13537 # If the template does not know about datarootdir, expand it.
13538 # FIXME: This hack should be removed a few years after 2.60.
13539 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13550 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13551 *datarootdir
*) ac_datarootdir_seen
=yes;;
13552 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13554 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13556 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13557 ac_datarootdir_hack='
13558 s&@datadir@&$datadir&g
13559 s&@docdir@&$docdir&g
13560 s&@infodir@&$infodir&g
13561 s&@localedir@&$localedir&g
13562 s&@mandir@&$mandir&g
13563 s&\\\${datarootdir}&$datarootdir&g' ;;
13567 # Neutralize VPATH when `$srcdir' = `.'.
13568 # Shell code in configure.ac might set extrasub.
13569 # FIXME: do we really want to maintain this feature?
13570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13571 ac_sed_extra="$ac_vpsub
13574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13576 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13577 s|@configure_input@|
$ac_sed_conf_input|
;t t
13578 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13579 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13580 s
&@srcdir@
&$ac_srcdir&;t t
13581 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13582 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13583 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13584 s
&@builddir@
&$ac_builddir&;t t
13585 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13586 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13587 $ac_datarootdir_hack
13589 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13590 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13592 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13593 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13594 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13595 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13597 which seems to be undefined. Please make sure it is defined" >&5
13598 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13599 which seems to be undefined. Please make sure it is defined" >&2;}
13601 rm -f "$ac_tmp/stdin"
13603 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13604 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13606 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13612 if test x"$ac_file" != x-; then
13614 $as_echo "/* $configure_input */" \
13615 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13616 } >"$ac_tmp/config.h" \
13617 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13618 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13620 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13623 mv "$ac_tmp/config.h" "$ac_file" \
13624 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13627 $as_echo "/* $configure_input */" \
13628 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13629 || as_fn_error $? "could not create -" "$LINENO" 5
13633 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13634 $as_echo "$as_me: executing $ac_file commands" >&6;}
13639 case $ac_file$ac_mode in
13640 "compiler_executable":C)
13641 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13643 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13644 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
13648 chmod a+x ${prefix2}-gcc ${prefix2}-ld ${prefix3}-gcc
13650 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
13651 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
13652 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
13653 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
13654 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
13655 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
13656 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
13658 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
13660 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
13668 ac_clean_files=$ac_clean_files_save
13670 test $ac_write_fail = 0 ||
13671 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13674 # configure is writing to config.log, and then calls config.status.
13675 # config.status does its own redirection, appending to config.log.
13676 # Unfortunately, on DOS this fails, as config.log is still kept open
13677 # by configure, so config.status won't be able to
write to it
; its
13678 # output is simply discarded. So we exec the FD to /dev/null,
13679 # effectively closing config.log, so it can be properly (re)opened and
13680 # appended to by config.status. When coming back to configure, we
13681 # need to make the FD available again.
13682 if test "$no_create" != yes; then
13684 ac_config_status_args
=
13685 test "$silent" = yes &&
13686 ac_config_status_args
="$ac_config_status_args --quiet"
13688 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13690 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13691 # would make configure fail if this is the last instruction.
13692 $ac_cs_success || as_fn_exit
1
13694 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13696 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13701 #XXX compatability...
13702 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13704 if test -n "$aros_shared_cflags" ; then
13705 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13706 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg