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 aros_cflags_enum_compare
639 aros_cflags_array_bounds
640 aros_cflags_unused_but_set_variable
641 crosstools_cxx_target
643 aros_target_strip_flags
650 aros_kernel_objcflags
669 aros_target_cc_includes
684 aros_target_bootloader
701 aros_amigaos_compliance
715 aros_cflags_iquote_end
717 kernel_cflags_iquote_end
719 host_cflags_iquote_end
721 aros_target_nostdlib_ldflags
722 aros_target_detach_ldflags
723 aros_target_nix_ldflags
724 aros_target_nostartup_ldflags
725 aros_target_nostdinc_cflags
730 aros_target_ranlib_ln
731 aros_target_objdump_ln
732 aros_target_objcopy_ln
830 program_transform_name
843 enable_option_checking
852 enable_target_variant
858 enable_amigaos_compliance
871 enable_palm_debug_hack
873 enable_nesting_supervisor
885 ac_precious_vars
='build_alias
897 # Initialize some variables set by options.
899 ac_init_version
=false
900 ac_unrecognized_opts
=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
911 program_transform_name
=s
,x
,x
,
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir
='${exec_prefix}/bin'
926 sbindir
='${exec_prefix}/sbin'
927 libexecdir
='${exec_prefix}/libexec'
928 datarootdir
='${prefix}/share'
929 datadir
='${datarootdir}'
930 sysconfdir
='${prefix}/etc'
931 sharedstatedir
='${prefix}/com'
932 localstatedir
='${prefix}/var'
933 includedir
='${prefix}/include'
934 oldincludedir
='/usr/include'
935 docdir
='${datarootdir}/doc/${PACKAGE}'
936 infodir
='${datarootdir}/info'
941 libdir
='${exec_prefix}/lib'
942 localedir
='${datarootdir}/locale'
943 mandir
='${datarootdir}/man'
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\
$ac_option
957 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962 # Accept the important Cygnus configure options, so we can diagnose typos.
964 case $ac_dashdash$ac_option in
968 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
970 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
973 -build |
--build |
--buil |
--bui |
--bu)
974 ac_prev
=build_alias
;;
975 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
976 build_alias
=$ac_optarg ;;
978 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
979 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
980 ac_prev
=cache_file
;;
981 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
982 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
983 cache_file
=$ac_optarg ;;
986 cache_file
=config.cache
;;
988 -datadir |
--datadir |
--datadi |
--datad)
990 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
991 datadir
=$ac_optarg ;;
993 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
994 |
--dataroo |
--dataro |
--datar)
995 ac_prev
=datarootdir
;;
996 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
997 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
998 datarootdir
=$ac_optarg ;;
1000 -disable-* |
--disable-*)
1001 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1004 as_fn_error $?
"invalid feature name: $ac_useropt"
1005 ac_useropt_orig
=$ac_useropt
1006 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1009 "enable_
$ac_useropt"
1011 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1012 ac_unrecognized_sep
=', ';;
1014 eval enable_
$ac_useropt=no
;;
1016 -docdir |
--docdir |
--docdi |
--doc |
--do)
1018 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1019 docdir
=$ac_optarg ;;
1021 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1023 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1024 dvidir
=$ac_optarg ;;
1026 -enable-* |
--enable-*)
1027 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1030 as_fn_error $?
"invalid feature name: $ac_useropt"
1031 ac_useropt_orig
=$ac_useropt
1032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1035 "enable_
$ac_useropt"
1037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1038 ac_unrecognized_sep
=', ';;
1040 eval enable_
$ac_useropt=\
$ac_optarg ;;
1042 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1043 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1044 |
--exec |
--exe |
--ex)
1045 ac_prev
=exec_prefix
;;
1046 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1047 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1048 |
--exec=* |
--exe=* |
--ex=*)
1049 exec_prefix
=$ac_optarg ;;
1051 -gas |
--gas |
--ga |
--g)
1052 # Obsolete; use --with-gas.
1055 -help |
--help |
--hel |
--he |
-h)
1056 ac_init_help
=long
;;
1057 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1058 ac_init_help
=recursive
;;
1059 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1060 ac_init_help
=short
;;
1062 -host |
--host |
--hos |
--ho)
1063 ac_prev
=host_alias
;;
1064 -host=* |
--host=* |
--hos=* |
--ho=*)
1065 host_alias
=$ac_optarg ;;
1067 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1069 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1071 htmldir
=$ac_optarg ;;
1073 -includedir |
--includedir |
--includedi |
--included |
--include \
1074 |
--includ |
--inclu |
--incl |
--inc)
1075 ac_prev
=includedir
;;
1076 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1077 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1078 includedir
=$ac_optarg ;;
1080 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1082 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1083 infodir
=$ac_optarg ;;
1085 -libdir |
--libdir |
--libdi |
--libd)
1087 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1088 libdir
=$ac_optarg ;;
1090 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1091 |
--libexe |
--libex |
--libe)
1092 ac_prev
=libexecdir
;;
1093 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1094 |
--libexe=* |
--libex=* |
--libe=*)
1095 libexecdir
=$ac_optarg ;;
1097 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1098 ac_prev
=localedir
;;
1099 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1100 localedir
=$ac_optarg ;;
1102 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1103 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1104 ac_prev
=localstatedir
;;
1105 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1106 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1107 localstatedir
=$ac_optarg ;;
1109 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1111 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1112 mandir
=$ac_optarg ;;
1114 -nfp |
--nfp |
--nf)
1115 # Obsolete; use --without-fp.
1118 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1119 |
--no-cr |
--no-c |
-n)
1122 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1123 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1126 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1127 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1128 |
--oldin |
--oldi |
--old |
--ol |
--o)
1129 ac_prev
=oldincludedir
;;
1130 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1131 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1132 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1133 oldincludedir
=$ac_optarg ;;
1135 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1137 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1138 prefix
=$ac_optarg ;;
1140 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1141 |
--program-pre |
--program-pr |
--program-p)
1142 ac_prev
=program_prefix
;;
1143 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1144 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1145 program_prefix
=$ac_optarg ;;
1147 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1148 |
--program-suf |
--program-su |
--program-s)
1149 ac_prev
=program_suffix
;;
1150 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1151 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1152 program_suffix
=$ac_optarg ;;
1154 -program-transform-name |
--program-transform-name \
1155 |
--program-transform-nam |
--program-transform-na \
1156 |
--program-transform-n |
--program-transform- \
1157 |
--program-transform |
--program-transfor \
1158 |
--program-transfo |
--program-transf \
1159 |
--program-trans |
--program-tran \
1160 |
--progr-tra |
--program-tr |
--program-t)
1161 ac_prev
=program_transform_name
;;
1162 -program-transform-name=* |
--program-transform-name=* \
1163 |
--program-transform-nam=* |
--program-transform-na=* \
1164 |
--program-transform-n=* |
--program-transform-=* \
1165 |
--program-transform=* |
--program-transfor=* \
1166 |
--program-transfo=* |
--program-transf=* \
1167 |
--program-trans=* |
--program-tran=* \
1168 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1169 program_transform_name
=$ac_optarg ;;
1171 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1173 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1174 pdfdir
=$ac_optarg ;;
1176 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1178 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1181 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1182 |
-silent |
--silent |
--silen |
--sile |
--sil)
1185 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1187 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1189 sbindir
=$ac_optarg ;;
1191 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1192 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1193 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1195 ac_prev
=sharedstatedir
;;
1196 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1197 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1198 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1200 sharedstatedir
=$ac_optarg ;;
1202 -site |
--site |
--sit)
1204 -site=* |
--site=* |
--sit=*)
1207 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1209 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1210 srcdir
=$ac_optarg ;;
1212 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1213 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1214 ac_prev
=sysconfdir
;;
1215 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1216 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1217 sysconfdir
=$ac_optarg ;;
1219 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1220 ac_prev
=target_alias
;;
1221 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1222 target_alias
=$ac_optarg ;;
1224 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1227 -version |
--version |
--versio |
--versi |
--vers |
-V)
1228 ac_init_version
=: ;;
1231 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1232 # Reject names that are not valid shell variable names.
1233 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1234 as_fn_error $?
"invalid package name: $ac_useropt"
1235 ac_useropt_orig
=$ac_useropt
1236 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237 case $ac_user_opts in
1241 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1242 ac_unrecognized_sep
=', ';;
1244 eval with_
$ac_useropt=\
$ac_optarg ;;
1246 -without-* |
--without-*)
1247 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1250 as_fn_error $?
"invalid package name: $ac_useropt"
1251 ac_useropt_orig
=$ac_useropt
1252 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1257 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1258 ac_unrecognized_sep
=', ';;
1260 eval with_
$ac_useropt=no
;;
1263 # Obsolete; use --with-x.
1266 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1267 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1268 ac_prev
=x_includes
;;
1269 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1270 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1271 x_includes
=$ac_optarg ;;
1273 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1274 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1275 ac_prev
=x_libraries
;;
1276 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1277 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1278 x_libraries
=$ac_optarg ;;
1280 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1281 Try \`$0 --help' for more information"
1285 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1286 # Reject names that are not valid shell variable names.
1287 case $ac_envvar in #(
1288 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1289 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1291 eval $ac_envvar=\
$ac_optarg
1292 export $ac_envvar ;;
1295 # FIXME: should be removed in autoconf 3.0.
1296 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1297 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1298 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1299 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1305 if test -n "$ac_prev"; then
1306 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1307 as_fn_error $?
"missing argument to $ac_option"
1310 if test -n "$ac_unrecognized_opts"; then
1311 case $enable_option_checking in
1313 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1314 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1318 # Check all directory arguments for consistency.
1319 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1320 datadir sysconfdir sharedstatedir localstatedir includedir \
1321 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1322 libdir localedir mandir
1324 eval ac_val
=\$
$ac_var
1325 # Remove trailing slashes.
1328 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1329 eval $ac_var=\
$ac_val;;
1331 # Be sure to have absolute directory names.
1333 [\\/$
]* | ?
:[\\/]* ) continue;;
1334 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1336 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1339 # There might be people who depend on the old broken behavior: `$host'
1340 # used to hold the argument of --host etc.
1341 # FIXME: To remove some day.
1344 target
=$target_alias
1346 # FIXME: To remove some day.
1347 if test "x$host_alias" != x
; then
1348 if test "x$build_alias" = x
; then
1349 cross_compiling
=maybe
1350 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1351 If a cross compiler is detected then cross compile mode will be used" >&2
1352 elif test "x$build_alias" != "x$host_alias"; then
1358 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1360 test "$silent" = yes && exec 6>/dev
/null
1363 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1364 ac_ls_di
=`ls -di .` &&
1365 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1366 as_fn_error $?
"working directory cannot be determined"
1367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1368 as_fn_error $?
"pwd does not report name of working directory"
1371 # Find the source files, if location was not specified.
1372 if test -z "$srcdir"; then
1373 ac_srcdir_defaulted
=yes
1374 # Try the directory containing this script, then the parent directory.
1375 ac_confdir
=`$as_dirname -- "$as_myself" ||
1376 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1377 X"$as_myself" : 'X\(//\)[^/]' \| \
1378 X"$as_myself" : 'X\(//\)$' \| \
1379 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1380 $as_echo X"$as_myself" |
1381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1403 ac_srcdir_defaulted
=no
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1406 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1407 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1409 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1411 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1413 # When building in place, set srcdir=.
1414 if test "$ac_abs_confdir" = "$ac_pwd"; then
1417 # Remove unnecessary trailing slashes from srcdir.
1418 # Double slashes in file names in object file debugging info
1419 # mess up M-x gdb in Emacs.
1421 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1423 for ac_var
in $ac_precious_vars; do
1424 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1425 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1426 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1427 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1431 # Report the --help message.
1433 if test "$ac_init_help" = "long"; then
1434 # Omit some internal or obsolete options to make the list less imposing.
1435 # This message is too long to be a string in the A/UX 3.1 sh.
1437 \`configure' configures this package to adapt to many kinds of systems.
1439 Usage: $0 [OPTION]... [VAR=VALUE]...
1441 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442 VAR=VALUE. See below for descriptions of some of the useful variables.
1444 Defaults for the options are specified in brackets.
1447 -h, --help display this help and exit
1448 --help=short display options specific to this package
1449 --help=recursive display the short help of all the included packages
1450 -V, --version display version information and exit
1451 -q, --quiet, --silent do not print \`checking ...' messages
1452 --cache-file=FILE cache test results in FILE [disabled]
1453 -C, --config-cache alias for \`--cache-file=config.cache'
1454 -n, --no-create do not create output files
1455 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1457 Installation directories:
1458 --prefix=PREFIX install architecture-independent files in PREFIX
1459 [$ac_default_prefix]
1460 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1463 By default, \`make install' will install all the files in
1464 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1465 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466 for instance \`--prefix=\$HOME'.
1468 For better control, use the options below.
1470 Fine tuning of the installation directories:
1471 --bindir=DIR user executables [EPREFIX/bin]
1472 --sbindir=DIR system admin executables [EPREFIX/sbin]
1473 --libexecdir=DIR program executables [EPREFIX/libexec]
1474 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1475 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1476 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1477 --libdir=DIR object code libraries [EPREFIX/lib]
1478 --includedir=DIR C header files [PREFIX/include]
1479 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1480 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1481 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1482 --infodir=DIR info documentation [DATAROOTDIR/info]
1483 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1484 --mandir=DIR man documentation [DATAROOTDIR/man]
1485 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1486 --htmldir=DIR html documentation [DOCDIR]
1487 --dvidir=DIR dvi documentation [DOCDIR]
1488 --pdfdir=DIR pdf documentation [DOCDIR]
1489 --psdir=DIR ps documentation [DOCDIR]
1495 --x-includes=DIR X include files are
in DIR
1496 --x-libraries=DIR X library files are
in DIR
1499 --build=BUILD configure
for building on BUILD
[guessed
]
1500 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1504 if test -n "$ac_init_help"; then
1509 --disable-option-checking ignore unrecognized
--enable/--with options
1510 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1511 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1512 --enable-build-type=TYPE
1513 Select the build
type. Available types are
:
1514 personal
, nightly
, snapshot
, milestone
, release. Do
1515 NOT use this option unless you know what you are
1516 doing
! (default
=personal
)
1517 --enable-debug=list Enable different types of debug. Commas or
1518 whitespaces can be used to separate the items
in the
1519 list. Available types of debug are
: all
, none
,
1520 messages
, stack
, mungwall
, modules
, symbols. If no
1521 list is provided
then "all" is assumed.
1523 --enable-crosstools Build cross-compiler toolchains
if necessary
1525 --enable-distcc Use distcc as a front end to the compiler
1527 --enable-ccache Use ccache as a front end to the compiler
1529 --enable-target-variant=NAME
1530 Enable a specific target variant
(default
=none
)
1531 --enable-amigaos-compliance=VERSION
1532 Enforce userspace AmigaOS compliance to a specific
1533 KickStart version
(default
=none
).
1534 --enable-includes=dir Alternative system include directory
1535 --enable-palm-debug-hack
1536 Enable palm debug output hack
in palm native
1538 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1539 --enable-nesting-supervisor
1540 Enable nesting supervisor support
in unix
1542 --disable-mmu Disable MMU support
(default
=enabled
)
1543 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1544 --enable-x11-shm use X11 shared memory
(default
=auto
)
1545 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1546 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1547 --disable-sdltest Do not try to compile and run a
test SDL program
1548 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1551 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1552 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1553 --with-gcc-version=VERSION
1554 Use
host gcc-VERSION
for building AROS
1555 --with-optimization=FLAGS
1556 Use optimization flags FLAGS
(default
=-O2).
1557 --with-paranoia=FLAGS CC flags to
enable paranoia
1558 --with-xcode=PATH Specify XCode path
for iOS targets
1559 (default
=/Developer
).
1560 --with-sdk-version=VERSION
1561 Use iOS SDK version VERSION
(default
=4.1).
1562 --with-sdk=PATH Specify Android SDK path
1563 (default
=$default_android_sdk).
1564 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1565 --with-sdk-version=LEVEL
1566 Use Android SDK
for API LEVEL
(default
=12).
1567 --with-ndk-version=LEVEL
1568 Use Android NDK
for API LEVEL
(default
=9).
1569 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1570 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1571 --with-float=<spec
> Specify floating point ABI
1572 (default
=$gcc_default_float_abi).
1573 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1574 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1575 --with-portssources=DIR Where to download sourcecode
for external ports
1576 --with-bootloader=NAME Use a specific bootloader
1577 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1578 --with-theme=NAME Use a specific GUI Theme
1579 --with-resolution=XRESxYRESxDEPTH
1580 Default resolution of the initial WorkbenchScreen
1581 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1582 --with-x use the X Window System
1583 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1584 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1586 Some influential environment variables
:
1587 CC C compiler
command
1588 CFLAGS C compiler flags
1589 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1590 nonstandard directory
<lib dir
>
1591 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1592 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1593 you have headers
in a nonstandard directory
<include dir
>
1595 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1597 Use these variables to override the choices made by
`configure' or to help
1598 it to find libraries and programs with nonstandard names/locations.
1600 Report bugs to the package provider.
1605 if test "$ac_init_help" = "recursive"; then
1606 # If there are subdirs, report their specific --help.
1607 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1608 test -d "$ac_dir" ||
1609 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1617 # A ".." for each directory in $ac_dir_suffix.
1618 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1619 case $ac_top_builddir_sub in
1620 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1624 ac_abs_top_builddir=$ac_pwd
1625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir=$ac_top_build_prefix
1630 .) # We are building in place.
1632 ac_top_srcdir=$ac_top_builddir_sub
1633 ac_abs_top_srcdir=$ac_pwd ;;
1634 [\\/]* | ?:[\\/]* ) # Absolute name.
1635 ac_srcdir=$srcdir$ac_dir_suffix;
1636 ac_top_srcdir=$srcdir
1637 ac_abs_top_srcdir=$srcdir ;;
1639 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640 ac_top_srcdir=$ac_top_build_prefix$srcdir
1641 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1645 cd "$ac_dir" || { ac_status=$?; continue; }
1646 # Check for guested configure.
1647 if test -f "$ac_srcdir/configure.gnu"; then
1649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650 elif test -f "$ac_srcdir/configure"; then
1652 $SHELL "$ac_srcdir/configure" --help=recursive
1654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1656 cd "$ac_pwd" || { ac_status=$?; break; }
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1664 generated by GNU Autoconf 2.68
1666 Copyright (C) 2010 Free Software Foundation, Inc.
1667 This configure script is free software; the Free Software Foundation
1668 gives unlimited permission to copy, distribute and modify it.
1673 ## ------------------------ ##
1674 ## Autoconf initialization. ##
1675 ## ------------------------ ##
1677 # ac_fn_c_try_compile LINENO
1678 # --------------------------
1679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1680 ac_fn_c_try_compile ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 rm -f conftest.$ac_objext
1684 if { { ac_try="$ac_compile"
1686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1687 *) ac_try_echo
=$ac_try;;
1689 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_compile") 2>conftest.err
1693 if test -s conftest.err
; then
1694 grep -v '^ *+' conftest.err
>conftest.er1
1695 cat conftest.er1
>&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && {
1700 test -z "$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1702 } && test -s conftest.
$ac_objext; then :
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.
$ac_ext >&5
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status
$ac_retval
1713 } # ac_fn_c_try_compile
1715 # ac_fn_c_try_cpp LINENO
1716 # ----------------------
1717 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1720 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1721 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } > conftest.i && {
1737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status $ac_retval
1752 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1755 # the include files in INCLUDES and setting the cache variable VAR
1757 ac_fn_c_check_header_mongrel ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 if eval \${$3+:} false; then :
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if eval \${$3+:} false; then :
1764 $as_echo_n "(cached) " >&6
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1770 # Is the header compilable?
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1772 $as_echo_n "checking $2 usability... " >&6; }
1773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1778 if ac_fn_c_try_compile "$LINENO"; then :
1779 ac_header_compiler=yes
1781 ac_header_compiler=no
1783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1785 $as_echo "$ac_header_compiler" >&6; }
1787 # Is the header present?
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1789 $as_echo_n "checking $2 presence... " >&6; }
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1794 if ac_fn_c_try_cpp "$LINENO"; then :
1795 ac_header_preproc=yes
1797 ac_header_preproc=no
1799 rm -f conftest.err conftest.i conftest.$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1801 $as_echo "$ac_header_preproc" >&6; }
1803 # So? What about this header?
1804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1807 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1809 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1813 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1815 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1817 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1819 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1821 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1825 $as_echo_n "checking for $2... " >&6; }
1826 if eval \${$3+:} false; then :
1827 $as_echo_n "(cached) " >&6
1829 eval "$3=\$ac_header_compiler"
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 $as_echo "$ac_res" >&6; }
1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 } # ac_fn_c_check_header_mongrel
1839 # ac_fn_c_try_run LINENO
1840 # ----------------------
1841 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1842 # that executables *can* be run.
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 if { { ac_try="$ac_link"
1848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1849 *) ac_try_echo
=$ac_try;;
1851 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_link") 2>&5
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1857 { { case "(($ac_try" in
1858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_try") 2>&5
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; }; }; then :
1869 $as_echo "$as_me: program exited with status $ac_status" >&5
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1873 ac_retval=$ac_status
1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 as_fn_set_status $ac_retval
1881 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1882 # -------------------------------------------------------
1883 # Tests whether HEADER exists and can be compiled using the include files in
1884 # INCLUDES, setting the cache variable VAR accordingly.
1885 ac_fn_c_check_header_compile ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \${$3+:} false; then :
1891 $as_echo_n "(cached) " >&6
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1898 if ac_fn_c_try_compile "$LINENO"; then :
1903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 } # ac_fn_c_check_header_compile
1912 # ac_fn_c_try_link LINENO
1913 # -----------------------
1914 # Try to link conftest.$ac_ext, and return whether this succeeded.
1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 rm -f conftest.$ac_objext conftest$ac_exeext
1919 if { { ac_try="$ac_link"
1921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1922 *) ac_try_echo
=$ac_try;;
1924 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_link") 2>conftest.err
1928 if test -s conftest.err
; then
1929 grep -v '^ *+' conftest.err
>conftest.er1
1930 cat conftest.er1
>&5
1931 mv -f conftest.er1 conftest.err
1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934 test $ac_status = 0; } && {
1935 test -z "$ac_c_werror_flag" ||
1936 test ! -s conftest.err
1937 } && test -s conftest
$ac_exeext && {
1938 test "$cross_compiling" = yes ||
1939 $as_test_x conftest
$ac_exeext
1943 $as_echo "$as_me: failed program was:" >&5
1944 sed 's/^/| /' conftest.
$ac_ext >&5
1948 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1949 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1950 # interfere with the next link command; also delete a directory that is
1951 # left behind by Apple's compiler. We do this before executing the actions.
1952 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954 as_fn_set_status
$ac_retval
1956 } # ac_fn_c_try_link
1958 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1959 # ----------------------------------------------------
1960 # Tries to find if the field MEMBER exists in type AGGR, after including
1961 # INCLUDES, setting cache variable VAR accordingly.
1962 ac_fn_c_check_member
()
1964 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1966 $as_echo_n "checking for $2.$3... " >&6; }
1967 if eval \
${$4+:} false
; then :
1968 $as_echo_n "(cached) " >&6
1970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1983 if ac_fn_c_try_compile
"$LINENO"; then :
1986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1993 if (sizeof ac_aggr.$3)
1999 if ac_fn_c_try_compile
"$LINENO"; then :
2004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 $as_echo "$ac_res" >&6; }
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 } # ac_fn_c_check_member
2015 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2016 # ---------------------------------------------
2017 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2019 ac_fn_c_check_decl
()
2021 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2022 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2023 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2025 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2026 if eval \
${$3+:} false
; then :
2027 $as_echo_n "(cached) " >&6
2029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2035 #ifndef $as_decl_name
2037 (void) $as_decl_use;
2039 (void) $as_decl_name;
2047 if ac_fn_c_try_compile
"$LINENO"; then :
2052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059 } # ac_fn_c_check_decl
2061 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2062 # -------------------------------------------
2063 # Tests whether TYPE exists after having included INCLUDES, setting cache
2064 # variable VAR accordingly.
2065 ac_fn_c_check_type
()
2067 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if eval \
${$3+:} false
; then :
2071 $as_echo_n "(cached) " >&6
2074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2075 /* end confdefs.h. */
2086 if ac_fn_c_try_compile
"$LINENO"; then :
2087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2099 if ac_fn_c_try_compile
"$LINENO"; then :
2104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110 $as_echo "$ac_res" >&6; }
2111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2113 } # ac_fn_c_check_type
2115 # ac_fn_c_check_func LINENO FUNC VAR
2116 # ----------------------------------
2117 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2118 ac_fn_c_check_func
()
2120 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \
${$3+:} false
; then :
2124 $as_echo_n "(cached) " >&6
2126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2128 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2130 #define $2 innocuous_$2
2132 /* System header to define __stub macros and hopefully few prototypes,
2133 which can conflict with char $2 (); below.
2134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2135 <limits.h> exists even on freestanding compilers. */
2138 # include <limits.h>
2140 # include <assert.h>
2145 /* Override any GCC internal prototype to avoid an error.
2146 Use char because int might match the return type of a GCC
2147 builtin and then its argument prototype would still apply. */
2152 /* The GNU C library defines this for functions which it implements
2153 to always fail with ENOSYS. Some functions are actually named
2154 something starting with __ and the normal name is an alias. */
2155 #if defined __stub_$2 || defined __stub___$2
2167 if ac_fn_c_try_link
"$LINENO"; then :
2172 rm -f core conftest.err conftest.
$ac_objext \
2173 conftest
$ac_exeext conftest.
$ac_ext
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177 $as_echo "$ac_res" >&6; }
2178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2180 } # ac_fn_c_check_func
2181 cat >config.log
<<_ACEOF
2182 This file contains any messages produced by compilers while
2183 running configure, to aid debugging if configure makes a mistake.
2185 It was created by $as_me, which was
2186 generated by GNU Autoconf 2.68. Invocation command line was
2198 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2199 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2200 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2201 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2202 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2204 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2205 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2207 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2208 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2209 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2210 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2211 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2212 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2213 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2221 test -z "$as_dir" && as_dir
=.
2222 $as_echo "PATH: $as_dir"
2238 # Keep a trace of the command line.
2239 # Strip out --no-create and --no-recursion so they do not pile up.
2240 # Strip out --silent because we don't want to record it for future runs.
2241 # Also quote any args containing shell meta-characters.
2242 # Make two passes to allow for proper duplicate-argument suppression.
2246 ac_must_keep_next
=false
2252 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2253 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2254 |
-silent |
--silent |
--silen |
--sile |
--sil)
2257 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2260 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2262 as_fn_append ac_configure_args1
" '$ac_arg'"
2263 if test $ac_must_keep_next = true
; then
2264 ac_must_keep_next
=false
# Got value, back to normal.
2267 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2268 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2269 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2270 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2271 case "$ac_configure_args0 " in
2272 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2275 -* ) ac_must_keep_next
=true
;;
2278 as_fn_append ac_configure_args
" '$ac_arg'"
2283 { ac_configure_args0
=; unset ac_configure_args0
;}
2284 { ac_configure_args1
=; unset ac_configure_args1
;}
2286 # When interrupted or exit'd, cleanup temporary files, and complete
2287 # config.log. We remove comments because anyway the quotes in there
2288 # would cause problems or look ugly.
2289 # WARNING: Use '\'' to represent an apostrophe within the trap.
2290 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2291 trap 'exit_status=$?
2292 # Save into config.log some information that might help in debugging.
2296 $as_echo "## ---------------- ##
2297 ## Cache variables. ##
2298 ## ---------------- ##"
2300 # The following way of writing the cache mishandles newlines in values,
2302 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2303 eval ac_val=\$$ac_var
2307 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2308 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2311 _ | IFS | as_nl) ;; #(
2312 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2313 *) { eval $ac_var=; unset $ac_var;} ;;
2318 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2319 *${as_nl}ac_space=\ *)
2321 "s/'\''/'\''\\\\'\'''\''/g;
2322 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2325 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2332 $as_echo "## ----------------- ##
2333 ## Output variables. ##
2334 ## ----------------- ##"
2336 for ac_var in $ac_subst_vars
2338 eval ac_val=\$$ac_var
2340 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2342 $as_echo "$ac_var='\''$ac_val'\''"
2346 if test -n "$ac_subst_files"; then
2347 $as_echo "## ------------------- ##
2348 ## File substitutions. ##
2349 ## ------------------- ##"
2351 for ac_var
in $ac_subst_files
2353 eval ac_val
=\$
$ac_var
2355 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2357 $as_echo "$ac_var='\''$ac_val'\''"
2362 if test -s confdefs.h; then
2363 $as_echo "## ----------- ##
2370 test "$ac_signal" != 0 &&
2371 $as_echo "$as_me: caught signal $ac_signal"
2372 $as_echo "$as_me: exit $exit_status"
2374 rm -f core *.core core.conftest.* &&
2375 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2378 for ac_signal
in 1 2 13 15; do
2379 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2383 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2384 rm -f -r conftest
* confdefs.h
2386 $as_echo "/* confdefs.h */" > confdefs.h
2388 # Predefined preprocessor variables.
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_NAME "$PACKAGE_NAME"
2394 cat >>confdefs.h
<<_ACEOF
2395 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2398 cat >>confdefs.h
<<_ACEOF
2399 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2402 cat >>confdefs.h
<<_ACEOF
2403 #define PACKAGE_STRING "$PACKAGE_STRING"
2406 cat >>confdefs.h
<<_ACEOF
2407 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2410 cat >>confdefs.h
<<_ACEOF
2411 #define PACKAGE_URL "$PACKAGE_URL"
2415 # Let the site file select an alternate cache file if it wants to.
2416 # Prefer an explicitly selected file to automatically selected ones.
2419 if test -n "$CONFIG_SITE"; then
2420 # We do not want a PATH search for config.site.
2421 case $CONFIG_SITE in #((
2422 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2423 */*) ac_site_file1
=$CONFIG_SITE;;
2424 *) ac_site_file1
=.
/$CONFIG_SITE;;
2426 elif test "x$prefix" != xNONE
; then
2427 ac_site_file1
=$prefix/share
/config.site
2428 ac_site_file2
=$prefix/etc
/config.site
2430 ac_site_file1
=$ac_default_prefix/share
/config.site
2431 ac_site_file2
=$ac_default_prefix/etc
/config.site
2433 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2435 test "x$ac_site_file" = xNONE
&& continue
2436 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2438 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2439 sed 's/^/| /' "$ac_site_file" >&5
2441 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2443 as_fn_error $?
"failed to load site script $ac_site_file
2444 See \`config.log' for more details" "$LINENO" 5; }
2448 if test -r "$cache_file"; then
2449 # Some versions of bash will fail to source /dev/null (special files
2450 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2451 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2453 $as_echo "$as_me: loading cache $cache_file" >&6;}
2455 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2456 *) .
"./$cache_file";;
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2461 $as_echo "$as_me: creating cache $cache_file" >&6;}
2465 as_fn_append ac_header_list
" stdlib.h"
2466 as_fn_append ac_header_list
" unistd.h"
2467 as_fn_append ac_header_list
" sys/param.h"
2468 # Check that the precious variables saved in the cache have kept the same
2470 ac_cache_corrupted
=false
2471 for ac_var
in $ac_precious_vars; do
2472 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2473 eval ac_new_set
=\
$ac_env_${ac_var}_set
2474 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2475 eval ac_new_val
=\
$ac_env_${ac_var}_value
2476 case $ac_old_set,$ac_new_set in
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2479 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2480 ac_cache_corrupted
=: ;;
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2483 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2484 ac_cache_corrupted
=: ;;
2487 if test "x$ac_old_val" != "x$ac_new_val"; then
2488 # differences in whitespace do not lead to failure.
2489 ac_old_val_w
=`echo x $ac_old_val`
2490 ac_new_val_w
=`echo x $ac_new_val`
2491 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2493 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2494 ac_cache_corrupted
=:
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2497 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2498 eval $ac_var=\
$ac_old_val
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2501 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2503 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2506 # Pass precious variables to config.status.
2507 if test "$ac_new_set" = set; then
2509 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2510 *) ac_arg
=$ac_var=$ac_new_val ;;
2512 case " $ac_configure_args " in
2513 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2514 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2518 if $ac_cache_corrupted; then
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2522 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2523 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2525 ## -------------------- ##
2526 ## Main body of script. ##
2527 ## -------------------- ##
2530 ac_cpp
='$CPP $CPPFLAGS'
2531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2538 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2539 if test -f "$ac_dir/install-sh"; then
2541 ac_install_sh
="$ac_aux_dir/install-sh -c"
2543 elif test -f "$ac_dir/install.sh"; then
2545 ac_install_sh
="$ac_aux_dir/install.sh -c"
2547 elif test -f "$ac_dir/shtool"; then
2549 ac_install_sh
="$ac_aux_dir/shtool install -c"
2553 if test -z "$ac_aux_dir"; then
2554 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2557 # These three variables are undocumented and unsupported,
2558 # and are intended to be withdrawn in a future Autoconf release.
2559 # They can cause serious problems if a builder's source tree is in a directory
2560 # whose full name contains unusual characters.
2561 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2562 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2563 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2567 # Check what host we are running on.
2568 # If a target is not suggested, we use this one.
2569 # Note that what we call a target, Autoconf calls a host.
2570 # Make sure we can run config.sub.
2571 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2572 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2575 $as_echo_n "checking build system type... " >&6; }
2576 if ${ac_cv_build+:} false
; then :
2577 $as_echo_n "(cached) " >&6
2579 ac_build_alias
=$build_alias
2580 test "x$ac_build_alias" = x
&&
2581 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2582 test "x$ac_build_alias" = x
&&
2583 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2584 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2585 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2589 $as_echo "$ac_cv_build" >&6; }
2590 case $ac_cv_build in
2592 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2595 ac_save_IFS
=$IFS; IFS
='-'
2601 # Remember, the first character of IFS is used to create $*,
2602 # except with old shells:
2605 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2609 $as_echo_n "checking host system type... " >&6; }
2610 if ${ac_cv_host+:} false
; then :
2611 $as_echo_n "(cached) " >&6
2613 if test "x$host_alias" = x
; then
2614 ac_cv_host
=$ac_cv_build
2616 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2617 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2622 $as_echo "$ac_cv_host" >&6; }
2625 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2628 ac_save_IFS
=$IFS; IFS
='-'
2634 # Remember, the first character of IFS is used to create $*,
2635 # except with old shells:
2638 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2642 # The AROS target is slightly different to the normal GNU style
2643 # format. We don't have the middle part, and we reverse the order
2644 # of the $(CPU) and $(OS) bits.
2646 # Don't strip the version of the target yet, it might be
2647 # useful on some systems.
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2650 $as_echo_n "checking for AROS style target... " >&6; }
2652 if test "$target" = "NONE" ; then
2653 target
=$host_os-$host_cpu
2655 if test "$target" = "" ; then
2656 target
=$host_os-$host_cpu
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2660 $as_echo "$target" >&6; }
2662 if test "$host_os" = "mingw32" ; then
2666 #don't know where else to put this...
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2668 $as_echo_n "checking building AROS in... " >&6; }
2669 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2670 AROS_BUILDDIR_UNIX
=${PWD}
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2672 $as_echo "$AROS_BUILDDIR" >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2675 $as_echo_n "checking AROS source in... " >&6; }
2676 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2679 $as_echo "$SRCDIR" >&6; }
2681 # Parse the target field into something useful.
2683 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2684 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2687 aros_default_wbwidth
=800
2688 aros_default_wbheight
=600
2689 aros_default_wbdepth
=4
2692 # The first step is to find the host binaries.
2693 # Check for a compiler.
2695 ac_cpp
='$CPP $CPPFLAGS'
2696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2699 if test -n "$ac_tool_prefix"; then
2700 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2701 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; }
2704 if ${ac_cv_prog_CC+:} false
; then :
2705 $as_echo_n "(cached) " >&6
2707 if test -n "$CC"; then
2708 ac_cv_prog_CC
="$CC" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 if test -n "$CC"; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2730 $as_echo "$CC" >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2738 if test -z "$ac_cv_prog_CC"; then
2740 # Extract the first word of "gcc", so it can be a program name with args.
2741 set dummy gcc
; ac_word
=$2
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2743 $as_echo_n "checking for $ac_word... " >&6; }
2744 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2745 $as_echo_n "(cached) " >&6
2747 if test -n "$ac_ct_CC"; then
2748 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir
=.
2755 for ac_exec_ext
in '' $ac_executable_extensions; do
2756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757 ac_cv_prog_ac_ct_CC
="gcc"
2758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2768 if test -n "$ac_ct_CC"; then
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2770 $as_echo "$ac_ct_CC" >&6; }
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773 $as_echo "no" >&6; }
2776 if test "x$ac_ct_CC" = x
; then
2779 case $cross_compiling:$ac_tool_warned in
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2783 ac_tool_warned
=yes ;;
2791 if test -z "$CC"; then
2792 if test -n "$ac_tool_prefix"; then
2793 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2794 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if ${ac_cv_prog_CC+:} false
; then :
2798 $as_echo_n "(cached) " >&6
2800 if test -n "$CC"; then
2801 ac_cv_prog_CC
="$CC" # Let the user override the test.
2803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir
=.
2808 for ac_exec_ext
in '' $ac_executable_extensions; do
2809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2810 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 if test -n "$CC"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2823 $as_echo "$CC" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2832 if test -z "$CC"; then
2833 # Extract the first word of "cc", so it can be a program name with args.
2834 set dummy cc
; ac_word
=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_CC+:} false
; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$CC"; then
2841 ac_cv_prog_CC
="$CC" # Let the user override the test.
2844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2848 test -z "$as_dir" && as_dir
=.
2849 for ac_exec_ext
in '' $ac_executable_extensions; do
2850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2851 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2852 ac_prog_rejected
=yes
2856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 if test $ac_prog_rejected = yes; then
2864 # We found a bogon in the path, so make sure we never use it.
2865 set dummy
$ac_cv_prog_CC
2867 if test $# != 0; then
2868 # We chose a different compiler from the bogus one.
2869 # However, it has the same basename, so the bogon will be chosen
2870 # first if we set CC to just the basename; use the full file name.
2872 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2878 if test -n "$CC"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2880 $as_echo "$CC" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2888 if test -z "$CC"; then
2889 if test -n "$ac_tool_prefix"; then
2890 for ac_prog
in cl.exe
2892 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2893 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if ${ac_cv_prog_CC+:} false
; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC
="$CC" # Let the user override the test.
2902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir
=.
2907 for ac_exec_ext
in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 if test -n "$CC"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2922 $as_echo "$CC" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2929 test -n "$CC" && break
2932 if test -z "$CC"; then
2934 for ac_prog
in cl.exe
2936 # Extract the first word of "$ac_prog", so it can be a program name with args.
2937 set dummy
$ac_prog; ac_word
=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$ac_ct_CC"; then
2944 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir
=.
2951 for ac_exec_ext
in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 ac_cv_prog_ac_ct_CC
="$ac_prog"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2964 if test -n "$ac_ct_CC"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2966 $as_echo "$ac_ct_CC" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2973 test -n "$ac_ct_CC" && break
2976 if test "x$ac_ct_CC" = x
; then
2979 case $cross_compiling:$ac_tool_warned in
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2983 ac_tool_warned
=yes ;;
2992 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2994 as_fn_error $?
"no acceptable C compiler found in \$PATH
2995 See \`config.log' for more details" "$LINENO" 5; }
2997 # Provide some information about the compiler.
2998 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3001 for ac_option
in --version -v -V -qversion; do
3002 { { ac_try
="$ac_compiler $ac_option >&5"
3004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3008 $as_echo "$ac_try_echo"; } >&5
3009 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3011 if test -s conftest.err; then
3013 ... rest of stderr output deleted ...
3014 10q' conftest.err >conftest.er1
3015 cat conftest.er1 >&5
3017 rm -f conftest.er1 conftest.err
3018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3019 test $ac_status = 0; }
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3033 ac_clean_files_save=$ac_clean_files
3034 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3035 # Try to create an executable without -o first, disregard a.out.
3036 # It will help us diagnose broken compilers, and finding out an intuition
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3039 $as_echo_n "checking whether the C compiler works... " >&6; }
3040 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3042 # The possible output files:
3043 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3046 for ac_file in $ac_files
3049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3050 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3055 if { { ac_try="$ac_link_default"
3057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3058 *) ac_try_echo
=$ac_try;;
3060 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061 $as_echo "$ac_try_echo"; } >&5
3062 (eval "$ac_link_default") 2>&5
3064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065 test $ac_status = 0; }; then :
3066 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3067 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3068 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3069 # so that the user can short-circuit this test for compilers unknown to
3071 for ac_file
in $ac_files ''
3073 test -f "$ac_file" ||
continue
3075 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3078 # We found the default executable, but exeext='' is most
3082 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3084 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3086 # We set ac_cv_exeext here because the later test for it is not
3087 # safe: cross compilers may not add the suffix if given an `-o'
3088 # argument, so we may need to know it at that point already.
3089 # Even if this section looks crufty: it has the advantage of
3096 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3101 if test -z "$ac_file"; then :
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3104 $as_echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.
$ac_ext >&5
3107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3109 as_fn_error
77 "C compiler cannot create executables
3110 See \`config.log' for more details" "$LINENO" 5; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3113 $as_echo "yes" >&6; }
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3116 $as_echo_n "checking for C compiler default output file name... " >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3118 $as_echo "$ac_file" >&6; }
3119 ac_exeext
=$ac_cv_exeext
3121 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3122 ac_clean_files
=$ac_clean_files_save
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3124 $as_echo_n "checking for suffix of executables... " >&6; }
3125 if { { ac_try
="$ac_link"
3127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_link") 2>&5
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135 test $ac_status = 0; }; then :
3136 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3137 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3138 # work properly (i.e., refer to `conftest.exe'), while it won't with
3140 for ac_file
in conftest.exe conftest conftest.
*; do
3141 test -f "$ac_file" ||
continue
3143 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3144 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3153 See \`config.log' for more details" "$LINENO" 5; }
3155 rm -f conftest conftest
$ac_cv_exeext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3157 $as_echo "$ac_cv_exeext" >&6; }
3159 rm -f conftest.
$ac_ext
3160 EXEEXT
=$ac_cv_exeext
3162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3168 FILE *f = fopen ("conftest.out", "w");
3169 return ferror (f) || fclose (f) != 0;
3175 ac_clean_files
="$ac_clean_files conftest.out"
3176 # Check that the compiler produces executables we can run. If not, either
3177 # the compiler is broken, or we cross compile.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3179 $as_echo_n "checking whether we are cross compiling... " >&6; }
3180 if test "$cross_compiling" != yes; then
3181 { { ac_try
="$ac_link"
3183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187 $as_echo "$ac_try_echo"; } >&5
3188 (eval "$ac_link") 2>&5
3190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191 test $ac_status = 0; }
3192 if { ac_try='./conftest$ac_cv_exeext'
3193 { { case "(($ac_try" in
3194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3195 *) ac_try_echo
=$ac_try;;
3197 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199 (eval "$ac_try") 2>&5
3201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3202 test $ac_status = 0; }; }; then
3205 if test "$cross_compiling" = maybe
; then
3208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3210 as_fn_error $?
"cannot run C compiled programs.
3211 If you meant to cross compile, use \`--host'.
3212 See \`config.log' for more details" "$LINENO" 5; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3217 $as_echo "$cross_compiling" >&6; }
3219 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3220 ac_clean_files
=$ac_clean_files_save
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3222 $as_echo_n "checking for suffix of object files... " >&6; }
3223 if ${ac_cv_objext+:} false
; then :
3224 $as_echo_n "(cached) " >&6
3226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3237 rm -f conftest.o conftest.obj
3238 if { { ac_try
="$ac_compile"
3240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245 (eval "$ac_compile") 2>&5
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; }; then :
3249 for ac_file in conftest.o conftest.obj conftest.*; do
3250 test -f "$ac_file" || continue;
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3253 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3258 $as_echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3264 See \
`config.log' for more details" "$LINENO" 5; }
3266 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3269 $as_echo "$ac_cv_objext" >&6; }
3270 OBJEXT=$ac_cv_objext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3273 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3274 if ${ac_cv_c_compiler_gnu+:} false; then :
3275 $as_echo_n "(cached) " >&6
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3291 if ac_fn_c_try_compile "$LINENO"; then :
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3301 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3302 if test $ac_compiler_gnu = yes; then
3307 ac_test_CFLAGS=${CFLAGS+set}
3308 ac_save_CFLAGS=$CFLAGS
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3310 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3311 if ${ac_cv_prog_cc_g+:} false; then :
3312 $as_echo_n "(cached) " >&6
3314 ac_save_c_werror_flag=$ac_c_werror_flag
3315 ac_c_werror_flag=yes
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3329 if ac_fn_c_try_compile "$LINENO"; then :
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3344 if ac_fn_c_try_compile "$LINENO"; then :
3347 ac_c_werror_flag=$ac_save_c_werror_flag
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3360 if ac_fn_c_try_compile "$LINENO"; then :
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 ac_c_werror_flag=$ac_save_c_werror_flag
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3371 $as_echo "$ac_cv_prog_cc_g" >&6; }
3372 if test "$ac_test_CFLAGS" = set; then
3373 CFLAGS=$ac_save_CFLAGS
3374 elif test $ac_cv_prog_cc_g = yes; then
3375 if test "$GCC" = yes; then
3381 if test "$GCC" = yes; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3388 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3389 if ${ac_cv_prog_cc_c89+:} false; then :
3390 $as_echo_n "(cached) " >&6
3392 ac_cv_prog_cc_c89=no
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3398 #include <sys/types.h>
3399 #include <sys/stat.h>
3400 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3401 struct buf { int x; };
3402 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3403 static char *e (p, i)
3409 static char *f (char * (*g) (char **, int), char **p, ...)
3414 s = g (p, va_arg (v,int));
3419 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3420 function prototypes and stuff, but not '\xHH' hex character constants.
3421 These don't provoke an error unfortunately, instead are silently treated
3422 as 'x'. The following induces an error, until -std is added to get
3423 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3424 array size at least. It's necessary to write '\x00'==0 to get something
3425 that's true only with -std. */
3426 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3428 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3429 inside strings and character constants. */
3431 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3433 int test (int i, double x);
3434 struct s1 {int (*f) (int a);};
3435 struct s2 {int (*f) (double a);};
3436 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3442 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3447 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3448 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3450 CC="$ac_save_CC $ac_arg"
3451 if ac_fn_c_try_compile "$LINENO"; then :
3452 ac_cv_prog_cc_c89=$ac_arg
3454 rm -f core conftest.err conftest.$ac_objext
3455 test "x$ac_cv_prog_cc_c89" != "xno" && break
3457 rm -f conftest.$ac_ext
3462 case "x$ac_cv_prog_cc_c89" in
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3465 $as_echo "none needed" >&6; } ;;
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3468 $as_echo "unsupported" >&6; } ;;
3470 CC="$CC $ac_cv_prog_cc_c89"
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3472 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3474 if test "x$ac_cv_prog_cc_c89" != xno; then :
3479 ac_cpp='$CPP $CPPFLAGS'
3480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3484 case $ac_cv_prog_cc_stdc in #(
3486 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3489 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3490 if ${ac_cv_prog_cc_c99+:} false; then :
3491 $as_echo_n "(cached) " >&6
3493 ac_cv_prog_cc_c99=no
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3498 #include <stdbool.h>
3503 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3504 #define debug(...) fprintf (stderr, __VA_ARGS__)
3505 #define showlist(...) puts (#__VA_ARGS__)
3506 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3508 test_varargs_macros (void)
3513 debug ("X = %d\n", x);
3514 showlist (The first, second, and third items.);
3515 report (x>y, "x is %d but y is %d", x, y);
3518 // Check long long types.
3519 #define BIG64 18446744073709551615ull
3520 #define BIG32 4294967295ul
3521 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3523 your preprocessor is broken;
3527 your preprocessor is broken;
3529 static long long int bignum = -9223372036854775807LL;
3530 static unsigned long long int ubignum = BIG64;
3532 struct incomplete_array
3540 const wchar_t *name;
3544 typedef const char *ccp;
3547 test_restrict (ccp restrict text)
3549 // See if C++-style comments work.
3550 // Iterate through items via the restricted pointer.
3551 // Also check for declarations in for loops.
3552 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3557 // Check varargs and va_copy.
3559 test_varargs (const char *format, ...)
3562 va_start (args, format);
3564 va_copy (args_copy, args);
3575 str = va_arg (args_copy, const char *);
3578 number = va_arg (args_copy, int);
3581 fnumber = va_arg (args_copy, double);
3596 _Bool success = false;
3599 if (test_restrict ("String literal") == 0)
3601 char *restrict newvar = "Another string";
3604 test_varargs ("s, d' f .", "string", 65, 34.234);
3605 test_varargs_macros ();
3607 // Check flexible array members.
3608 struct incomplete_array *ia =
3609 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3611 for (int i = 0; i < ia->datasize; ++i)
3612 ia->data[i] = i * 1.234;
3614 // Check named initializers.
3615 struct named_init ni = {
3617 .name = L"Test wide string",
3618 .average = 543.34343,
3623 int dynamic_array[ni.number];
3624 dynamic_array[ni.number - 1] = 543;
3626 // work around unused variable warnings
3627 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3628 || dynamic_array[ni.number - 1] != 543);
3634 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3636 CC="$ac_save_CC $ac_arg"
3637 if ac_fn_c_try_compile "$LINENO"; then :
3638 ac_cv_prog_cc_c99=$ac_arg
3640 rm -f core conftest.err conftest.$ac_objext
3641 test "x$ac_cv_prog_cc_c99" != "xno" && break
3643 rm -f conftest.$ac_ext
3648 case "x$ac_cv_prog_cc_c99" in
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3651 $as_echo "none needed" >&6; } ;;
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3654 $as_echo "unsupported" >&6; } ;;
3656 CC="$CC $ac_cv_prog_cc_c99"
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3658 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3660 if test "x$ac_cv_prog_cc_c99" != xno; then :
3661 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3664 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3665 if ${ac_cv_prog_cc_c89+:} false; then :
3666 $as_echo_n "(cached) " >&6
3668 ac_cv_prog_cc_c89=no
3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3674 #include <sys/types.h>
3675 #include <sys/stat.h>
3676 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3677 struct buf { int x; };
3678 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3679 static char *e (p, i)
3685 static char *f (char * (*g) (char **, int), char **p, ...)
3690 s = g (p, va_arg (v,int));
3695 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3696 function prototypes and stuff, but not '\xHH' hex character constants.
3697 These don't provoke an error unfortunately, instead are silently treated
3698 as 'x'. The following induces an error, until -std is added to get
3699 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3700 array size at least. It's necessary to write '\x00'==0 to get something
3701 that's true only with -std. */
3702 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3704 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3705 inside strings and character constants. */
3707 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3709 int test (int i, double x);
3710 struct s1 {int (*f) (int a);};
3711 struct s2 {int (*f) (double a);};
3712 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3718 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3723 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3724 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3726 CC="$ac_save_CC $ac_arg"
3727 if ac_fn_c_try_compile "$LINENO"; then :
3728 ac_cv_prog_cc_c89=$ac_arg
3730 rm -f core conftest.err conftest.$ac_objext
3731 test "x$ac_cv_prog_cc_c89" != "xno" && break
3733 rm -f conftest.$ac_ext
3738 case "x$ac_cv_prog_cc_c89" in
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3741 $as_echo "none needed" >&6; } ;;
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3744 $as_echo "unsupported" >&6; } ;;
3746 CC="$CC $ac_cv_prog_cc_c89"
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3748 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3750 if test "x$ac_cv_prog_cc_c89" != xno; then :
3751 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3753 ac_cv_prog_cc_stdc=no
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3760 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3761 if ${ac_cv_prog_cc_stdc+:} false; then :
3762 $as_echo_n "(cached) " >&6
3765 case $ac_cv_prog_cc_stdc in #(
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3768 $as_echo "unsupported" >&6; } ;; #(
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3771 $as_echo "none needed" >&6; } ;; #(
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3774 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3778 ac_cpp='$CPP $CPPFLAGS'
3779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3783 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3784 # On Suns, sometimes $CPP names a directory.
3785 if test -n "$CPP" && test -d "$CPP"; then
3788 if test -z "$CPP"; then
3789 if ${ac_cv_prog_CPP+:} false; then :
3790 $as_echo_n "(cached) " >&6
3792 # Double quotes because CPP needs to be expanded
3793 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3796 for ac_c_preproc_warn_flag in '' yes
3798 # Use a header file that comes with gcc, so configuring glibc
3799 # with a fresh cross-compiler works.
3800 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3801 # <limits.h> exists even on freestanding compilers.
3802 # On the NeXT, cc -E runs the code through the compiler's parser,
3803 # not just through cpp. "Syntax error" is here to catch this case.
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3807 # include <limits.h>
3809 # include <assert.h>
3813 if ac_fn_c_try_cpp "$LINENO"; then :
3816 # Broken: fails on valid input.
3819 rm -f conftest.err conftest.i conftest.$ac_ext
3821 # OK, works on sane cases. Now check whether nonexistent headers
3822 # can be detected and how.
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3825 #include <ac_nonexistent.h>
3827 if ac_fn_c_try_cpp "$LINENO"; then :
3828 # Broken: success on invalid input.
3831 # Passes both tests.
3835 rm -f conftest.err conftest.i conftest.$ac_ext
3838 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3839 rm -f conftest.i conftest.err conftest.
$ac_ext
3840 if $ac_preproc_ok; then :
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3853 $as_echo "$CPP" >&6; }
3855 for ac_c_preproc_warn_flag
in '' yes
3857 # Use a header file that comes with gcc, so configuring glibc
3858 # with a fresh cross-compiler works.
3859 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3860 # <limits.h> exists even on freestanding compilers.
3861 # On the NeXT, cc -E runs the code through the compiler's parser,
3862 # not just through cpp. "Syntax error" is here to catch this case.
3863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3866 # include <limits.h>
3868 # include <assert.h>
3872 if ac_fn_c_try_cpp
"$LINENO"; then :
3875 # Broken: fails on valid input.
3878 rm -f conftest.err conftest.i conftest.
$ac_ext
3880 # OK, works on sane cases. Now check whether nonexistent headers
3881 # can be detected and how.
3882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3884 #include <ac_nonexistent.h>
3886 if ac_fn_c_try_cpp
"$LINENO"; then :
3887 # Broken: success on invalid input.
3890 # Passes both tests.
3894 rm -f conftest.err conftest.i conftest.
$ac_ext
3897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3898 rm -f conftest.i conftest.err conftest.
$ac_ext
3899 if $ac_preproc_ok; then :
3902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3904 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3905 See \`config.log' for more details" "$LINENO" 5; }
3909 ac_cpp
='$CPP $CPPFLAGS'
3910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3915 # Check for a compatible awk
3916 for ac_prog
in gawk nawk
3918 # Extract the first word of "$ac_prog", so it can be a program name with args.
3919 set dummy
$ac_prog; ac_word
=$2
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if ${ac_cv_prog_AWK+:} false
; then :
3923 $as_echo_n "(cached) " >&6
3925 if test -n "$AWK"; then
3926 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3932 test -z "$as_dir" && as_dir
=.
3933 for ac_exec_ext
in '' $ac_executable_extensions; do
3934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3935 ac_cv_prog_AWK
="$ac_prog"
3936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 if test -n "$AWK"; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3948 $as_echo "$AWK" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3955 test -n "$AWK" && break
3958 if test "$AWK" = ""; then
3959 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3961 # Extract the first word of "mmake", so it can be a program name with args.
3962 set dummy mmake
; ac_word
=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if ${ac_cv_prog_MMAKE+:} false
; then :
3966 $as_echo_n "(cached) " >&6
3968 if test -n "$MMAKE"; then
3969 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir
=.
3976 for ac_exec_ext
in '' $ac_executable_extensions; do
3977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3978 ac_cv_prog_MMAKE
="mmake "
3979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 MMAKE
=$ac_cv_prog_MMAKE
3989 if test -n "$MMAKE"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3991 $as_echo "$MMAKE" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3999 # Perform some default variable assignments. Note all of these will be
4000 # Regenerated from the script, so there is no need to cache them.
4003 if test "$GCC" = "yes"; then
4004 aros_gcc_ld
=`$CC -print-prog-name=ld`
4005 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4006 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4008 $as_echo_n "checking for $ac_word... " >&6; }
4009 if ${ac_cv_path_aros_host_ld+:} false
; then :
4010 $as_echo_n "(cached) " >&6
4012 case $aros_host_ld in
4014 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4018 for as_dir
in `dirname $aros_gcc_ld`
4021 test -z "$as_dir" && as_dir
=.
4022 for ac_exec_ext
in '' $ac_executable_extensions; do
4023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4024 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4035 aros_host_ld
=$ac_cv_path_aros_host_ld
4036 if test -n "$aros_host_ld"; then
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4038 $as_echo "$aros_host_ld" >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4041 $as_echo "no" >&6; }
4046 if test "$aros_host_ld" = ""; then
4047 # Extract the first word of "ld", so it can be a program name with args.
4048 set dummy ld
; ac_word
=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_path_aros_host_ld+:} false
; then :
4052 $as_echo_n "(cached) " >&6
4054 case $aros_host_ld in
4056 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4063 test -z "$as_dir" && as_dir
=.
4064 for ac_exec_ext
in '' $ac_executable_extensions; do
4065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4066 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 aros_host_ld
=$ac_cv_path_aros_host_ld
4078 if test -n "$aros_host_ld"; then
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4080 $as_echo "$aros_host_ld" >&6; }
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083 $as_echo "no" >&6; }
4088 if test "$aros_host_ld" = ""; then
4089 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4091 aros_host_make
="make"
4092 aros_host_cflags
=$CFLAGS
4093 aros_host_ldflags
=$LDFLAGS
4094 aros_host_debug
="-g -O0"
4095 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4096 aros_host_mkargs
="--no-print-directory"
4097 aros_host_incl
="/usr/include"
4098 aros_host_exe_suffix
="$EXEEXT"
4099 aros_host_lib_suffix
=""
4101 # Ignore all compliance, AROS ROMs = 0
4102 # KickStart v1.0 = 30
4103 # KickStart v1.3 = 34
4104 # KickStart v2.0 = 37
4105 # KickStart v3.0 = 39
4106 # KickStart v3.1 = 40
4108 aros_amigaos_compliance
=0
4110 for ac_prog
in aclocal aclocal19 aclocal-1.9
4112 # Extract the first word of "$ac_prog", so it can be a program name with args.
4113 set dummy
$ac_prog; ac_word
=$2
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4115 $as_echo_n "checking for $ac_word... " >&6; }
4116 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4117 $as_echo_n "(cached) " >&6
4119 if test -n "$aros_host_aclocal"; then
4120 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4126 test -z "$as_dir" && as_dir
=.
4127 for ac_exec_ext
in '' $ac_executable_extensions; do
4128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4129 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4140 if test -n "$aros_host_aclocal"; then
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4142 $as_echo "$aros_host_aclocal" >&6; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4149 test -n "$aros_host_aclocal" && break
4152 for ac_prog
in autoconf autoconf259 autoconf253
4154 # Extract the first word of "$ac_prog", so it can be a program name with args.
4155 set dummy
$ac_prog; ac_word
=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4159 $as_echo_n "(cached) " >&6
4161 if test -n "$aros_host_autoconf"; then
4162 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir
=.
4169 for ac_exec_ext
in '' $ac_executable_extensions; do
4170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4171 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4181 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4182 if test -n "$aros_host_autoconf"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4184 $as_echo "$aros_host_autoconf" >&6; }
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4191 test -n "$aros_host_autoconf" && break
4194 for ac_prog
in autoheader autoheader259 autoheader253
4196 # Extract the first word of "$ac_prog", so it can be a program name with args.
4197 set dummy
$ac_prog; ac_word
=$2
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4199 $as_echo_n "checking for $ac_word... " >&6; }
4200 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4201 $as_echo_n "(cached) " >&6
4203 if test -n "$aros_host_autoheader"; then
4204 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4210 test -z "$as_dir" && as_dir
=.
4211 for ac_exec_ext
in '' $ac_executable_extensions; do
4212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4213 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4223 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4224 if test -n "$aros_host_autoheader"; then
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4226 $as_echo "$aros_host_autoheader" >&6; }
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4229 $as_echo "no" >&6; }
4233 test -n "$aros_host_autoheader" && break
4236 for ac_prog
in automake automake19 automake-1.9
4238 # Extract the first word of "$ac_prog", so it can be a program name with args.
4239 set dummy
$ac_prog; ac_word
=$2
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241 $as_echo_n "checking for $ac_word... " >&6; }
4242 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4243 $as_echo_n "(cached) " >&6
4245 if test -n "$aros_host_automake"; then
4246 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4252 test -z "$as_dir" && as_dir
=.
4253 for ac_exec_ext
in '' $ac_executable_extensions; do
4254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4255 ac_cv_prog_aros_host_automake
="$ac_prog"
4256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4265 aros_host_automake
=$ac_cv_prog_aros_host_automake
4266 if test -n "$aros_host_automake"; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4268 $as_echo "$aros_host_automake" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4275 test -n "$aros_host_automake" && break
4279 if test "$aros_host_aclocal" = ""; then
4280 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4282 if test "$aros_host_automake" = ""; then
4283 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4286 case "$aros_host_cc" in
4288 aros_host_cc_pipe
="-pipe"
4291 aros_host_cc_pipe
=""
4294 aros_host_cc_pipe
=""
4298 aros_kernel_cc_includes
=""
4299 aros_target_cc_includes
=""
4301 # ----------------------------------------------------------------------------------------
4302 # Host-specific defaults
4304 # Override this to "yes" in order to force a specific build to use real AROS crosscompiler
4305 # instead of a wrapper script.
4306 # Useful for non-ELF hosts (like Windows and Darwin).
4307 # Can also be overriden in target section below
4310 # This is the main host configuration section. It is where the host
4311 # can change the values of any variables it needs to change. We do
4312 # not look at anything that compiles to the target yet, we'll get
4317 aros_host_arch
="aros"
4318 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4321 aros_host_cpu
="i386"
4324 aros_host_cpu
="x86_64"
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4331 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4332 aros_host_cpu
="$host_cpu"
4338 aros_host_arch
="linux"
4339 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4340 android_build_os
="linux-x86"
4341 android_tool
="android"
4342 default_android_sdk
="/opt/android-sdk-linux_x86"
4345 aros_host_cpu
="i386"
4348 aros_host_cpu
="x86_64"
4351 aros_host_cpu
="m68k"
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4361 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4362 aros_host_cpu
="$host_cpu"
4368 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4369 aros_host_make
="gmake"
4370 aros_host_arch
="freebsd"
4371 aros_host_cpu
="i386"
4373 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4377 aros_object_format
="elf_i386"
4381 aros_object_format
="elf_i386_fbsd"
4388 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4389 aros_host_arch
="darwin"
4391 android_build_os
="darwin-x86"
4392 android_tool
="android"
4393 default_android_sdk
="/android-sdk-mac_x86"
4396 aros_host_cpu
="i386"
4399 aros_host_cpu
="x86_64"
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4406 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4407 aros_host_cpu
="$host_cpu"
4411 aros_host_ldflags
="$aros_host_ldflags -liconv"
4416 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4417 aros_host_make
="gmake"
4418 aros_host_arch
="dragonfly"
4421 aros_host_cpu
="i386"
4424 aros_host_cpu
="x86_64"
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4428 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4429 aros_host_cpu
="$host_cpu"
4435 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4436 aros_host_make
="gmake"
4437 aros_host_arch
="netbsd"
4440 aros_host_cpu
="i386"
4443 aros_host_cpu
="m68k"
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4447 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4448 aros_host_cpu
="$host_cpu"
4451 aros_host_lib_suffix
=".0.0"
4455 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4456 aros_host_make
="gmake"
4457 aros_host_arch
="openbsd"
4460 aros_host_cpu
="i386"
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4464 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4465 aros_host_cpu
="$host_cpu"
4471 aros_host_arch
="solaris"
4472 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4475 aros_host_cpu
="i386"
4478 aros_host_cpu
="sparc"
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4482 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4483 aros_host_cpu
="$host_cpu"
4489 aros_host_arch
="morphos"
4494 aros_host_arch
="amiga"
4499 TOUCH
="/gg/bin/touch"
4502 aros_host_cpu
="m68k"
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4509 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4510 aros_host_cpu
="$host_cpu"
4516 aros_host_arch
="cygwin"
4518 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4519 android_build_os
="windows"
4520 android_tool
="android.bat"
4521 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4525 aros_host_cpu
="i386"
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4529 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4530 aros_host_cpu
="$host_cpu"
4536 aros_host_arch
="mingw32"
4538 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4539 android_build_os
="windows"
4540 android_tool
="android.bat"
4541 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4547 $as_echo_n "checking for Windows native gcc target... " >&6; }
4548 host_cpu
=`gcc -dumpmachine`
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4550 $as_echo "$host_cpu" >&6; }
4557 aros_host_cpu
="i386"
4561 aros_host_cpu
="x86_64"
4562 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4567 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4568 aros_host_cpu
="$host_cpu"
4573 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4577 # Extract the first word of "ar", so it can be a program name with args.
4578 set dummy
ar; ac_word
=$2
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4580 $as_echo_n "checking for $ac_word... " >&6; }
4581 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4582 $as_echo_n "(cached) " >&6
4584 if test -n "$aros_host_ar"; then
4585 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4591 test -z "$as_dir" && as_dir
=.
4592 for ac_exec_ext
in '' $ac_executable_extensions; do
4593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4594 ac_cv_prog_aros_host_ar
="ar cr"
4595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 aros_host_ar
=$ac_cv_prog_aros_host_ar
4605 if test -n "$aros_host_ar"; then
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4607 $as_echo "$aros_host_ar" >&6; }
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 $as_echo "no" >&6; }
4614 if test "$aros_host_ar" = ""; then
4615 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4617 # Extract the first word of "ranlib", so it can be a program name with args.
4618 set dummy ranlib
; ac_word
=$2
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 $as_echo_n "checking for $ac_word... " >&6; }
4621 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4622 $as_echo_n "(cached) " >&6
4624 if test -n "$aros_host_ranlib"; then
4625 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4631 test -z "$as_dir" && as_dir
=.
4632 for ac_exec_ext
in '' $ac_executable_extensions; do
4633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4634 ac_cv_prog_aros_host_ranlib
="ranlib "
4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4645 if test -n "$aros_host_ranlib"; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4647 $as_echo "$aros_host_ranlib" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4654 if test "$aros_host_ranlib" = ""; then
4655 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4657 # Extract the first word of "strip", so it can be a program name with args.
4658 set dummy strip
; ac_word
=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$aros_host_strip"; then
4665 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_exec_ext
in '' $ac_executable_extensions; do
4673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674 ac_cv_prog_aros_host_strip
="strip "
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 aros_host_strip
=$ac_cv_prog_aros_host_strip
4685 if test -n "$aros_host_strip"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4687 $as_echo "$aros_host_strip" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4694 if test "$aros_host_strip" = ""; then
4695 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4698 # Extract the first word of "rm", so it can be a program name with args.
4699 set dummy
rm; ac_word
=$2
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4701 $as_echo_n "checking for $ac_word... " >&6; }
4702 if ${ac_cv_prog_RM+:} false
; then :
4703 $as_echo_n "(cached) " >&6
4705 if test -n "$RM"; then
4706 ac_cv_prog_RM
="$RM" # Let the user override the test.
4708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4712 test -z "$as_dir" && as_dir
=.
4713 for ac_exec_ext
in '' $ac_executable_extensions; do
4714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4715 ac_cv_prog_RM
="rm -rf"
4716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 if test -n "$RM"; then
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4728 $as_echo "$RM" >&6; }
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4731 $as_echo "no" >&6; }
4735 if test "$RM" = ""; then
4736 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4738 # Extract the first word of "cp", so it can be a program name with args.
4739 set dummy
cp; ac_word
=$2
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4741 $as_echo_n "checking for $ac_word... " >&6; }
4742 if ${ac_cv_prog_CP+:} false
; then :
4743 $as_echo_n "(cached) " >&6
4745 if test -n "$CP"; then
4746 ac_cv_prog_CP
="$CP" # Let the user override the test.
4748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4752 test -z "$as_dir" && as_dir
=.
4753 for ac_exec_ext
in '' $ac_executable_extensions; do
4754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4766 if test -n "$CP"; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4768 $as_echo "$CP" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4775 if test "$CP" = ""; then
4776 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4778 # Extract the first word of "mv", so it can be a program name with args.
4779 set dummy
mv; ac_word
=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if ${ac_cv_prog_MV+:} false
; then :
4783 $as_echo_n "(cached) " >&6
4785 if test -n "$MV"; then
4786 ac_cv_prog_MV
="$MV" # Let the user override the test.
4788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir
=.
4793 for ac_exec_ext
in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 if test -n "$MV"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4808 $as_echo "$MV" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4815 if test "$MV" = ""; then
4816 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4818 # Extract the first word of "echo", so it can be a program name with args.
4819 set dummy
echo; ac_word
=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if ${ac_cv_prog_ECHO+:} false
; then :
4823 $as_echo_n "(cached) " >&6
4825 if test -n "$ECHO"; then
4826 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir
=.
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835 ac_cv_prog_ECHO
="echo "
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 ECHO
=$ac_cv_prog_ECHO
4846 if test -n "$ECHO"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4848 $as_echo "$ECHO" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4855 if test "$ECHO" = ""; then
4856 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4858 # Extract the first word of "mkdir", so it can be a program name with args.
4859 set dummy mkdir
; ac_word
=$2
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 $as_echo_n "checking for $ac_word... " >&6; }
4862 if ${ac_cv_prog_MKDIR+:} false
; then :
4863 $as_echo_n "(cached) " >&6
4865 if test -n "$MKDIR"; then
4866 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_exec_ext
in '' $ac_executable_extensions; do
4874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4875 ac_cv_prog_MKDIR
="mkdir -p"
4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 MKDIR
=$ac_cv_prog_MKDIR
4886 if test -n "$MKDIR"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4888 $as_echo "$MKDIR" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4895 if test "$MKDIR" = ""; then
4896 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4898 # Extract the first word of "touch", so it can be a program name with args.
4899 set dummy
touch; ac_word
=$2
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4901 $as_echo_n "checking for $ac_word... " >&6; }
4902 if ${ac_cv_prog_TOUCH+:} false
; then :
4903 $as_echo_n "(cached) " >&6
4905 if test -n "$TOUCH"; then
4906 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4912 test -z "$as_dir" && as_dir
=.
4913 for ac_exec_ext
in '' $ac_executable_extensions; do
4914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4915 ac_cv_prog_TOUCH
="touch "
4916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4925 TOUCH
=$ac_cv_prog_TOUCH
4926 if test -n "$TOUCH"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4928 $as_echo "$TOUCH" >&6; }
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 $as_echo "no" >&6; }
4935 if test "$TOUCH" = ""; then
4936 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4938 # Extract the first word of "sort", so it can be a program name with args.
4939 set dummy
sort; ac_word
=$2
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941 $as_echo_n "checking for $ac_word... " >&6; }
4942 if ${ac_cv_prog_SORT+:} false
; then :
4943 $as_echo_n "(cached) " >&6
4945 if test -n "$SORT"; then
4946 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4952 test -z "$as_dir" && as_dir
=.
4953 for ac_exec_ext
in '' $ac_executable_extensions; do
4954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4955 ac_cv_prog_SORT
="sort "
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965 SORT
=$ac_cv_prog_SORT
4966 if test -n "$SORT"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4968 $as_echo "$SORT" >&6; }
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4975 if test "$SORT" = ""; then
4976 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4978 # Extract the first word of "uniq", so it can be a program name with args.
4979 set dummy
uniq; ac_word
=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_UNIQ+:} false
; then :
4983 $as_echo_n "(cached) " >&6
4985 if test -n "$UNIQ"; then
4986 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir
=.
4993 for ac_exec_ext
in '' $ac_executable_extensions; do
4994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4995 ac_cv_prog_UNIQ
="uniq "
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 UNIQ
=$ac_cv_prog_UNIQ
5006 if test -n "$UNIQ"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5008 $as_echo "$UNIQ" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5015 if test "$UNIQ" = ""; then
5016 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5018 # Extract the first word of "true", so it can be a program name with args.
5019 set dummy true
; ac_word
=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if ${ac_cv_prog_NOP+:} false
; then :
5023 $as_echo_n "(cached) " >&6
5025 if test -n "$NOP"; then
5026 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_NOP
="true "
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 if test -n "$NOP"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5048 $as_echo "$NOP" >&6; }
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5055 if test "$NOP" = ""; then
5056 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5058 # Extract the first word of "cat", so it can be a program name with args.
5059 set dummy
cat; ac_word
=$2
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if ${ac_cv_prog_CAT+:} false
; then :
5063 $as_echo_n "(cached) " >&6
5065 if test -n "$CAT"; then
5066 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5072 test -z "$as_dir" && as_dir
=.
5073 for ac_exec_ext
in '' $ac_executable_extensions; do
5074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 ac_cv_prog_CAT
="cat "
5076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 if test -n "$CAT"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5088 $as_echo "$CAT" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5095 if test "$CAT" = ""; then
5096 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5098 # Extract the first word of "bison", so it can be a program name with args.
5099 set dummy bison
; ac_word
=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if ${ac_cv_prog_BISON+:} false
; then :
5103 $as_echo_n "(cached) " >&6
5105 if test -n "$BISON"; then
5106 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir
=.
5113 for ac_exec_ext
in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_BISON
="bison "
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 BISON
=$ac_cv_prog_BISON
5126 if test -n "$BISON"; then
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5128 $as_echo "$BISON" >&6; }
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5135 if test "$BISON" = ""; then
5136 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5138 # Extract the first word of "flex", so it can be a program name with args.
5139 set dummy flex
; ac_word
=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if ${ac_cv_prog_FLEX+:} false
; then :
5143 $as_echo_n "(cached) " >&6
5145 if test -n "$FLEX"; then
5146 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5152 test -z "$as_dir" && as_dir
=.
5153 for ac_exec_ext
in '' $ac_executable_extensions; do
5154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155 ac_cv_prog_FLEX
="flex "
5156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 FLEX
=$ac_cv_prog_FLEX
5166 if test -n "$FLEX"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5168 $as_echo "$FLEX" >&6; }
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5175 if test "$FLEX" = ""; then
5176 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5178 # Extract the first word of "pngtopnm", so it can be a program name with args.
5179 set dummy pngtopnm
; ac_word
=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -n "$PNGTOPNM"; then
5186 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195 ac_cv_prog_PNGTOPNM
="pngtopnm "
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5206 if test -n "$PNGTOPNM"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5208 $as_echo "$PNGTOPNM" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5215 if test "$PNGTOPNM" = ""; then
5216 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5218 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5219 set dummy ppmtoilbm
; ac_word
=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$PPMTOILBM"; then
5226 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir
=.
5233 for ac_exec_ext
in '' $ac_executable_extensions; do
5234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5235 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5246 if test -n "$PPMTOILBM"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5248 $as_echo "$PPMTOILBM" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5255 if test "$PPMTOILBM" = ""; then
5256 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5258 # Extract the first word of "sed", so it can be a program name with args.
5259 set dummy
sed; ac_word
=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_SED+:} false
; then :
5263 $as_echo_n "(cached) " >&6
5265 if test -n "$SED"; then
5266 ac_cv_prog_SED
="$SED" # Let the user override the test.
5268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5272 test -z "$as_dir" && as_dir
=.
5273 for ac_exec_ext
in '' $ac_executable_extensions; do
5274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5275 ac_cv_prog_SED
="sed "
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286 if test -n "$SED"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5288 $as_echo "$SED" >&6; }
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5295 if test "$SED" = ""; then
5296 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5298 # Extract the first word of "chmod", so it can be a program name with args.
5299 set dummy
chmod; ac_word
=$2
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5301 $as_echo_n "checking for $ac_word... " >&6; }
5302 if ${ac_cv_prog_CHMOD+:} false
; then :
5303 $as_echo_n "(cached) " >&6
5305 if test -n "$CHMOD"; then
5306 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5312 test -z "$as_dir" && as_dir
=.
5313 for ac_exec_ext
in '' $ac_executable_extensions; do
5314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5315 ac_cv_prog_CHMOD
="chmod "
5316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 CHMOD
=$ac_cv_prog_CHMOD
5326 if test -n "$CHMOD"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5328 $as_echo "$CHMOD" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5335 if test "$CHMOD" = ""; then
5336 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5338 # Extract the first word of "patch", so it can be a program name with args.
5339 set dummy
patch; ac_word
=$2
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5341 $as_echo_n "checking for $ac_word... " >&6; }
5342 if ${ac_cv_prog_PATCH+:} false
; then :
5343 $as_echo_n "(cached) " >&6
5345 if test -n "$PATCH"; then
5346 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir
=.
5353 for ac_exec_ext
in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_PATCH
="patch "
5356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 PATCH
=$ac_cv_prog_PATCH
5366 if test -n "$PATCH"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5368 $as_echo "$PATCH" >&6; }
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5371 $as_echo "no" >&6; }
5375 if test "$PATCH" = ""; then
5376 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5383 if test -n "$PYTHON"; then
5384 # If the user set $PYTHON, use it and don't search something else.
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5386 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5387 prog
="import sys, string
5388 # split strings by '.' and convert to numeric. Append some zeros
5389 # because we need at least 4 digits for the hex conversion.
5390 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5392 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5393 sys.exit(sys.hexversion < minverhex)"
5394 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5395 ($PYTHON -c "$prog") >&5 2>&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; then :
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5400 $as_echo "yes" >&6; }
5402 as_fn_error $?
"too old" "$LINENO" 5
5404 am_display_PYTHON
=$PYTHON
5406 # Otherwise, try each interpreter until we find one that satisfies
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5409 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5410 if ${am_cv_pathless_PYTHON+:} false
; then :
5411 $as_echo_n "(cached) " >&6
5414 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
5415 test "$am_cv_pathless_PYTHON" = none
&& break
5416 prog
="import sys, string
5417 # split strings by '.' and convert to numeric. Append some zeros
5418 # because we need at least 4 digits for the hex conversion.
5419 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5421 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5422 sys.exit(sys.hexversion < minverhex)"
5423 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5424 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); }; then :
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5433 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5434 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5435 if test "$am_cv_pathless_PYTHON" = none
; then
5438 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5439 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if ${ac_cv_path_PYTHON+:} false
; then :
5443 $as_echo_n "(cached) " >&6
5447 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir
=.
5455 for ac_exec_ext
in '' $ac_executable_extensions; do
5456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5457 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 PYTHON
=$ac_cv_path_PYTHON
5469 if test -n "$PYTHON"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5471 $as_echo "$PYTHON" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5479 am_display_PYTHON
=$am_cv_pathless_PYTHON
5483 if test "$PYTHON" = :; then
5484 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5489 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5490 if ${am_cv_python_version+:} false
; then :
5491 $as_echo_n "(cached) " >&6
5493 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5496 $as_echo "$am_cv_python_version" >&6; }
5497 PYTHON_VERSION
=$am_cv_python_version
5501 PYTHON_PREFIX
='${prefix}'
5503 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5508 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5509 if ${am_cv_python_platform+:} false
; then :
5510 $as_echo_n "(cached) " >&6
5512 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5515 $as_echo "$am_cv_python_platform" >&6; }
5516 PYTHON_PLATFORM
=$am_cv_python_platform
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5522 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5523 if ${am_cv_python_pythondir+:} false
; then :
5524 $as_echo_n "(cached) " >&6
5526 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5527 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5530 $as_echo "$am_cv_python_pythondir" >&6; }
5531 pythondir
=$am_cv_python_pythondir
5535 pkgpythondir
=\
${pythondir}/$PACKAGE
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5539 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5540 if ${am_cv_python_pyexecdir+:} false
; then :
5541 $as_echo_n "(cached) " >&6
5543 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5544 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5547 $as_echo "$am_cv_python_pyexecdir" >&6; }
5548 pyexecdir
=$am_cv_python_pyexecdir
5552 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5570 # Check for some includes for the X11 HIDD and the kernel
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5574 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5575 if ${ac_cv_path_GREP+:} false
; then :
5576 $as_echo_n "(cached) " >&6
5578 if test -z "$GREP"; then
5579 ac_path_GREP_found
=false
5580 # Loop through the user's path and test for each of PROGNAME-LIST
5581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5582 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5585 test -z "$as_dir" && as_dir
=.
5586 for ac_prog
in grep ggrep
; do
5587 for ac_exec_ext
in '' $ac_executable_extensions; do
5588 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5589 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5590 # Check for GNU ac_path_GREP and select it if it is found.
5591 # Check for GNU $ac_path_GREP
5592 case `"$ac_path_GREP" --version 2>&1` in
5594 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5597 $as_echo_n 0123456789 >"conftest.in"
5600 cat "conftest.in" "conftest.in" >"conftest.tmp"
5601 mv "conftest.tmp" "conftest.in"
5602 cp "conftest.in" "conftest.nl"
5603 $as_echo 'GREP' >> "conftest.nl"
5604 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5605 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5606 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5607 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5608 # Best one so far, save it but keep looking for a better one
5609 ac_cv_path_GREP
="$ac_path_GREP"
5610 ac_path_GREP_max
=$ac_count
5612 # 10*(2^10) chars as input seems more than enough
5613 test $ac_count -gt 10 && break
5615 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5618 $ac_path_GREP_found && break 3
5623 if test -z "$ac_cv_path_GREP"; then
5624 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5627 ac_cv_path_GREP
=$GREP
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5632 $as_echo "$ac_cv_path_GREP" >&6; }
5633 GREP
="$ac_cv_path_GREP"
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5637 $as_echo_n "checking for egrep... " >&6; }
5638 if ${ac_cv_path_EGREP+:} false
; then :
5639 $as_echo_n "(cached) " >&6
5641 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5642 then ac_cv_path_EGREP
="$GREP -E"
5644 if test -z "$EGREP"; then
5645 ac_path_EGREP_found
=false
5646 # Loop through the user's path and test for each of PROGNAME-LIST
5647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5651 test -z "$as_dir" && as_dir
=.
5652 for ac_prog
in egrep; do
5653 for ac_exec_ext
in '' $ac_executable_extensions; do
5654 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5655 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5656 # Check for GNU ac_path_EGREP and select it if it is found.
5657 # Check for GNU $ac_path_EGREP
5658 case `"$ac_path_EGREP" --version 2>&1` in
5660 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5663 $as_echo_n 0123456789 >"conftest.in"
5666 cat "conftest.in" "conftest.in" >"conftest.tmp"
5667 mv "conftest.tmp" "conftest.in"
5668 cp "conftest.in" "conftest.nl"
5669 $as_echo 'EGREP' >> "conftest.nl"
5670 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5671 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5672 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5673 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5674 # Best one so far, save it but keep looking for a better one
5675 ac_cv_path_EGREP
="$ac_path_EGREP"
5676 ac_path_EGREP_max
=$ac_count
5678 # 10*(2^10) chars as input seems more than enough
5679 test $ac_count -gt 10 && break
5681 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5684 $ac_path_EGREP_found && break 3
5689 if test -z "$ac_cv_path_EGREP"; then
5690 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5693 ac_cv_path_EGREP
=$EGREP
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5699 $as_echo "$ac_cv_path_EGREP" >&6; }
5700 EGREP
="$ac_cv_path_EGREP"
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5704 $as_echo_n "checking for ANSI C header files... " >&6; }
5705 if ${ac_cv_header_stdc+:} false
; then :
5706 $as_echo_n "(cached) " >&6
5708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5709 /* end confdefs.h. */
5723 if ac_fn_c_try_compile
"$LINENO"; then :
5724 ac_cv_header_stdc
=yes
5726 ac_cv_header_stdc
=no
5728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5730 if test $ac_cv_header_stdc = yes; then
5731 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5733 /* end confdefs.h. */
5737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5738 $EGREP "memchr" >/dev
/null
2>&1; then :
5741 ac_cv_header_stdc
=no
5747 if test $ac_cv_header_stdc = yes; then
5748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5755 $EGREP "free" >/dev
/null
2>&1; then :
5758 ac_cv_header_stdc
=no
5764 if test $ac_cv_header_stdc = yes; then
5765 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5766 if test "$cross_compiling" = yes; then :
5769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5770 /* end confdefs.h. */
5773 #if ((' ' & 0x0FF) == 0x020)
5774 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5775 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5777 # define ISLOWER(c) \
5778 (('a' <= (c) && (c) <= 'i') \
5779 || ('j' <= (c) && (c) <= 'r') \
5780 || ('s' <= (c) && (c) <= 'z'))
5781 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5784 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5789 for (i = 0; i < 256; i++)
5790 if (XOR (islower (i), ISLOWER (i))
5791 || toupper (i) != TOUPPER (i))
5796 if ac_fn_c_try_run
"$LINENO"; then :
5799 ac_cv_header_stdc
=no
5801 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5802 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5808 $as_echo "$ac_cv_header_stdc" >&6; }
5809 if test $ac_cv_header_stdc = yes; then
5811 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5815 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5816 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5817 inttypes.h stdint.h unistd.h
5819 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5820 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5822 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5823 cat >>confdefs.h
<<_ACEOF
5824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5832 for ac_header
in sys
/ipc.h sys
/shm.h \
5833 sys
/mmap.h sys
/mman.h sysexits.h \
5834 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5837 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5838 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5839 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5840 cat >>confdefs.h
<<_ACEOF
5841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5849 for ac_header
in sys
/mount.h
5851 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5853 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
5854 cat >>confdefs.h
<<_ACEOF
5855 #define HAVE_SYS_MOUNT_H 1
5864 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5865 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5867 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5868 if eval \
${$as_ac_Header+:} false
; then :
5869 $as_echo_n "(cached) " >&6
5871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5873 #include <sys/types.h>
5885 if ac_fn_c_try_compile
"$LINENO"; then :
5886 eval "$as_ac_Header=yes"
5888 eval "$as_ac_Header=no"
5890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5892 eval ac_res
=\$
$as_ac_Header
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5894 $as_echo "$ac_res" >&6; }
5895 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5896 cat >>confdefs.h
<<_ACEOF
5897 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5900 ac_header_dirent
=$ac_hdr; break
5904 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5905 if test $ac_header_dirent = dirent.h
; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5907 $as_echo_n "checking for library containing opendir... " >&6; }
5908 if ${ac_cv_search_opendir+:} false
; then :
5909 $as_echo_n "(cached) " >&6
5911 ac_func_search_save_LIBS
=$LIBS
5912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5915 /* Override any GCC internal prototype to avoid an error.
5916 Use char because int might match the return type of a GCC
5917 builtin and then its argument prototype would still apply. */
5930 for ac_lib
in '' dir
; do
5931 if test -z "$ac_lib"; then
5932 ac_res
="none required"
5935 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5937 if ac_fn_c_try_link
"$LINENO"; then :
5938 ac_cv_search_opendir
=$ac_res
5940 rm -f core conftest.err conftest.
$ac_objext \
5942 if ${ac_cv_search_opendir+:} false
; then :
5946 if ${ac_cv_search_opendir+:} false
; then :
5949 ac_cv_search_opendir
=no
5952 LIBS
=$ac_func_search_save_LIBS
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5955 $as_echo "$ac_cv_search_opendir" >&6; }
5956 ac_res
=$ac_cv_search_opendir
5957 if test "$ac_res" != no
; then :
5958 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5964 $as_echo_n "checking for library containing opendir... " >&6; }
5965 if ${ac_cv_search_opendir+:} false
; then :
5966 $as_echo_n "(cached) " >&6
5968 ac_func_search_save_LIBS
=$LIBS
5969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5970 /* end confdefs.h. */
5972 /* Override any GCC internal prototype to avoid an error.
5973 Use char because int might match the return type of a GCC
5974 builtin and then its argument prototype would still apply. */
5987 for ac_lib
in '' x
; do
5988 if test -z "$ac_lib"; then
5989 ac_res
="none required"
5992 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5994 if ac_fn_c_try_link
"$LINENO"; then :
5995 ac_cv_search_opendir
=$ac_res
5997 rm -f core conftest.err conftest.
$ac_objext \
5999 if ${ac_cv_search_opendir+:} false
; then :
6003 if ${ac_cv_search_opendir+:} false
; then :
6006 ac_cv_search_opendir
=no
6009 LIBS
=$ac_func_search_save_LIBS
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6012 $as_echo "$ac_cv_search_opendir" >&6; }
6013 ac_res
=$ac_cv_search_opendir
6014 if test "$ac_res" != no
; then :
6015 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6022 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6023 if ${ac_cv_header_stat_broken+:} false
; then :
6024 $as_echo_n "(cached) " >&6
6026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6027 /* end confdefs.h. */
6028 #include <sys/types.h>
6029 #include <sys/stat.h>
6031 #if defined S_ISBLK && defined S_IFDIR
6032 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6035 #if defined S_ISBLK && defined S_IFCHR
6036 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6039 #if defined S_ISLNK && defined S_IFREG
6040 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6043 #if defined S_ISSOCK && defined S_IFREG
6044 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6048 if ac_fn_c_try_compile
"$LINENO"; then :
6049 ac_cv_header_stat_broken
=no
6051 ac_cv_header_stat_broken
=yes
6053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6056 $as_echo "$ac_cv_header_stat_broken" >&6; }
6057 if test $ac_cv_header_stat_broken = yes; then
6059 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6064 $as_echo_n "checking for ANSI C header files... " >&6; }
6065 if ${ac_cv_header_stdc+:} false
; then :
6066 $as_echo_n "(cached) " >&6
6068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6069 /* end confdefs.h. */
6083 if ac_fn_c_try_compile
"$LINENO"; then :
6084 ac_cv_header_stdc
=yes
6086 ac_cv_header_stdc
=no
6088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6090 if test $ac_cv_header_stdc = yes; then
6091 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h. */
6097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6098 $EGREP "memchr" >/dev
/null
2>&1; then :
6101 ac_cv_header_stdc
=no
6107 if test $ac_cv_header_stdc = yes; then
6108 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6115 $EGREP "free" >/dev
/null
2>&1; then :
6118 ac_cv_header_stdc
=no
6124 if test $ac_cv_header_stdc = yes; then
6125 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6126 if test "$cross_compiling" = yes; then :
6129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6133 #if ((' ' & 0x0FF) == 0x020)
6134 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6135 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6137 # define ISLOWER(c) \
6138 (('a' <= (c) && (c) <= 'i') \
6139 || ('j' <= (c) && (c) <= 'r') \
6140 || ('s' <= (c) && (c) <= 'z'))
6141 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6144 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6149 for (i = 0; i < 256; i++)
6150 if (XOR (islower (i), ISLOWER (i))
6151 || toupper (i) != TOUPPER (i))
6156 if ac_fn_c_try_run
"$LINENO"; then :
6159 ac_cv_header_stdc
=no
6161 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6162 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6168 $as_echo "$ac_cv_header_stdc" >&6; }
6169 if test $ac_cv_header_stdc = yes; then
6171 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6176 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6177 if ${ac_cv_header_sys_wait_h+:} false
; then :
6178 $as_echo_n "(cached) " >&6
6180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6182 #include <sys/types.h>
6183 #include <sys/wait.h>
6185 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6188 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6196 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6201 if ac_fn_c_try_compile
"$LINENO"; then :
6202 ac_cv_header_sys_wait_h
=yes
6204 ac_cv_header_sys_wait_h
=no
6206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6209 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6210 if test $ac_cv_header_sys_wait_h = yes; then
6212 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6217 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6218 if ${ac_cv_header_time+:} false
; then :
6219 $as_echo_n "(cached) " >&6
6221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6223 #include <sys/types.h>
6224 #include <sys/time.h>
6230 if ((struct tm *) 0)
6236 if ac_fn_c_try_compile
"$LINENO"; then :
6237 ac_cv_header_time
=yes
6239 ac_cv_header_time
=no
6241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6244 $as_echo "$ac_cv_header_time" >&6; }
6245 if test $ac_cv_header_time = yes; then
6247 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6251 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6252 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6254 cat >>confdefs.h
<<_ACEOF
6255 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6259 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6264 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6265 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6267 cat >>confdefs.h
<<_ACEOF
6268 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6272 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6275 case " $LIBOBJS " in
6276 *" fileblocks.$ac_objext "* ) ;;
6277 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6284 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6285 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6287 cat >>confdefs.h
<<_ACEOF
6288 #define HAVE_STRUCT_STAT_ST_RDEV 1
6292 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6298 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6299 if ${ac_cv_struct_tm+:} false
; then :
6300 $as_echo_n "(cached) " >&6
6302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6303 /* end confdefs.h. */
6304 #include <sys/types.h>
6311 int *p = &tm.tm_sec;
6317 if ac_fn_c_try_compile
"$LINENO"; then :
6318 ac_cv_struct_tm
=time.h
6320 ac_cv_struct_tm
=sys
/time.h
6322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6325 $as_echo "$ac_cv_struct_tm" >&6; }
6326 if test $ac_cv_struct_tm = sys
/time.h
; then
6328 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6332 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6333 #include <$ac_cv_struct_tm>
6336 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6338 cat >>confdefs.h
<<_ACEOF
6339 #define HAVE_STRUCT_TM_TM_ZONE 1
6345 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6347 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6350 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6352 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6358 cat >>confdefs.h
<<_ACEOF
6359 #define HAVE_DECL_TZNAME $ac_have_decl
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6363 $as_echo_n "checking for tzname... " >&6; }
6364 if ${ac_cv_var_tzname+:} false
; then :
6365 $as_echo_n "(cached) " >&6
6367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6368 /* end confdefs.h. */
6370 #if !HAVE_DECL_TZNAME
6371 extern char *tzname[];
6377 return tzname[0][0];
6382 if ac_fn_c_try_link
"$LINENO"; then :
6383 ac_cv_var_tzname
=yes
6387 rm -f core conftest.err conftest.
$ac_objext \
6388 conftest
$ac_exeext conftest.
$ac_ext
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6391 $as_echo "$ac_cv_var_tzname" >&6; }
6392 if test $ac_cv_var_tzname = yes; then
6394 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6399 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6400 if test "x$ac_cv_type_off_t" = xyes
; then :
6404 cat >>confdefs.h
<<_ACEOF
6405 #define off_t long int
6410 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6411 if test "x$ac_cv_type_pid_t" = xyes
; then :
6415 cat >>confdefs.h
<<_ACEOF
6421 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6422 if test "x$ac_cv_type_size_t" = xyes
; then :
6426 cat >>confdefs.h
<<_ACEOF
6427 #define size_t unsigned int
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6433 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6434 if ${ac_cv_type_uid_t+:} false
; then :
6435 $as_echo_n "(cached) " >&6
6437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6439 #include <sys/types.h>
6442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6443 $EGREP "uid_t" >/dev
/null
2>&1; then :
6444 ac_cv_type_uid_t
=yes
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6452 $as_echo "$ac_cv_type_uid_t" >&6; }
6453 if test $ac_cv_type_uid_t = no
; then
6455 $as_echo "#define uid_t int" >>confdefs.h
6458 $as_echo "#define gid_t int" >>confdefs.h
6463 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6464 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6466 cat >>confdefs.h
<<_ACEOF
6467 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6474 # Look for some functions
6475 for ac_func
in getpagesize kqueue statfs statvfs \
6476 clone kse_create rfork_thread thr_create sa_register \
6477 getcontext makecontext setcontext sigaltstack swapcontext
6479 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6480 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6481 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6482 cat >>confdefs.h
<<_ACEOF
6483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6493 for ac_header
in $ac_header_list
6495 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6496 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6498 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6499 cat >>confdefs.h
<<_ACEOF
6500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6514 for ac_func
in getpagesize
6516 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6517 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6518 cat >>confdefs.h
<<_ACEOF
6519 #define HAVE_GETPAGESIZE 1
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6526 $as_echo_n "checking for working mmap... " >&6; }
6527 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6528 $as_echo_n "(cached) " >&6
6530 if test "$cross_compiling" = yes; then :
6531 ac_cv_func_mmap_fixed_mapped
=no
6533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6534 /* end confdefs.h. */
6535 $ac_includes_default
6536 /* malloc might have been renamed as rpl_malloc. */
6539 /* Thanks to Mike Haertel and Jim Avera for this test.
6540 Here is a matrix of mmap possibilities:
6541 mmap private not fixed
6542 mmap private fixed at somewhere currently unmapped
6543 mmap private fixed at somewhere already mapped
6544 mmap shared not fixed
6545 mmap shared fixed at somewhere currently unmapped
6546 mmap shared fixed at somewhere already mapped
6547 For private mappings, we should verify that changes cannot be read()
6548 back from the file, nor mmap's back from the file at a different
6549 address. (There have been systems where private was not correctly
6550 implemented like the infamous i386 svr4.0, and systems where the
6551 VM page cache was not coherent with the file system buffer cache
6552 like early versions of FreeBSD and possibly contemporary NetBSD.)
6553 For shared mappings, we should conversely verify that changes get
6554 propagated back to all the places they're supposed to be.
6556 Grep wants private fixed already mapped.
6557 The main things grep needs to know about mmap are:
6558 * does it exist and is it safe to write into the mmap'd area
6559 * how to use it (BSD variants) */
6562 #include <sys/mman.h>
6564 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6568 /* This mess was copied from the GNU getpagesize.h. */
6569 #ifndef HAVE_GETPAGESIZE
6570 # ifdef _SC_PAGESIZE
6571 # define getpagesize() sysconf(_SC_PAGESIZE)
6572 # else /* no _SC_PAGESIZE */
6573 # ifdef HAVE_SYS_PARAM_H
6574 # include <sys/param.h>
6575 # ifdef EXEC_PAGESIZE
6576 # define getpagesize() EXEC_PAGESIZE
6577 # else /* no EXEC_PAGESIZE */
6579 # define getpagesize() NBPG * CLSIZE
6582 # endif /* no CLSIZE */
6583 # else /* no NBPG */
6585 # define getpagesize() NBPC
6586 # else /* no NBPC */
6588 # define getpagesize() PAGESIZE
6589 # endif /* PAGESIZE */
6590 # endif /* no NBPC */
6591 # endif /* no NBPG */
6592 # endif /* no EXEC_PAGESIZE */
6593 # else /* no HAVE_SYS_PARAM_H */
6594 # define getpagesize() 8192 /* punt totally */
6595 # endif /* no HAVE_SYS_PARAM_H */
6596 # endif /* no _SC_PAGESIZE */
6598 #endif /* no HAVE_GETPAGESIZE */
6603 char *data, *data2, *data3;
6608 pagesize = getpagesize ();
6610 /* First, make a file with some known garbage in it. */
6611 data = (char *) malloc (pagesize);
6614 for (i = 0; i < pagesize; ++i)
6615 *(data + i) = rand ();
6617 fd = creat ("conftest.mmap", 0600);
6620 if (write (fd, data, pagesize) != pagesize)
6624 /* Next, check that the tail of a page is zero-filled. File must have
6625 non-zero length, otherwise we risk SIGBUS for entire page. */
6626 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6630 if (write (fd2, cdata2, 1) != 1)
6632 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6633 if (data2 == MAP_FAILED)
6635 for (i = 0; i < pagesize; ++i)
6639 if (munmap (data2, pagesize))
6642 /* Next, try to mmap the file at a fixed address which already has
6643 something else allocated at it. If we can, also make sure that
6644 we see the same garbage. */
6645 fd = open ("conftest.mmap", O_RDWR);
6648 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6649 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6651 for (i = 0; i < pagesize; ++i)
6652 if (*(data + i) != *(data2 + i))
6655 /* Finally, make sure that changes to the mapped area do not
6656 percolate back to the file as seen by read(). (This is a bug on
6657 some variants of i386 svr4.0.) */
6658 for (i = 0; i < pagesize; ++i)
6659 *(data2 + i) = *(data2 + i) + 1;
6660 data3 = (char *) malloc (pagesize);
6663 if (read (fd, data3, pagesize) != pagesize)
6665 for (i = 0; i < pagesize; ++i)
6666 if (*(data + i) != *(data3 + i))
6672 if ac_fn_c_try_run
"$LINENO"; then :
6673 ac_cv_func_mmap_fixed_mapped
=yes
6675 ac_cv_func_mmap_fixed_mapped
=no
6677 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6678 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6683 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6684 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6686 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6689 rm -f conftest.mmap conftest.txt
6694 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6695 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6696 aros_config_ldflags
=""
6698 aros_shared_default
=yes
6700 aros_shared_cflags
="-fPIC"
6701 aros_shared_aflags
=""
6702 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6703 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6705 aros_kernel_ar_flags
="cr"
6706 aros_target_ar_flags
="cr"
6707 aros_target_nm_flags
="-C -ul"
6708 aros_target_strip_flags
="--strip-unneeded -R.comment"
6713 aros_target_genmap
="-Wl,-Map -Xlinker"
6715 # Native flavour stuff
6716 aros_serial_debug
="0"
6718 # Palm native flavour stuff
6719 aros_palm_debug_hack
="0"
6721 # Unix flavour stuff
6722 aros_nesting_supervisor
="0"
6724 # Collect-aros stuff: "-ius" to ignore undefined symbols
6725 ignore_undefined_symbols
=""
6727 # Check for X11 by default
6730 #-----------------------------------------------------------------------------
6733 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6734 # it switched on by default, and we use the host compiler, so it compiles AROS
6735 # code with this enabled resulting in link failures as we don't have support
6738 # We use two methods to disable it. For the host compiler (used to compile
6739 # some hosted modules), we test to see if the compiler supports stack
6740 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6741 # work on all platforms.
6743 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6744 # (this is done unconditionally, as it should have no effect on compilers
6745 # without the stack protection feature). This may be specific to the way that
6746 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6747 # strong enough to disable it in a generic way though, so we'll live with it
6748 # until another vendor ships GCC with it enabled in a different way, and deal
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6753 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6754 save_cflags
="$CFLAGS"
6755 CFLAGS
="$CFLAGS -fno-stack-protector"
6756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6757 /* end confdefs.h. */
6767 if ac_fn_c_try_compile
"$LINENO"; then :
6768 use_no_stack_protector
="yes"
6770 use_no_stack_protector
="no"
6772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6774 $as_echo "$use_no_stack_protector" >&6; }
6775 if test "x-$use_no_stack_protector" = "x-yes" ; then
6776 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6778 CFLAGS
="$save_cflags"
6780 #-----------------------------------------------------------------------------
6782 # Disable pointer-signedness warnings if the compiler recognises the option
6783 # (this only works for the host compiler at the moment)
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6786 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6787 save_cflags
="$CFLAGS"
6788 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6790 /* end confdefs.h. */
6800 if ac_fn_c_try_compile
"$LINENO"; then :
6801 use_no_sign_warning
="yes"
6803 use_no_sign_warning
="no"
6805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6807 $as_echo "$use_no_sign_warning" >&6; }
6808 if test "x-$use_no_sign_warning" = "x-yes" ; then
6809 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6811 CFLAGS
="$save_cflags"
6813 #-----------------------------------------------------------------------------
6815 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6818 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6819 save_cflags
="$CFLAGS"
6820 CFLAGS
="$CFLAGS -fgnu89-inline"
6821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6832 if ac_fn_c_try_compile
"$LINENO"; then :
6833 use_gnu89_inline
="yes"
6835 use_gnu89_inline
="no"
6837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6839 $as_echo "$use_gnu89_inline" >&6; }
6840 if test "x-$use_gnu89_inline" = "x-yes" ; then
6841 gnu89_inline
="-fgnu89-inline"
6843 CFLAGS
="$save_cflags"
6845 #-----------------------------------------------------------------------------
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6848 $as_echo_n "checking for type of build... " >&6; }
6849 # Check whether --enable-build_type was given.
6850 if test "${enable_build_type+set}" = set; then :
6851 enableval
=$enable_build_type; build_type
=$enableval
6853 build_type
="personal"
6857 if test "$build_type" = "nightly"; then
6858 build_type_string
="NIGHTLY"
6859 elif test "$build_type" = "snapshot"; then
6860 build_type_string
="SNAPSHOT"
6861 elif test "$build_type" = "milestone"; then
6862 build_type_string
="MILESTONE"
6863 elif test "$build_type" = "release"; then
6864 build_type_string
="RELEASE"
6866 build_type_string
="PERSONAL"
6867 build_type
="personal"
6870 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6873 $as_echo "$build_type" >&6; }
6875 #-----------------------------------------------------------------------------
6876 all_debug_types
="messages stack modules mungwall symbols"
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6879 $as_echo_n "checking which debug types to enable... " >&6; }
6880 # Check whether --enable-debug was given.
6881 if test "${enable_debug+set}" = set; then :
6882 enableval
=$enable_debug; debug
="$enableval"
6888 if test "$debug" = "" -o "$debug" = "no"; then
6890 elif test "$debug" = "yes"; then
6894 if test "$debug" = "all" ; then
6895 debug
="messages stack modules symbols"
6896 for d
in $all_debug_types; do
6897 export aros_
${d}_debug
="1"
6900 for d
in $all_debug_types; do
6901 export aros_
${d}_debug
="0"
6905 if test "$debug" != "none"; then
6906 debug
=`echo $debug | sed s/,/\ /g`
6909 for d2
in $all_debug_types; do
6910 if test "$d2" = "$d"; then
6915 if test "$found" = "0"; then
6916 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6918 export aros_
${d}_debug
="1"
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6923 $as_echo "$debug" >&6; }
6925 if test "$aros_messages_debug" = "1"; then
6926 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6928 aros_messages_debug
=""
6930 if test "$aros_symbols_debug" = "1"; then
6931 aros_symbols_debug
="-g"
6933 aros_symbols_debug
=""
6936 # These are the flags to pass when compiling debugged programs
6937 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6938 aros_debug_aflags
=""
6939 aros_debug_ldflags
="$aros_symbols_debug"
6941 #-----------------------------------------------------------------------------
6942 # Checking if we should build crosstools..
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6944 $as_echo_n "checking whether to build crosstools... " >&6; }
6945 # Check whether --enable-crosstools was given.
6946 if test "${enable_crosstools+set}" = set; then :
6947 enableval
=$enable_crosstools; crosstools
="$enableval"
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
6953 $as_echo "$crosstools" >&6; }
6955 #-----------------------------------------------------------------------------
6956 # Checking for distcc and ccache.
6958 # Always apply the transforms in this particular order. Basically you should
6959 # always run 'ccache distcc compiler' in that order for the best performance.
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6962 $as_echo_n "checking whether to enable distcc... " >&6; }
6963 # Check whether --enable-distcc was given.
6964 if test "${enable_distcc+set}" = set; then :
6965 enableval
=$enable_distcc; distcc
="$enableval"
6970 if test "$distcc" != "" -a "$distcc" != "no"; then
6971 # AC_CHECK_PROG will print out the result in this case
6972 # Extract the first word of "distcc", so it can be a program name with args.
6973 set dummy distcc
; ac_word
=$2
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 $as_echo_n "checking for $ac_word... " >&6; }
6976 if ${ac_cv_path_DISTCC+:} false
; then :
6977 $as_echo_n "(cached) " >&6
6981 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir
=.
6989 for ac_exec_ext
in '' $ac_executable_extensions; do
6990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6991 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6999 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7003 DISTCC
=$ac_cv_path_DISTCC
7004 if test -n "$DISTCC"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7006 $as_echo "$DISTCC" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015 $as_echo "no" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7019 $as_echo_n "checking whether to enable ccache... " >&6; }
7020 # Check whether --enable-ccache was given.
7021 if test "${enable_ccache+set}" = set; then :
7022 enableval
=$enable_ccache; ccache
="$enableval"
7027 if test "$ccache" != "" -a "$ccache" != "no"; then
7028 # AC_CHECK_PROG will print out the result in this case
7029 # Extract the first word of "ccache", so it can be a program name with args.
7030 set dummy ccache
; ac_word
=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if ${ac_cv_prog_CCACHE+:} false
; then :
7034 $as_echo_n "(cached) " >&6
7036 if test -n "$CCACHE"; then
7037 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7043 test -z "$as_dir" && as_dir
=.
7044 for ac_exec_ext
in '' $ac_executable_extensions; do
7045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7046 ac_cv_prog_CCACHE
="ccache"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056 CCACHE
=$ac_cv_prog_CCACHE
7057 if test -n "$CCACHE"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7059 $as_echo "$CCACHE" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7068 $as_echo "no" >&6; }
7071 #-----------------------------------------------------------------------------
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7073 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7075 # Check whether --with-gcc-version was given.
7076 if test "${with_gcc_version+set}" = set; then :
7077 withval
=$with_gcc_version; target_tool_version
="$withval"
7079 target_tool_version
="default"
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7083 $as_echo "$target_tool_version" >&6; }
7085 #-----------------------------------------------------------------------------
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7087 $as_echo_n "checking what optimization flags to use... " >&6; }
7089 # Check whether --with-optimization was given.
7090 if test "${with_optimization+set}" = set; then :
7091 withval
=$with_optimization; optimization
="$withval"
7093 optimization
="unknown"
7096 if test "$optimization" = "unknown"; then
7097 if test "$debug" != "none"; then
7103 aros_config_cflags
="$aros_config_cflags $optimization"
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7105 $as_echo "$optimization" >&6; }
7107 #-----------------------------------------------------------------------------
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7109 $as_echo_n "checking what paranoia flags to use... " >&6; }
7111 # Check whether --with-paranoia was given.
7112 if test "${with_paranoia+set}" = set; then :
7113 withval
=$with_paranoia; paranoia_flags
="$withval"
7115 paranoia_flags
="default"
7118 if test "$paranoia_flags" = "default"; then
7120 else if test "$paranoia_flags" = "yes"; then
7121 paranoia_flags
="-Wall -Werror"
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7124 $as_echo "$paranoia_flags" >&6; }
7125 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7127 #-----------------------------------------------------------------------------
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7129 $as_echo_n "checking what target variant to enable... " >&6; }
7130 # Check whether --enable-target_variant was given.
7131 if test "${enable_target_variant+set}" = set; then :
7132 enableval
=$enable_target_variant; target_variant
=$enableval
7137 if test "$target_variant" = ""; then
7138 aros_target_variant
=""
7139 aros_target_suffix
=""
7142 aros_target_variant
="$target_variant"
7143 aros_target_suffix
="-$target_variant"
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7146 $as_echo "$enableval" >&6; }
7148 #-----------------------------------------------------------------------------
7149 # Target-specific defaults. You can override then on a per-target basis.
7151 # Bootloader name. Currently used by PC target.
7152 target_bootloader
="none"
7154 # Prefix for toolchain used to build bootstrap. For hosted ports, this should be a toolchain for target host OS.
7155 # (i. e. when building mingw32-i386 port this should be set to "i386-mingw32-").
7156 # For native ports this toolchain is used to build a bootloader and second-level bootstrap (if present).
7157 if test "$crosstools" != "yes"; then
7158 target_tool_prefix
=${target_cpu}-elf-
7160 target_tool_prefix
=${target_cpu}-aros-
7163 #-----------------------------------------------------------------------------
7164 # Additional options for some specific targets
7166 case "$aros_target_variant" in
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7169 $as_echo_n "checking XCode path... " >&6; }
7171 # Check whether --with-xcode was given.
7172 if test "${with_xcode+set}" = set; then :
7173 withval
=$with_xcode; aros_xcode_path
="$withval"
7175 aros_xcode_path
="/Developer"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7179 $as_echo "$aros_xcode_path" >&6; }
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7182 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7184 # Check whether --with-sdk-version was given.
7185 if test "${with_sdk_version+set}" = set; then :
7186 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7188 aros_sdk_version
="4.1"
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7192 $as_echo "$aros_sdk_version" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7198 $as_echo_n "checking Android SDK path... " >&6; }
7200 # Check whether --with-sdk was given.
7201 if test "${with_sdk+set}" = set; then :
7202 withval
=$with_sdk; aros_android_sdk
="$withval"
7204 aros_android_sdk
=$default_android_sdk
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7208 $as_echo "$aros_android_sdk" >&6; }
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7211 $as_echo_n "checking Android NDK path... " >&6; }
7213 # Check whether --with-ndk was given.
7214 if test "${with_ndk+set}" = set; then :
7215 withval
=$with_ndk; aros_android_ndk
="$withval"
7217 aros_android_ndk
="none"
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7221 $as_echo "$aros_android_ndk" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7224 $as_echo_n "checking what Android SDK version to use... " >&6; }
7226 # Check whether --with-sdk-version was given.
7227 if test "${with_sdk_version+set}" = set; then :
7228 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7230 aros_sdk_version
="12"
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7234 $as_echo "$aros_sdk_version" >&6; }
7236 if test "$aros_android_ndk" != "none"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7238 $as_echo_n "checking what Android NDK version to use... " >&6; }
7240 # Check whether --with-ndk-version was given.
7241 if test "${with_ndk_version+set}" = set; then :
7242 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7244 aros_ndk_version
="9"
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7248 $as_echo "$aros_ndk_version" >&6; }
7251 export PATH
="$aros_android_sdk/tools:$PATH"
7252 # Extract the first word of "$android_tool", so it can be a program name with args.
7253 set dummy
$android_tool; ac_word
=$2
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7255 $as_echo_n "checking for $ac_word... " >&6; }
7256 if ${ac_cv_path_android_tool+:} false
; then :
7257 $as_echo_n "(cached) " >&6
7259 case $android_tool in
7261 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7268 test -z "$as_dir" && as_dir
=.
7269 for ac_exec_ext
in '' $ac_executable_extensions; do
7270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7271 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282 android_tool
=$ac_cv_path_android_tool
7283 if test -n "$android_tool"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7285 $as_echo "$android_tool" >&6; }
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7292 if test "$android_tool" = ""; then
7293 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7296 aros_android_level
=android-
$aros_sdk_version
7297 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7298 echo "Platform $aros_android_level is not installed in your SDK"
7299 echo "Use --with-sdk-version=<API level number> to select another platform version"
7300 echo "You can check what plaform versions are installed in your SDK"
7301 echo "by examining contents of $aros_android_sdk/platforms directory"
7302 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7305 # Extract the first word of "ant", so it can be a program name with args.
7306 set dummy ant
; ac_word
=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_path_ant+:} false
; then :
7310 $as_echo_n "(cached) " >&6
7314 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7321 test -z "$as_dir" && as_dir
=.
7322 for ac_exec_ext
in '' $ac_executable_extensions; do
7323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7324 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 if test -n "$ant"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7338 $as_echo "$ant" >&6; }
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7345 if test "$ant" = ""; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7347 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7350 if test "$host_os" = "mingw32"; then
7351 android_tool
="cmd //c $android_tool"
7357 #-----------------------------------------------------------------------------
7359 # This is the target configuration switch.
7360 case "$target_os" in
7362 aros_target_arch
="linux"
7363 aros_target_family
="unix"
7364 case "$target_cpu" in
7366 aros_target_cpu
="m68k"
7367 aros_object_format
="m68kelf"
7368 aros_flavour
="emulcompat"
7369 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7370 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7371 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7372 gcc_target_cpu
="mc68000"
7375 aros_target_cpu
="i386"
7376 aros_object_format
="elf_i386"
7377 aros_flavour
="emulation"
7378 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7379 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7380 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7381 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7382 aros_config_ldflags
="-m32 -march=i486"
7383 aros_kernel_ldflags
="-melf_i386"
7384 aros_default_wbdepth
=8
7385 gcc_target_cpu
="i386"
7386 pci_hidd_target
="hidd-pci-linux"
7387 android_tool_dir_prefix
="x86"
7388 android_tool_prefix
="i686-android-linux"
7389 android_ndk_arch
="x86"
7392 aros_target_cpu
="x86_64"
7393 aros_object_format
="elf_x86_64"
7394 aros_flavour
="emulation"
7395 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7396 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7397 aros_default_wbdepth
=8
7398 pci_hidd_target
="hidd-pci-linux"
7401 aros_target_cpu
="ppc"
7402 aros_object_format
="elf32ppc"
7403 aros_flavour
="emulation"
7404 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7405 aros_default_wbdepth
=8
7406 gcc_target_cpu
="ppc"
7409 # Same as powerpc, but I need this for the nightly build to work again.
7410 # Actually, the nightly should be made working with powerpc target.
7411 # That just was too much work for the moment, another week or two.
7413 aros_target_cpu
="ppc"
7414 aros_object_format
="elf32ppc"
7415 aros_flavour
="emulation"
7416 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7417 aros_default_wbdepth
=8
7418 gcc_target_cpu
="ppc"
7421 aros_target_cpu
="arm"
7422 aros_object_format
="armelf_linux_eabi"
7423 aros_flavour
="emulation"
7424 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7425 gcc_target_cpu
="arm"
7426 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7427 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7428 aros_arch_libs
="-laeabi"
7429 android_tool_dir_prefix
="arm-linux-androideabi"
7430 android_tool_prefix
="arm-linux-androideabi"
7431 android_ndk_arch
="arm"
7434 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7437 case "$aros_target_variant" in
7440 if test "$android_ndk_arch" = ""; then
7441 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7444 aros_default_wbwidth
=320
7445 aros_default_wbheight
=480
7446 if test "$aros_android_ndk" = "none"; then
7447 aros_kernel_cflags
="-mandroid"
7448 aros_kernel_ldflags
="-mandroid"
7451 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7452 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7453 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7454 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7455 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7456 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7459 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7460 target_tool_prefix
="$android_tool_prefix-"
7466 aros_target_arch
="pc"
7467 aros_shared_default
="no"
7468 target_bootloader
="grub2"
7469 case "$target_cpu" in
7471 aros_target_cpu
="i386"
7474 if test "$aros_object_format" = "" ; then
7475 aros_object_format
="elf_i386"
7477 aros_flavour
="standalone"
7478 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7479 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7480 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7481 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7482 aros_config_ldflags
="-m32 -march=i486"
7483 aros_kernel_ldflags
="-melf_i386"
7484 aros_default_wbwidth
=640
7485 aros_default_wbheight
=480
7486 gcc_target_cpu
="i386"
7489 aros_target_cpu
="x86_64"
7491 if test "$aros_object_format" = "" ; then
7492 aros_object_format
="elf_x86_64"
7494 aros_flavour
="standalone"
7495 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7496 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7497 aros_kernel_ldflags
=""
7498 aros_default_wbwidth
=640
7499 aros_default_wbheight
=480
7502 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7508 aros_target_arch
="prep"
7509 aros_shared_default
="no"
7510 aros_target_cpu
="ppc"
7511 aros_object_format
="elf32ppc"
7512 aros_flavour
="ppcnative"
7513 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7514 aros_kernel_ldflags
=""
7515 aros_default_wbwidth
=640
7516 aros_default_wbheight
=480
7517 gcc_target_cpu
="ppc"
7521 aros_target_arch
="freebsd"
7522 aros_target_family
="unix"
7523 aros_target_cpu
="i386"
7524 aros_flavour
="emulation"
7525 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7526 gcc_target_cpu
="i386"
7528 aros_target_strip_flags
="-x"
7532 aros_target_arch
="darwin"
7533 aros_target_family
="unix"
7534 aros_flavour
="emulation"
7535 case "$target_cpu" in
7537 aros_ios_platform
="iPhoneSimulator"
7538 aros_target_cpu
="i386"
7539 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7540 aros_kernel_ldflags
=""
7541 aros_macosx_version
="10.4"
7542 aros_default_wbdepth
=8
7543 gcc_target_cpu
="i386"
7544 aros_object_format
="elf_i386"
7545 aros_kernel_ar_flags
="-cr"
7546 aros_target_strip_flags
="-x"
7547 target_tool_prefix
="i686-apple-darwin10-"
7548 target_tool_flags
="-m32"
7551 aros_target_cpu
="x86_64"
7552 aros_object_format
="elf_x86_64"
7553 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7554 aros_macosx_version
="10.6"
7555 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7556 aros_kernel_cflags
="-m64"
7557 aros_kernel_ldflags
="-m64"
7558 aros_target_cflags
="-mcmodel=large"
7559 aros_default_wbdepth
=8
7561 aros_kernel_ar_flags
="-cr"
7563 aros_kernel_ranlib
="ranlib"
7564 target_tool_prefix
="i686-apple-darwin10-"
7567 aros_target_cpu
="ppc"
7568 aros_object_format
="elf32ppc"
7569 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7570 aros_kernel_ldflags
=""
7571 aros_macosx_version
="10.0"
7572 aros_default_wbdepth
=8
7573 gcc_target_cpu
="ppc"
7575 aros_kernel_ar_flags
="-cr"
7576 aros_kernel_ld
="ld -arch ppc"
7577 aros_kernel_ranlib
="ranlib -arch ppc"
7578 target_tool_prefix
="powerpc-apple-darwin10-"
7581 aros_ios_platform
="iPhoneOS"
7582 aros_target_cpu
="arm"
7583 aros_object_format
="armelf_linux_eabi"
7584 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7585 aros_arch_libs
="-laeabi"
7586 aros_default_wbdepth
=8
7587 gcc_target_cpu
="arm"
7589 aros_kernel_ar_flags
="-cr"
7590 aros_kernel_ld
="ld -arch arm"
7591 aros_kernel_ranlib
="ranlib -arch arm"
7592 target_tool_prefix
="arm-apple-darwin10-"
7593 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7596 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7599 case "$aros_target_variant" in
7601 aros_ios_version
="3.0"
7602 aros_default_wbwidth
=320
7603 aros_default_wbheight
=480
7604 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
7605 target_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7606 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7608 # This is here because it may depend on iOS or SDK version
7609 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7610 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7611 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7614 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7615 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7621 aros_target_arch
="dragonfly"
7622 aros_target_family
="unix"
7623 aros_flavour
="emulation"
7624 case "$target_cpu" in
7626 aros_target_cpu
="i386"
7627 aros_object_format
="elf_i386"
7628 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7631 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7632 aros_target_cpu
="x86_64"
7633 aros_object_format
="elf_x86_64"
7634 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7637 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7643 aros_target_arch
="netbsd"
7644 aros_target_family
="unix"
7645 case "$target_cpu" in
7647 aros_target_cpu
="m68k"
7648 aros_object_format
="m68kelf"
7649 aros_flavour
="emulcompat"
7650 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7651 gcc_target_cpu
="mc68000"
7654 aros_target_cpu
="i386"
7655 aros_object_format
="elf_i386"
7656 aros_flavour
="emulation"
7657 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7658 aros_default_wbdepth
=8
7659 gcc_target_cpu
="i386"
7662 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7665 aros_target_genmap
="-Wl,-M -Xlinker >"
7666 aros_flavour
="emulation"
7667 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7671 aros_target_arch
="openbsd"
7672 aros_target_family
="unix"
7673 case "$target_cpu" in
7675 aros_target_cpu
="i386"
7676 aros_object_format
="elf_i386"
7677 aros_flavour
="emulation"
7678 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7679 gcc_target_cpu
="i386"
7682 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7685 aros_target_genmap
="-Wl,-M -Xlinker >"
7686 aros_target_nm_flags
="-u"
7687 aros_flavour
="emulation"
7691 aros_target_arch
="solaris"
7692 aros_target_family
="unix"
7693 case "$target_cpu" in
7695 aros_target_cpu
="i386"
7696 aros_object_format
="elf_i386"
7697 aros_flavour
="emulation"
7698 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7699 aros_default_wbdepth
=8
7700 gcc_target_cpu
="i386"
7703 aros_target_cpu
="sparc"
7704 aros_object_format
="elf_sparc"
7705 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7706 gcc_target_cpu
="sparc"
7709 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7712 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7713 aros_flavour
="emulation"
7717 aros_target_arch
="morphos"
7718 aros_shared_default
="no"
7719 aros_target_cpu
="ppc"
7720 aros_object_format
="elf_ppc"
7721 aros_flavour
="nativecompat"
7722 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7723 gcc_target_cpu
="ppc"
7727 aros_target_arch
="sam440"
7728 aros_shared_default
="no"
7729 aros_target_cpu
="ppc"
7730 aros_object_format
="elf32ppc"
7731 aros_flavour
="ppcnative"
7732 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7733 aros_kernel_ldflags
=""
7734 aros_default_wbwidth
=1024
7735 aros_default_wbheight
=768
7736 aros_default_wbdepth
=24
7737 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7738 gcc_target_cpu
="powerpc"
7742 aros_target_arch
="efika"
7743 aros_shared_default
="no"
7744 aros_target_cpu
="arm"
7745 aros_object_format
="armelf_linux_eabi"
7746 aros_flavour
="standalone"
7747 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7748 aros_kernel_ldflags
=""
7749 aros_default_wbwidth
=1024
7750 aros_default_wbheight
=600
7751 aros_arch_libs
="-laeabi"
7752 gcc_default_cpu
="armv7-a"
7753 gcc_default_fpu
="vfpv3"
7754 gcc_default_float_abi
="hard"
7755 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing"
7756 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing"
7760 aros_target_arch
="chrp"
7761 aros_shared_default
="no"
7762 aros_target_cpu
="ppc"
7763 aros_object_format
="elf32ppc"
7764 aros_flavour
="ppcnative"
7765 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7766 aros_kernel_ldflags
=""
7767 aros_default_wbwidth
=640
7768 aros_default_wbheight
=480
7769 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7770 gcc_target_cpu
="powerpc"
7771 case "$aros_target_variant" in
7773 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7779 aros_target_arch
="amiga"
7780 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7781 aros_shared_default
="no"
7783 case "$target_cpu" in
7785 # Check whether --enable-amigaos_compliance was given.
7786 if test "${enable_amigaos_compliance+set}" = set; then :
7787 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
7791 aros_target_cpu
="m68k"
7792 aros_object_format
="m68kelf"
7793 aros_flavour
="standcompat"
7794 gcc_target_cpu
="m68000"
7795 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
7796 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
7797 target_tool_prefix
="m68k-elf-"
7798 # Needed to get the correct multilib
7799 aros_config_ldflags
="-${gcc_target_cpu}"
7800 aros_shared_ldflags
="-${gcc_target_cpu}"
7801 aros_kernel_ldflags
="-${gcc_target_cpu}"
7802 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7803 aros_target_strip_flags
="-R.comment --strip-debug"
7804 aros_default_wbwidth
=640
7805 aros_default_wbheight
=256
7806 aros_default_wbdepth
=2
7810 aros_flavour
="native"
7811 gcc_target_cpu
="ppc"
7814 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7820 aros_target_arch
="mingw32"
7821 aros_shared_default
="no"
7822 aros_flavour
="emulation"
7823 aros_shared_cflags
=""
7826 case "$target_cpu" in
7828 aros_target_cpu
="i386"
7829 aros_object_format
="elf_i386"
7830 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7831 aros_default_wbdepth
=8
7832 gcc_target_cpu
="i386"
7834 aros_target_as
="i386-aros-as"
7835 aros_target_ar
="i386-aros-ar"
7836 aros_target_ranlib
="i386-aros-ranlib"
7837 aros_target_nm
="i386-aros-nm"
7838 aros_target_strip
="i386-aros-strip"
7839 aros_target_objcopy
="i386-aros-objcopy"
7840 aros_target_objdump
="i386-aros-objdump"
7842 target_tool_prefix
="i386-mingw32-"
7845 aros_target_cpu
="x86_64"
7846 aros_object_format
="elf_x86_64"
7847 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7848 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7849 aros_default_wbdepth
=8
7850 target_tool_prefix
="x86_64-w64-mingw32-"
7853 aros_target_cpu
="arm"
7854 aros_object_format
="armelf_linux_eabi"
7855 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7856 aros_arch_libs
="-laeabi"
7857 aros_default_wbdepth
=8
7858 gcc_target_cpu
="arm"
7859 gcc_default_float_abi
="soft"
7860 target_tool_prefix
="arm-mingw32ce-"
7861 aros_default_wbwidth
=160
7862 aros_default_wbheight
=160
7865 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7868 if test $host_os = "cygwin"; then
7869 aros_kernel_cflags
="-mno-cygwin"
7873 aros_target_arch
="pp"
7874 aros_shared_default
="no"
7875 case "$target_cpu" in
7877 aros_target_cpu
="m68k"
7878 aros_object_format
="m68kelf"
7879 aros_flavour
="palmnative"
7880 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7881 aros_default_wbwidth
=160
7882 aros_default_wbheight
=160
7883 aros_default_wbdepth
=1
7884 aros_target_ar_flags
="cru"
7885 aros_compiler_libs
="-lgcc1"
7886 aros_shared_default
=no
7887 aros_shared_cflags
="-fpic"
7888 aros_shared_aflags
=""
7889 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7890 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7891 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7892 aros_debug_aflags
=""
7893 aros_debug_ldflags
="$aros_symbols_debug"
7894 aros_mungwall_debug
="0"
7895 aros_modules_debug
="0"
7896 gcc_target_cpu
="mc68000"
7897 ignore_undefined_symbols
="-ius"
7900 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7906 aros_target_arch
="mac"
7907 aros_shared_default
="no"
7908 case "$target_cpu" in
7910 aros_target_cpu
="m68k"
7911 aros_object_format
="m68kelf"
7912 aros_flavour
="mac68knative"
7913 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7914 aros_default_wbwidth
=512
7915 aros_default_wbheight
=384
7916 aros_default_wbdepth
=8
7917 aros_target_ar_flags
="cru"
7918 aros_compiler_libs
="-lgcc1"
7919 aros_shared_default
=no
7920 aros_shared_cflags
="-fpic"
7921 aros_shared_aflags
=""
7922 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7923 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7924 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
7925 aros_debug_aflags
=""
7926 aros_debug_ldflags
="$aros_symbols_debug"
7927 aros_mungwall_debug
="0"
7928 aros_modules_debug
="0"
7929 gcc_target_cpu
="mc68000"
7930 ignore_undefined_symbols
="-ius"
7933 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7939 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
7943 # Now process extra architecture-specific options.
7944 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
7945 # as well as floating-point ABI.
7946 case "$aros_target_cpu" in
7948 if test "$gcc_default_cpu" = ""; then
7949 gcc_default_cpu
="armv6"
7951 if test "$gcc_default_fpu" = ""; then
7952 gcc_default_fpu
="vfp"
7954 if test "$gcc_default_float_abi" = ""; then
7955 gcc_default_float_abi
="softfp"
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
7959 $as_echo_n "checking Which minimum CPU to use... " >&6; }
7961 # Check whether --with-cpu was given.
7962 if test "${with_cpu+set}" = set; then :
7963 withval
=$with_cpu; aros_gcc_cpu
="$withval"
7965 aros_gcc_cpu
=$gcc_default_cpu
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
7969 $as_echo "$aros_gcc_cpu" >&6; }
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
7972 $as_echo_n "checking Which minimum FPU to use... " >&6; }
7974 # Check whether --with-fpu was given.
7975 if test "${with_fpu+set}" = set; then :
7976 withval
=$with_fpu; aros_gcc_fpu
="$withval"
7978 aros_gcc_fpu
=$gcc_default_fpu
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
7982 $as_echo "$aros_gcc_fpu" >&6; }
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
7985 $as_echo_n "checking Which floating point ABI to use... " >&6; }
7987 # Check whether --with-float was given.
7988 if test "${with_float+set}" = set; then :
7989 withval
=$with_float; aros_gcc_float_abi
="$withval"
7991 aros_gcc_float_abi
=$gcc_default_float_abi
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
7995 $as_echo "$aros_gcc_float_abi" >&6; }
7997 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"
7998 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"
8002 # Some formats need custom ELF specs.
8003 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
8004 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8005 elf_specs_in
=config
/${aros_object_format}-specs.
in
8007 elf_specs_in
=config
/elf-specs.
in
8010 #-----------------------------------------------------------------------------
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
8012 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
8014 # Check whether --with-crosstools was given.
8015 if test "${with_crosstools+set}" = set; then :
8016 withval
=$with_crosstools; with_crosstools
=$withval
8018 with_crosstools
="default"
8021 if test "$with_crosstools" = "default"; then
8022 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8024 AROS_CROSSTOOLSDIR
="$with_crosstools"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8027 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8029 if test "$crosstools" != "no" -o "$with_crosstools" != "default"; then
8033 PATH
=$AROS_CROSSTOOLSDIR:$PATH
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
8037 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
8039 # Check whether --with-aros-gcc was given.
8040 if test "${with_aros_gcc+set}" = set; then :
8041 withval
=$with_aros_gcc; aros_gcc_version
="$withval"
8043 aros_gcc_version
="$use_aros_gcc"
8046 case "$aros_gcc_version" in
8048 aros_gcc_version
="default"
8051 aros_gcc_version
="none"
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
8055 $as_echo "$aros_gcc_version" >&6; }
8057 if test "$aros_gcc_version" != "none"; then
8060 if test "$aros_gcc_version" != "default"; then
8061 aros_target_cc
="$aros_target_cpu-aros-gcc-$aros_gcc_version"
8062 aros_target_cxx
="$aros_target_cpu-aros-g++-$aros_gcc_version"
8064 aros_target_cc
="$aros_target_cpu-aros-gcc"
8065 aros_target_cxx
="$aros_target_cpu-aros-g++"
8068 aros_target_ld
="$aros_target_cpu-aros-ld"
8069 aros_target_as
="$aros_target_cpu-aros-as"
8070 aros_target_ar
="$aros_target_cpu-aros-ar"
8071 aros_target_ranlib
="$aros_target_cpu-aros-ranlib"
8072 aros_target_nm
="$aros_target_cpu-aros-nm"
8073 aros_target_strip
="$aros_target_cpu-aros-strip"
8074 aros_target_objcopy
="$aros_target_cpu-aros-objcopy"
8075 aros_target_objdump
="$aros_target_cpu-aros-objdump"
8078 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8079 # Since we override specs, we may need to put these defines there
8080 if test "$gcc_target_cpu" != ""; then
8081 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8085 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8087 # Check whether --with-portssources was given.
8088 if test "${with_portssources+set}" = set; then :
8089 withval
=$with_portssources; with_portssrcdir
=$withval
8091 with_portssrcdir
="default"
8094 if test "$with_portssrcdir" = "default"; then
8095 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8097 AROS_PORTSSRCDIR
="$with_portssrcdir"
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8100 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8103 $as_echo_n "checking which bootloader to use... " >&6; }
8105 # Check whether --with-bootloader was given.
8106 if test "${with_bootloader+set}" = set; then :
8107 withval
=$with_bootloader; target_bootloader
=$withval
8109 target_bootloader
=$target_bootloader
8112 if test "$target_bootloader" = "none"; then
8113 aros_target_bootloader
=""
8115 aros_target_bootloader
="$target_bootloader"
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8118 $as_echo "$target_bootloader" >&6; }
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8121 $as_echo_n "checking which icon-set to use... " >&6; }
8123 # Check whether --with-iconset was given.
8124 if test "${with_iconset+set}" = set; then :
8125 withval
=$with_iconset; target_iconset
=$withval
8127 target_iconset
="default"
8130 if test "$target_iconset" = "default"; then
8131 aros_target_iconset
="Gorilla"
8132 target_iconset
="default (Gorilla)"
8134 aros_target_iconset
="$target_iconset"
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8137 $as_echo "$target_iconset" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8140 $as_echo_n "checking which GUI Theme to use... " >&6; }
8142 # Check whether --with-theme was given.
8143 if test "${with_theme+set}" = set; then :
8144 withval
=$with_theme; target_guitheme
=$withval
8146 target_guitheme
="default"
8149 if test "$target_guitheme" = "default"; then
8150 aros_target_guitheme
="Ice"
8152 aros_target_guitheme
="$target_guitheme"
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8155 $as_echo "$aros_target_guitheme" >&6; }
8157 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8160 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8164 if test "$aros_host_cpu" == "x86_64" ; then
8165 if test "$aros_target_cpu" == "i386" ; then
8166 if test "$aros_target_arch" != "mingw32"; then
8172 if test "$aros_host_arch" == "darwin" ; then
8173 if test "$aros_target_arch" != "darwin" ; then
8178 if test "$aros_host_arch" == "mingw32" ; then
8179 if test "$aros_target_arch" != "mingw32" ; then
8184 # I want to have this information in configure output, although it might be
8185 # misleading, e.g. for darwin hosted you cannot compile target code without a
8186 # cross compiler, but here it says no.
8188 # Note: it says 'yes' only if bootstrap ("kernel") is cross-compiled.
8189 # Target code is a little bit different thing.
8191 echo "checking wether we are (AROS style) cross compiling... $cross_compiling"
8193 # Set prefix for target compiler etc. if we're cross-compiling
8194 # (should possibly be earlier but needs to be after AC_PROG_CC)
8195 if test "$cross_compiling" = "yes" ; then
8197 if test "x-$aros_flavour" = "x-standalone" -o "x-$aros_flavour" = "x-standcompat" ; then
8198 if test "$aros_gcc_version" != "none"; then
8201 target_tool_prefix
=${target_cpu}-aros-
8202 target_tool_version
=$aros_gcc_version
8203 use_kernel_cc_wrapper
=yes
8212 aros_target_objcopy
=
8213 aros_target_objdump
=
8217 CC
=${target_tool_prefix}gcc
8218 CPP
=${target_tool_prefix}cpp
8219 if test "$target_tool_version" != "default"; then
8220 CC
="$CC-$target_tool_version"
8221 CPP
="$CC-$target_tool_version"
8223 if test "$crosstools" != "yes" ; then
8224 # Extract the first word of "$CC", so it can be a program name with args.
8225 set dummy
$CC; ac_word
=$2
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227 $as_echo_n "checking for $ac_word... " >&6; }
8228 if ${ac_cv_path_CC+:} false
; then :
8229 $as_echo_n "(cached) " >&6
8233 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
8236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8240 test -z "$as_dir" && as_dir
=.
8241 for ac_exec_ext
in '' $ac_executable_extensions; do
8242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8243 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 if test -n "$CC"; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8257 $as_echo "$CC" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8264 if test "$CC" = ""; then
8265 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8268 CC
=$AROS_CROSSTOOLSDIR/$CC
8271 CC
="$CC $target_tool_flags"
8273 #-----------------------------------------------------------------------------
8275 # Disable pointer-signedness warnings if the compiler recognises the option
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8278 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8279 save_cflags
="$CFLAGS"
8280 if test "$crosstools" != "yes" ; then
8281 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8283 /* end confdefs.h. */
8293 if ac_fn_c_try_compile
"$LINENO"; then :
8294 use_no_sign_warning
="yes"
8296 use_no_sign_warning
="no"
8298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8300 # we do know it is supported for the smallest version of gcc we are going to build
8301 # we assume it's also supported by later versions
8302 use_no_sign_warning
=yes
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8305 $as_echo "$use_no_sign_warning" >&6; }
8306 if test "x-$use_no_sign_warning" = "x-yes" ; then
8307 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8309 CFLAGS
="$save_cflags"
8311 #-----------------------------------------------------------------------------
8313 # Find all the tools we need to compile. This could be cross-compiling
8314 # though! If that is the case we use the GNU form of the target and
8315 # simply add this to the front of the binary name. This is rather simple,
8316 # but it should work under most circumstances.
8318 # The default tools are to use the same as the host, but only if the
8319 # host and target CPU are the same. With GCC this is normally enough.
8323 aros_shared_ld
="$aros_host_ld"
8325 aros_target_mkdep
="$aros_host_mkdep"
8326 aros_target_incl_def
="$aros_host_incl"
8328 aros_kernel_cc
="$CC"
8330 # The default tools executables to be linked to.
8331 if test "$rescomp" != ""; then
8332 if test "$cross_compiling" = "yes" ; then
8333 rescomp
=${target_tool_prefix}${rescomp}
8335 # Extract the first word of "$rescomp", so it can be a program name with args.
8336 set dummy
$rescomp; ac_word
=$2
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8338 $as_echo_n "checking for $ac_word... " >&6; }
8339 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
8340 $as_echo_n "(cached) " >&6
8342 case $aros_kernel_rescomp in
8344 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8351 test -z "$as_dir" && as_dir
=.
8352 for ac_exec_ext
in '' $ac_executable_extensions; do
8353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8354 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8365 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8366 if test -n "$aros_kernel_rescomp"; then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8368 $as_echo "$aros_kernel_rescomp" >&6; }
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8375 if test "$aros_kernel_rescomp" = ""; then
8376 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8380 if test "$crosstools" != "yes"; then
8382 if test "$aros_kernel_ld" = ""; then
8383 if test "$cross_compiling" = "yes" ; then
8384 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8385 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8387 $as_echo_n "checking for $ac_word... " >&6; }
8388 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8389 $as_echo_n "(cached) " >&6
8391 case $aros_kernel_ld in
8393 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir
=.
8401 for ac_exec_ext
in '' $ac_executable_extensions; do
8402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8403 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8414 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8415 if test -n "$aros_kernel_ld"; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8417 $as_echo "$aros_kernel_ld" >&6; }
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8420 $as_echo "no" >&6; }
8425 if test "$GCC" = "yes"; then
8426 aros_gcc_ld
=`$CC -print-prog-name=ld`
8427 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8428 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8430 $as_echo_n "checking for $ac_word... " >&6; }
8431 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8432 $as_echo_n "(cached) " >&6
8434 case $aros_kernel_ld in
8436 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8440 for as_dir
in `dirname $aros_gcc_ld`
8443 test -z "$as_dir" && as_dir
=.
8444 for ac_exec_ext
in '' $ac_executable_extensions; do
8445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8446 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8457 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8458 if test -n "$aros_kernel_ld"; then
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8460 $as_echo "$aros_kernel_ld" >&6; }
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8463 $as_echo "no" >&6; }
8468 if test "$aros_kernel_ld" = ""; then
8469 # Extract the first word of "ld", so it can be a program name with args.
8470 set dummy ld
; ac_word
=$2
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8472 $as_echo_n "checking for $ac_word... " >&6; }
8473 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8474 $as_echo_n "(cached) " >&6
8476 case $aros_kernel_ld in
8478 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8485 test -z "$as_dir" && as_dir
=.
8486 for ac_exec_ext
in '' $ac_executable_extensions; do
8487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8488 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8499 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8500 if test -n "$aros_kernel_ld"; then
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8502 $as_echo "$aros_kernel_ld" >&6; }
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8505 $as_echo "no" >&6; }
8512 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8513 set dummy
$aros_kernel_ld; ac_word
=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8517 $as_echo_n "(cached) " >&6
8519 case $aros_kernel_ld in
8521 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8528 test -z "$as_dir" && as_dir
=.
8529 for ac_exec_ext
in '' $ac_executable_extensions; do
8530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8531 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8542 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8543 if test -n "$aros_kernel_ld"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8545 $as_echo "$aros_kernel_ld" >&6; }
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8554 if test "$aros_kernel_ld" = ""; then
8555 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8558 if test "$aros_kernel_ar" = ""; then
8559 if test "$cross_compiling" = "yes" ; then
8560 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8561 set dummy
${target_tool_prefix}ar; ac_word
=$2
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8563 $as_echo_n "checking for $ac_word... " >&6; }
8564 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8565 $as_echo_n "(cached) " >&6
8567 case $aros_kernel_ar in
8569 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8576 test -z "$as_dir" && as_dir
=.
8577 for ac_exec_ext
in '' $ac_executable_extensions; do
8578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8579 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8590 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8591 if test -n "$aros_kernel_ar"; then
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8593 $as_echo "$aros_kernel_ar" >&6; }
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8596 $as_echo "no" >&6; }
8601 if test "$GCC" = "yes"; then
8602 aros_gcc_ar
=`$CC -print-prog-name=ar`
8603 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8604 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8606 $as_echo_n "checking for $ac_word... " >&6; }
8607 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8608 $as_echo_n "(cached) " >&6
8610 case $aros_kernel_ar in
8612 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8616 for as_dir
in `dirname $aros_gcc_ar`
8619 test -z "$as_dir" && as_dir
=.
8620 for ac_exec_ext
in '' $ac_executable_extensions; do
8621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8622 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8633 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8634 if test -n "$aros_kernel_ar"; then
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8636 $as_echo "$aros_kernel_ar" >&6; }
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8639 $as_echo "no" >&6; }
8644 if test "$aros_kernel_ar" = ""; then
8645 # Extract the first word of "ar", so it can be a program name with args.
8646 set dummy
ar; ac_word
=$2
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8648 $as_echo_n "checking for $ac_word... " >&6; }
8649 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8650 $as_echo_n "(cached) " >&6
8652 case $aros_kernel_ar in
8654 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8661 test -z "$as_dir" && as_dir
=.
8662 for ac_exec_ext
in '' $ac_executable_extensions; do
8663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8664 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8675 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8676 if test -n "$aros_kernel_ar"; then
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8678 $as_echo "$aros_kernel_ar" >&6; }
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8681 $as_echo "no" >&6; }
8688 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
8689 set dummy
$aros_kernel_ar; ac_word
=$2
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8691 $as_echo_n "checking for $ac_word... " >&6; }
8692 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
8693 $as_echo_n "(cached) " >&6
8695 case $aros_kernel_ar in
8697 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8704 test -z "$as_dir" && as_dir
=.
8705 for ac_exec_ext
in '' $ac_executable_extensions; do
8706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8707 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8718 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8719 if test -n "$aros_kernel_ar"; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8721 $as_echo "$aros_kernel_ar" >&6; }
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8724 $as_echo "no" >&6; }
8730 if test "$aros_kernel_ar" = ""; then
8731 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8734 if test "$aros_kernel_ranlib" = ""; then
8735 if test "$cross_compiling" = "yes" ; then
8736 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8737 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8739 $as_echo_n "checking for $ac_word... " >&6; }
8740 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8741 $as_echo_n "(cached) " >&6
8743 case $aros_kernel_ranlib in
8745 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8752 test -z "$as_dir" && as_dir
=.
8753 for ac_exec_ext
in '' $ac_executable_extensions; do
8754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8755 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8766 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8767 if test -n "$aros_kernel_ranlib"; then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8769 $as_echo "$aros_kernel_ranlib" >&6; }
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8772 $as_echo "no" >&6; }
8777 if test "$GCC" = "yes"; then
8778 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8779 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8780 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8782 $as_echo_n "checking for $ac_word... " >&6; }
8783 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8784 $as_echo_n "(cached) " >&6
8786 case $aros_kernel_ranlib in
8788 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8792 for as_dir
in `dirname $aros_gcc_ranlib`
8795 test -z "$as_dir" && as_dir
=.
8796 for ac_exec_ext
in '' $ac_executable_extensions; do
8797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8798 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8809 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8810 if test -n "$aros_kernel_ranlib"; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8812 $as_echo "$aros_kernel_ranlib" >&6; }
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8815 $as_echo "no" >&6; }
8820 if test "$aros_kernel_ranlib" = ""; then
8821 # Extract the first word of "ranlib", so it can be a program name with args.
8822 set dummy ranlib
; ac_word
=$2
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8824 $as_echo_n "checking for $ac_word... " >&6; }
8825 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8826 $as_echo_n "(cached) " >&6
8828 case $aros_kernel_ranlib in
8830 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8837 test -z "$as_dir" && as_dir
=.
8838 for ac_exec_ext
in '' $ac_executable_extensions; do
8839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8840 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8851 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8852 if test -n "$aros_kernel_ranlib"; then
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8854 $as_echo "$aros_kernel_ranlib" >&6; }
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8857 $as_echo "no" >&6; }
8864 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
8865 set dummy
$aros_kernel_ranlib; ac_word
=$2
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8867 $as_echo_n "checking for $ac_word... " >&6; }
8868 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
8869 $as_echo_n "(cached) " >&6
8871 case $aros_kernel_ranlib in
8873 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8880 test -z "$as_dir" && as_dir
=.
8881 for ac_exec_ext
in '' $ac_executable_extensions; do
8882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8883 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8894 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8895 if test -n "$aros_kernel_ranlib"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8897 $as_echo "$aros_kernel_ranlib" >&6; }
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 $as_echo "no" >&6; }
8906 if test "$aros_kernel_ranlib" = ""; then
8907 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8910 if test "$target_tool_prefix" != "${target_cpu}-elf-" -a "$target_tool_prefix" != "${target_cpu}-aros-" ; then
8911 target_tool_prefix
=${target_cpu}-elf-
8912 if test "$aros_target_cc" == ""; then
8913 aros_target_cc
="${target_tool_prefix}gcc"
8915 if test "$aros_target_ld" == ""; then
8916 aros_target_ld
="${target_tool_prefix}ld"
8920 if test "$aros_target_as" = ""; then
8921 if test "$cross_compiling" = "yes" ; then
8922 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8923 set dummy
${target_tool_prefix}as
; ac_word
=$2
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8925 $as_echo_n "checking for $ac_word... " >&6; }
8926 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8927 $as_echo_n "(cached) " >&6
8929 case $aros_target_as_ln in
8931 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8938 test -z "$as_dir" && as_dir
=.
8939 for ac_exec_ext
in '' $ac_executable_extensions; do
8940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8941 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8952 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8953 if test -n "$aros_target_as_ln"; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8955 $as_echo "$aros_target_as_ln" >&6; }
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8958 $as_echo "no" >&6; }
8963 if test "$GCC" = "yes"; then
8964 aros_gcc_as
=`$CC -print-prog-name=as`
8965 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8966 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8968 $as_echo_n "checking for $ac_word... " >&6; }
8969 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8970 $as_echo_n "(cached) " >&6
8972 case $aros_target_as_ln in
8974 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8978 for as_dir
in `dirname $aros_gcc_as`
8981 test -z "$as_dir" && as_dir
=.
8982 for ac_exec_ext
in '' $ac_executable_extensions; do
8983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8984 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8995 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8996 if test -n "$aros_target_as_ln"; then
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8998 $as_echo "$aros_target_as_ln" >&6; }
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9001 $as_echo "no" >&6; }
9006 if test "$aros_target_as_ln" = ""; then
9007 # Extract the first word of "as", so it can be a program name with args.
9008 set dummy as
; ac_word
=$2
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9010 $as_echo_n "checking for $ac_word... " >&6; }
9011 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
9012 $as_echo_n "(cached) " >&6
9014 case $aros_target_as_ln in
9016 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9023 test -z "$as_dir" && as_dir
=.
9024 for ac_exec_ext
in '' $ac_executable_extensions; do
9025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9026 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9037 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9038 if test -n "$aros_target_as_ln"; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
9040 $as_echo "$aros_target_as_ln" >&6; }
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9043 $as_echo "no" >&6; }
9050 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9051 set dummy
$aros_target_as; ac_word
=$2
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9053 $as_echo_n "checking for $ac_word... " >&6; }
9054 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
9055 $as_echo_n "(cached) " >&6
9057 case $aros_target_as_ln in
9059 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9066 test -z "$as_dir" && as_dir
=.
9067 for ac_exec_ext
in '' $ac_executable_extensions; do
9068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9069 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9080 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9081 if test -n "$aros_target_as_ln"; then
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
9083 $as_echo "$aros_target_as_ln" >&6; }
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9086 $as_echo "no" >&6; }
9092 if test "$aros_target_as_ln" = ""; then
9093 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9096 if test "$aros_target_ar" = ""; then
9097 if test "$cross_compiling" = "yes" ; then
9098 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9099 set dummy
${target_tool_prefix}ar; ac_word
=$2
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9101 $as_echo_n "checking for $ac_word... " >&6; }
9102 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9103 $as_echo_n "(cached) " >&6
9105 case $aros_target_ar_ln in
9107 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9114 test -z "$as_dir" && as_dir
=.
9115 for ac_exec_ext
in '' $ac_executable_extensions; do
9116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9117 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9128 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9129 if test -n "$aros_target_ar_ln"; then
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9131 $as_echo "$aros_target_ar_ln" >&6; }
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9134 $as_echo "no" >&6; }
9139 if test "$GCC" = "yes"; then
9140 aros_gcc_ar
=`$CC -print-prog-name=ar`
9141 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9142 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9144 $as_echo_n "checking for $ac_word... " >&6; }
9145 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9146 $as_echo_n "(cached) " >&6
9148 case $aros_target_ar_ln in
9150 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9154 for as_dir
in `dirname $aros_gcc_ar`
9157 test -z "$as_dir" && as_dir
=.
9158 for ac_exec_ext
in '' $ac_executable_extensions; do
9159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9160 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9171 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9172 if test -n "$aros_target_ar_ln"; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9174 $as_echo "$aros_target_ar_ln" >&6; }
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9177 $as_echo "no" >&6; }
9182 if test "$aros_target_ar_ln" = ""; then
9183 # Extract the first word of "ar", so it can be a program name with args.
9184 set dummy
ar; ac_word
=$2
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9186 $as_echo_n "checking for $ac_word... " >&6; }
9187 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9188 $as_echo_n "(cached) " >&6
9190 case $aros_target_ar_ln in
9192 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9199 test -z "$as_dir" && as_dir
=.
9200 for ac_exec_ext
in '' $ac_executable_extensions; do
9201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9202 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9213 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9214 if test -n "$aros_target_ar_ln"; then
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9216 $as_echo "$aros_target_ar_ln" >&6; }
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219 $as_echo "no" >&6; }
9226 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9227 set dummy
$aros_target_ar; ac_word
=$2
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9229 $as_echo_n "checking for $ac_word... " >&6; }
9230 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
9231 $as_echo_n "(cached) " >&6
9233 case $aros_target_ar_ln in
9235 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9242 test -z "$as_dir" && as_dir
=.
9243 for ac_exec_ext
in '' $ac_executable_extensions; do
9244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9245 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9256 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9257 if test -n "$aros_target_ar_ln"; then
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9259 $as_echo "$aros_target_ar_ln" >&6; }
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9262 $as_echo "no" >&6; }
9268 if test "$aros_target_ar_ln" = ""; then
9269 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9272 if test "$aros_target_nm" = ""; then
9273 if test "$cross_compiling" = "yes" ; then
9274 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9275 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9277 $as_echo_n "checking for $ac_word... " >&6; }
9278 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9279 $as_echo_n "(cached) " >&6
9281 case $aros_target_nm_ln in
9283 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9290 test -z "$as_dir" && as_dir
=.
9291 for ac_exec_ext
in '' $ac_executable_extensions; do
9292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9293 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9304 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9305 if test -n "$aros_target_nm_ln"; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9307 $as_echo "$aros_target_nm_ln" >&6; }
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9310 $as_echo "no" >&6; }
9315 if test "$GCC" = "yes"; then
9316 aros_gcc_nm
=`$CC -print-prog-name=nm`
9317 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9318 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9320 $as_echo_n "checking for $ac_word... " >&6; }
9321 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9322 $as_echo_n "(cached) " >&6
9324 case $aros_target_nm_ln in
9326 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9330 for as_dir
in `dirname $aros_gcc_nm`
9333 test -z "$as_dir" && as_dir
=.
9334 for ac_exec_ext
in '' $ac_executable_extensions; do
9335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9336 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9347 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9348 if test -n "$aros_target_nm_ln"; then
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9350 $as_echo "$aros_target_nm_ln" >&6; }
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9353 $as_echo "no" >&6; }
9358 if test "$aros_target_nm_ln" = ""; then
9359 # Extract the first word of "nm", so it can be a program name with args.
9360 set dummy nm
; ac_word
=$2
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9362 $as_echo_n "checking for $ac_word... " >&6; }
9363 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9364 $as_echo_n "(cached) " >&6
9366 case $aros_target_nm_ln in
9368 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9375 test -z "$as_dir" && as_dir
=.
9376 for ac_exec_ext
in '' $ac_executable_extensions; do
9377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9378 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9389 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9390 if test -n "$aros_target_nm_ln"; then
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9392 $as_echo "$aros_target_nm_ln" >&6; }
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9395 $as_echo "no" >&6; }
9402 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
9403 set dummy
$aros_target_nm; ac_word
=$2
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9405 $as_echo_n "checking for $ac_word... " >&6; }
9406 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
9407 $as_echo_n "(cached) " >&6
9409 case $aros_target_nm_ln in
9411 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9418 test -z "$as_dir" && as_dir
=.
9419 for ac_exec_ext
in '' $ac_executable_extensions; do
9420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9421 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9432 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9433 if test -n "$aros_target_nm_ln"; then
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9435 $as_echo "$aros_target_nm_ln" >&6; }
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9438 $as_echo "no" >&6; }
9444 if test "$aros_target_nm_ln" = ""; then
9445 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9448 if test "$aros_target_objcopy" = ""; then
9449 if test "$cross_compiling" = "yes" ; then
9450 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9451 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9453 $as_echo_n "checking for $ac_word... " >&6; }
9454 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9455 $as_echo_n "(cached) " >&6
9457 case $aros_target_objcopy_ln in
9459 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9466 test -z "$as_dir" && as_dir
=.
9467 for ac_exec_ext
in '' $ac_executable_extensions; do
9468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9469 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9480 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9481 if test -n "$aros_target_objcopy_ln"; then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9483 $as_echo "$aros_target_objcopy_ln" >&6; }
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9486 $as_echo "no" >&6; }
9491 if test "$GCC" = "yes"; then
9492 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9493 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9494 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9496 $as_echo_n "checking for $ac_word... " >&6; }
9497 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9498 $as_echo_n "(cached) " >&6
9500 case $aros_target_objcopy_ln in
9502 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9506 for as_dir
in `dirname $aros_gcc_objcopy`
9509 test -z "$as_dir" && as_dir
=.
9510 for ac_exec_ext
in '' $ac_executable_extensions; do
9511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9512 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9523 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9524 if test -n "$aros_target_objcopy_ln"; then
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9526 $as_echo "$aros_target_objcopy_ln" >&6; }
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9529 $as_echo "no" >&6; }
9534 if test "$aros_target_objcopy_ln" = ""; then
9535 # Extract the first word of "objcopy", so it can be a program name with args.
9536 set dummy objcopy
; ac_word
=$2
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9538 $as_echo_n "checking for $ac_word... " >&6; }
9539 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9540 $as_echo_n "(cached) " >&6
9542 case $aros_target_objcopy_ln in
9544 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9551 test -z "$as_dir" && as_dir
=.
9552 for ac_exec_ext
in '' $ac_executable_extensions; do
9553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9554 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9565 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9566 if test -n "$aros_target_objcopy_ln"; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9568 $as_echo "$aros_target_objcopy_ln" >&6; }
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571 $as_echo "no" >&6; }
9578 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
9579 set dummy
$aros_target_objcopy; ac_word
=$2
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 $as_echo_n "checking for $ac_word... " >&6; }
9582 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
9583 $as_echo_n "(cached) " >&6
9585 case $aros_target_objcopy_ln in
9587 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9594 test -z "$as_dir" && as_dir
=.
9595 for ac_exec_ext
in '' $ac_executable_extensions; do
9596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9597 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9608 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9609 if test -n "$aros_target_objcopy_ln"; then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9611 $as_echo "$aros_target_objcopy_ln" >&6; }
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 $as_echo "no" >&6; }
9620 if test "$aros_target_objcopy_ln" = ""; then
9621 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9624 if test "$aros_target_objdump" = ""; then
9625 if test "$cross_compiling" = "yes" ; then
9626 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9627 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9629 $as_echo_n "checking for $ac_word... " >&6; }
9630 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9631 $as_echo_n "(cached) " >&6
9633 case $aros_target_objdump_ln in
9635 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9642 test -z "$as_dir" && as_dir
=.
9643 for ac_exec_ext
in '' $ac_executable_extensions; do
9644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9645 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9656 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9657 if test -n "$aros_target_objdump_ln"; then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9659 $as_echo "$aros_target_objdump_ln" >&6; }
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 $as_echo "no" >&6; }
9667 if test "$GCC" = "yes"; then
9668 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9669 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9670 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9672 $as_echo_n "checking for $ac_word... " >&6; }
9673 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9674 $as_echo_n "(cached) " >&6
9676 case $aros_target_objdump_ln in
9678 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9682 for as_dir
in `dirname $aros_gcc_objdump`
9685 test -z "$as_dir" && as_dir
=.
9686 for ac_exec_ext
in '' $ac_executable_extensions; do
9687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9688 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9699 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9700 if test -n "$aros_target_objdump_ln"; then
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9702 $as_echo "$aros_target_objdump_ln" >&6; }
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9705 $as_echo "no" >&6; }
9710 if test "$aros_target_objdump_ln" = ""; then
9711 # Extract the first word of "objdump", so it can be a program name with args.
9712 set dummy objdump
; ac_word
=$2
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9714 $as_echo_n "checking for $ac_word... " >&6; }
9715 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9716 $as_echo_n "(cached) " >&6
9718 case $aros_target_objdump_ln in
9720 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9727 test -z "$as_dir" && as_dir
=.
9728 for ac_exec_ext
in '' $ac_executable_extensions; do
9729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9730 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9741 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9742 if test -n "$aros_target_objdump_ln"; then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9744 $as_echo "$aros_target_objdump_ln" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9747 $as_echo "no" >&6; }
9754 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9755 set dummy
$aros_target_objdump; ac_word
=$2
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9757 $as_echo_n "checking for $ac_word... " >&6; }
9758 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9759 $as_echo_n "(cached) " >&6
9761 case $aros_target_objdump_ln in
9763 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9770 test -z "$as_dir" && as_dir
=.
9771 for ac_exec_ext
in '' $ac_executable_extensions; do
9772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9773 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9784 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9785 if test -n "$aros_target_objdump_ln"; then
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9787 $as_echo "$aros_target_objdump_ln" >&6; }
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9790 $as_echo "no" >&6; }
9796 if test "$aros_target_objdump_ln" = ""; then
9797 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9800 if test "$aros_target_ranlib" = ""; then
9801 if test "$cross_compiling" = "yes" ; then
9802 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9803 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9805 $as_echo_n "checking for $ac_word... " >&6; }
9806 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9807 $as_echo_n "(cached) " >&6
9809 case $aros_target_ranlib_ln in
9811 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir
=.
9819 for ac_exec_ext
in '' $ac_executable_extensions; do
9820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9821 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9832 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9833 if test -n "$aros_target_ranlib_ln"; then
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9835 $as_echo "$aros_target_ranlib_ln" >&6; }
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9838 $as_echo "no" >&6; }
9843 if test "$GCC" = "yes"; then
9844 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9845 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9846 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9848 $as_echo_n "checking for $ac_word... " >&6; }
9849 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9850 $as_echo_n "(cached) " >&6
9852 case $aros_target_ranlib_ln in
9854 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9858 for as_dir
in `dirname $aros_gcc_ranlib`
9861 test -z "$as_dir" && as_dir
=.
9862 for ac_exec_ext
in '' $ac_executable_extensions; do
9863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9864 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9875 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9876 if test -n "$aros_target_ranlib_ln"; then
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9878 $as_echo "$aros_target_ranlib_ln" >&6; }
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9881 $as_echo "no" >&6; }
9886 if test "$aros_target_ranlib_ln" = ""; then
9887 # Extract the first word of "ranlib", so it can be a program name with args.
9888 set dummy ranlib
; ac_word
=$2
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9890 $as_echo_n "checking for $ac_word... " >&6; }
9891 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9892 $as_echo_n "(cached) " >&6
9894 case $aros_target_ranlib_ln in
9896 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir
=.
9904 for ac_exec_ext
in '' $ac_executable_extensions; do
9905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9906 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9917 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9918 if test -n "$aros_target_ranlib_ln"; then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9920 $as_echo "$aros_target_ranlib_ln" >&6; }
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9923 $as_echo "no" >&6; }
9930 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9931 set dummy
$aros_target_ranlib; ac_word
=$2
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9933 $as_echo_n "checking for $ac_word... " >&6; }
9934 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9935 $as_echo_n "(cached) " >&6
9937 case $aros_target_ranlib_ln in
9939 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9946 test -z "$as_dir" && as_dir
=.
9947 for ac_exec_ext
in '' $ac_executable_extensions; do
9948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9949 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9960 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9961 if test -n "$aros_target_ranlib_ln"; then
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9963 $as_echo "$aros_target_ranlib_ln" >&6; }
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9966 $as_echo "no" >&6; }
9972 if test "$aros_target_ranlib_ln" = ""; then
9973 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9976 if test "$aros_target_strip" = ""; then
9977 if test "$cross_compiling" = "yes" ; then
9978 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9979 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9981 $as_echo_n "checking for $ac_word... " >&6; }
9982 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9983 $as_echo_n "(cached) " >&6
9985 case $aros_target_strip_ln in
9987 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9994 test -z "$as_dir" && as_dir
=.
9995 for ac_exec_ext
in '' $ac_executable_extensions; do
9996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9997 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10008 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10009 if test -n "$aros_target_strip_ln"; then
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10011 $as_echo "$aros_target_strip_ln" >&6; }
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10014 $as_echo "no" >&6; }
10019 if test "$GCC" = "yes"; then
10020 aros_gcc_strip
=`$CC -print-prog-name=strip`
10021 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10022 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10024 $as_echo_n "checking for $ac_word... " >&6; }
10025 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
10026 $as_echo_n "(cached) " >&6
10028 case $aros_target_strip_ln in
10030 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10034 for as_dir
in `dirname $aros_gcc_strip`
10037 test -z "$as_dir" && as_dir
=.
10038 for ac_exec_ext
in '' $ac_executable_extensions; do
10039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10040 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10051 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10052 if test -n "$aros_target_strip_ln"; then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10054 $as_echo "$aros_target_strip_ln" >&6; }
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10057 $as_echo "no" >&6; }
10062 if test "$aros_target_strip_ln" = ""; then
10063 # Extract the first word of "strip", so it can be a program name with args.
10064 set dummy strip
; ac_word
=$2
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10066 $as_echo_n "checking for $ac_word... " >&6; }
10067 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
10068 $as_echo_n "(cached) " >&6
10070 case $aros_target_strip_ln in
10072 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10076 for as_dir
in $PATH
10079 test -z "$as_dir" && as_dir
=.
10080 for ac_exec_ext
in '' $ac_executable_extensions; do
10081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10082 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10093 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10094 if test -n "$aros_target_strip_ln"; then
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10096 $as_echo "$aros_target_strip_ln" >&6; }
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10099 $as_echo "no" >&6; }
10106 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10107 set dummy
$aros_target_strip; ac_word
=$2
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10109 $as_echo_n "checking for $ac_word... " >&6; }
10110 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
10111 $as_echo_n "(cached) " >&6
10113 case $aros_target_strip_ln in
10115 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10119 for as_dir
in $PATH
10122 test -z "$as_dir" && as_dir
=.
10123 for ac_exec_ext
in '' $ac_executable_extensions; do
10124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10125 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10136 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10137 if test -n "$aros_target_strip_ln"; then
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10139 $as_echo "$aros_target_strip_ln" >&6; }
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10142 $as_echo "no" >&6; }
10148 if test "$aros_target_strip_ln" = ""; then
10149 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10151 if test "$aros_target_cxx" != ""; then
10152 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
10153 set dummy
$aros_target_cxx; ac_word
=$2
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10155 $as_echo_n "checking for $ac_word... " >&6; }
10156 if ${ac_cv_path_aros_target_cxx+:} false
; then :
10157 $as_echo_n "(cached) " >&6
10159 case $aros_target_cxx in
10161 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
10164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10165 for as_dir
in $PATH
10168 test -z "$as_dir" && as_dir
=.
10169 for ac_exec_ext
in '' $ac_executable_extensions; do
10170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10171 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10182 aros_target_cxx
=$ac_cv_path_aros_target_cxx
10183 if test -n "$aros_target_cxx"; then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
10185 $as_echo "$aros_target_cxx" >&6; }
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10188 $as_echo "no" >&6; }
10192 if test "$aros_target_cxx" = ""; then
10193 as_fn_error $?
"c++ is required to build AROS. Please install and run configure again." "$LINENO" 5
10197 aros_target_cc
=$AROS_CROSSTOOLSDIR/$aros_target_cc
10198 aros_target_cxx
=$AROS_CROSSTOOLSDIR/$aros_target_cxx
10199 aros_target_as_ln
=$AROS_CROSSTOOLSDIR/$aros_target_as
10200 aros_target_ar_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10201 aros_target_nm_ln
=$AROS_CROSSTOOLSDIR/$aros_target_nm
10202 aros_target_objcopy_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objcopy
10203 aros_target_objdump_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objdump
10204 aros_target_ranlib_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10205 aros_target_strip_ln
=$AROS_CROSSTOOLSDIR/$aros_target_strip
10207 if test "$target_tool_prefix" != "${target_cpu}-aros-" ; then
10209 if test "$aros_kernel_ld" = ""; then
10210 if test "$cross_compiling" = "yes" ; then
10211 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
10212 set dummy
${target_tool_prefix}ld
; ac_word
=$2
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10214 $as_echo_n "checking for $ac_word... " >&6; }
10215 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10216 $as_echo_n "(cached) " >&6
10218 case $aros_kernel_ld in
10220 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10224 for as_dir
in $PATH
10227 test -z "$as_dir" && as_dir
=.
10228 for ac_exec_ext
in '' $ac_executable_extensions; do
10229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10230 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10241 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10242 if test -n "$aros_kernel_ld"; then
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10244 $as_echo "$aros_kernel_ld" >&6; }
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10247 $as_echo "no" >&6; }
10252 if test "$GCC" = "yes"; then
10253 aros_gcc_ld
=`$CC -print-prog-name=ld`
10254 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10255 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10257 $as_echo_n "checking for $ac_word... " >&6; }
10258 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10259 $as_echo_n "(cached) " >&6
10261 case $aros_kernel_ld in
10263 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10267 for as_dir
in `dirname $aros_gcc_ld`
10270 test -z "$as_dir" && as_dir
=.
10271 for ac_exec_ext
in '' $ac_executable_extensions; do
10272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10273 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10284 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10285 if test -n "$aros_kernel_ld"; then
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10287 $as_echo "$aros_kernel_ld" >&6; }
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10290 $as_echo "no" >&6; }
10295 if test "$aros_kernel_ld" = ""; then
10296 # Extract the first word of "ld", so it can be a program name with args.
10297 set dummy ld
; ac_word
=$2
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10299 $as_echo_n "checking for $ac_word... " >&6; }
10300 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10301 $as_echo_n "(cached) " >&6
10303 case $aros_kernel_ld in
10305 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10309 for as_dir
in $PATH
10312 test -z "$as_dir" && as_dir
=.
10313 for ac_exec_ext
in '' $ac_executable_extensions; do
10314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10315 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10326 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10327 if test -n "$aros_kernel_ld"; then
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10329 $as_echo "$aros_kernel_ld" >&6; }
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10332 $as_echo "no" >&6; }
10339 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10340 set dummy
$aros_kernel_ld; ac_word
=$2
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10342 $as_echo_n "checking for $ac_word... " >&6; }
10343 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10344 $as_echo_n "(cached) " >&6
10346 case $aros_kernel_ld in
10348 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10352 for as_dir
in $PATH
10355 test -z "$as_dir" && as_dir
=.
10356 for ac_exec_ext
in '' $ac_executable_extensions; do
10357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10358 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10369 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10370 if test -n "$aros_kernel_ld"; then
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10372 $as_echo "$aros_kernel_ld" >&6; }
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10375 $as_echo "no" >&6; }
10381 if test "$aros_kernel_ld" = ""; then
10382 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10385 if test "$aros_kernel_ar" = ""; then
10386 if test "$cross_compiling" = "yes" ; then
10387 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
10388 set dummy
${target_tool_prefix}ar; ac_word
=$2
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10390 $as_echo_n "checking for $ac_word... " >&6; }
10391 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10392 $as_echo_n "(cached) " >&6
10394 case $aros_kernel_ar in
10396 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10400 for as_dir
in $PATH
10403 test -z "$as_dir" && as_dir
=.
10404 for ac_exec_ext
in '' $ac_executable_extensions; do
10405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10406 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10417 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10418 if test -n "$aros_kernel_ar"; then
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10420 $as_echo "$aros_kernel_ar" >&6; }
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10423 $as_echo "no" >&6; }
10428 if test "$GCC" = "yes"; then
10429 aros_gcc_ar
=`$CC -print-prog-name=ar`
10430 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10431 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10433 $as_echo_n "checking for $ac_word... " >&6; }
10434 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10435 $as_echo_n "(cached) " >&6
10437 case $aros_kernel_ar in
10439 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10443 for as_dir
in `dirname $aros_gcc_ar`
10446 test -z "$as_dir" && as_dir
=.
10447 for ac_exec_ext
in '' $ac_executable_extensions; do
10448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10449 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10460 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10461 if test -n "$aros_kernel_ar"; then
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10463 $as_echo "$aros_kernel_ar" >&6; }
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10466 $as_echo "no" >&6; }
10471 if test "$aros_kernel_ar" = ""; then
10472 # Extract the first word of "ar", so it can be a program name with args.
10473 set dummy
ar; ac_word
=$2
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10475 $as_echo_n "checking for $ac_word... " >&6; }
10476 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10477 $as_echo_n "(cached) " >&6
10479 case $aros_kernel_ar in
10481 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10485 for as_dir
in $PATH
10488 test -z "$as_dir" && as_dir
=.
10489 for ac_exec_ext
in '' $ac_executable_extensions; do
10490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10491 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10502 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10503 if test -n "$aros_kernel_ar"; then
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10505 $as_echo "$aros_kernel_ar" >&6; }
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10508 $as_echo "no" >&6; }
10515 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10516 set dummy
$aros_kernel_ar; ac_word
=$2
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10518 $as_echo_n "checking for $ac_word... " >&6; }
10519 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10520 $as_echo_n "(cached) " >&6
10522 case $aros_kernel_ar in
10524 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10528 for as_dir
in $PATH
10531 test -z "$as_dir" && as_dir
=.
10532 for ac_exec_ext
in '' $ac_executable_extensions; do
10533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10534 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10545 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10546 if test -n "$aros_kernel_ar"; then
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10548 $as_echo "$aros_kernel_ar" >&6; }
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10551 $as_echo "no" >&6; }
10557 if test "$aros_kernel_ar" = ""; then
10558 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10561 if test "$aros_kernel_ranlib" = ""; then
10562 if test "$cross_compiling" = "yes" ; then
10563 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10564 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10566 $as_echo_n "checking for $ac_word... " >&6; }
10567 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10568 $as_echo_n "(cached) " >&6
10570 case $aros_kernel_ranlib in
10572 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10576 for as_dir
in $PATH
10579 test -z "$as_dir" && as_dir
=.
10580 for ac_exec_ext
in '' $ac_executable_extensions; do
10581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10582 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10593 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10594 if test -n "$aros_kernel_ranlib"; then
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10596 $as_echo "$aros_kernel_ranlib" >&6; }
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10599 $as_echo "no" >&6; }
10604 if test "$GCC" = "yes"; then
10605 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10606 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10607 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10609 $as_echo_n "checking for $ac_word... " >&6; }
10610 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10611 $as_echo_n "(cached) " >&6
10613 case $aros_kernel_ranlib in
10615 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10619 for as_dir
in `dirname $aros_gcc_ranlib`
10622 test -z "$as_dir" && as_dir
=.
10623 for ac_exec_ext
in '' $ac_executable_extensions; do
10624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10625 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10636 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10637 if test -n "$aros_kernel_ranlib"; then
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10639 $as_echo "$aros_kernel_ranlib" >&6; }
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10642 $as_echo "no" >&6; }
10647 if test "$aros_kernel_ranlib" = ""; then
10648 # Extract the first word of "ranlib", so it can be a program name with args.
10649 set dummy ranlib
; ac_word
=$2
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10651 $as_echo_n "checking for $ac_word... " >&6; }
10652 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10653 $as_echo_n "(cached) " >&6
10655 case $aros_kernel_ranlib in
10657 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10661 for as_dir
in $PATH
10664 test -z "$as_dir" && as_dir
=.
10665 for ac_exec_ext
in '' $ac_executable_extensions; do
10666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10667 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10678 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10679 if test -n "$aros_kernel_ranlib"; then
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10681 $as_echo "$aros_kernel_ranlib" >&6; }
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10684 $as_echo "no" >&6; }
10691 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10692 set dummy
$aros_kernel_ranlib; ac_word
=$2
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10694 $as_echo_n "checking for $ac_word... " >&6; }
10695 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10696 $as_echo_n "(cached) " >&6
10698 case $aros_kernel_ranlib in
10700 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10704 for as_dir
in $PATH
10707 test -z "$as_dir" && as_dir
=.
10708 for ac_exec_ext
in '' $ac_executable_extensions; do
10709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10710 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10721 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10722 if test -n "$aros_kernel_ranlib"; then
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10724 $as_echo "$aros_kernel_ranlib" >&6; }
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10727 $as_echo "no" >&6; }
10733 if test "$aros_kernel_ranlib" = ""; then
10734 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10737 aros_kernel_ar
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10738 aros_kernel_ld
=$AROS_CROSSTOOLSDIR/$aros_target_ld
10739 aros_kernel_ranlib
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10742 crosstools_target
=tools-crosstools
10745 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
10747 orig_target_cc
=$aros_kernel_cc
10748 orig_target_ld
=$aros_kernel_ld
10750 if test "$crosstools" != "yes"; then
10751 if test "$aros_target_cc" != ""; then
10752 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
10753 set dummy
$aros_target_cc; ac_word
=$2
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10755 $as_echo_n "checking for $ac_word... " >&6; }
10756 if ${ac_cv_path_aros_target_cc+:} false
; then :
10757 $as_echo_n "(cached) " >&6
10759 case $aros_target_cc in
10761 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
10764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10765 for as_dir
in $PATH
10768 test -z "$as_dir" && as_dir
=.
10769 for ac_exec_ext
in '' $ac_executable_extensions; do
10770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10771 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10782 aros_target_cc
=$ac_cv_path_aros_target_cc
10783 if test -n "$aros_target_cc"; then
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
10785 $as_echo "$aros_target_cc" >&6; }
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10788 $as_echo "no" >&6; }
10792 if test "$aros_target_cc" = ""; then
10793 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
10795 orig_target_cc
=$aros_target_cc
10797 if test "$aros_target_ld" != ""; then
10798 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
10799 set dummy
$aros_target_ld; ac_word
=$2
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10801 $as_echo_n "checking for $ac_word... " >&6; }
10802 if ${ac_cv_path_aros_target_ld+:} false
; then :
10803 $as_echo_n "(cached) " >&6
10805 case $aros_target_ld in
10807 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
10810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10811 for as_dir
in $PATH
10814 test -z "$as_dir" && as_dir
=.
10815 for ac_exec_ext
in '' $ac_executable_extensions; do
10816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10817 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
10818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10828 aros_target_ld
=$ac_cv_path_aros_target_ld
10829 if test -n "$aros_target_ld"; then
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
10831 $as_echo "$aros_target_ld" >&6; }
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10834 $as_echo "no" >&6; }
10838 if test "$aros_target_ld" = ""; then
10839 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10841 orig_target_ld
=$aros_target_ld
10844 orig_target_cc
=$aros_target_cc
10845 orig_target_ld
=$aros_target_ld
10848 # Build crosstools if we have no C++ - temporary thing
10849 if test "$aros_target_cxx" = "" -a "$crosstools" != "yes"; then
10850 crosstools_cxx_target
=tools-crosstools
10853 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10854 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10855 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10856 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10857 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10858 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10859 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10861 # aros_cc_pre is a variable that is added to the front of the compiler name
10862 # in the generated aros-gcc shell script. We need this to enable the cache
10863 # to work across cleaned builds. Also, support DISTCC using the correct
10864 # environment variable.
10867 if test "x${DISTCC}" != "x" ; then
10868 if test "x${CCACHE}" != "x" ; then
10869 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10871 aros_cc_pre
="${DISTCC} "
10874 if test "x${CCACHE}" != "x" ; then
10875 aros_cc_pre
="${CCACHE} "
10879 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10881 aros_target_nostdinc_cflags
=-nostdinc
10883 aros_target_nostartup_ldflags
=-nostartfiles
10885 aros_target_nix_ldflags
=-nix
10887 aros_target_detach_ldflags
=-detach
10889 aros_target_nostdlib_ldflags
=-nostdlib
10893 if test "$crosstools" != "yes"; then
10894 if test "$GCC" = "yes"; then
10895 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10898 # We do not know which gcc version we are going to build and what we need to know
10899 # here is different for different versions so this will be set later during the
10900 # build of crosstools.
10901 aros_target_cc_path
=@aros_target_cc_path@
10903 aros_target_cc
="${prefix}-gcc"
10904 aros_target_as
="${prefix}-as"
10905 aros_target_ld
="${prefix}-ld"
10906 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10907 aros_target_objcopy
=${prefix}-objcopy
10908 aros_target_objdump
=${prefix}-objdump
10909 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10910 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10911 aros_target_strip
=${prefix}-strip
10912 aros_plain_nm
="${prefix}-nm"
10913 aros_plain_ar
="${prefix}-ar"
10915 # Find the system include path. We can suggest that an alternative is
10916 # used if we don't get it correct. The default is to use /usr/include.
10917 # Which is set in the aros_target_incl_def variable.
10919 # Check whether --enable-includes was given.
10920 if test "${enable_includes+set}" = set; then :
10921 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10923 aros_target_incl
=$aros_target_incl_def
10927 if test "$aros_kernel_includes" = ""; then
10928 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10929 # FIXME: for cross-compiling this should point to another location
10930 aros_kernel_includes
="-isystem $aros_target_incl"
10934 if test "$aros_kernel_includes" != "" ; then
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
10936 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
10937 if test "$aros_kernel_cc_includes" = "" ; then
10938 # Try to guess where the directory is.
10939 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
10940 if test -d $aros_kernel_cc_includes; then
10941 # Check if there is also an include-fixed directory and add it
10942 # to kernel compiler's include path as it may contain some of
10943 # the headers we need.
10944 if test -d "$aros_kernel_cc_includes"-fixed; then
10945 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
10947 # Check for specific includes directory. Neede for Ubuntu 11.10
10948 if test -d "/usr/include/i386-linux-gnu"; then
10949 aros_kernel_cc_includes
+=" -isystem /usr/include/i386-linux-gnu"
10952 # The directory doesn't exist, we need to do some more work.
10953 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
10955 # These are the headers we're looking for.
10956 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10957 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10960 if test ! -f $aros_target_incl/stdint.h
; then
10961 headers
="$headers stdint.h"
10965 for h
in $headers; do
10966 # Which other headers are needed by each of the above?
10967 deps
=$
(echo "#include <$h>" | \
10968 $aros_kernel_cc -E -M - 2>/dev
/null | \
10969 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10971 # Copy all the needed headers to a directory beneath gendir.
10974 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
10975 sed -n "s,^.*/include\(/.*\),\1,p")
10976 ! test -d $dir && mkdir
-p $dir
10977 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
10983 $as_echo "$aros_kernel_cc_includes" >&6; }
10984 # Adding -nostdinc to kernel includes as they are always used together.
10985 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
10988 if test "$crosstools" != "yes"; then
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
10990 $as_echo_n "checking for the target compiler's include path... " >&6; }
10991 if test "$aros_target_cc_includes" = "" ; then
10992 #try to guess where the directory is
10993 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10994 if ! test -d $aros_target_cc_includes; then
10995 #the directory doesn't exist, we need to do some more work
10996 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10998 #these are the headers we're looking for
10999 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11000 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11004 for h
in $headers; do
11005 #which other headers each of the above headers needs?
11006 deps
=$
(echo "#include <$h>" | \
11007 $orig_target_cc -E -M - 2>/dev
/null | \
11008 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11010 #copy all the needed headers to a directory beneath gendir
11013 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
11014 sed -n "s,^.*/include\(/.*\),\1,p")
11015 ! test -d $dir && mkdir
-p $dir
11016 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
11022 $as_echo "$aros_target_cc_includes" >&6; }
11024 # We do not know which gcc version we are going to build and what we need to know
11025 # here is different for different versions so this will be set later during the
11026 # build of crosstools.
11027 aros_target_cc_includes
=@aros_target_cc_includes@
11031 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11032 # On GCC >= 4.0 -iquote should be used
11036 save_cflags
="$CFLAGS"
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11039 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11040 if test "x-$crosstools" != "x-yes"; then
11041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11052 if ac_fn_c_try_compile
"$LINENO"; then :
11057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11059 # we do know it is supported for the smallest version of gcc we are going to build
11060 # we assume it's also supported by later versions
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11064 $as_echo "$has_iquote" >&6; }
11065 if test "x-$has_iquote" = "x-yes" ; then
11066 host_cflags_iquote
=-iquote
11067 host_cflags_iquote_end
=
11069 host_cflags_iquote
=-I
11070 host_cflags_iquote_end
=-I-
11072 kernel_cflags_iquote
=$host_cflags_iquote
11073 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11074 if test "x-$cross_compiling" = "x-yes"; then
11075 CC
="$aros_kernel_cc"
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
11077 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
11078 if test "x-$crosstools" != "x-yes"; then
11079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11090 if ac_fn_c_try_compile
"$LINENO"; then :
11091 use_no_stack_protector
="yes"
11093 use_no_stack_protector
="no"
11095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11097 # we do know it is supported for the smallest version of gcc we are going to build
11098 # we assume it's also supported by later versions
11099 use_no_stack_protector
=yes
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
11102 $as_echo "$use_no_stack_protector" >&6; }
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11104 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11105 if test "x-$crosstools" != "x-yes"; then
11106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11117 if ac_fn_c_try_compile
"$LINENO"; then :
11122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11124 # we do know it is supported for the smallest version of gcc we are going to build
11125 # we assume it's also supported by later versions
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11129 $as_echo "$has_iquote" >&6; }
11130 if test "x-$has_iquote" = "x-yes" ; then
11131 kernel_cflags_iquote
=-iquote
11132 kernel_cflags_iquote_end
=
11134 kernel_cflags_iquote
=-I
11135 kernel_cflags_iquote_end
=-I-
11138 aros_cflags_iquote
=$kernel_cflags_iquote
11139 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11140 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11141 CC
="$orig_target_cc"
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11143 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11144 if test "x-$crosstools" != "x-yes"; then
11145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11156 if ac_fn_c_try_compile
"$LINENO"; then :
11161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11163 # we do know it is supported for the smallest version of gcc we are going to build
11164 # we assume it's also supported by later versions
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11168 $as_echo "$has_iquote" >&6; }
11169 if test "x-$has_iquote" = "x-yes" ; then
11170 aros_cflags_iquote
=-iquote
11171 aros_cflags_iquote_end
=
11173 aros_cflags_iquote
=-I
11174 aros_cflags_iquote_end
=-I-
11177 if test "x-$use_no_stack_protector" = "x-yes" ; then
11178 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
11182 #-----------------------------------------------------------------------------
11184 # Check if the target compiler supports some options used for delinting:
11185 # -Wunused-but-set-variable
11189 if test "x-$crosstools" != "x-yes"; then
11190 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11191 CC
="$orig_target_cc"
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
11194 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
11195 CFLAGS
=-Wunused-but-set-variable
11196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11207 if ac_fn_c_try_compile
"$LINENO"; then :
11208 aros_unused_but_set_variable
="yes"
11210 aros_unused_but_set_variable
="no"
11212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
11214 $as_echo "$aros_unused_but_set_variable" >&6; }
11215 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
11216 aros_cflags_unused_but_set_variable
=-Wno-unused-but-set-variable
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
11220 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
11221 CFLAGS
=-Warray-bounds
11222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11233 if ac_fn_c_try_compile
"$LINENO"; then :
11234 aros_array_bounds
="yes"
11236 aros_array_bounds
="no"
11238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
11240 $as_echo "$aros_array_bounds" >&6; }
11241 if test "x-$aros_array_bounds" = "x-yes" ; then
11242 aros_cflags_array_bounds
=-Wno-array-bounds
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
11246 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
11247 CFLAGS
=-Wenum-compare
11248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11259 if ac_fn_c_try_compile
"$LINENO"; then :
11260 aros_enum_compare
="yes"
11262 aros_enum_compare
="no"
11264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
11266 $as_echo "$aros_enum_compare" >&6; }
11267 if test "x-$aros_enum_compare" = "x-yes" ; then
11268 aros_cflags_enum_compare
=-Wno-enum-compare
11271 # We do not know which gcc version we are going to build and what we need to know
11272 # here is different for different versions so this will be set later during the
11273 # build of crosstools.
11274 aros_cflags_unused_but_set_variable
=@aros_cflags_unused_but_set_variable@
11275 aros_cflags_array_bounds
=@aros_cflags_array_bounds@
11276 aros_cflags_enum_compare
=@aros_cflags_enum_compare@
11279 #-----------------------------------------------------------------------------
11281 # Check if we can explicitly choose older version of symbol hashing
11283 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
11284 CC
="$aros_kernel_cc"
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11286 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
11287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11298 if ac_fn_c_try_link
"$LINENO"; then :
11299 use_hash_style
="yes"
11301 use_hash_style
="no"
11303 rm -f core conftest.err conftest.
$ac_objext \
11304 conftest
$ac_exeext conftest.
$ac_ext
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
11306 $as_echo "$use_hash_style" >&6; }
11307 if test "x-$use_hash_style" = "x-yes" ; then
11308 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11311 CFLAGS
="$save_cflags"
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
11322 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11324 # Check whether --with-resolution was given.
11325 if test "${with_resolution+set}" = set; then :
11326 withval
=$with_resolution; resolution
=$withval
11331 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11332 if test "$resolution" = "yes" ; then
11335 if test "$resolution" = "no" ; then
11338 if test "$resolution" != "none" ; then
11339 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11340 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11341 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11344 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11345 aros_cv_default_wbwidth
=$aros_default_wbwidth
11346 aros_cv_default_wbheight
=$aros_default_wbheight
11347 aros_cv_default_wbdepth
=$aros_default_wbdepth
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
11350 $as_echo_n "checking if serial debug is enabled... " >&6; }
11352 # Check whether --with-serial-debug was given.
11353 if test "${with_serial_debug+set}" = set; then :
11354 withval
=$with_serial_debug; serial_debug
=$withval
11359 if test "$aros_serial_debug" = 0 ; then
11360 serial_debug_forced
=""
11361 if test "$serial_debug" = "yes" ; then
11364 if test "$serial_debug" = "no" ; then
11365 serial_debug
="none"
11368 serial_debug_forced
="(forced)"
11369 serial_debug
=$aros_serial_debug
11371 if test "$serial_debug" != "none" ; then
11372 aros_serial_debug
=$serial_debug
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
11374 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11377 $as_echo "no" >&6; }
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
11381 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11382 # Check whether --enable-palm_debug_hack was given.
11383 if test "${enable_palm_debug_hack+set}" = set; then :
11384 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11386 palm_debug_hack
="no"
11389 if test "$palm_debug_hack" = "yes" ; then
11390 aros_palm_debug_hack
="1"
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
11393 $as_echo "$palm_debug_hack" >&6; }
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
11396 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
11397 # Check whether --enable-usb30_code was given.
11398 if test "${enable_usb30_code+set}" = set; then :
11399 enableval
=$enable_usb30_code; usb30_code
="yes"
11404 if test "$usb30_code" = "yes" ; then
11405 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
11406 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
11409 $as_echo "$usb30_code" >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
11412 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11413 # Check whether --enable-nesting_supervisor was given.
11414 if test "${enable_nesting_supervisor+set}" = set; then :
11415 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11417 nesting_supervisor
="no"
11420 if test "$nesting_supervisor" = "yes" ; then
11421 aros_nesting_supervisor
="1"
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
11424 $as_echo "$nesting_supervisor" >&6; }
11426 if test "$aros_enable_mmu" = "" ; then
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
11428 $as_echo_n "checking if MMU support is enabled... " >&6; }
11429 # Check whether --enable-mmu was given.
11430 if test "${enable_mmu+set}" = set; then :
11431 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
11433 aros_enable_mmu
="yes"
11436 if test "$aros_enable_mmu" = "" ; then
11437 aros_enable_mmu
="yes"
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
11440 $as_echo "$aros_enable_mmu" >&6; }
11442 if test "$aros_enable_mmu" = "no" ; then
11443 aros_enable_mmu
="0"
11445 aros_enable_mmu
="1"
11449 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11451 if test "x-$need_dlopen" != "x-no" ; then
11452 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11453 if test "x$ac_cv_func_dlopen" = xyes
; then :
11459 if test "x-$have_dl" = "x-no" ; then
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11461 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11462 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11463 $as_echo_n "(cached) " >&6
11465 ac_check_lib_save_LIBS
=$LIBS
11467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11485 if ac_fn_c_try_link
"$LINENO"; then :
11486 ac_cv_lib_dl_dlopen
=yes
11488 ac_cv_lib_dl_dlopen
=no
11490 rm -f core conftest.err conftest.
$ac_objext \
11491 conftest
$ac_exeext conftest.
$ac_ext
11492 LIBS
=$ac_check_lib_save_LIBS
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11495 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11496 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11498 aros_host_ldflags
="$aros_host_ldflags -ldl"
11504 if test "x-$have_dl" = "x-no" ; then
11505 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
11510 # Check whether --enable-x11_hidd was given.
11511 if test "${enable_x11_hidd+set}" = set; then :
11512 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11514 x11_hidd
="$need_x11"
11517 case "x-$x11_hidd" in
11518 x-yes|x-no|x-auto
) ;;
11519 *) x11_hidd
="$need_x11" ;;
11524 if test "x-$x11_hidd" != "x-no" ; then
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11527 $as_echo_n "checking for X... " >&6; }
11530 # Check whether --with-x was given.
11531 if test "${with_x+set}" = set; then :
11535 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11536 if test "x$with_x" = xno
; then
11537 # The user explicitly disabled X.
11540 case $x_includes,$x_libraries in #(
11541 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
11542 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
11543 $as_echo_n "(cached) " >&6
11545 # One or both of the vars are not set, and there is no cached value.
11546 ac_x_includes
=no ac_x_libraries
=no
11547 rm -f -r conftest.dir
11548 if mkdir conftest.dir
; then
11550 cat >Imakefile
<<'_ACEOF'
11552 @echo incroot='${INCROOT}'
11554 @echo usrlibdir='${USRLIBDIR}'
11556 @echo libdir='${LIBDIR}'
11558 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11559 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11560 for ac_var
in incroot usrlibdir libdir
; do
11561 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11563 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11564 for ac_extension
in a so sl dylib la dll
; do
11565 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11566 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11567 ac_im_usrlibdir
=$ac_im_libdir; break
11570 # Screen out bogus values from the imake configuration. They are
11571 # bogus both because they are the default anyway, and because
11572 # using them would break gcc on systems where it needs fixed includes.
11573 case $ac_im_incroot in
11574 /usr
/include
) ac_x_includes
= ;;
11575 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11577 case $ac_im_usrlibdir in
11578 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
11579 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11583 rm -f -r conftest.dir
11586 # Standard set of common directories for X headers.
11587 # Check X11 before X11Rn because it is often a symlink to the current release.
11601 /usr/local/X11/include
11602 /usr/local/X11R7/include
11603 /usr/local/X11R6/include
11604 /usr/local/X11R5/include
11605 /usr/local/X11R4/include
11607 /usr/local/include/X11
11608 /usr/local/include/X11R7
11609 /usr/local/include/X11R6
11610 /usr/local/include/X11R5
11611 /usr/local/include/X11R4
11615 /usr/XFree86/include/X11
11619 /usr/unsupported/include
11620 /usr/athena/include
11621 /usr/local/x11r5/include
11622 /usr/lpp/Xamples/include
11624 /usr/openwin/include
11625 /usr/openwin/share/include'
11627 if test "$ac_x_includes" = no
; then
11628 # Guess where to find include files, by looking for Xlib.h.
11629 # First, try using that file with no special directory specified.
11630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11631 /* end confdefs.h. */
11632 #include <X11/Xlib.h>
11634 if ac_fn_c_try_cpp
"$LINENO"; then :
11635 # We can compile using X headers with no special include directory.
11638 for ac_dir
in $ac_x_header_dirs; do
11639 if test -r "$ac_dir/X11/Xlib.h"; then
11640 ac_x_includes
=$ac_dir
11645 rm -f conftest.err conftest.i conftest.
$ac_ext
11646 fi # $ac_x_includes = no
11648 if test "$ac_x_libraries" = no
; then
11649 # Check for the libraries.
11650 # See if we find them without any special options.
11651 # Don't add to $LIBS permanently.
11654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11655 /* end confdefs.h. */
11656 #include <X11/Xlib.h>
11665 if ac_fn_c_try_link
"$LINENO"; then :
11667 # We can link X programs with no special library path.
11671 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11673 # Don't even attempt the hair of trying to link an X program!
11674 for ac_extension
in a so sl dylib la dll
; do
11675 if test -r "$ac_dir/libX11.$ac_extension"; then
11676 ac_x_libraries
=$ac_dir
11682 rm -f core conftest.err conftest.
$ac_objext \
11683 conftest
$ac_exeext conftest.
$ac_ext
11684 fi # $ac_x_libraries = no
11686 case $ac_x_includes,$ac_x_libraries in #(
11687 no
,* |
*,no |
*\'*)
11688 # Didn't find X, or a directory has "'" in its name.
11689 ac_cv_have_x
="have_x=no";; #(
11691 # Record where we found X for the cache.
11692 ac_cv_have_x
="have_x=yes\
11693 ac_x_includes='$ac_x_includes'\
11694 ac_x_libraries='$ac_x_libraries'"
11700 eval "$ac_cv_have_x"
11703 if test "$have_x" != yes; then
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11705 $as_echo "$have_x" >&6; }
11708 # If each of the values was on the command line, it overrides each guess.
11709 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11710 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11711 # Update the cache value to reflect the command line values.
11712 ac_cv_have_x
="have_x=yes\
11713 ac_x_includes='$x_includes'\
11714 ac_x_libraries='$x_libraries'"
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11716 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11721 for path
in $x_libraries
11723 x_cflags
="$x_cflags -L$path"
11726 for path
in $x_includes
11728 x_cflags
="$x_cflags -I$path"
11731 if test "x-$no_x" = "x-yes" ; then
11733 if test "x-$x11_hidd" != "x-auto" ; then
11734 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
11738 x11_hidd_target
=kernel-x11gfx-kobj
11741 # Check whether --enable-x11_shm was given.
11742 if test "${enable_x11_shm+set}" = set; then :
11743 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11745 x11_hidd_shm
="auto"
11748 case "x-$x11_hidd_shm" in
11749 x-yes|x-no|x-auto
) ;;
11750 *) x11_hidd_shm
="auto" ;;
11755 if test "x-$x11_hidd_shm" != "x-no" ; then
11757 for ac_header
in sys
/ipc.h
11759 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
11760 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
11761 cat >>confdefs.h
<<_ACEOF
11762 #define HAVE_SYS_IPC_H 1
11769 for ac_header
in sys
/shm.h
11771 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
11772 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
11773 cat >>confdefs.h
<<_ACEOF
11774 #define HAVE_SYS_SHM_H 1
11782 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11784 save_cflags
="$CFLAGS"
11785 CFLAGS
="$CFLAGS $x_cflags"
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11787 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11788 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
11789 $as_echo_n "(cached) " >&6
11791 ac_check_lib_save_LIBS
=$LIBS
11792 LIBS
="-lXext $LIBS"
11793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11802 char XShmQueryExtension ();
11806 return XShmQueryExtension ();
11811 if ac_fn_c_try_link
"$LINENO"; then :
11812 ac_cv_lib_Xext_XShmQueryExtension
=yes
11814 ac_cv_lib_Xext_XShmQueryExtension
=no
11816 rm -f core conftest.err conftest.
$ac_objext \
11817 conftest
$ac_exeext conftest.
$ac_ext
11818 LIBS
=$ac_check_lib_save_LIBS
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11821 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11822 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
11826 CFLAGS
="$save_cflags"
11830 if test "x-$have_xshm" = "x-yes" ; then
11831 DO_XSHM_SUPPORT
="1"
11832 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11833 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
11835 DO_XSHM_SUPPORT
="0"
11839 # Check whether --enable-x11_vidmode was given.
11840 if test "${enable_x11_vidmode+set}" = set; then :
11841 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11843 x11_hidd_vidmode
="auto"
11846 case "x-$x11_hidd_vidmode" in
11847 x-yes|x-no|x-auto
) ;;
11848 *) x11_hidd_vidmode
="auto" ;;
11853 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11855 save_cflags
="$CFLAGS"
11856 CFLAGS
="$CFLAGS $x_cflags"
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11858 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11859 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
11860 $as_echo_n "(cached) " >&6
11862 ac_check_lib_save_LIBS
=$LIBS
11863 LIBS
="-lXxf86vm $LIBS"
11864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11867 /* Override any GCC internal prototype to avoid an error.
11868 Use char because int might match the return type of a GCC
11869 builtin and then its argument prototype would still apply. */
11873 char XF86VidModeQueryExtension ();
11877 return XF86VidModeQueryExtension ();
11882 if ac_fn_c_try_link
"$LINENO"; then :
11883 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11885 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11887 rm -f core conftest.err conftest.
$ac_objext \
11888 conftest
$ac_exeext conftest.
$ac_ext
11889 LIBS
=$ac_check_lib_save_LIBS
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11892 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11893 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
11897 CFLAGS
="$save_cflags"
11900 if test "x-$have_vidmode" = "x-yes" ; then
11901 DO_VIDMODE_SUPPORT
="1"
11902 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11903 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
11905 DO_VIDMODE_SUPPORT
="0"
11909 aros_host_x11_includes
=$x_includes
11910 aros_host_x11_libdirs
=$x_libraries
11914 # Check whether --enable-sdl_hidd was given.
11915 if test "${enable_sdl_hidd+set}" = set; then :
11916 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11921 case "x-$sdl_hidd" in
11922 x-yes|x-no|x-auto
) ;;
11923 *) sdl_hidd
="auto" ;;
11926 if test "x-$sdl_hidd" != "x-no" ; then
11929 # Check whether --with-sdl-prefix was given.
11930 if test "${with_sdl_prefix+set}" = set; then :
11931 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11937 # Check whether --with-sdl-exec-prefix was given.
11938 if test "${with_sdl_exec_prefix+set}" = set; then :
11939 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11944 # Check whether --enable-sdltest was given.
11945 if test "${enable_sdltest+set}" = set; then :
11946 enableval
=$enable_sdltest;
11952 if test x
$sdl_exec_prefix != x
; then
11953 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11954 if test x
${SDL_CONFIG+set} != xset
; then
11955 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11958 if test x
$sdl_prefix != x
; then
11959 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11960 if test x
${SDL_CONFIG+set} != xset
; then
11961 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11965 if test "x$prefix" != xNONE
; then
11966 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11968 # Extract the first word of "sdl-config", so it can be a program name with args.
11969 set dummy sdl-config
; ac_word
=$2
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11971 $as_echo_n "checking for $ac_word... " >&6; }
11972 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
11973 $as_echo_n "(cached) " >&6
11975 case $SDL_CONFIG in
11977 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11981 for as_dir
in $PATH
11984 test -z "$as_dir" && as_dir
=.
11985 for ac_exec_ext
in '' $ac_executable_extensions; do
11986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11987 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11995 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
11999 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12000 if test -n "$SDL_CONFIG"; then
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
12002 $as_echo "$SDL_CONFIG" >&6; }
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12005 $as_echo "no" >&6; }
12009 min_sdl_version
=1.2.10
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
12011 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
12013 if test "$SDL_CONFIG" = "no" ; then
12016 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12017 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12019 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12020 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12021 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12022 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12023 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12024 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12025 if test "x$enable_sdltest" = "xyes" ; then
12026 ac_save_CFLAGS
="$CFLAGS"
12027 ac_save_CXXFLAGS
="$CXXFLAGS"
12028 ac_save_LIBS
="$LIBS"
12029 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12030 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12031 LIBS
="$LIBS $SDL_LIBS"
12033 if test "$cross_compiling" = yes; then :
12034 echo $ac_n "cross compiling; assumed OK... $ac_c"
12036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12040 #include <stdlib.h>
12041 #include <string.h>
12045 my_strdup (char *str)
12051 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12052 strcpy (new_str, str);
12060 int main (int argc, char *argv[])
12062 int major, minor, micro;
12065 /* This hangs on some systems (?)
12066 system ("touch conf.sdltest");
12068 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12070 /* HP/UX 9 (%@#!) writes to sscanf strings */
12071 tmp_version = my_strdup("$min_sdl_version");
12072 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12073 printf("%s, bad version string\n", "$min_sdl_version");
12077 if (($sdl_major_version > major) ||
12078 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12079 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12085 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12086 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12087 printf("*** best to upgrade to the required version.\n");
12088 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12089 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12090 printf("*** config.cache before re-running configure\n");
12097 if ac_fn_c_try_run
"$LINENO"; then :
12102 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12103 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12106 CFLAGS
="$ac_save_CFLAGS"
12107 CXXFLAGS
="$ac_save_CXXFLAGS"
12108 LIBS
="$ac_save_LIBS"
12111 if test "x$no_sdl" = x
; then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12113 $as_echo "yes" >&6; }
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12117 $as_echo "no" >&6; }
12118 if test "$SDL_CONFIG" = "no" ; then
12119 echo "*** The sdl-config script installed by SDL could not be found"
12120 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12121 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12122 echo "*** full path to sdl-config."
12124 if test -f conf.sdltest
; then
12127 echo "*** Could not run SDL test program, checking why..."
12128 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12129 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12130 LIBS
="$LIBS $SDL_LIBS"
12131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12137 int main(int argc, char *argv[])
12140 #define main K_and_R_C_main
12150 if ac_fn_c_try_link
"$LINENO"; then :
12151 echo "*** The test program compiled, but did not run. This usually means"
12152 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12153 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12154 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12155 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12156 echo "*** is required on your system"
12158 echo "*** If you have an old version installed, it is best to remove it, although"
12159 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12161 echo "*** The test program failed to compile or link. See the file config.log for the"
12162 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12163 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12164 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12166 rm -f core conftest.err conftest.
$ac_objext \
12167 conftest
$ac_exeext conftest.
$ac_ext
12168 CFLAGS
="$ac_save_CFLAGS"
12169 CXXFLAGS
="$ac_save_CXXFLAGS"
12170 LIBS
="$ac_save_LIBS"
12182 if test "x-$have_sdl" != "x-yes" ; then
12184 if test "x-$sdl_hidd" != "x-auto" ; then
12185 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
12189 sdl_hidd_target
=kernel-hidd-sdl
12190 aros_host_sdl_cflags
=SDL_CFLAGS
12191 aros_host_sdl_libs
=SDL_LIBS
12195 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12196 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12201 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
12202 oss_library_target
=workbench-libs-oss-unix
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
12208 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12209 # Check whether --enable-dbus was given.
12210 if test "${enable_dbus+set}" = set; then :
12211 enableval
=$enable_dbus; dbus
="yes"
12216 if test "$dbus" = "yes" ; then
12218 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12219 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12220 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12221 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
12226 $as_echo "$dbus" >&6; }
12228 if test "$use_kernel_cc_wrapper" = "yes" ; then
12229 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
12244 # Compatability with other Amiga-like operation systems
12330 # Delinting target compiler flags
12352 # Native version related
12355 # Palm native version related
12361 # Unix/Hosted version related
12367 # Apple iOS related
12392 # Collect-aros stuff: "-ius" to ignore undefined symbols
12395 # C compiler related
12398 case "$aros_flavour" in
12399 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12400 aros_flavour
="emulation" ;;
12401 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12402 aros_flavour
="emulation" ;;
12403 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12404 aros_flavour
="standalone";;
12405 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12406 aros_flavour
="standalone";;
12407 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12408 aros_flavour
="native" ;;
12409 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12410 aros_flavour
="native" ;;
12411 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12412 aros_flavour
="linklib" ;;
12413 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12414 aros_flavour
="palmnative" ;;
12415 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12416 aros_flavour
="mac68knative" ;;
12417 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12418 aros_flavour
="ppcnative" ;;
12421 if test ! -d ${aros_inc_dir} ; then
12422 ${MKDIR} ${aros_inc_dir}
12424 if test ! -d ${aros_geninc_dir} ; then
12425 ${MKDIR} ${aros_geninc_dir}
12427 if test ! -d ${aros_hostcfg_dir} ; then
12428 ${MKDIR} ${aros_hostcfg_dir}
12430 if test ! -d ${aros_targetcfg_dir} ; then
12431 ${MKDIR} ${aros_targetcfg_dir}
12433 if test ! -d ${aros_tools_dir} ; then
12434 ${MKDIR} ${aros_tools_dir}
12436 if test ! -d ${aros_scripts_dir} ; then
12437 ${MKDIR} ${aros_scripts_dir}
12440 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12443 ac_config_commands
="$ac_config_commands compiler_executable"
12445 ac_config_commands
="$ac_config_commands genmf_executable"
12448 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"
12451 cat >confcache
<<\_ACEOF
12452 # This file is a shell script that caches the results of configure
12453 # tests run on this system so they can be shared between configure
12454 # scripts and configure runs, see configure's option --config-cache.
12455 # It is not useful on other systems. If it contains results you don't
12456 # want to keep, you may remove or edit it.
12458 # config.status only pays attention to the cache file if you give it
12459 # the --recheck option to rerun configure.
12461 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12462 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12463 # following values.
12467 # The following way of writing the cache mishandles newlines in values,
12468 # but we know of no workaround that is simple, portable, and efficient.
12469 # So, we kill variables containing newlines.
12470 # Ultrix sh set writes to stderr and can't be redirected directly,
12471 # and sets the high bit in the cache file unless we assign to the vars.
12473 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12474 eval ac_val
=\$
$ac_var
12478 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12479 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12482 _ | IFS | as_nl
) ;; #(
12483 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12484 *) { eval $ac_var=; unset $ac_var;} ;;
12490 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12491 *${as_nl}ac_space
=\
*)
12492 # `set' does not quote correctly, so add quotes: double-quote
12493 # substitution turns \\\\ into \\, and sed turns \\ into \.
12496 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12499 # `set' quotes correctly as required by POSIX, so do not add quotes.
12500 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12509 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12511 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12513 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12514 if test -w "$cache_file"; then
12515 if test "x$cache_file" != "x/dev/null"; then
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12517 $as_echo "$as_me: updating cache $cache_file" >&6;}
12518 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12519 cat confcache
>"$cache_file"
12521 case $cache_file in #(
12523 mv -f confcache
"$cache_file"$$
&&
12524 mv -f "$cache_file"$$
"$cache_file" ;; #(
12526 mv -f confcache
"$cache_file" ;;
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12532 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12537 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12538 # Let make expand exec_prefix.
12539 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12541 DEFS
=-DHAVE_CONFIG_H
12546 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12547 # 1. Remove the extension, and $U if already installed.
12548 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12549 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12550 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12551 # will be set to the directory where LIBOBJS objects are built.
12552 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12553 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12555 LIBOBJS
=$ac_libobjs
12557 LTLIBOBJS
=$ac_ltlibobjs
12561 : "${CONFIG_STATUS=./config.status}"
12563 ac_clean_files_save
=$ac_clean_files
12564 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12566 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12568 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12570 # Generated by $as_me.
12571 # Run this file to recreate the current configuration.
12572 # Compiler output produced by configure, useful for debugging
12573 # configure, is in config.log if it exists.
12576 ac_cs_recheck=false
12579 SHELL=\${CONFIG_SHELL-$SHELL}
12582 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12583 ## -------------------- ##
12584 ## M4sh Initialization. ##
12585 ## -------------------- ##
12587 # Be more Bourne compatible
12588 DUALCASE
=1; export DUALCASE
# for MKS sh
12589 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12592 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12593 # is contrary to our usage. Disable this feature.
12594 alias -g '${1+"$@"}'='"$@"'
12595 setopt NO_GLOB_SUBST
12597 case `(set -o) 2>/dev/null` in #(
12609 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12610 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12611 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12612 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12613 # Prefer a ksh shell builtin over an external printf program on Solaris,
12614 # but without wasting forks for bash or zsh.
12615 if test -z "$BASH_VERSION$ZSH_VERSION" \
12616 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12617 as_echo='print
-r --'
12618 as_echo_n='print
-rn --'
12619 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12620 as_echo='printf %s
\n'
12621 as_echo_n='printf %s
'
12623 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12624 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12625 as_echo_n='/usr
/ucb
/echo -n'
12627 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12628 as_echo_n_body='eval
12632 expr "X$arg" : "X\\(.*\\)$as_nl";
12633 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12635 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12637 export as_echo_n_body
12638 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12640 export as_echo_body
12641 as_echo='sh
-c $as_echo_body as_echo
'
12644 # The user is always right.
12645 if test "${PATH_SEPARATOR+set}" != set; then
12647 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12648 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12655 # We need space, tab and new line, in precisely that order. Quoting is
12656 # there to prevent editors from complaining about space-tab.
12657 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12658 # splitting by setting IFS to empty value.)
12661 # Find who we are. Look in the path if we contain no directory separator.
12664 *[\\/]* ) as_myself=$0 ;;
12665 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12666 for as_dir in $PATH
12669 test -z "$as_dir" && as_dir=.
12670 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12676 # We did not find ourselves, most probably we were run as `sh COMMAND'
12677 # in which case we are not to be found in the path.
12678 if test "x$as_myself" = x
; then
12681 if test ! -f "$as_myself"; then
12682 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12686 # Unset variables that we do not need and which cause bugs (e.g. in
12687 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12688 # suppresses any "Segmentation fault" message there. '((' could
12689 # trigger a bug in pdksh 5.2.14.
12690 for as_var
in BASH_ENV ENV MAIL MAILPATH
12691 do eval test x\
${$as_var+set} = xset \
12692 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12705 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12708 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12709 # ----------------------------------------
12710 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12711 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12712 # script with STATUS, using 1 if that was 0.
12715 as_status
=$1; test $as_status -eq 0 && as_status
=1
12717 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12718 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12720 $as_echo "$as_me: error: $2" >&2
12721 as_fn_exit
$as_status
12725 # as_fn_set_status STATUS
12726 # -----------------------
12727 # Set $? to STATUS, without forking.
12728 as_fn_set_status
()
12731 } # as_fn_set_status
12733 # as_fn_exit STATUS
12734 # -----------------
12735 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12739 as_fn_set_status
$1
12745 # Portably unset VAR.
12748 { eval $1=; unset $1;}
12750 as_unset
=as_fn_unset
12751 # as_fn_append VAR VALUE
12752 # ----------------------
12753 # Append the text in VALUE to the end of the definition contained in VAR. Take
12754 # advantage of any shell optimizations that allow amortized linear growth over
12755 # repeated appends, instead of the typical quadratic growth present in naive
12757 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12758 eval 'as_fn_append ()
12769 # as_fn_arith ARG...
12770 # ------------------
12771 # Perform arithmetic evaluation on the ARGs, and store the result in the
12772 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12773 # must be portable across $(()) and expr.
12774 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12775 eval 'as_fn_arith ()
12782 as_val
=`expr "$@" || test $? -eq 1`
12787 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12788 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12794 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12795 as_basename
=basename
12800 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12806 as_me
=`$as_basename -- "$0" ||
12807 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12808 X"$0" : 'X\(//\)$' \| \
12809 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12811 sed '/^.*\/\([^/][^/]*\)\/*$/{
12825 # Avoid depending upon Character Ranges.
12826 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12827 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12828 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12829 as_cr_digits
='0123456789'
12830 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12832 ECHO_C
= ECHO_N
= ECHO_T
=
12833 case `echo -n x` in #(((((
12835 case `echo 'xy\c'` in
12836 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12838 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12845 rm -f conf$$ conf$$.exe conf$$.
file
12846 if test -d conf$$.dir
; then
12847 rm -f conf$$.dir
/conf$$.
file
12850 mkdir conf$$.dir
2>/dev
/null
12852 if (echo >conf$$.
file) 2>/dev
/null
; then
12853 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12855 # ... but there are two gotchas:
12856 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12857 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12858 # In both cases, we have to default to `cp -p'.
12859 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12861 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12869 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12870 rmdir conf$$.dir
2>/dev
/null
12875 # Create "$as_dir" as a directory, including parents if necessary.
12880 -*) as_dir
=.
/$as_dir;;
12882 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12886 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12887 *) as_qdir
=$as_dir;;
12889 as_dirs
="'$as_qdir' $as_dirs"
12890 as_dir
=`$as_dirname -- "$as_dir" ||
12891 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12892 X"$as_dir" : 'X\(//\)[^/]' \| \
12893 X"$as_dir" : 'X\(//\)$' \| \
12894 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12895 $as_echo X"$as_dir" |
12896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12900 /^X\(\/\/\)[^/].*/{
12913 test -d "$as_dir" && break
12915 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12916 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12920 if mkdir
-p .
2>/dev
/null
; then
12921 as_mkdir_p
='mkdir -p "$as_dir"'
12923 test -d .
/-p && rmdir .
/-p
12927 if test -x / >/dev
/null
2>&1; then
12928 as_test_x
='test -x'
12930 if ls -dL / >/dev
/null
2>&1; then
12937 if test -d "$1"; then
12943 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12944 ???[sx]*):;;*)false;;esac;fi
12948 as_executable_p
=$as_test_x
12950 # Sed expression to map a string onto a valid CPP name.
12951 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12953 # Sed expression to map a string onto a valid variable name.
12954 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12958 ## ----------------------------------- ##
12959 ## Main body of $CONFIG_STATUS script. ##
12960 ## ----------------------------------- ##
12962 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12965 # Save the log message, to keep $0 and so on meaningful, and to
12966 # report actual input values of CONFIG_FILES etc. instead of their
12967 # values after options handling.
12969 This file was extended by $as_me, which was
12970 generated by GNU Autoconf 2.68. Invocation command line was
12972 CONFIG_FILES = $CONFIG_FILES
12973 CONFIG_HEADERS = $CONFIG_HEADERS
12974 CONFIG_LINKS = $CONFIG_LINKS
12975 CONFIG_COMMANDS = $CONFIG_COMMANDS
12978 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12983 case $ac_config_files in *"
12984 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12987 case $ac_config_headers in *"
12988 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12993 # Files that config.status was made for.
12994 config_files="$ac_config_files"
12995 config_headers="$ac_config_headers"
12996 config_commands="$ac_config_commands"
13000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13002 \`$as_me' instantiates files and other configuration actions
13003 from templates according to the current configuration. Unless the files
13004 and actions are specified as TAGs, all are instantiated by default.
13006 Usage: $0 [OPTION]... [TAG]...
13008 -h, --help print this help, then exit
13009 -V, --version print version number and configuration settings, then exit
13010 --config print configuration, then exit
13011 -q, --quiet, --silent
13012 do not print progress messages
13013 -d, --debug don't remove temporary files
13014 --recheck update $as_me by reconfiguring in the same conditions
13015 --file=FILE[:TEMPLATE]
13016 instantiate the configuration file FILE
13017 --header=FILE[:TEMPLATE]
13018 instantiate the configuration header FILE
13020 Configuration files:
13023 Configuration headers:
13026 Configuration commands:
13029 Report bugs to the package provider."
13032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13033 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13036 configured by $0, generated by GNU Autoconf 2.68,
13037 with options \\"\$ac_cs_config\\"
13039 Copyright (C) 2010 Free Software Foundation, Inc.
13040 This config.status script is free software; the Free Software Foundation
13041 gives unlimited permission to copy, distribute and modify it."
13045 test -n "\$AWK" || AWK=awk
13048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13049 # The default lists apply if the user does not specify any file.
13055 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13056 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13060 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13072 # Handling of the options.
13073 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13075 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13076 $as_echo "$ac_cs_version"; exit ;;
13077 --config |
--confi |
--conf |
--con |
--co |
--c )
13078 $as_echo "$ac_cs_config"; exit ;;
13079 --debug |
--debu |
--deb |
--de |
--d |
-d )
13081 --file |
--fil |
--fi |
--f )
13084 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13085 '') as_fn_error $?
"missing file argument" ;;
13087 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13088 ac_need_defaults
=false
;;
13089 --header |
--heade |
--head |
--hea )
13092 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13094 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13095 ac_need_defaults
=false
;;
13097 # Conflict between --help and --header
13098 as_fn_error $?
"ambiguous option: \`$1'
13099 Try \`$0 --help' for more information.";;
13100 --help |
--hel |
-h )
13101 $as_echo "$ac_cs_usage"; exit ;;
13102 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13103 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13106 # This is an error.
13107 -*) as_fn_error $?
"unrecognized option: \`$1'
13108 Try \`$0 --help' for more information." ;;
13110 *) as_fn_append ac_config_targets
" $1"
13111 ac_need_defaults
=false
;;
13117 ac_configure_extra_args
=
13119 if $ac_cs_silent; then
13121 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13126 if \$ac_cs_recheck; then
13127 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13129 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13130 CONFIG_SHELL='$SHELL'
13131 export CONFIG_SHELL
13136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13140 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13141 ## Running $as_me. ##
13147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13152 aros_host_exe_suffix=${aros_host_exe_suffix}
13153 aros_tools_dir=${aros_tools_dir}
13154 aros_target_cpu=${aros_target_cpu}
13155 aros_target_arch=${aros_target_arch}
13156 aros_target_suffix=${aros_target_suffix}
13157 aros_target_nm_ln=${aros_target_nm_ln}
13158 aros_target_as_ln=${aros_target_as_ln}
13159 aros_target_ar_ln=${aros_target_ar_ln}
13160 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13161 aros_target_objdump_ln=${aros_target_objdump_ln}
13162 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13163 aros_target_strip_ln=${aros_target_strip_ln}
13164 aros_kernel_ld=${aros_kernel_ld}
13167 aros_tools_dir=${aros_tools_dir}
13172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13174 # Handling of arguments.
13175 for ac_config_target
in $ac_config_targets
13177 case $ac_config_target in
13178 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13179 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13180 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13181 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13182 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13183 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13184 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13185 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13186 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13187 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13188 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13189 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13190 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
13191 "${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" ;;
13192 "${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" ;;
13193 "${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" ;;
13194 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13195 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13196 "${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" ;;
13198 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13203 # If the user did not use the arguments to specify the items to instantiate,
13204 # then the envvar interface is used. Set only those that are not.
13205 # We use the long form for the default assignment because of an extremely
13206 # bizarre bug on SunOS 4.1.3.
13207 if $ac_need_defaults; then
13208 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13209 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13210 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13213 # Have a temporary directory for convenience. Make it in the build tree
13214 # simply because there is no reason against having it here, and in addition,
13215 # creating and moving files from /tmp can sometimes cause problems.
13216 # Hook for its removal unless debugging.
13217 # Note that there is a small window in which the directory will not be cleaned:
13218 # after its creation but before its name has been assigned to `$tmp'.
13222 trap 'exit_status=$?
13223 : "${ac_tmp:=$tmp}"
13224 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13226 trap 'as_fn_exit 1' 1 2 13 15
13228 # Create a (secure) tmp directory for tmp files.
13231 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13235 tmp
=.
/conf$$
-$RANDOM
13236 (umask 077 && mkdir
"$tmp")
13237 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13240 # Set up the scripts for CONFIG_FILES section.
13241 # No need to generate them if there are no CONFIG_FILES.
13242 # This happens for instance with `./config.status config.h'.
13243 if test -n "$CONFIG_FILES"; then
13246 ac_cr
=`echo X | tr X '\015'`
13247 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13248 # But we know of no other shell where ac_cr would be empty at this
13249 # point, so we can use a bashism as a fallback.
13250 if test "x$ac_cr" = x
; then
13251 eval ac_cr
=\$
\'\\r
\'
13253 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13254 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13257 ac_cs_awk_cr
=$ac_cr
13260 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13265 echo "cat >conf$$subs.awk <<_ACEOF" &&
13266 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13268 } >conf$$subs.sh ||
13269 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13270 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13272 for ac_last_try in false false false false false :; do
13273 . ./conf$$subs.sh ||
13274 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13276 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13277 if test $ac_delim_n = $ac_delim_num; then
13279 elif $ac_last_try; then
13280 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13282 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13285 rm -f conf$$subs.sh
13287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13288 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13292 s/^/S["/; s
/!.
*/"]=/
13302 s/\(.\{148\}\)..*/\1/
13304 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13309 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13316 s/\(.\{148\}\)..*/\1/
13318 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13322 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13327 ' <conf$$subs.awk | sed '
13332 ' >>$CONFIG_STATUS || ac_write_fail=1
13333 rm -f conf$$subs.awk
13334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13336 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13337 for (key in S) S_is_set[key] = 1
13343 nfields = split(line, field, "@
")
13345 len = length(field[1])
13346 for (i = 2; i < nfields; i++) {
13348 keylen = length(key)
13349 if (S_is_set[key]) {
13351 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13352 len += length(value) + length(field[++i])
13363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13364 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13365 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13368 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13369 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13372 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13373 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13374 # trailing colons and then remove the whole line if VPATH becomes empty
13375 # (actually we leave an empty line to preserve line numbers).
13376 if test "x
$srcdir" = x.; then
13377 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13396 fi # test -n "$CONFIG_FILES"
13398 # Set up the scripts for CONFIG_HEADERS section.
13399 # No need to generate them if there are no CONFIG_HEADERS.
13400 # This happens for instance with `./config.status Makefile'.
13401 if test -n "$CONFIG_HEADERS"; then
13402 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13406 # Transform confdefs.h into an awk script `defines.awk', embedded as
13407 # here-document in config.status, that substitutes the proper values into
13408 # config.h.in to produce config.h.
13410 # Create a delimiter string that does not exist in confdefs.h, to ease
13411 # handling of long lines.
13413 for ac_last_try in false false :; do
13414 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13415 if test -z "$ac_tt"; then
13417 elif $ac_last_try; then
13418 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13420 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13424 # For the awk script, D is an array of macro values keyed by name,
13425 # likewise P contains macro parameters if any. Preserve backslash
13426 # newline sequences.
13428 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13430 s/.\{148\}/&'"$ac_delim"'/g
13433 s/^[ ]*#[ ]*define[ ][ ]*/ /
13440 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13442 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13446 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13447 D["\
1"]=" \
3\\\\\\n
"\\/p
13449 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13454 s/.\{148\}/&'"$ac_delim"'/g
13459 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13462 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13464 ' <confdefs.h | sed '
13465 s/'"$ac_delim"'/"\\\
13466 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13469 for (key in D) D_is_set[key] = 1
13472 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13474 split(line, arg, " ")
13475 if (arg[1] == "#") {
13479 defundef
= substr
(arg
[1], 2)
13482 split(mac1
, mac2
, "(") #)
13484 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13485 if (D_is_set
[macro
]) {
13486 # Preserve the white space surrounding the "#".
13487 print prefix
"define", macro P
[macro
] D
[macro
]
13490 # Replace #undef with comments. This is necessary, for example,
13491 # in the case of _POSIX_SOURCE, which is predefined and required
13492 # on some systems where configure will not decide to define it.
13493 if (defundef
== "undef") {
13494 print
"/*", prefix defundef
, macro
, "*/"
13502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13503 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13504 fi # test -n "$CONFIG_HEADERS"
13507 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13512 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13514 case $ac_mode$ac_tag in
13516 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13517 :[FH
]-) ac_tag
=-:-;;
13518 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13535 -) ac_f
="$ac_tmp/stdin";;
13536 *) # Look for the file first in the build tree, then in the source tree
13537 # (if the path is not absolute). The absolute path cannot be DOS-style,
13538 # because $ac_f cannot contain `:'.
13542 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13544 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13546 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13547 as_fn_append ac_file_inputs
" '$ac_f'"
13550 # Let's still pretend it is `configure' which instantiates (i.e., don't
13551 # use $as_me), people would be surprised to read:
13552 # /* config.h. Generated by config.status. */
13553 configure_input
='Generated from '`
13554 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13556 if test x
"$ac_file" != x-
; then
13557 configure_input
="$ac_file. $configure_input"
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13559 $as_echo "$as_me: creating $ac_file" >&6;}
13561 # Neutralize special characters interpreted by sed in replacement strings.
13562 case $configure_input in #(
13563 *\
&* |
*\|
* |
*\\* )
13564 ac_sed_conf_input
=`$as_echo "$configure_input" |
13565 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13566 *) ac_sed_conf_input
=$configure_input;;
13570 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13571 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13576 ac_dir
=`$as_dirname -- "$ac_file" ||
13577 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13578 X"$ac_file" : 'X\(//\)[^/]' \| \
13579 X"$ac_file" : 'X\(//\)$' \| \
13580 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13581 $as_echo X"$ac_file" |
13582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13586 /^X\(\/\/\)[^/].*/{
13599 as_dir
="$ac_dir"; as_fn_mkdir_p
13603 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13605 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13606 # A ".." for each directory in $ac_dir_suffix.
13607 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13608 case $ac_top_builddir_sub in
13609 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13610 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13613 ac_abs_top_builddir
=$ac_pwd
13614 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13615 # for backward compatibility:
13616 ac_top_builddir
=$ac_top_build_prefix
13619 .
) # We are building in place.
13621 ac_top_srcdir
=$ac_top_builddir_sub
13622 ac_abs_top_srcdir
=$ac_pwd ;;
13623 [\\/]* | ?
:[\\/]* ) # Absolute name.
13624 ac_srcdir
=$srcdir$ac_dir_suffix;
13625 ac_top_srcdir
=$srcdir
13626 ac_abs_top_srcdir
=$srcdir ;;
13627 *) # Relative name.
13628 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13629 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13630 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13632 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13644 # If the template does not know about datarootdir, expand it.
13645 # FIXME: This hack should be removed a few years after 2.60.
13646 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13657 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13658 *datarootdir
*) ac_datarootdir_seen
=yes;;
13659 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13661 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13664 ac_datarootdir_hack='
13665 s&@datadir@&$datadir&g
13666 s&@docdir@&$docdir&g
13667 s&@infodir@&$infodir&g
13668 s&@localedir@&$localedir&g
13669 s&@mandir@&$mandir&g
13670 s&\\\${datarootdir}&$datarootdir&g' ;;
13674 # Neutralize VPATH when `$srcdir' = `.'.
13675 # Shell code in configure.ac might set extrasub.
13676 # FIXME: do we really want to maintain this feature?
13677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13678 ac_sed_extra="$ac_vpsub
13681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13683 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13684 s|@configure_input@|
$ac_sed_conf_input|
;t t
13685 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13686 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13687 s
&@srcdir@
&$ac_srcdir&;t t
13688 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13689 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13690 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13691 s
&@builddir@
&$ac_builddir&;t t
13692 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13693 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13694 $ac_datarootdir_hack
13696 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13697 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13699 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13700 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13701 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13702 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13704 which seems to be undefined. Please make sure it is defined" >&5
13705 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13706 which seems to be undefined. Please make sure it is defined" >&2;}
13708 rm -f "$ac_tmp/stdin"
13710 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13711 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13719 if test x"$ac_file" != x-; then
13721 $as_echo "/* $configure_input */" \
13722 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13723 } >"$ac_tmp/config.h" \
13724 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13725 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13727 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13730 mv "$ac_tmp/config.h" "$ac_file" \
13731 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13734 $as_echo "/* $configure_input */" \
13735 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13736 || as_fn_error $? "could not create -" "$LINENO" 5
13740 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13741 $as_echo "$as_me: executing $ac_file commands" >&6;}
13746 case $ac_file$ac_mode in
13747 "compiler_executable":C)
13748 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13750 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13751 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
13755 chmod a+x ${prefix2}-gcc ${prefix2}-ld ${prefix3}-gcc
13757 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
13758 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
13759 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
13760 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
13761 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
13762 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
13763 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
13765 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
13767 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
13775 ac_clean_files=$ac_clean_files_save
13777 test $ac_write_fail = 0 ||
13778 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13781 # configure is writing to config.log, and then calls config.status.
13782 # config.status does its own redirection, appending to config.log.
13783 # Unfortunately, on DOS this fails, as config.log is still kept open
13784 # by configure, so config.status won't be able to
write to it
; its
13785 # output is simply discarded. So we exec the FD to /dev/null,
13786 # effectively closing config.log, so it can be properly (re)opened and
13787 # appended to by config.status. When coming back to configure, we
13788 # need to make the FD available again.
13789 if test "$no_create" != yes; then
13791 ac_config_status_args
=
13792 test "$silent" = yes &&
13793 ac_config_status_args
="$ac_config_status_args --quiet"
13795 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13797 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13798 # would make configure fail if this is the last instruction.
13799 $ac_cs_success || as_fn_exit
1
13801 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13803 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13808 #XXX compatability...
13809 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13811 if test -n "$aros_shared_cflags" ; then
13812 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13813 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg