2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="mmakefile"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
723 aros_target_objcopy_ln
724 aros_target_objdump_ln
725 aros_target_ranlib_ln
730 aros_target_nostdinc_cflags
731 aros_target_nostartup_ldflags
732 aros_target_nix_ldflags
733 aros_target_detach_ldflags
734 aros_target_nostdlib_ldflags
736 host_cflags_iquote_end
738 kernel_cflags_iquote_end
740 aros_cflags_iquote_end
754 aros_amigaos_compliance
771 aros_target_bootloader
786 aros_target_cc_includes
805 aros_kernel_objcflags
812 aros_target_strip_flags
814 crosstools_cxx_target
820 aros_default_wbheight
824 aros_host_x11_includes
825 aros_host_x11_libdirs
831 aros_nesting_supervisor
847 ignore_undefined_symbols
851 ac_precious_vars
='build_alias
863 # Initialize some variables set by options.
865 ac_init_version
=false
866 # The variables have the same names as the options, with
867 # dashes changed to underlines.
875 program_transform_name
=s
,x
,x
,
883 # Installation directory options.
884 # These are left unexpanded so users can "make install exec_prefix=/foo"
885 # and all the variables that are supposed to be based on exec_prefix
886 # by default will actually change.
887 # Use braces instead of parens because sh, perl, etc. also accept them.
888 # (The list follows the same order as the GNU Coding Standards.)
889 bindir
='${exec_prefix}/bin'
890 sbindir
='${exec_prefix}/sbin'
891 libexecdir
='${exec_prefix}/libexec'
892 datarootdir
='${prefix}/share'
893 datadir
='${datarootdir}'
894 sysconfdir
='${prefix}/etc'
895 sharedstatedir
='${prefix}/com'
896 localstatedir
='${prefix}/var'
897 includedir
='${prefix}/include'
898 oldincludedir
='/usr/include'
899 docdir
='${datarootdir}/doc/${PACKAGE}'
900 infodir
='${datarootdir}/info'
905 libdir
='${exec_prefix}/lib'
906 localedir
='${datarootdir}/locale'
907 mandir
='${datarootdir}/man'
913 # If the previous option needs an argument, assign it.
914 if test -n "$ac_prev"; then
915 eval $ac_prev=\
$ac_option
921 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
925 # Accept the important Cygnus configure options, so we can diagnose typos.
927 case $ac_dashdash$ac_option in
931 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
933 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
936 -build |
--build |
--buil |
--bui |
--bu)
937 ac_prev
=build_alias
;;
938 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
939 build_alias
=$ac_optarg ;;
941 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
942 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
943 ac_prev
=cache_file
;;
944 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
945 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
946 cache_file
=$ac_optarg ;;
949 cache_file
=config.cache
;;
951 -datadir |
--datadir |
--datadi |
--datad)
953 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
954 datadir
=$ac_optarg ;;
956 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
957 |
--dataroo |
--dataro |
--datar)
958 ac_prev
=datarootdir
;;
959 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
960 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
961 datarootdir
=$ac_optarg ;;
963 -disable-* |
--disable-*)
964 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
967 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
968 { (exit 1); exit 1; }; }
969 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
970 eval enable_
$ac_feature=no
;;
972 -docdir |
--docdir |
--docdi |
--doc |
--do)
974 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
977 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
979 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
982 -enable-* |
--enable-*)
983 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
986 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
987 { (exit 1); exit 1; }; }
988 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
989 eval enable_
$ac_feature=\
$ac_optarg ;;
991 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
992 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
993 |
--exec |
--exe |
--ex)
994 ac_prev
=exec_prefix
;;
995 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
996 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
997 |
--exec=* |
--exe=* |
--ex=*)
998 exec_prefix
=$ac_optarg ;;
1000 -gas |
--gas |
--ga |
--g)
1001 # Obsolete; use --with-gas.
1004 -help |
--help |
--hel |
--he |
-h)
1005 ac_init_help
=long
;;
1006 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1007 ac_init_help
=recursive
;;
1008 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1009 ac_init_help
=short
;;
1011 -host |
--host |
--hos |
--ho)
1012 ac_prev
=host_alias
;;
1013 -host=* |
--host=* |
--hos=* |
--ho=*)
1014 host_alias
=$ac_optarg ;;
1016 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1018 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1020 htmldir
=$ac_optarg ;;
1022 -includedir |
--includedir |
--includedi |
--included |
--include \
1023 |
--includ |
--inclu |
--incl |
--inc)
1024 ac_prev
=includedir
;;
1025 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1026 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1027 includedir
=$ac_optarg ;;
1029 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1031 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1032 infodir
=$ac_optarg ;;
1034 -libdir |
--libdir |
--libdi |
--libd)
1036 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1037 libdir
=$ac_optarg ;;
1039 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1040 |
--libexe |
--libex |
--libe)
1041 ac_prev
=libexecdir
;;
1042 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1043 |
--libexe=* |
--libex=* |
--libe=*)
1044 libexecdir
=$ac_optarg ;;
1046 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1047 ac_prev
=localedir
;;
1048 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1049 localedir
=$ac_optarg ;;
1051 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1052 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1053 ac_prev
=localstatedir
;;
1054 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1055 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1056 localstatedir
=$ac_optarg ;;
1058 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1060 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1061 mandir
=$ac_optarg ;;
1063 -nfp |
--nfp |
--nf)
1064 # Obsolete; use --without-fp.
1067 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1068 |
--no-cr |
--no-c |
-n)
1071 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1072 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1075 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1076 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1077 |
--oldin |
--oldi |
--old |
--ol |
--o)
1078 ac_prev
=oldincludedir
;;
1079 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1080 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1081 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1082 oldincludedir
=$ac_optarg ;;
1084 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1086 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1087 prefix
=$ac_optarg ;;
1089 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1090 |
--program-pre |
--program-pr |
--program-p)
1091 ac_prev
=program_prefix
;;
1092 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1093 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1094 program_prefix
=$ac_optarg ;;
1096 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1097 |
--program-suf |
--program-su |
--program-s)
1098 ac_prev
=program_suffix
;;
1099 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1100 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1101 program_suffix
=$ac_optarg ;;
1103 -program-transform-name |
--program-transform-name \
1104 |
--program-transform-nam |
--program-transform-na \
1105 |
--program-transform-n |
--program-transform- \
1106 |
--program-transform |
--program-transfor \
1107 |
--program-transfo |
--program-transf \
1108 |
--program-trans |
--program-tran \
1109 |
--progr-tra |
--program-tr |
--program-t)
1110 ac_prev
=program_transform_name
;;
1111 -program-transform-name=* |
--program-transform-name=* \
1112 |
--program-transform-nam=* |
--program-transform-na=* \
1113 |
--program-transform-n=* |
--program-transform-=* \
1114 |
--program-transform=* |
--program-transfor=* \
1115 |
--program-transfo=* |
--program-transf=* \
1116 |
--program-trans=* |
--program-tran=* \
1117 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1118 program_transform_name
=$ac_optarg ;;
1120 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1122 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1123 pdfdir
=$ac_optarg ;;
1125 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1127 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1130 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1131 |
-silent |
--silent |
--silen |
--sile |
--sil)
1134 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1136 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1138 sbindir
=$ac_optarg ;;
1140 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1141 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1142 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1144 ac_prev
=sharedstatedir
;;
1145 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1146 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1147 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1149 sharedstatedir
=$ac_optarg ;;
1151 -site |
--site |
--sit)
1153 -site=* |
--site=* |
--sit=*)
1156 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1158 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1159 srcdir
=$ac_optarg ;;
1161 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1162 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1163 ac_prev
=sysconfdir
;;
1164 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1165 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1166 sysconfdir
=$ac_optarg ;;
1168 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1169 ac_prev
=target_alias
;;
1170 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1171 target_alias
=$ac_optarg ;;
1173 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1176 -version |
--version |
--versio |
--versi |
--vers |
-V)
1177 ac_init_version
=: ;;
1180 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1183 { echo "$as_me: error: invalid package name: $ac_package" >&2
1184 { (exit 1); exit 1; }; }
1185 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1186 eval with_
$ac_package=\
$ac_optarg ;;
1188 -without-* |
--without-*)
1189 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1192 { echo "$as_me: error: invalid package name: $ac_package" >&2
1193 { (exit 1); exit 1; }; }
1194 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1195 eval with_
$ac_package=no
;;
1198 # Obsolete; use --with-x.
1201 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1202 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1203 ac_prev
=x_includes
;;
1204 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1205 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1206 x_includes
=$ac_optarg ;;
1208 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1209 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1210 ac_prev
=x_libraries
;;
1211 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1212 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1213 x_libraries
=$ac_optarg ;;
1215 -*) { echo "$as_me: error: unrecognized option: $ac_option
1216 Try \`$0 --help' for more information." >&2
1217 { (exit 1); exit 1; }; }
1221 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1224 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1225 { (exit 1); exit 1; }; }
1226 eval $ac_envvar=\
$ac_optarg
1227 export $ac_envvar ;;
1230 # FIXME: should be removed in autoconf 3.0.
1231 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1233 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1240 if test -n "$ac_prev"; then
1241 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1242 { echo "$as_me: error: missing argument to $ac_option" >&2
1243 { (exit 1); exit 1; }; }
1246 # Be sure to have absolute directory names.
1247 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1248 datadir sysconfdir sharedstatedir localstatedir includedir \
1249 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1250 libdir localedir mandir
1252 eval ac_val
=\$
$ac_var
1254 [\\/$
]* | ?
:[\\/]* ) continue;;
1255 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1257 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1258 { (exit 1); exit 1; }; }
1261 # There might be people who depend on the old broken behavior: `$host'
1262 # used to hold the argument of --host etc.
1263 # FIXME: To remove some day.
1266 target
=$target_alias
1268 # FIXME: To remove some day.
1269 if test "x$host_alias" != x
; then
1270 if test "x$build_alias" = x
; then
1271 cross_compiling
=maybe
1272 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1273 If a cross compiler is detected then cross compile mode will be used." >&2
1274 elif test "x$build_alias" != "x$host_alias"; then
1280 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1282 test "$silent" = yes && exec 6>/dev
/null
1285 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1286 ac_ls_di
=`ls -di .` &&
1287 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1288 { echo "$as_me: error: Working directory cannot be determined" >&2
1289 { (exit 1); exit 1; }; }
1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291 { echo "$as_me: error: pwd does not report name of working directory" >&2
1292 { (exit 1); exit 1; }; }
1295 # Find the source files, if location was not specified.
1296 if test -z "$srcdir"; then
1297 ac_srcdir_defaulted
=yes
1298 # Try the directory containing this script, then the parent directory.
1299 ac_confdir
=`$as_dirname -- "$0" ||
1300 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1301 X"$0" : 'X\(//\)[^/]' \| \
1302 X"$0" : 'X\(//\)$' \| \
1303 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1323 if test ! -r "$srcdir/$ac_unique_file"; then
1327 ac_srcdir_defaulted
=no
1329 if test ! -r "$srcdir/$ac_unique_file"; then
1330 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1331 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1332 { (exit 1); exit 1; }; }
1334 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1336 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1337 { (exit 1); exit 1; }; }
1339 # When building in place, set srcdir=.
1340 if test "$ac_abs_confdir" = "$ac_pwd"; then
1343 # Remove unnecessary trailing slashes from srcdir.
1344 # Double slashes in file names in object file debugging info
1345 # mess up M-x gdb in Emacs.
1347 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1349 for ac_var
in $ac_precious_vars; do
1350 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1351 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1352 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1353 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1357 # Report the --help message.
1359 if test "$ac_init_help" = "long"; then
1360 # Omit some internal or obsolete options to make the list less imposing.
1361 # This message is too long to be a string in the A/UX 3.1 sh.
1363 \`configure' configures this package to adapt to many kinds of systems.
1365 Usage: $0 [OPTION]... [VAR=VALUE]...
1367 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1368 VAR=VALUE. See below for descriptions of some of the useful variables.
1370 Defaults for the options are specified in brackets.
1373 -h, --help display this help and exit
1374 --help=short display options specific to this package
1375 --help=recursive display the short help of all the included packages
1376 -V, --version display version information and exit
1377 -q, --quiet, --silent do not print \`checking...' messages
1378 --cache-file=FILE cache test results in FILE [disabled]
1379 -C, --config-cache alias for \`--cache-file=config.cache'
1380 -n, --no-create do not create output files
1381 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1383 Installation directories:
1384 --prefix=PREFIX install architecture-independent files in PREFIX
1385 [$ac_default_prefix]
1386 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1389 By default, \`make install' will install all the files in
1390 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1391 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1392 for instance \`--prefix=\$HOME'.
1394 For better control, use the options below.
1396 Fine tuning of the installation directories:
1397 --bindir=DIR user executables [EPREFIX/bin]
1398 --sbindir=DIR system admin executables [EPREFIX/sbin]
1399 --libexecdir=DIR program executables [EPREFIX/libexec]
1400 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1401 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1402 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1403 --libdir=DIR object code libraries [EPREFIX/lib]
1404 --includedir=DIR C header files [PREFIX/include]
1405 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1406 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1407 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1408 --infodir=DIR info documentation [DATAROOTDIR/info]
1409 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1410 --mandir=DIR man documentation [DATAROOTDIR/man]
1411 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1412 --htmldir=DIR html documentation [DOCDIR]
1413 --dvidir=DIR dvi documentation [DOCDIR]
1414 --pdfdir=DIR pdf documentation [DOCDIR]
1415 --psdir=DIR ps documentation [DOCDIR]
1421 --x-includes=DIR X include files are
in DIR
1422 --x-libraries=DIR X library files are
in DIR
1425 --build=BUILD configure
for building on BUILD
[guessed
]
1426 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1430 if test -n "$ac_init_help"; then
1435 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1436 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1437 --enable-build-type=TYPE
1438 Select the build
type. Available types are
:
1439 personal
, nightly
, snapshot
, milestone
, release. Do
1440 NOT use this option unless you know what you are
1441 doing
! (default
=personal
)
1442 --enable-debug=list Enable different types of debug. Commas or
1443 whitespaces can be used to separate the items
in the
1444 list. Available types of debug are
: all
, none
,
1445 messages
, stack
, mungwall
, modules
, symbols. If no
1446 list is provided
then "all" is assumed.
1448 --enable-crosstools Build cross-compiler toolchains
if necessary
1450 --enable-distcc Use distcc as a front end to the compiler
1452 --enable-ccache Use ccache as a front end to the compiler
1454 --enable-target-variant=NAME
1455 Enable a specific target variant
(default
=none
)
1456 --enable-amigaos-compliance=VERSION
1457 Enforce userspace AmigaOS compliance to a specific
1458 KickStart version
(default
=none
).
1459 --enable-includes=dir Alternative system include directory
1460 --enable-palm-debug-hack
1461 Enable palm debug output hack
in palm native
1463 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1464 --enable-nesting-supervisor
1465 Enable nesting supervisor support
in unix
1467 --disable-mmu Disable MMU support
(default
=enabled
)
1468 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1469 --enable-x11-shm use X11 shared memory
(default
=auto
)
1470 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1471 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1472 --disable-sdltest Do not try to compile and run a
test SDL program
1473 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1476 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1477 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1478 --with-gcc-version=VERSION
1479 Use
host gcc-VERSION
for building AROS
1480 --with-optimization=FLAGS
1481 Use optimization flags FLAGS
(default
=-O2).
1482 --with-paranoia=FLAGS CC flags to
enable paranoia
1483 --with-xcode=PATH Specify XCode path
for iOS targets
1484 (default
=/Developer
).
1485 --with-ios-version=VERSION
1486 Specify minimum supported iOS version
(default
=3.0).
1487 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1488 --with-sdk=PATH Specify Android SDK path
1489 (default
=$default_android_sdk).
1490 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1491 --with-sdk-version=LEVEL
1492 Use Android SDK
for API LEVEL
(default
=8).
1493 --with-ndk-version=LEVEL
1494 Use Android NDK
for API LEVEL
(default
=9).
1495 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1496 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1497 --with-portssources=DIR Where to download sourcecode
for external ports
1498 --with-bootloader=NAME Use a specific bootloader
1499 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1500 --with-theme=NAME Use a specific GUI Theme
1501 --with-resolution=XRESxYRESxDEPTH
1502 Default resolution of the initial WorkbenchScreen
1503 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1504 --with-x use the X Window System
1505 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1506 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1508 Some influential environment variables
:
1509 CC C compiler
command
1510 CFLAGS C compiler flags
1511 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1512 nonstandard directory
<lib dir
>
1513 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1514 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1515 you have headers
in a nonstandard directory
<include dir
>
1517 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1519 Use these variables to override the choices made by
`configure' or to help
1520 it to find libraries and programs with nonstandard names/locations.
1526 if test "$ac_init_help" = "recursive"; then
1527 # If there are subdirs, report their specific --help.
1528 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1529 test -d "$ac_dir" || continue
1533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1536 # A ".." for each directory in $ac_dir_suffix.
1537 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1538 case $ac_top_builddir_sub in
1539 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1543 ac_abs_top_builddir=$ac_pwd
1544 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1545 # for backward compatibility:
1546 ac_top_builddir=$ac_top_build_prefix
1549 .) # We are building in place.
1551 ac_top_srcdir=$ac_top_builddir_sub
1552 ac_abs_top_srcdir=$ac_pwd ;;
1553 [\\/]* | ?:[\\/]* ) # Absolute name.
1554 ac_srcdir=$srcdir$ac_dir_suffix;
1555 ac_top_srcdir=$srcdir
1556 ac_abs_top_srcdir=$srcdir ;;
1558 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1559 ac_top_srcdir=$ac_top_build_prefix$srcdir
1560 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1564 cd "$ac_dir" || { ac_status=$?; continue; }
1565 # Check for guested configure.
1566 if test -f "$ac_srcdir/configure.gnu"; then
1568 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1569 elif test -f "$ac_srcdir/configure"; then
1571 $SHELL "$ac_srcdir/configure" --help=recursive
1573 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1575 cd "$ac_pwd" || { ac_status=$?; break; }
1579 test -n "$ac_init_help" && exit $ac_status
1580 if $ac_init_version; then
1583 generated by GNU Autoconf 2.61
1585 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1586 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1587 This configure script is free software; the Free Software Foundation
1588 gives unlimited permission to copy, distribute and modify it.
1592 cat >config.log <<_ACEOF
1593 This file contains any messages produced by compilers while
1594 running configure, to aid debugging if configure makes a mistake.
1596 It was created by $as_me, which was
1597 generated by GNU Autoconf 2.61. Invocation command line was
1609 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1610 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1611 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1612 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1613 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1615 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1616 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1618 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1619 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1620 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1621 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1622 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1623 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1624 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1632 test -z "$as_dir" && as_dir=.
1633 echo "PATH: $as_dir"
1649 # Keep a trace of the command line.
1650 # Strip out --no-create and --no-recursion so they do not pile up.
1651 # Strip out --silent because we don't want to record it for future runs.
1652 # Also quote any args containing shell meta-characters.
1653 # Make two passes to allow for proper duplicate-argument suppression.
1657 ac_must_keep_next=false
1663 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1664 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1665 | -silent | --silent | --silen | --sile | --sil)
1668 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1671 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1673 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1674 if test $ac_must_keep_next = true; then
1675 ac_must_keep_next=false # Got value, back to normal.
1678 *=* | --config-cache | -C | -disable-* | --disable-* \
1679 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1680 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1681 | -with-* | --with-* | -without-* | --without-* | --x)
1682 case "$ac_configure_args0 " in
1683 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1686 -* ) ac_must_keep_next=true ;;
1689 ac_configure_args="$ac_configure_args '$ac_arg'"
1694 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1695 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1697 # When interrupted or exit'd, cleanup temporary files, and complete
1698 # config.log. We remove comments because anyway the quotes in there
1699 # would cause problems or look ugly.
1700 # WARNING: Use '\'' to represent an apostrophe within the trap.
1701 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1702 trap 'exit_status=$?
1703 # Save into config.log some information that might help in debugging.
1708 ## ---------------- ##
1709 ## Cache variables. ##
1710 ## ---------------- ##
1713 # The following way of writing the cache mishandles newlines in values,
1715 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1716 eval ac_val=\$$ac_var
1720 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1721 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1724 _ | IFS | as_nl) ;; #(
1725 *) $as_unset $ac_var ;;
1730 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1731 *${as_nl}ac_space=\ *)
1733 "s/'\''/'\''\\\\'\'''\''/g;
1734 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1737 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1745 ## ----------------- ##
1746 ## Output variables. ##
1747 ## ----------------- ##
1750 for ac_var in $ac_subst_vars
1752 eval ac_val=\$$ac_var
1754 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1756 echo "$ac_var='\''$ac_val'\''"
1760 if test -n "$ac_subst_files"; then
1762 ## ------------------- ##
1763 ## File substitutions. ##
1764 ## ------------------- ##
1767 for ac_var in $ac_subst_files
1769 eval ac_val=\$$ac_var
1771 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1773 echo "$ac_var='\''$ac_val'\''"
1778 if test -s confdefs.h; then
1788 test "$ac_signal" != 0 &&
1789 echo "$as_me: caught signal $ac_signal"
1790 echo "$as_me: exit $exit_status"
1792 rm -f core *.core core.conftest.* &&
1793 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1796 for ac_signal in 1 2 13 15; do
1797 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1801 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1802 rm -f -r conftest* confdefs.h
1804 # Predefined preprocessor variables.
1806 cat >>confdefs.h <<_ACEOF
1807 #define PACKAGE_NAME "$PACKAGE_NAME"
1811 cat >>confdefs.h <<_ACEOF
1812 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1816 cat >>confdefs.h <<_ACEOF
1817 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1821 cat >>confdefs.h <<_ACEOF
1822 #define PACKAGE_STRING "$PACKAGE_STRING"
1826 cat >>confdefs.h <<_ACEOF
1827 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1831 # Let the site file select an alternate cache file if it wants to.
1832 # Prefer explicitly selected file to automatically selected ones.
1833 if test -n "$CONFIG_SITE"; then
1834 set x "$CONFIG_SITE"
1835 elif test "x$prefix" != xNONE; then
1836 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1838 set x "$ac_default_prefix/share/config.site" \
1839 "$ac_default_prefix/etc/config.site"
1844 if test -r "$ac_site_file"; then
1845 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1846 echo "$as_me: loading site script $ac_site_file" >&6;}
1847 sed 's/^/| /' "$ac_site_file" >&5
1852 if test -r "$cache_file"; then
1853 # Some versions of bash will fail to source /dev/null (special
1854 # files actually), so we avoid doing that.
1855 if test -f "$cache_file"; then
1856 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1857 echo "$as_me: loading cache $cache_file" >&6;}
1859 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1860 *) . "./$cache_file";;
1864 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1865 echo "$as_me: creating cache $cache_file" >&6;}
1869 # Check that the precious variables saved in the cache have kept the same
1871 ac_cache_corrupted=false
1872 for ac_var in $ac_precious_vars; do
1873 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1874 eval ac_new_set=\$ac_env_${ac_var}_set
1875 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1876 eval ac_new_val=\$ac_env_${ac_var}_value
1877 case $ac_old_set,$ac_new_set in
1879 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1880 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1881 ac_cache_corrupted=: ;;
1883 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1884 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1885 ac_cache_corrupted=: ;;
1888 if test "x$ac_old_val" != "x$ac_new_val"; then
1889 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1890 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1891 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1892 echo "$as_me: former value
: $ac_old_val" >&2;}
1893 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1894 echo "$as_me: current value
: $ac_new_val" >&2;}
1895 ac_cache_corrupted=:
1898 # Pass precious variables to config.status.
1899 if test "$ac_new_set" = set; then
1901 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1902 *) ac_arg=$ac_var=$ac_new_val ;;
1904 case " $ac_configure_args " in
1905 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1906 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1910 if $ac_cache_corrupted; then
1911 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1912 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1913 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1914 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1915 { (exit 1); exit 1; }; }
1935 ac_cpp='$CPP $CPPFLAGS'
1936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1943 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1944 if test -f "$ac_dir/install-sh"; then
1946 ac_install_sh="$ac_aux_dir/install-sh -c"
1948 elif test -f "$ac_dir/install.sh"; then
1950 ac_install_sh="$ac_aux_dir/install.sh -c"
1952 elif test -f "$ac_dir/shtool"; then
1954 ac_install_sh="$ac_aux_dir/shtool install -c"
1958 if test -z "$ac_aux_dir"; then
1959 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1960 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1961 { (exit 1); exit 1; }; }
1964 # These three variables are undocumented and unsupported,
1965 # and are intended to be withdrawn in a future Autoconf release.
1966 # They can cause serious problems if a builder's source tree is in a directory
1967 # whose full name contains unusual characters.
1968 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1969 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1970 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1974 # Check what host we are running on.
1975 # If a target is not suggested, we use this one.
1976 # Note that what we call a target, Autoconf calls a host.
1977 # Make sure we can run config.sub.
1978 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1979 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1980 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1981 { (exit 1); exit 1; }; }
1983 { echo "$as_me:$LINENO: checking build system type" >&5
1984 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1985 if test "${ac_cv_build+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 ac_build_alias=$build_alias
1989 test "x$ac_build_alias" = x &&
1990 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1991 test "x$ac_build_alias" = x &&
1992 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1993 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1994 { (exit 1); exit 1; }; }
1995 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1996 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1997 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1998 { (exit 1); exit 1; }; }
2001 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2002 echo "${ECHO_T}$ac_cv_build" >&6; }
2003 case $ac_cv_build in
2005 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2006 echo "$as_me: error: invalid value of canonical build" >&2;}
2007 { (exit 1); exit 1; }; };;
2010 ac_save_IFS=$IFS; IFS='-'
2016 # Remember, the first character of IFS is used to create $*,
2017 # except with old shells:
2020 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2023 { echo "$as_me:$LINENO: checking host system type" >&5
2024 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2025 if test "${ac_cv_host+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test "x$host_alias" = x; then
2029 ac_cv_host=$ac_cv_build
2031 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2032 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2033 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2034 { (exit 1); exit 1; }; }
2038 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2039 echo "${ECHO_T}$ac_cv_host" >&6; }
2042 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2043 echo "$as_me: error: invalid value of canonical host" >&2;}
2044 { (exit 1); exit 1; }; };;
2047 ac_save_IFS=$IFS; IFS='-'
2053 # Remember, the first character of IFS is used to create $*,
2054 # except with old shells:
2057 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2061 # The AROS target is slightly different to the normal GNU style
2062 # format. We don't have the middle part, and we reverse the order
2063 # of the $(CPU) and $(OS) bits.
2065 # Don't strip the version of the target yet, it might be
2066 # useful on some systems.
2068 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2069 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2071 if test "$target" = "NONE" ; then
2072 target=$host_os-$host_cpu
2074 if test "$target" = "" ; then
2075 target=$host_os-$host_cpu
2078 { echo "$as_me:$LINENO: result: $target" >&5
2079 echo "${ECHO_T}$target" >&6; }
2081 if test "$host_os" = "mingw32" ; then
2085 #don't know where else to put this...
2086 { echo "$as_me:$LINENO: checking building AROS in" >&5
2087 echo $ECHO_N "checking building AROS in... $ECHO_C" >&6; }
2088 AROS_BUILDDIR=`${PWDCMD-pwd}`
2089 AROS_BUILDDIR_UNIX=${PWD}
2090 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2091 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2093 { echo "$as_me:$LINENO: checking AROS source in" >&5
2094 echo $ECHO_N "checking AROS source in... $ECHO_C" >&6; }
2095 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2097 { echo "$as_me:$LINENO: result: $SRCDIR" >&5
2098 echo "${ECHO_T}$SRCDIR" >&6; }
2100 # Parse the target field into something useful.
2102 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2103 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2106 aros_default_wbwidth=800
2107 aros_default_wbheight=600
2108 aros_default_wbdepth=4
2111 # The first step is to find the host binaries.
2112 # Check for a compiler.
2114 ac_cpp='$CPP $CPPFLAGS'
2115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118 if test -n "$ac_tool_prefix"; then
2119 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2120 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2123 if test "${ac_cv_prog_CC+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 if test -n "$CC"; then
2127 ac_cv_prog_CC="$CC" # Let the user override the test.
2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 test -z "$as_dir" && as_dir=.
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2136 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 if test -n "$CC"; then
2148 { echo "$as_me:$LINENO: result: $CC" >&5
2149 echo "${ECHO_T}$CC" >&6; }
2151 { echo "$as_me:$LINENO: result: no" >&5
2152 echo "${ECHO_T}no" >&6; }
2157 if test -z "$ac_cv_prog_CC"; then
2159 # Extract the first word of "gcc", so it can be a program name with args.
2160 set dummy gcc; ac_word=$2
2161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2163 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 if test -n "$ac_ct_CC"; then
2167 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2176 ac_cv_prog_ac_ct_CC="gcc"
2177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2187 if test -n "$ac_ct_CC"; then
2188 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2189 echo "${ECHO_T}$ac_ct_CC" >&6; }
2191 { echo "$as_me:$LINENO: result: no" >&5
2192 echo "${ECHO_T}no" >&6; }
2195 if test "x$ac_ct_CC" = x; then
2198 case $cross_compiling:$ac_tool_warned in
2200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2201 whose name does not start with the host triplet. If you think this
2202 configuration is useful to you, please write to autoconf@gnu.org." >&5
2203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2204 whose name does not start with the host triplet. If you think this
2205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2206 ac_tool_warned=yes ;;
2214 if test -z "$CC"; then
2215 if test -n "$ac_tool_prefix"; then
2216 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2217 set dummy ${ac_tool_prefix}cc; ac_word=$2
2218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2220 if test "${ac_cv_prog_CC+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 if test -n "$CC"; then
2224 ac_cv_prog_CC="$CC" # Let the user override the test.
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir=.
2231 for ac_exec_ext in '' $ac_executable_extensions; do
2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 ac_cv_prog_CC="${ac_tool_prefix}cc"
2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 if test -n "$CC"; then
2245 { echo "$as_me:$LINENO: result: $CC" >&5
2246 echo "${ECHO_T}$CC" >&6; }
2248 { echo "$as_me:$LINENO: result: no" >&5
2249 echo "${ECHO_T}no" >&6; }
2255 if test -z "$CC"; then
2256 # Extract the first word of "cc", so it can be a program name with args.
2257 set dummy cc; ac_word=$2
2258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2260 if test "${ac_cv_prog_CC+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 if test -n "$CC"; then
2264 ac_cv_prog_CC="$CC" # Let the user override the test.
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir=.
2272 for ac_exec_ext in '' $ac_executable_extensions; do
2273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2274 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2275 ac_prog_rejected=yes
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286 if test $ac_prog_rejected = yes; then
2287 # We found a bogon in the path, so make sure we never use it.
2288 set dummy $ac_cv_prog_CC
2290 if test $# != 0; then
2291 # We chose a different compiler from the bogus one.
2292 # However, it has the same basename, so the bogon will be chosen
2293 # first if we set CC to just the basename; use the full file name.
2295 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2301 if test -n "$CC"; then
2302 { echo "$as_me:$LINENO: result: $CC" >&5
2303 echo "${ECHO_T}$CC" >&6; }
2305 { echo "$as_me:$LINENO: result: no" >&5
2306 echo "${ECHO_T}no" >&6; }
2311 if test -z "$CC"; then
2312 if test -n "$ac_tool_prefix"; then
2313 for ac_prog in cl.exe
2315 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2316 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2319 if test "${ac_cv_prog_CC+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 if test -n "$CC"; then
2323 ac_cv_prog_CC="$CC" # Let the user override the test.
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir=.
2330 for ac_exec_ext in '' $ac_executable_extensions; do
2331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2332 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2343 if test -n "$CC"; then
2344 { echo "$as_me:$LINENO: result: $CC" >&5
2345 echo "${ECHO_T}$CC" >&6; }
2347 { echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6; }
2352 test -n "$CC" && break
2355 if test -z "$CC"; then
2357 for ac_prog in cl.exe
2359 # Extract the first word of "$ac_prog", so it can be a program name with args.
2360 set dummy $ac_prog; ac_word=$2
2361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2363 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 if test -n "$ac_ct_CC"; then
2367 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir=.
2374 for ac_exec_ext in '' $ac_executable_extensions; do
2375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376 ac_cv_prog_ac_ct_CC="$ac_prog"
2377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387 if test -n "$ac_ct_CC"; then
2388 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2389 echo "${ECHO_T}$ac_ct_CC" >&6; }
2391 { echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6; }
2396 test -n "$ac_ct_CC" && break
2399 if test "x$ac_ct_CC" = x; then
2402 case $cross_compiling:$ac_tool_warned in
2404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2405 whose name does not start with the host triplet. If you think this
2406 configuration is useful to you, please write to autoconf@gnu.org." >&5
2407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2408 whose name does not start with the host triplet. If you think this
2409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2410 ac_tool_warned=yes ;;
2419 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2420 See \`config.log
' for more details." >&5
2421 echo "$as_me: error: no acceptable C compiler found in \$PATH
2422 See \`config.log' for more details.
" >&2;}
2423 { (exit 1); exit 1; }; }
2425 # Provide some information about the compiler.
2426 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2427 ac_compiler=`set X $ac_compile; echo $2`
2428 { (ac_try="$ac_compiler --version >&5"
2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2431 *) ac_try_echo=$ac_try;;
2433 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2434 (eval "$ac_compiler --version >&5") 2>&5
2436 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2437 (exit $ac_status); }
2438 { (ac_try="$ac_compiler -v >&5"
2440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2441 *) ac_try_echo=$ac_try;;
2443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2444 (eval "$ac_compiler -v >&5") 2>&5
2446 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2447 (exit $ac_status); }
2448 { (ac_try="$ac_compiler -V >&5"
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2453 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2454 (eval "$ac_compiler -V >&5") 2>&5
2456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2457 (exit $ac_status); }
2459 cat >conftest.$ac_ext <<_ACEOF
2462 cat confdefs.h >>conftest.$ac_ext
2463 cat >>conftest.$ac_ext <<_ACEOF
2464 /* end confdefs.h. */
2474 ac_clean_files_save=$ac_clean_files
2475 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2476 # Try to create an executable without -o first, disregard a.out.
2477 # It will help us diagnose broken compilers, and finding out an intuition
2479 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2480 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2481 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2483 # List of possible output files, starting from the most likely.
2484 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2485 # only as a last resort. b.out is created by i960 compilers.
2486 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2488 # The IRIX 6 linker writes into existing files which may not be
2489 # executable, retaining their permissions. Remove them first so a
2490 # subsequent execution test works.
2492 for ac_file in $ac_files
2495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2496 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2501 if { (ac_try="$ac_link_default"
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2506 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2507 (eval "$ac_link_default") 2>&5
2509 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2510 (exit $ac_status); }; then
2511 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2512 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2513 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2514 # so that the user can short-circuit this test for compilers unknown to
2516 for ac_file in $ac_files ''
2518 test -f "$ac_file" || continue
2520 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2523 # We found the default executable, but exeext='' is most
2527 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2529 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531 # We set ac_cv_exeext here because the later test for it is not
2532 # safe: cross compilers may not add the suffix if given an `-o'
2533 # argument, so we may need to know it at that point already.
2534 # Even if this section looks crufty: it has the advantage of
2541 test "$ac_cv_exeext" = no && ac_cv_exeext=
2547 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2548 echo "${ECHO_T}$ac_file" >&6; }
2549 if test -z "$ac_file"; then
2550 echo "$as_me: failed program was
:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2553 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2554 See \
`config.log' for more details." >&5
2555 echo "$as_me: error: C compiler cannot create executables
2556 See \`config.log
' for more details." >&2;}
2557 { (exit 77); exit 77; }; }
2560 ac_exeext=$ac_cv_exeext
2562 # Check that the compiler produces executables we can run. If not, either
2563 # the compiler is broken, or we cross compile.
2564 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2565 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2566 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2567 # If not cross compiling, check that we can run a simple program.
2568 if test "$cross_compiling" != yes; then
2569 if { ac_try='.
/$ac_file'
2570 { (case "(($ac_try" in
2571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2572 *) ac_try_echo=$ac_try;;
2574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2575 (eval "$ac_try") 2>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; }; then
2581 if test "$cross_compiling" = maybe; then
2584 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2585 If you meant to cross compile, use \`--host'.
2586 See \
`config.log' for more details." >&5
2587 echo "$as_me: error: cannot run C compiled programs.
2588 If you meant to cross compile, use \`--host'.
2589 See \`config.log' for more details.
" >&2;}
2590 { (exit 1); exit 1; }; }
2594 { echo "$as_me:$LINENO: result
: yes" >&5
2595 echo "${ECHO_T}yes" >&6; }
2597 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2598 ac_clean_files=$ac_clean_files_save
2599 # Check that the compiler produces executables we can run. If not, either
2600 # the compiler is broken, or we cross compile.
2601 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2602 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2603 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2604 echo "${ECHO_T}$cross_compiling" >&6; }
2606 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2607 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2608 if { (ac_try="$ac_link"
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_link") 2>&5
2616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2617 (exit $ac_status); }; then
2618 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2619 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2620 # work properly (i.e., refer to `conftest.exe'), while it won't with
2622 for ac_file in conftest.exe conftest conftest.*; do
2623 test -f "$ac_file" || continue
2625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2626 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2632 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2633 See \
`config.log' for more details." >&5
2634 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2635 See \`config.log
' for more details." >&2;}
2636 { (exit 1); exit 1; }; }
2639 rm -f conftest$ac_cv_exeext
2640 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2641 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2643 rm -f conftest.$ac_ext
2644 EXEEXT=$ac_cv_exeext
2646 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2647 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2648 if test "${ac_cv_objext+set}" = set; then
2649 echo $ECHO_N "(cached) $ECHO_C" >&6
2651 cat >conftest.$ac_ext <<_ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2666 rm -f conftest.o conftest.obj
2667 if { (ac_try="$ac_compile"
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673 (eval "$ac_compile") 2>&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; then
2677 for ac_file in conftest.o conftest.obj conftest.*; do
2678 test -f "$ac_file" || continue;
2680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2681 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2686 echo "$as_me: failed program was:" >&5
2687 sed 's
/^
/|
/' conftest.$ac_ext >&5
2689 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2690 See \`config.log' for more details.
" >&5
2691 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2692 See \
`config.log' for more details." >&2;}
2693 { (exit 1); exit 1; }; }
2696 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2698 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2699 echo "${ECHO_T}$ac_cv_objext" >&6; }
2700 OBJEXT=$ac_cv_objext
2702 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2703 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2704 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 cat >conftest.$ac_ext <<_ACEOF
2710 cat confdefs.h >>conftest.$ac_ext
2711 cat >>conftest.$ac_ext <<_ACEOF
2712 /* end confdefs.h. */
2725 rm -f conftest.$ac_objext
2726 if { (ac_try="$ac_compile"
2728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2729 *) ac_try_echo
=$ac_try;;
2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_compile") 2>conftest.er1
2734 grep -v '^ *+' conftest.er1
>conftest.err
2736 cat conftest.err
>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } && {
2739 test -z "$ac_c_werror_flag" ||
2740 test ! -s conftest.err
2741 } && test -s conftest.
$ac_objext; then
2744 echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.
$ac_ext >&5
2750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2751 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2754 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2755 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2756 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2757 ac_test_CFLAGS
=${CFLAGS+set}
2758 ac_save_CFLAGS
=$CFLAGS
2759 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2760 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2761 if test "${ac_cv_prog_cc_g+set}" = set; then
2762 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 ac_save_c_werror_flag
=$ac_c_werror_flag
2765 ac_c_werror_flag
=yes
2768 cat >conftest.
$ac_ext <<_ACEOF
2771 cat confdefs.h
>>conftest.
$ac_ext
2772 cat >>conftest.
$ac_ext <<_ACEOF
2773 /* end confdefs.h. */
2783 rm -f conftest.
$ac_objext
2784 if { (ac_try
="$ac_compile"
2786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2790 (eval "$ac_compile") 2>conftest.er1
2792 grep -v '^ *+' conftest.er1 >conftest.err
2794 cat conftest.err >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); } && {
2797 test -z "$ac_c_werror_flag" ||
2798 test ! -s conftest.err
2799 } && test -s conftest.$ac_objext; then
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.$ac_objext
2822 if { (ac_try="$ac_compile"
2824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2825 *) ac_try_echo
=$ac_try;;
2827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_compile") 2>conftest.er1
2830 grep -v '^ *+' conftest.er1
>conftest.err
2832 cat conftest.err
>&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } && {
2835 test -z "$ac_c_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest.
$ac_objext; then
2840 echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.
$ac_ext >&5
2843 ac_c_werror_flag
=$ac_save_c_werror_flag
2845 cat >conftest.
$ac_ext <<_ACEOF
2848 cat confdefs.h
>>conftest.
$ac_ext
2849 cat >>conftest.
$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2860 rm -f conftest.
$ac_objext
2861 if { (ac_try
="$ac_compile"
2863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2867 (eval "$ac_compile") 2>conftest.er1
2869 grep -v '^ *+' conftest.er1 >conftest.err
2871 cat conftest.err >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); } && {
2874 test -z "$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest.$ac_objext; then
2879 echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892 ac_c_werror_flag=$ac_save_c_werror_flag
2894 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2895 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2896 if test "$ac_test_CFLAGS" = set; then
2897 CFLAGS=$ac_save_CFLAGS
2898 elif test $ac_cv_prog_cc_g = yes; then
2899 if test "$GCC" = yes; then
2905 if test "$GCC" = yes; then
2911 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2912 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2913 if test "${ac_cv_prog_cc_c89+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 ac_cv_prog_cc_c89=no
2918 cat >conftest.$ac_ext <<_ACEOF
2921 cat confdefs.h >>conftest.$ac_ext
2922 cat >>conftest.$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2926 #include <sys/types.h>
2927 #include <sys/stat.h>
2928 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2929 struct buf { int x; };
2930 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2931 static char *e (p, i)
2937 static char *f (char * (*g) (char **, int), char **p, ...)
2942 s = g (p, va_arg (v,int));
2947 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2948 function prototypes and stuff, but not '\xHH' hex character constants.
2949 These don't provoke an error unfortunately, instead are silently treated
2950 as 'x'. The following induces an error, until -std is added to get
2951 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2952 array size at least. It's necessary to write '\x00'==0 to get something
2953 that's true only with -std. */
2954 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2956 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2957 inside strings and character constants. */
2959 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2961 int test (int i, double x);
2962 struct s1 {int (*f) (int a);};
2963 struct s2 {int (*f) (double a);};
2964 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2970 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2975 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2976 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2978 CC="$ac_save_CC $ac_arg"
2979 rm -f conftest.$ac_objext
2980 if { (ac_try="$ac_compile"
2982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2983 *) ac_try_echo
=$ac_try;;
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_compile") 2>conftest.er1
2988 grep -v '^ *+' conftest.er1
>conftest.err
2990 cat conftest.err
>&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); } && {
2993 test -z "$ac_c_werror_flag" ||
2994 test ! -s conftest.err
2995 } && test -s conftest.
$ac_objext; then
2996 ac_cv_prog_cc_c89
=$ac_arg
2998 echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.
$ac_ext >&5
3004 rm -f core conftest.err conftest.
$ac_objext
3005 test "x$ac_cv_prog_cc_c89" != "xno" && break
3007 rm -f conftest.
$ac_ext
3012 case "x$ac_cv_prog_cc_c89" in
3014 { echo "$as_me:$LINENO: result: none needed" >&5
3015 echo "${ECHO_T}none needed" >&6; } ;;
3017 { echo "$as_me:$LINENO: result: unsupported" >&5
3018 echo "${ECHO_T}unsupported" >&6; } ;;
3020 CC
="$CC $ac_cv_prog_cc_c89"
3021 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3022 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3027 ac_cpp
='$CPP $CPPFLAGS'
3028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3032 case $ac_cv_prog_cc_stdc in
3033 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
3034 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3035 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
3036 if test "${ac_cv_prog_cc_c99+set}" = set; then
3037 echo $ECHO_N "(cached) $ECHO_C" >&6
3039 ac_cv_prog_cc_c99
=no
3041 cat >conftest.
$ac_ext <<_ACEOF
3044 cat confdefs.h
>>conftest.
$ac_ext
3045 cat >>conftest.
$ac_ext <<_ACEOF
3046 /* end confdefs.h. */
3048 #include <stdbool.h>
3053 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3054 #define debug(...) fprintf (stderr, __VA_ARGS__)
3055 #define showlist(...) puts (#__VA_ARGS__)
3056 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3058 test_varargs_macros (void)
3063 debug ("X = %d\n", x);
3064 showlist (The first, second, and third items.);
3065 report (x>y, "x is %d but y is %d", x, y);
3068 // Check long long types.
3069 #define BIG64 18446744073709551615ull
3070 #define BIG32 4294967295ul
3071 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3073 your preprocessor is broken;
3077 your preprocessor is broken;
3079 static long long int bignum = -9223372036854775807LL;
3080 static unsigned long long int ubignum = BIG64;
3082 struct incomplete_array
3090 const wchar_t *name;
3094 typedef const char *ccp;
3097 test_restrict (ccp restrict text)
3099 // See if C++-style comments work.
3100 // Iterate through items via the restricted pointer.
3101 // Also check for declarations in for loops.
3102 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3107 // Check varargs and va_copy.
3109 test_varargs (const char *format, ...)
3112 va_start (args, format);
3114 va_copy (args_copy, args);
3125 str = va_arg (args_copy, const char *);
3128 number = va_arg (args_copy, int);
3131 fnumber = va_arg (args_copy, double);
3146 _Bool success = false;
3149 if (test_restrict ("String literal") == 0)
3151 char *restrict newvar = "Another string";
3154 test_varargs ("s, d' f .", "string", 65, 34.234);
3155 test_varargs_macros ();
3157 // Check flexible array members.
3158 struct incomplete_array *ia =
3159 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3161 for (int i = 0; i < ia->datasize; ++i)
3162 ia->data[i] = i * 1.234;
3164 // Check named initializers.
3165 struct named_init ni = {
3167 .name = L"Test wide string",
3168 .average = 543.34343,
3173 int dynamic_array[ni.number];
3174 dynamic_array[ni.number - 1] = 543;
3176 // work around unused variable warnings
3177 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3178 || dynamic_array[ni.number - 1] != 543);
3184 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3186 CC
="$ac_save_CC $ac_arg"
3187 rm -f conftest.
$ac_objext
3188 if { (ac_try
="$ac_compile"
3190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3194 (eval "$ac_compile") 2>conftest.er1
3196 grep -v '^ *+' conftest.er1 >conftest.err
3198 cat conftest.err >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } && {
3201 test -z "$ac_c_werror_flag" ||
3202 test ! -s conftest.err
3203 } && test -s conftest.$ac_objext; then
3204 ac_cv_prog_cc_c99=$ac_arg
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3212 rm -f core conftest.err conftest.$ac_objext
3213 test "x$ac_cv_prog_cc_c99" != "xno" && break
3215 rm -f conftest.$ac_ext
3220 case "x$ac_cv_prog_cc_c99" in
3222 { echo "$as_me:$LINENO: result: none needed" >&5
3223 echo "${ECHO_T}none needed" >&6; } ;;
3225 { echo "$as_me:$LINENO: result: unsupported" >&5
3226 echo "${ECHO_T}unsupported" >&6; } ;;
3228 CC="$CC $ac_cv_prog_cc_c99"
3229 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3230 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3232 if test "x$ac_cv_prog_cc_c99" != xno; then
3233 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3235 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3236 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3237 if test "${ac_cv_prog_cc_c89+set}" = set; then
3238 echo $ECHO_N "(cached) $ECHO_C" >&6
3240 ac_cv_prog_cc_c89=no
3242 cat >conftest.$ac_ext <<_ACEOF
3245 cat confdefs.h >>conftest.$ac_ext
3246 cat >>conftest.$ac_ext <<_ACEOF
3247 /* end confdefs.h. */
3250 #include <sys/types.h>
3251 #include <sys/stat.h>
3252 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3253 struct buf { int x; };
3254 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3255 static char *e (p, i)
3261 static char *f (char * (*g) (char **, int), char **p, ...)
3266 s = g (p, va_arg (v,int));
3271 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3272 function prototypes and stuff, but not '\xHH' hex character constants.
3273 These don't provoke an error unfortunately, instead are silently treated
3274 as 'x'. The following induces an error, until -std is added to get
3275 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3276 array size at least. It's necessary to write '\x00'==0 to get something
3277 that's true only with -std. */
3278 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3280 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3281 inside strings and character constants. */
3283 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3285 int test (int i, double x);
3286 struct s1 {int (*f) (int a);};
3287 struct s2 {int (*f) (double a);};
3288 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3294 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3299 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3300 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3302 CC="$ac_save_CC $ac_arg"
3303 rm -f conftest.$ac_objext
3304 if { (ac_try="$ac_compile"
3306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3307 *) ac_try_echo
=$ac_try;;
3309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3310 (eval "$ac_compile") 2>conftest.er1
3312 grep -v '^ *+' conftest.er1
>conftest.err
3314 cat conftest.err
>&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } && {
3317 test -z "$ac_c_werror_flag" ||
3318 test ! -s conftest.err
3319 } && test -s conftest.
$ac_objext; then
3320 ac_cv_prog_cc_c89
=$ac_arg
3322 echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.
$ac_ext >&5
3328 rm -f core conftest.err conftest.
$ac_objext
3329 test "x$ac_cv_prog_cc_c89" != "xno" && break
3331 rm -f conftest.
$ac_ext
3336 case "x$ac_cv_prog_cc_c89" in
3338 { echo "$as_me:$LINENO: result: none needed" >&5
3339 echo "${ECHO_T}none needed" >&6; } ;;
3341 { echo "$as_me:$LINENO: result: unsupported" >&5
3342 echo "${ECHO_T}unsupported" >&6; } ;;
3344 CC
="$CC $ac_cv_prog_cc_c89"
3345 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3346 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3348 if test "x$ac_cv_prog_cc_c89" != xno
; then
3349 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3351 ac_cv_prog_cc_stdc
=no
3359 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3360 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3361 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 case $ac_cv_prog_cc_stdc in
3366 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3367 echo "${ECHO_T}unsupported" >&6; } ;;
3368 '') { echo "$as_me:$LINENO: result: none needed" >&5
3369 echo "${ECHO_T}none needed" >&6; } ;;
3370 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3371 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3376 ac_cpp
='$CPP $CPPFLAGS'
3377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3380 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3381 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3382 # On Suns, sometimes $CPP names a directory.
3383 if test -n "$CPP" && test -d "$CPP"; then
3386 if test -z "$CPP"; then
3387 if test "${ac_cv_prog_CPP+set}" = set; then
3388 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 # Double quotes because CPP needs to be expanded
3391 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3394 for ac_c_preproc_warn_flag
in '' yes
3396 # Use a header file that comes with gcc, so configuring glibc
3397 # with a fresh cross-compiler works.
3398 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3399 # <limits.h> exists even on freestanding compilers.
3400 # On the NeXT, cc -E runs the code through the compiler's parser,
3401 # not just through cpp. "Syntax error" is here to catch this case.
3402 cat >conftest.
$ac_ext <<_ACEOF
3405 cat confdefs.h
>>conftest.
$ac_ext
3406 cat >>conftest.
$ac_ext <<_ACEOF
3407 /* end confdefs.h. */
3409 # include <limits.h>
3411 # include <assert.h>
3415 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3423 grep -v '^ *+' conftest.er1 >conftest.err
3425 cat conftest.err >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } >/dev/null && {
3428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3429 test ! -s conftest.err
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3436 # Broken: fails on valid input.
3440 rm -f conftest.err conftest.$ac_ext
3442 # OK, works on sane cases. Now check whether nonexistent headers
3443 # can be detected and how.
3444 cat >conftest.$ac_ext <<_ACEOF
3447 cat confdefs.h >>conftest.$ac_ext
3448 cat >>conftest.$ac_ext <<_ACEOF
3449 /* end confdefs.h. */
3450 #include <ac_nonexistent.h>
3452 if { (ac_try="$ac_cpp conftest.$ac_ext"
3454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3455 *) ac_try_echo
=$ac_try;;
3457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3460 grep -v '^ *+' conftest.er1
>conftest.err
3462 cat conftest.err
>&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); } >/dev
/null
&& {
3465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3466 test ! -s conftest.err
3468 # Broken: success on invalid input.
3471 echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.
$ac_ext >&5
3474 # Passes both tests.
3479 rm -f conftest.err conftest.
$ac_ext
3482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3483 rm -f conftest.err conftest.
$ac_ext
3484 if $ac_preproc_ok; then
3496 { echo "$as_me:$LINENO: result: $CPP" >&5
3497 echo "${ECHO_T}$CPP" >&6; }
3499 for ac_c_preproc_warn_flag
in '' yes
3501 # Use a header file that comes with gcc, so configuring glibc
3502 # with a fresh cross-compiler works.
3503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3504 # <limits.h> exists even on freestanding compilers.
3505 # On the NeXT, cc -E runs the code through the compiler's parser,
3506 # not just through cpp. "Syntax error" is here to catch this case.
3507 cat >conftest.
$ac_ext <<_ACEOF
3510 cat confdefs.h
>>conftest.
$ac_ext
3511 cat >>conftest.
$ac_ext <<_ACEOF
3512 /* end confdefs.h. */
3514 # include <limits.h>
3516 # include <assert.h>
3520 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3523 *) ac_try_echo=$ac_try;;
3525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3528 grep -v '^ *+' conftest.er1 >conftest.err
3530 cat conftest.err >&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); } >/dev/null && {
3533 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3534 test ! -s conftest.err
3538 echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.$ac_ext >&5
3541 # Broken: fails on valid input.
3545 rm -f conftest.err conftest.$ac_ext
3547 # OK, works on sane cases. Now check whether nonexistent headers
3548 # can be detected and how.
3549 cat >conftest.$ac_ext <<_ACEOF
3552 cat confdefs.h >>conftest.$ac_ext
3553 cat >>conftest.$ac_ext <<_ACEOF
3554 /* end confdefs.h. */
3555 #include <ac_nonexistent.h>
3557 if { (ac_try="$ac_cpp conftest.$ac_ext"
3559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3560 *) ac_try_echo
=$ac_try;;
3562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3565 grep -v '^ *+' conftest.er1
>conftest.err
3567 cat conftest.err
>&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); } >/dev
/null
&& {
3570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3571 test ! -s conftest.err
3573 # Broken: success on invalid input.
3576 echo "$as_me: failed program was:" >&5
3577 sed 's/^/| /' conftest.
$ac_ext >&5
3579 # Passes both tests.
3584 rm -f conftest.err conftest.
$ac_ext
3587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3588 rm -f conftest.err conftest.
$ac_ext
3589 if $ac_preproc_ok; then
3592 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3593 See \`config.log' for more details." >&5
3594 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3595 See \`config.log' for more details." >&2;}
3596 { (exit 1); exit 1; }; }
3600 ac_cpp
='$CPP $CPPFLAGS'
3601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3606 # Check for a compatible awk
3607 for ac_prog
in gawk nawk
3609 # Extract the first word of "$ac_prog", so it can be a program name with args.
3610 set dummy
$ac_prog; ac_word
=$2
3611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3613 if test "${ac_cv_prog_AWK+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 if test -n "$AWK"; then
3617 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3623 test -z "$as_dir" && as_dir
=.
3624 for ac_exec_ext
in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_AWK
="$ac_prog"
3627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 if test -n "$AWK"; then
3638 { echo "$as_me:$LINENO: result: $AWK" >&5
3639 echo "${ECHO_T}$AWK" >&6; }
3641 { echo "$as_me:$LINENO: result: no" >&5
3642 echo "${ECHO_T}no" >&6; }
3646 test -n "$AWK" && break
3649 if test "$AWK" = ""; then
3650 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3651 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3652 { (exit 1); exit 1; }; }
3654 # Extract the first word of "mmake", so it can be a program name with args.
3655 set dummy mmake
; ac_word
=$2
3656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3658 if test "${ac_cv_prog_MMAKE+set}" = set; then
3659 echo $ECHO_N "(cached) $ECHO_C" >&6
3661 if test -n "$MMAKE"; then
3662 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3668 test -z "$as_dir" && as_dir
=.
3669 for ac_exec_ext
in '' $ac_executable_extensions; do
3670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3671 ac_cv_prog_MMAKE
="mmake "
3672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 MMAKE
=$ac_cv_prog_MMAKE
3682 if test -n "$MMAKE"; then
3683 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3684 echo "${ECHO_T}$MMAKE" >&6; }
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3692 # Perform some default variable assignments. Note all of these will be
3693 # Regenerated from the script, so there is no need to cache them.
3696 if test "$GCC" = "yes"; then
3697 aros_gcc_ld
=`$CC -print-prog-name=ld`
3698 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3699 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3702 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3703 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 case $aros_host_ld in
3707 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3711 for as_dir
in `dirname $aros_gcc_ld`
3714 test -z "$as_dir" && as_dir
=.
3715 for ac_exec_ext
in '' $ac_executable_extensions; do
3716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3717 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 aros_host_ld
=$ac_cv_path_aros_host_ld
3729 if test -n "$aros_host_ld"; then
3730 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3731 echo "${ECHO_T}$aros_host_ld" >&6; }
3733 { echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6; }
3739 if test "$aros_host_ld" = ""; then
3740 # Extract the first word of "ld", so it can be a program name with args.
3741 set dummy ld
; ac_word
=$2
3742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3744 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 case $aros_host_ld in
3749 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir
=.
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 aros_host_ld
=$ac_cv_path_aros_host_ld
3771 if test -n "$aros_host_ld"; then
3772 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3773 echo "${ECHO_T}$aros_host_ld" >&6; }
3775 { echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6; }
3781 if test "$aros_host_ld" = ""; then
3782 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3783 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3784 { (exit 1); exit 1; }; }
3786 aros_host_make
="make"
3787 aros_host_cflags
=$CFLAGS
3788 aros_host_ldflags
=$LDFLAGS
3789 aros_host_debug
="-g -O0"
3790 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3791 aros_host_mkargs
="--no-print-directory"
3792 aros_host_incl
="/usr/include"
3793 aros_host_exe_suffix
="$EXEEXT"
3794 aros_host_lib_suffix
=""
3796 # Ignore all compliance, AROS ROMs = 0
3797 # KickStart v1.0 = 30
3798 # KickStart v1.3 = 34
3799 # KickStart v2.0 = 37
3800 # KickStart v3.0 = 39
3801 # KickStart v3.1 = 40
3803 aros_amigaos_compliance
=0
3805 for ac_prog
in aclocal aclocal19 aclocal-1.9
3807 # Extract the first word of "$ac_prog", so it can be a program name with args.
3808 set dummy
$ac_prog; ac_word
=$2
3809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3811 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 if test -n "$aros_host_aclocal"; then
3815 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3821 test -z "$as_dir" && as_dir
=.
3822 for ac_exec_ext
in '' $ac_executable_extensions; do
3823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3824 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3834 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3835 if test -n "$aros_host_aclocal"; then
3836 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3837 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3839 { echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6; }
3844 test -n "$aros_host_aclocal" && break
3847 for ac_prog
in autoconf autoconf259 autoconf253
3849 # Extract the first word of "$ac_prog", so it can be a program name with args.
3850 set dummy
$ac_prog; ac_word
=$2
3851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3853 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 if test -n "$aros_host_autoconf"; then
3857 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3863 test -z "$as_dir" && as_dir
=.
3864 for ac_exec_ext
in '' $ac_executable_extensions; do
3865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3866 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3877 if test -n "$aros_host_autoconf"; then
3878 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3879 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3881 { echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6; }
3886 test -n "$aros_host_autoconf" && break
3889 for ac_prog
in autoheader autoheader259 autoheader253
3891 # Extract the first word of "$ac_prog", so it can be a program name with args.
3892 set dummy
$ac_prog; ac_word
=$2
3893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3895 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3896 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 if test -n "$aros_host_autoheader"; then
3899 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir
=.
3906 for ac_exec_ext
in '' $ac_executable_extensions; do
3907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3908 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3918 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3919 if test -n "$aros_host_autoheader"; then
3920 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3921 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3923 { echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6; }
3928 test -n "$aros_host_autoheader" && break
3931 for ac_prog
in automake automake19 automake-1.9
3933 # Extract the first word of "$ac_prog", so it can be a program name with args.
3934 set dummy
$ac_prog; ac_word
=$2
3935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3937 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3938 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 if test -n "$aros_host_automake"; then
3941 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir
=.
3948 for ac_exec_ext
in '' $ac_executable_extensions; do
3949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3950 ac_cv_prog_aros_host_automake
="$ac_prog"
3951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 aros_host_automake
=$ac_cv_prog_aros_host_automake
3961 if test -n "$aros_host_automake"; then
3962 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3963 echo "${ECHO_T}$aros_host_automake" >&6; }
3965 { echo "$as_me:$LINENO: result: no" >&5
3966 echo "${ECHO_T}no" >&6; }
3970 test -n "$aros_host_automake" && break
3974 if test "$aros_host_aclocal" = ""; then
3975 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3976 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3977 { (exit 1); exit 1; }; }
3979 if test "$aros_host_automake" = ""; then
3980 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3981 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3982 { (exit 1); exit 1; }; }
3985 case "$aros_host_cc" in
3987 aros_host_cc_pipe
="-pipe"
3990 aros_host_cc_pipe
=""
3993 aros_host_cc_pipe
=""
3997 aros_kernel_cc_includes
=""
3998 aros_target_cc_includes
=""
4000 # ----------------------------------------------------------------------------------------
4001 # Host-specific defaults
4003 # Override this to "yes" in order to force a specific build to use real AROS crosscompiler
4004 # instead of a wrapper script.
4005 # Useful for non-ELF hosts (like Windows and Darwin).
4006 # Can also be overriden in target section below
4009 # This is the main host configuration section. It is where the host
4010 # can change the values of any variables it needs to change. We do
4011 # not look at anything that compiles to the target yet, we'll get
4016 aros_host_arch
="aros"
4017 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4020 aros_host_cpu
="i386"
4023 aros_host_cpu
="x86_64"
4029 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4030 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4031 aros_host_cpu
="$host_cpu"
4037 aros_host_arch
="linux"
4038 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4039 android_build_os
="linux-x86"
4040 android_tool
="android"
4041 default_android_sdk
="/opt/android-sdk-linux_x86"
4044 aros_host_cpu
="i386"
4047 aros_host_cpu
="x86_64"
4050 aros_host_cpu
="m68k"
4059 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4060 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4061 aros_host_cpu
="$host_cpu"
4067 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4068 aros_host_make
="gmake"
4069 aros_host_arch
="freebsd"
4070 aros_host_cpu
="i386"
4072 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4076 aros_object_format
="elf_i386"
4080 aros_object_format
="elf_i386_fbsd"
4087 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4088 aros_host_arch
="darwin"
4090 android_build_os
="darwin-x86"
4091 android_tool
="android"
4092 default_android_sdk
="/android-sdk-mac_x86"
4095 aros_host_cpu
="i386"
4098 aros_host_cpu
="x86_64"
4104 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4105 echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4106 aros_host_cpu
="$host_cpu"
4110 aros_host_ldflags
="$aros_host_ldflags -liconv"
4115 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4116 aros_host_make
="gmake"
4117 aros_host_arch
="dragonfly"
4120 aros_host_cpu
="i386"
4123 aros_host_cpu
="x86_64"
4126 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4127 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4128 aros_host_cpu
="$host_cpu"
4134 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4135 aros_host_make
="gmake"
4136 aros_host_arch
="netbsd"
4139 aros_host_cpu
="i386"
4142 aros_host_cpu
="m68k"
4145 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4146 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4147 aros_host_cpu
="$host_cpu"
4150 aros_host_lib_suffix
=".0.0"
4154 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4155 aros_host_make
="gmake"
4156 aros_host_arch
="openbsd"
4159 aros_host_cpu
="i386"
4162 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4163 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4164 aros_host_cpu
="$host_cpu"
4170 aros_host_arch
="solaris"
4171 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4174 aros_host_cpu
="i386"
4177 aros_host_cpu
="sparc"
4180 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4181 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4182 aros_host_cpu
="$host_cpu"
4188 aros_host_arch
="morphos"
4193 aros_host_arch
="amiga"
4198 TOUCH
="/gg/bin/touch"
4201 aros_host_cpu
="m68k"
4207 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4208 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4209 aros_host_cpu
="$host_cpu"
4215 aros_host_arch
="cygwin"
4217 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4218 android_build_os
="windows"
4219 android_tool
="android.bat"
4220 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4224 aros_host_cpu
="i386"
4227 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4228 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4229 aros_host_cpu
="$host_cpu"
4235 aros_host_arch
="mingw32"
4237 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4238 android_build_os
="windows"
4239 android_tool
="android.bat"
4240 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4244 aros_host_cpu
="i386"
4247 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4248 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4249 aros_host_cpu
="$host_cpu"
4254 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4255 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4256 { (exit 1); exit 1; }; }
4260 # Extract the first word of "ar", so it can be a program name with args.
4261 set dummy
ar; ac_word
=$2
4262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4264 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4265 echo $ECHO_N "(cached) $ECHO_C" >&6
4267 if test -n "$aros_host_ar"; then
4268 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4274 test -z "$as_dir" && as_dir
=.
4275 for ac_exec_ext
in '' $ac_executable_extensions; do
4276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4277 ac_cv_prog_aros_host_ar
="ar cr"
4278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 aros_host_ar
=$ac_cv_prog_aros_host_ar
4288 if test -n "$aros_host_ar"; then
4289 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4290 echo "${ECHO_T}$aros_host_ar" >&6; }
4292 { echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6; }
4297 if test "$aros_host_ar" = ""; then
4298 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4299 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4300 { (exit 1); exit 1; }; }
4302 # Extract the first word of "ranlib", so it can be a program name with args.
4303 set dummy ranlib
; ac_word
=$2
4304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4306 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 if test -n "$aros_host_ranlib"; then
4310 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_exec_ext
in '' $ac_executable_extensions; do
4318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4319 ac_cv_prog_aros_host_ranlib
="ranlib "
4320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4330 if test -n "$aros_host_ranlib"; then
4331 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4332 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4339 if test "$aros_host_ranlib" = ""; then
4340 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4341 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4342 { (exit 1); exit 1; }; }
4344 # Extract the first word of "strip", so it can be a program name with args.
4345 set dummy strip
; ac_word
=$2
4346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4348 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 if test -n "$aros_host_strip"; then
4352 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4358 test -z "$as_dir" && as_dir
=.
4359 for ac_exec_ext
in '' $ac_executable_extensions; do
4360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4361 ac_cv_prog_aros_host_strip
="strip "
4362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 aros_host_strip
=$ac_cv_prog_aros_host_strip
4372 if test -n "$aros_host_strip"; then
4373 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4374 echo "${ECHO_T}$aros_host_strip" >&6; }
4376 { echo "$as_me:$LINENO: result: no" >&5
4377 echo "${ECHO_T}no" >&6; }
4381 if test "$aros_host_strip" = ""; then
4382 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4383 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4384 { (exit 1); exit 1; }; }
4387 # Extract the first word of "rm", so it can be a program name with args.
4388 set dummy
rm; ac_word
=$2
4389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4391 if test "${ac_cv_prog_RM+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 if test -n "$RM"; then
4395 ac_cv_prog_RM
="$RM" # Let the user override the test.
4397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir
=.
4402 for ac_exec_ext
in '' $ac_executable_extensions; do
4403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404 ac_cv_prog_RM
="rm -rf"
4405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4415 if test -n "$RM"; then
4416 { echo "$as_me:$LINENO: result: $RM" >&5
4417 echo "${ECHO_T}$RM" >&6; }
4419 { echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6; }
4424 if test "$RM" = ""; then
4425 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4426 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4427 { (exit 1); exit 1; }; }
4429 # Extract the first word of "cp", so it can be a program name with args.
4430 set dummy
cp; ac_word
=$2
4431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4433 if test "${ac_cv_prog_CP+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 if test -n "$CP"; then
4437 ac_cv_prog_CP
="$CP" # Let the user override the test.
4439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4443 test -z "$as_dir" && as_dir
=.
4444 for ac_exec_ext
in '' $ac_executable_extensions; do
4445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 if test -n "$CP"; then
4458 { echo "$as_me:$LINENO: result: $CP" >&5
4459 echo "${ECHO_T}$CP" >&6; }
4461 { echo "$as_me:$LINENO: result: no" >&5
4462 echo "${ECHO_T}no" >&6; }
4466 if test "$CP" = ""; then
4467 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4468 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4469 { (exit 1); exit 1; }; }
4471 # Extract the first word of "mv", so it can be a program name with args.
4472 set dummy
mv; ac_word
=$2
4473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4475 if test "${ac_cv_prog_MV+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6
4478 if test -n "$MV"; then
4479 ac_cv_prog_MV
="$MV" # Let the user override the test.
4481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4485 test -z "$as_dir" && as_dir
=.
4486 for ac_exec_ext
in '' $ac_executable_extensions; do
4487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4499 if test -n "$MV"; then
4500 { echo "$as_me:$LINENO: result: $MV" >&5
4501 echo "${ECHO_T}$MV" >&6; }
4503 { echo "$as_me:$LINENO: result: no" >&5
4504 echo "${ECHO_T}no" >&6; }
4508 if test "$MV" = ""; then
4509 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4510 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4511 { (exit 1); exit 1; }; }
4513 # Extract the first word of "echo", so it can be a program name with args.
4514 set dummy
echo; ac_word
=$2
4515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4517 if test "${ac_cv_prog_ECHO+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 if test -n "$ECHO"; then
4521 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4527 test -z "$as_dir" && as_dir
=.
4528 for ac_exec_ext
in '' $ac_executable_extensions; do
4529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4530 ac_cv_prog_ECHO
="echo "
4531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 ECHO
=$ac_cv_prog_ECHO
4541 if test -n "$ECHO"; then
4542 { echo "$as_me:$LINENO: result: $ECHO" >&5
4543 echo "${ECHO_T}$ECHO" >&6; }
4545 { echo "$as_me:$LINENO: result: no" >&5
4546 echo "${ECHO_T}no" >&6; }
4550 if test "$ECHO" = ""; then
4551 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4552 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4553 { (exit 1); exit 1; }; }
4555 # Extract the first word of "mkdir", so it can be a program name with args.
4556 set dummy mkdir
; ac_word
=$2
4557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4559 if test "${ac_cv_prog_MKDIR+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 if test -n "$MKDIR"; then
4563 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4569 test -z "$as_dir" && as_dir
=.
4570 for ac_exec_ext
in '' $ac_executable_extensions; do
4571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4572 ac_cv_prog_MKDIR
="mkdir -p"
4573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4582 MKDIR
=$ac_cv_prog_MKDIR
4583 if test -n "$MKDIR"; then
4584 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4585 echo "${ECHO_T}$MKDIR" >&6; }
4587 { echo "$as_me:$LINENO: result: no" >&5
4588 echo "${ECHO_T}no" >&6; }
4592 if test "$MKDIR" = ""; then
4593 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4594 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4595 { (exit 1); exit 1; }; }
4597 # Extract the first word of "touch", so it can be a program name with args.
4598 set dummy
touch; ac_word
=$2
4599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4601 if test "${ac_cv_prog_TOUCH+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 if test -n "$TOUCH"; then
4605 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir
=.
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614 ac_cv_prog_TOUCH
="touch "
4615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 TOUCH
=$ac_cv_prog_TOUCH
4625 if test -n "$TOUCH"; then
4626 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4627 echo "${ECHO_T}$TOUCH" >&6; }
4629 { echo "$as_me:$LINENO: result: no" >&5
4630 echo "${ECHO_T}no" >&6; }
4634 if test "$TOUCH" = ""; then
4635 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4636 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4637 { (exit 1); exit 1; }; }
4639 # Extract the first word of "sort", so it can be a program name with args.
4640 set dummy
sort; ac_word
=$2
4641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4643 if test "${ac_cv_prog_SORT+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 if test -n "$SORT"; then
4647 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir
=.
4654 for ac_exec_ext
in '' $ac_executable_extensions; do
4655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4656 ac_cv_prog_SORT
="sort "
4657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 SORT
=$ac_cv_prog_SORT
4667 if test -n "$SORT"; then
4668 { echo "$as_me:$LINENO: result: $SORT" >&5
4669 echo "${ECHO_T}$SORT" >&6; }
4671 { echo "$as_me:$LINENO: result: no" >&5
4672 echo "${ECHO_T}no" >&6; }
4676 if test "$SORT" = ""; then
4677 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4678 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4679 { (exit 1); exit 1; }; }
4681 # Extract the first word of "uniq", so it can be a program name with args.
4682 set dummy
uniq; ac_word
=$2
4683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4685 if test "${ac_cv_prog_UNIQ+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 if test -n "$UNIQ"; then
4689 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4695 test -z "$as_dir" && as_dir
=.
4696 for ac_exec_ext
in '' $ac_executable_extensions; do
4697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4698 ac_cv_prog_UNIQ
="uniq "
4699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 UNIQ
=$ac_cv_prog_UNIQ
4709 if test -n "$UNIQ"; then
4710 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4711 echo "${ECHO_T}$UNIQ" >&6; }
4713 { echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6; }
4718 if test "$UNIQ" = ""; then
4719 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4720 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4721 { (exit 1); exit 1; }; }
4723 # Extract the first word of "true", so it can be a program name with args.
4724 set dummy true
; ac_word
=$2
4725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4727 if test "${ac_cv_prog_NOP+set}" = set; then
4728 echo $ECHO_N "(cached) $ECHO_C" >&6
4730 if test -n "$NOP"; then
4731 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4737 test -z "$as_dir" && as_dir
=.
4738 for ac_exec_ext
in '' $ac_executable_extensions; do
4739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4740 ac_cv_prog_NOP
="true "
4741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4751 if test -n "$NOP"; then
4752 { echo "$as_me:$LINENO: result: $NOP" >&5
4753 echo "${ECHO_T}$NOP" >&6; }
4755 { echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6; }
4760 if test "$NOP" = ""; then
4761 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4762 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4763 { (exit 1); exit 1; }; }
4765 # Extract the first word of "cat", so it can be a program name with args.
4766 set dummy
cat; ac_word
=$2
4767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4769 if test "${ac_cv_prog_CAT+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 if test -n "$CAT"; then
4773 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4779 test -z "$as_dir" && as_dir
=.
4780 for ac_exec_ext
in '' $ac_executable_extensions; do
4781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4782 ac_cv_prog_CAT
="cat "
4783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4793 if test -n "$CAT"; then
4794 { echo "$as_me:$LINENO: result: $CAT" >&5
4795 echo "${ECHO_T}$CAT" >&6; }
4797 { echo "$as_me:$LINENO: result: no" >&5
4798 echo "${ECHO_T}no" >&6; }
4802 if test "$CAT" = ""; then
4803 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4804 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4805 { (exit 1); exit 1; }; }
4807 # Extract the first word of "bison", so it can be a program name with args.
4808 set dummy bison
; ac_word
=$2
4809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4811 if test "${ac_cv_prog_BISON+set}" = set; then
4812 echo $ECHO_N "(cached) $ECHO_C" >&6
4814 if test -n "$BISON"; then
4815 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4821 test -z "$as_dir" && as_dir
=.
4822 for ac_exec_ext
in '' $ac_executable_extensions; do
4823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4824 ac_cv_prog_BISON
="bison "
4825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 BISON
=$ac_cv_prog_BISON
4835 if test -n "$BISON"; then
4836 { echo "$as_me:$LINENO: result: $BISON" >&5
4837 echo "${ECHO_T}$BISON" >&6; }
4839 { echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6; }
4844 if test "$BISON" = ""; then
4845 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4846 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4847 { (exit 1); exit 1; }; }
4849 # Extract the first word of "flex", so it can be a program name with args.
4850 set dummy flex
; ac_word
=$2
4851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4853 if test "${ac_cv_prog_FLEX+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 if test -n "$FLEX"; then
4857 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4863 test -z "$as_dir" && as_dir
=.
4864 for ac_exec_ext
in '' $ac_executable_extensions; do
4865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4866 ac_cv_prog_FLEX
="flex "
4867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 FLEX
=$ac_cv_prog_FLEX
4877 if test -n "$FLEX"; then
4878 { echo "$as_me:$LINENO: result: $FLEX" >&5
4879 echo "${ECHO_T}$FLEX" >&6; }
4881 { echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6; }
4886 if test "$FLEX" = ""; then
4887 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4888 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4889 { (exit 1); exit 1; }; }
4891 # Extract the first word of "pngtopnm", so it can be a program name with args.
4892 set dummy pngtopnm
; ac_word
=$2
4893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4895 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4896 echo $ECHO_N "(cached) $ECHO_C" >&6
4898 if test -n "$PNGTOPNM"; then
4899 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir
=.
4906 for ac_exec_ext
in '' $ac_executable_extensions; do
4907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4908 ac_cv_prog_PNGTOPNM
="pngtopnm "
4909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4919 if test -n "$PNGTOPNM"; then
4920 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4921 echo "${ECHO_T}$PNGTOPNM" >&6; }
4923 { echo "$as_me:$LINENO: result: no" >&5
4924 echo "${ECHO_T}no" >&6; }
4928 if test "$PNGTOPNM" = ""; then
4929 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4930 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4931 { (exit 1); exit 1; }; }
4933 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4934 set dummy ppmtoilbm
; ac_word
=$2
4935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4937 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4940 if test -n "$PPMTOILBM"; then
4941 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir
=.
4948 for ac_exec_ext
in '' $ac_executable_extensions; do
4949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4950 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4961 if test -n "$PPMTOILBM"; then
4962 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4963 echo "${ECHO_T}$PPMTOILBM" >&6; }
4965 { echo "$as_me:$LINENO: result: no" >&5
4966 echo "${ECHO_T}no" >&6; }
4970 if test "$PPMTOILBM" = ""; then
4971 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4972 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4973 { (exit 1); exit 1; }; }
4975 # Extract the first word of "sed", so it can be a program name with args.
4976 set dummy
sed; ac_word
=$2
4977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4979 if test "${ac_cv_prog_SED+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 if test -n "$SED"; then
4983 ac_cv_prog_SED
="$SED" # Let the user override the test.
4985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir
=.
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992 ac_cv_prog_SED
="sed "
4993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 if test -n "$SED"; then
5004 { echo "$as_me:$LINENO: result: $SED" >&5
5005 echo "${ECHO_T}$SED" >&6; }
5007 { echo "$as_me:$LINENO: result: no" >&5
5008 echo "${ECHO_T}no" >&6; }
5012 if test "$SED" = ""; then
5013 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
5014 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
5015 { (exit 1); exit 1; }; }
5017 # Extract the first word of "chmod", so it can be a program name with args.
5018 set dummy
chmod; ac_word
=$2
5019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5021 if test "${ac_cv_prog_CHMOD+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 if test -n "$CHMOD"; then
5025 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5031 test -z "$as_dir" && as_dir
=.
5032 for ac_exec_ext
in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_prog_CHMOD
="chmod "
5035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 CHMOD
=$ac_cv_prog_CHMOD
5045 if test -n "$CHMOD"; then
5046 { echo "$as_me:$LINENO: result: $CHMOD" >&5
5047 echo "${ECHO_T}$CHMOD" >&6; }
5049 { echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6; }
5054 if test "$CHMOD" = ""; then
5055 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
5056 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
5057 { (exit 1); exit 1; }; }
5059 # Extract the first word of "patch", so it can be a program name with args.
5060 set dummy
patch; ac_word
=$2
5061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5063 if test "${ac_cv_prog_PATCH+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5066 if test -n "$PATCH"; then
5067 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5073 test -z "$as_dir" && as_dir
=.
5074 for ac_exec_ext
in '' $ac_executable_extensions; do
5075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5076 ac_cv_prog_PATCH
="patch "
5077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 PATCH
=$ac_cv_prog_PATCH
5087 if test -n "$PATCH"; then
5088 { echo "$as_me:$LINENO: result: $PATCH" >&5
5089 echo "${ECHO_T}$PATCH" >&6; }
5091 { echo "$as_me:$LINENO: result: no" >&5
5092 echo "${ECHO_T}no" >&6; }
5096 if test "$PATCH" = ""; then
5097 { { echo "$as_me:$LINENO: error: patch is required to build AROS. Please install and run configure again." >&5
5098 echo "$as_me: error: patch is required to build AROS. Please install and run configure again." >&2;}
5099 { (exit 1); exit 1; }; }
5106 if test -n "$PYTHON"; then
5107 # If the user set $PYTHON, use it and don't search something else.
5108 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
5109 echo $ECHO_N "checking whether $PYTHON version >= 2.5... $ECHO_C" >&6; }
5110 prog
="import sys, string
5111 # split strings by '.' and convert to numeric. Append some zeros
5112 # because we need at least 4 digits for the hex conversion.
5113 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5115 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5116 sys.exit(sys.hexversion < minverhex)"
5117 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5118 ($PYTHON -c "$prog") >&5 2>&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); }; then
5122 { echo "$as_me:$LINENO: result: yes" >&5
5123 echo "${ECHO_T}yes" >&6; }
5125 { { echo "$as_me:$LINENO: error: too old" >&5
5126 echo "$as_me: error: too old" >&2;}
5127 { (exit 1); exit 1; }; }
5130 am_display_PYTHON
=$PYTHON
5132 # Otherwise, try each interpreter until we find one that satisfies
5134 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.5" >&5
5135 echo $ECHO_N "checking for a Python interpreter with version >= 2.5... $ECHO_C" >&6; }
5136 if test "${am_cv_pathless_PYTHON+set}" = set; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 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
5141 test "$am_cv_pathless_PYTHON" = none
&& break
5142 prog
="import sys, string
5143 # split strings by '.' and convert to numeric. Append some zeros
5144 # because we need at least 4 digits for the hex conversion.
5145 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5147 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5148 sys.exit(sys.hexversion < minverhex)"
5149 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5150 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); }; then
5159 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5160 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
5161 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5162 if test "$am_cv_pathless_PYTHON" = none
; then
5165 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5166 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5169 if test "${ac_cv_path_PYTHON+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir
=.
5182 for ac_exec_ext
in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5195 PYTHON
=$ac_cv_path_PYTHON
5196 if test -n "$PYTHON"; then
5197 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5198 echo "${ECHO_T}$PYTHON" >&6; }
5200 { echo "$as_me:$LINENO: result: no" >&5
5201 echo "${ECHO_T}no" >&6; }
5206 am_display_PYTHON
=$am_cv_pathless_PYTHON
5210 if test "$PYTHON" = :; then
5211 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5212 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5213 { (exit 1); exit 1; }; }
5217 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5218 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5219 if test "${am_cv_python_version+set}" = set; then
5220 echo $ECHO_N "(cached) $ECHO_C" >&6
5222 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5224 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5225 echo "${ECHO_T}$am_cv_python_version" >&6; }
5226 PYTHON_VERSION
=$am_cv_python_version
5230 PYTHON_PREFIX
='${prefix}'
5232 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5236 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5237 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5238 if test "${am_cv_python_platform+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5241 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5243 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5244 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5245 PYTHON_PLATFORM
=$am_cv_python_platform
5250 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5251 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5252 if test "${am_cv_python_pythondir+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5256 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5258 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5259 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5260 pythondir
=$am_cv_python_pythondir
5264 pkgpythondir
=\
${pythondir}/$PACKAGE
5267 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5268 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5269 if test "${am_cv_python_pyexecdir+set}" = set; then
5270 echo $ECHO_N "(cached) $ECHO_C" >&6
5272 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5273 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5275 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5276 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5277 pyexecdir
=$am_cv_python_pyexecdir
5281 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5299 # Check for some includes for the X11 HIDD and the kernel
5302 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5303 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5304 if test "${ac_cv_path_GREP+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 # Extract the first word of "grep ggrep" to use in msg output
5308 if test -z "$GREP"; then
5309 set dummy
grep ggrep
; ac_prog_name
=$2
5310 if test "${ac_cv_path_GREP+set}" = set; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 ac_path_GREP_found
=false
5314 # Loop through the user's path and test for each of PROGNAME-LIST
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5316 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_prog
in grep ggrep
; do
5321 for ac_exec_ext
in '' $ac_executable_extensions; do
5322 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5323 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5324 # Check for GNU ac_path_GREP and select it if it is found.
5325 # Check for GNU $ac_path_GREP
5326 case `"$ac_path_GREP" --version 2>&1` in
5328 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5331 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5334 cat "conftest.in" "conftest.in" >"conftest.tmp"
5335 mv "conftest.tmp" "conftest.in"
5336 cp "conftest.in" "conftest.nl"
5337 echo 'GREP' >> "conftest.nl"
5338 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5339 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5340 ac_count
=`expr $ac_count + 1`
5341 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5342 # Best one so far, save it but keep looking for a better one
5343 ac_cv_path_GREP
="$ac_path_GREP"
5344 ac_path_GREP_max
=$ac_count
5346 # 10*(2^10) chars as input seems more than enough
5347 test $ac_count -gt 10 && break
5349 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5353 $ac_path_GREP_found && break 3
5363 GREP
="$ac_cv_path_GREP"
5364 if test -z "$GREP"; then
5365 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5366 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5367 { (exit 1); exit 1; }; }
5371 ac_cv_path_GREP
=$GREP
5376 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5377 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5378 GREP
="$ac_cv_path_GREP"
5381 { echo "$as_me:$LINENO: checking for egrep" >&5
5382 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5383 if test "${ac_cv_path_EGREP+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5386 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5387 then ac_cv_path_EGREP
="$GREP -E"
5389 # Extract the first word of "egrep" to use in msg output
5390 if test -z "$EGREP"; then
5391 set dummy
egrep; ac_prog_name
=$2
5392 if test "${ac_cv_path_EGREP+set}" = set; then
5393 echo $ECHO_N "(cached) $ECHO_C" >&6
5395 ac_path_EGREP_found
=false
5396 # Loop through the user's path and test for each of PROGNAME-LIST
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5398 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_prog
in egrep; do
5403 for ac_exec_ext
in '' $ac_executable_extensions; do
5404 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5405 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5406 # Check for GNU ac_path_EGREP and select it if it is found.
5407 # Check for GNU $ac_path_EGREP
5408 case `"$ac_path_EGREP" --version 2>&1` in
5410 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5413 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5416 cat "conftest.in" "conftest.in" >"conftest.tmp"
5417 mv "conftest.tmp" "conftest.in"
5418 cp "conftest.in" "conftest.nl"
5419 echo 'EGREP' >> "conftest.nl"
5420 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5421 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5422 ac_count
=`expr $ac_count + 1`
5423 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5424 # Best one so far, save it but keep looking for a better one
5425 ac_cv_path_EGREP
="$ac_path_EGREP"
5426 ac_path_EGREP_max
=$ac_count
5428 # 10*(2^10) chars as input seems more than enough
5429 test $ac_count -gt 10 && break
5431 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5435 $ac_path_EGREP_found && break 3
5445 EGREP
="$ac_cv_path_EGREP"
5446 if test -z "$EGREP"; then
5447 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5448 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5449 { (exit 1); exit 1; }; }
5453 ac_cv_path_EGREP
=$EGREP
5459 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5460 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5461 EGREP
="$ac_cv_path_EGREP"
5464 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5465 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5466 if test "${ac_cv_header_stdc+set}" = set; then
5467 echo $ECHO_N "(cached) $ECHO_C" >&6
5469 cat >conftest.
$ac_ext <<_ACEOF
5472 cat confdefs.h
>>conftest.
$ac_ext
5473 cat >>conftest.
$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5488 rm -f conftest.
$ac_objext
5489 if { (ac_try
="$ac_compile"
5491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5492 *) ac_try_echo=$ac_try;;
5494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5495 (eval "$ac_compile") 2>conftest.er1
5497 grep -v '^ *+' conftest.er1 >conftest.err
5499 cat conftest.err >&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } && {
5502 test -z "$ac_c_werror_flag" ||
5503 test ! -s conftest.err
5504 } && test -s conftest.$ac_objext; then
5505 ac_cv_header_stdc=yes
5507 echo "$as_me: failed program was:" >&5
5508 sed 's/^/| /' conftest.$ac_ext >&5
5510 ac_cv_header_stdc=no
5513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5515 if test $ac_cv_header_stdc = yes; then
5516 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5517 cat >conftest.$ac_ext <<_ACEOF
5520 cat confdefs.h >>conftest.$ac_ext
5521 cat >>conftest.$ac_ext <<_ACEOF
5522 /* end confdefs.h. */
5526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5527 $EGREP "memchr" >/dev/null 2>&1; then
5530 ac_cv_header_stdc=no
5536 if test $ac_cv_header_stdc = yes; then
5537 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5538 cat >conftest.$ac_ext <<_ACEOF
5541 cat confdefs.h >>conftest.$ac_ext
5542 cat >>conftest.$ac_ext <<_ACEOF
5543 /* end confdefs.h. */
5547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5548 $EGREP "free" >/dev/null 2>&1; then
5551 ac_cv_header_stdc=no
5557 if test $ac_cv_header_stdc = yes; then
5558 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5559 if test "$cross_compiling" = yes; then
5562 cat >conftest.$ac_ext <<_ACEOF
5565 cat confdefs.h >>conftest.$ac_ext
5566 cat >>conftest.$ac_ext <<_ACEOF
5567 /* end confdefs.h. */
5570 #if ((' ' & 0x0FF) == 0x020)
5571 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5572 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5574 # define ISLOWER(c) \
5575 (('a' <= (c) && (c) <= 'i') \
5576 || ('j' <= (c) && (c) <= 'r') \
5577 || ('s' <= (c) && (c) <= 'z'))
5578 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5581 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5586 for (i = 0; i < 256; i++)
5587 if (XOR (islower (i), ISLOWER (i))
5588 || toupper (i) != TOUPPER (i))
5593 rm -f conftest$ac_exeext
5594 if { (ac_try="$ac_link"
5596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5597 *) ac_try_echo
=$ac_try;;
5599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5600 (eval "$ac_link") 2>&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5604 { (case "(($ac_try" in
5605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5606 *) ac_try_echo=$ac_try;;
5608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5609 (eval "$ac_try") 2>&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); }; }; then
5615 echo "$as_me: program exited with status $ac_status" >&5
5616 echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.$ac_ext >&5
5620 ac_cv_header_stdc=no
5622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5628 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5629 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5630 if test $ac_cv_header_stdc = yes; then
5632 cat >>confdefs.h <<\_ACEOF
5633 #define STDC_HEADERS 1
5638 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5648 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5649 inttypes.h stdint.h unistd.h
5651 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5652 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5655 echo $ECHO_N "(cached) $ECHO_C" >&6
5657 cat >conftest.$ac_ext <<_ACEOF
5660 cat confdefs.h >>conftest.$ac_ext
5661 cat >>conftest.$ac_ext <<_ACEOF
5662 /* end confdefs.h. */
5663 $ac_includes_default
5665 #include <$ac_header>
5667 rm -f conftest.$ac_objext
5668 if { (ac_try="$ac_compile"
5670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5671 *) ac_try_echo
=$ac_try;;
5673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5674 (eval "$ac_compile") 2>conftest.er1
5676 grep -v '^ *+' conftest.er1
>conftest.err
5678 cat conftest.err
>&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); } && {
5681 test -z "$ac_c_werror_flag" ||
5682 test ! -s conftest.err
5683 } && test -s conftest.
$ac_objext; then
5684 eval "$as_ac_Header=yes"
5686 echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.
$ac_ext >&5
5689 eval "$as_ac_Header=no"
5692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5694 ac_res
=`eval echo '${'$as_ac_Header'}'`
5695 { echo "$as_me:$LINENO: result: $ac_res" >&5
5696 echo "${ECHO_T}$ac_res" >&6; }
5697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5698 cat >>confdefs.h
<<_ACEOF
5699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5716 for ac_header
in sys
/ipc.h sys
/shm.h \
5717 sys
/mmap.h sys
/mman.h sysexits.h \
5718 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5721 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5722 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5723 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5725 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 ac_res
=`eval echo '${'$as_ac_Header'}'`
5729 { echo "$as_me:$LINENO: result: $ac_res" >&5
5730 echo "${ECHO_T}$ac_res" >&6; }
5732 # Is the header compilable?
5733 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5735 cat >conftest.
$ac_ext <<_ACEOF
5738 cat confdefs.h
>>conftest.
$ac_ext
5739 cat >>conftest.
$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5741 $ac_includes_default
5742 #include <$ac_header>
5744 rm -f conftest.
$ac_objext
5745 if { (ac_try
="$ac_compile"
5747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5748 *) ac_try_echo=$ac_try;;
5750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5751 (eval "$ac_compile") 2>conftest.er1
5753 grep -v '^ *+' conftest.er1 >conftest.err
5755 cat conftest.err >&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); } && {
5758 test -z "$ac_c_werror_flag" ||
5759 test ! -s conftest.err
5760 } && test -s conftest.$ac_objext; then
5761 ac_header_compiler=yes
5763 echo "$as_me: failed program was:" >&5
5764 sed 's/^/| /' conftest.$ac_ext >&5
5766 ac_header_compiler=no
5769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5770 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5771 echo "${ECHO_T}$ac_header_compiler" >&6; }
5773 # Is the header present?
5774 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5776 cat >conftest.$ac_ext <<_ACEOF
5779 cat confdefs.h >>conftest.$ac_ext
5780 cat >>conftest.$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 #include <$ac_header>
5784 if { (ac_try="$ac_cpp conftest.$ac_ext"
5786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5787 *) ac_try_echo
=$ac_try;;
5789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5792 grep -v '^ *+' conftest.er1
>conftest.err
5794 cat conftest.err
>&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); } >/dev
/null
&& {
5797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5798 test ! -s conftest.err
5800 ac_header_preproc
=yes
5802 echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.
$ac_ext >&5
5805 ac_header_preproc
=no
5808 rm -f conftest.err conftest.
$ac_ext
5809 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5810 echo "${ECHO_T}$ac_header_preproc" >&6; }
5812 # So? What about this header?
5813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5819 ac_header_preproc
=yes
5822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5839 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5842 eval "$as_ac_Header=\$ac_header_preproc"
5844 ac_res
=`eval echo '${'$as_ac_Header'}'`
5845 { echo "$as_me:$LINENO: result: $ac_res" >&5
5846 echo "${ECHO_T}$ac_res" >&6; }
5849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5850 cat >>confdefs.h
<<_ACEOF
5851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5860 for ac_header
in sys
/mount.h
5862 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5863 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5865 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5866 echo $ECHO_N "(cached) $ECHO_C" >&6
5868 cat >conftest.
$ac_ext <<_ACEOF
5871 cat confdefs.h
>>conftest.
$ac_ext
5872 cat >>conftest.
$ac_ext <<_ACEOF
5873 /* end confdefs.h. */
5874 #include <sys/param.h>
5876 #include <$ac_header>
5878 rm -f conftest.
$ac_objext
5879 if { (ac_try
="$ac_compile"
5881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5882 *) ac_try_echo=$ac_try;;
5884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5885 (eval "$ac_compile") 2>conftest.er1
5887 grep -v '^ *+' conftest.er1 >conftest.err
5889 cat conftest.err >&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); } && {
5892 test -z "$ac_c_werror_flag" ||
5893 test ! -s conftest.err
5894 } && test -s conftest.$ac_objext; then
5895 eval "$as_ac_Header=yes"
5897 echo "$as_me: failed program was:" >&5
5898 sed 's/^/| /' conftest.$ac_ext >&5
5900 eval "$as_ac_Header=no"
5903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5905 ac_res=`eval echo '${'$as_ac_Header'}'`
5906 { echo "$as_me:$LINENO: result: $ac_res" >&5
5907 echo "${ECHO_T}$ac_res" >&6; }
5908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5909 cat >>confdefs.h <<_ACEOF
5910 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5924 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5925 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5926 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5927 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 cat >conftest.$ac_ext <<_ACEOF
5934 cat confdefs.h >>conftest.$ac_ext
5935 cat >>conftest.$ac_ext <<_ACEOF
5936 /* end confdefs.h. */
5937 #include <sys/types.h>
5949 rm -f conftest.$ac_objext
5950 if { (ac_try="$ac_compile"
5952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5953 *) ac_try_echo
=$ac_try;;
5955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5956 (eval "$ac_compile") 2>conftest.er1
5958 grep -v '^ *+' conftest.er1
>conftest.err
5960 cat conftest.err
>&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); } && {
5963 test -z "$ac_c_werror_flag" ||
5964 test ! -s conftest.err
5965 } && test -s conftest.
$ac_objext; then
5966 eval "$as_ac_Header=yes"
5968 echo "$as_me: failed program was:" >&5
5969 sed 's/^/| /' conftest.
$ac_ext >&5
5971 eval "$as_ac_Header=no"
5974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5976 ac_res
=`eval echo '${'$as_ac_Header'}'`
5977 { echo "$as_me:$LINENO: result: $ac_res" >&5
5978 echo "${ECHO_T}$ac_res" >&6; }
5979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5980 cat >>confdefs.h
<<_ACEOF
5981 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5984 ac_header_dirent
=$ac_hdr; break
5988 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5989 if test $ac_header_dirent = dirent.h
; then
5990 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5991 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5992 if test "${ac_cv_search_opendir+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 ac_func_search_save_LIBS
=$LIBS
5996 cat >conftest.
$ac_ext <<_ACEOF
5999 cat confdefs.h
>>conftest.
$ac_ext
6000 cat >>conftest.
$ac_ext <<_ACEOF
6001 /* end confdefs.h. */
6003 /* Override any GCC internal prototype to avoid an error.
6004 Use char because int might match the return type of a GCC
6005 builtin and then its argument prototype would still apply. */
6018 for ac_lib
in '' dir
; do
6019 if test -z "$ac_lib"; then
6020 ac_res
="none required"
6023 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6025 rm -f conftest.
$ac_objext conftest
$ac_exeext
6026 if { (ac_try
="$ac_link"
6028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6029 *) ac_try_echo=$ac_try;;
6031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6032 (eval "$ac_link") 2>conftest.er1
6034 grep -v '^ *+' conftest.er1 >conftest.err
6036 cat conftest.err >&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); } && {
6039 test -z "$ac_c_werror_flag" ||
6040 test ! -s conftest.err
6041 } && test -s conftest$ac_exeext &&
6042 $as_test_x conftest$ac_exeext; then
6043 ac_cv_search_opendir=$ac_res
6045 echo "$as_me: failed program was:" >&5
6046 sed 's/^/| /' conftest.$ac_ext >&5
6051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6053 if test "${ac_cv_search_opendir+set}" = set; then
6057 if test "${ac_cv_search_opendir+set}" = set; then
6060 ac_cv_search_opendir=no
6063 LIBS=$ac_func_search_save_LIBS
6065 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6066 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6067 ac_res=$ac_cv_search_opendir
6068 if test "$ac_res" != no; then
6069 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6074 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6075 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6076 if test "${ac_cv_search_opendir+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 ac_func_search_save_LIBS=$LIBS
6080 cat >conftest.$ac_ext <<_ACEOF
6083 cat confdefs.h >>conftest.$ac_ext
6084 cat >>conftest.$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6087 /* Override any GCC internal prototype to avoid an error.
6088 Use char because int might match the return type of a GCC
6089 builtin and then its argument prototype would still apply. */
6102 for ac_lib in '' x; do
6103 if test -z "$ac_lib"; then
6104 ac_res="none required"
6107 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6109 rm -f conftest.$ac_objext conftest$ac_exeext
6110 if { (ac_try="$ac_link"
6112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6113 *) ac_try_echo
=$ac_try;;
6115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6116 (eval "$ac_link") 2>conftest.er1
6118 grep -v '^ *+' conftest.er1
>conftest.err
6120 cat conftest.err
>&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); } && {
6123 test -z "$ac_c_werror_flag" ||
6124 test ! -s conftest.err
6125 } && test -s conftest
$ac_exeext &&
6126 $as_test_x conftest
$ac_exeext; then
6127 ac_cv_search_opendir
=$ac_res
6129 echo "$as_me: failed program was:" >&5
6130 sed 's/^/| /' conftest.
$ac_ext >&5
6135 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6137 if test "${ac_cv_search_opendir+set}" = set; then
6141 if test "${ac_cv_search_opendir+set}" = set; then
6144 ac_cv_search_opendir
=no
6147 LIBS
=$ac_func_search_save_LIBS
6149 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6150 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6151 ac_res
=$ac_cv_search_opendir
6152 if test "$ac_res" != no
; then
6153 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6159 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6160 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
6161 if test "${ac_cv_header_stat_broken+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6164 cat >conftest.
$ac_ext <<_ACEOF
6167 cat confdefs.h
>>conftest.
$ac_ext
6168 cat >>conftest.
$ac_ext <<_ACEOF
6169 /* end confdefs.h. */
6170 #include <sys/types.h>
6171 #include <sys/stat.h>
6173 #if defined S_ISBLK && defined S_IFDIR
6174 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6177 #if defined S_ISBLK && defined S_IFCHR
6178 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6181 #if defined S_ISLNK && defined S_IFREG
6182 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6185 #if defined S_ISSOCK && defined S_IFREG
6186 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6190 rm -f conftest.
$ac_objext
6191 if { (ac_try
="$ac_compile"
6193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6194 *) ac_try_echo=$ac_try;;
6196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6197 (eval "$ac_compile") 2>conftest.er1
6199 grep -v '^ *+' conftest.er1 >conftest.err
6201 cat conftest.err >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } && {
6204 test -z "$ac_c_werror_flag" ||
6205 test ! -s conftest.err
6206 } && test -s conftest.$ac_objext; then
6207 ac_cv_header_stat_broken=no
6209 echo "$as_me: failed program was:" >&5
6210 sed 's/^/| /' conftest.$ac_ext >&5
6212 ac_cv_header_stat_broken=yes
6215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6217 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6218 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6219 if test $ac_cv_header_stat_broken = yes; then
6221 cat >>confdefs.h <<\_ACEOF
6222 #define STAT_MACROS_BROKEN 1
6227 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6228 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6229 if test "${ac_cv_header_stdc+set}" = set; then
6230 echo $ECHO_N "(cached) $ECHO_C" >&6
6232 cat >conftest.$ac_ext <<_ACEOF
6235 cat confdefs.h >>conftest.$ac_ext
6236 cat >>conftest.$ac_ext <<_ACEOF
6237 /* end confdefs.h. */
6251 rm -f conftest.$ac_objext
6252 if { (ac_try="$ac_compile"
6254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6255 *) ac_try_echo
=$ac_try;;
6257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6258 (eval "$ac_compile") 2>conftest.er1
6260 grep -v '^ *+' conftest.er1
>conftest.err
6262 cat conftest.err
>&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } && {
6265 test -z "$ac_c_werror_flag" ||
6266 test ! -s conftest.err
6267 } && test -s conftest.
$ac_objext; then
6268 ac_cv_header_stdc
=yes
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6273 ac_cv_header_stdc
=no
6276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6278 if test $ac_cv_header_stdc = yes; then
6279 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6280 cat >conftest.
$ac_ext <<_ACEOF
6283 cat confdefs.h
>>conftest.
$ac_ext
6284 cat >>conftest.
$ac_ext <<_ACEOF
6285 /* end confdefs.h. */
6289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6290 $EGREP "memchr" >/dev
/null
2>&1; then
6293 ac_cv_header_stdc
=no
6299 if test $ac_cv_header_stdc = yes; then
6300 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6301 cat >conftest.
$ac_ext <<_ACEOF
6304 cat confdefs.h
>>conftest.
$ac_ext
6305 cat >>conftest.
$ac_ext <<_ACEOF
6306 /* end confdefs.h. */
6310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6311 $EGREP "free" >/dev
/null
2>&1; then
6314 ac_cv_header_stdc
=no
6320 if test $ac_cv_header_stdc = yes; then
6321 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6322 if test "$cross_compiling" = yes; then
6325 cat >conftest.
$ac_ext <<_ACEOF
6328 cat confdefs.h
>>conftest.
$ac_ext
6329 cat >>conftest.
$ac_ext <<_ACEOF
6330 /* end confdefs.h. */
6333 #if ((' ' & 0x0FF) == 0x020)
6334 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6335 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6337 # define ISLOWER(c) \
6338 (('a' <= (c) && (c) <= 'i') \
6339 || ('j' <= (c) && (c) <= 'r') \
6340 || ('s' <= (c) && (c) <= 'z'))
6341 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6344 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6349 for (i = 0; i < 256; i++)
6350 if (XOR (islower (i), ISLOWER (i))
6351 || toupper (i) != TOUPPER (i))
6356 rm -f conftest
$ac_exeext
6357 if { (ac_try
="$ac_link"
6359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6360 *) ac_try_echo=$ac_try;;
6362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6363 (eval "$ac_link") 2>&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6367 { (case "(($ac_try" in
6368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6369 *) ac_try_echo
=$ac_try;;
6371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6372 (eval "$ac_try") 2>&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; }; then
6378 echo "$as_me: program exited with status $ac_status" >&5
6379 echo "$as_me: failed program was:" >&5
6380 sed 's/^/| /' conftest.
$ac_ext >&5
6383 ac_cv_header_stdc
=no
6385 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6391 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6392 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6393 if test $ac_cv_header_stdc = yes; then
6395 cat >>confdefs.h
<<\_ACEOF
6396 #define STDC_HEADERS 1
6401 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6402 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6403 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 cat >conftest.
$ac_ext <<_ACEOF
6409 cat confdefs.h
>>conftest.
$ac_ext
6410 cat >>conftest.
$ac_ext <<_ACEOF
6411 /* end confdefs.h. */
6412 #include <sys/types.h>
6413 #include <sys/wait.h>
6415 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6418 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6426 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6431 rm -f conftest.
$ac_objext
6432 if { (ac_try
="$ac_compile"
6434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6435 *) ac_try_echo=$ac_try;;
6437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6438 (eval "$ac_compile") 2>conftest.er1
6440 grep -v '^ *+' conftest.er1 >conftest.err
6442 cat conftest.err >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); } && {
6445 test -z "$ac_c_werror_flag" ||
6446 test ! -s conftest.err
6447 } && test -s conftest.$ac_objext; then
6448 ac_cv_header_sys_wait_h=yes
6450 echo "$as_me: failed program was:" >&5
6451 sed 's/^/| /' conftest.$ac_ext >&5
6453 ac_cv_header_sys_wait_h=no
6456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6458 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6459 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6460 if test $ac_cv_header_sys_wait_h = yes; then
6462 cat >>confdefs.h <<\_ACEOF
6463 #define HAVE_SYS_WAIT_H 1
6468 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6469 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6470 if test "${ac_cv_header_time+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 cat >conftest.$ac_ext <<_ACEOF
6476 cat confdefs.h >>conftest.$ac_ext
6477 cat >>conftest.$ac_ext <<_ACEOF
6478 /* end confdefs.h. */
6479 #include <sys/types.h>
6480 #include <sys/time.h>
6486 if ((struct tm *) 0)
6492 rm -f conftest.$ac_objext
6493 if { (ac_try="$ac_compile"
6495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6496 *) ac_try_echo
=$ac_try;;
6498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6499 (eval "$ac_compile") 2>conftest.er1
6501 grep -v '^ *+' conftest.er1
>conftest.err
6503 cat conftest.err
>&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); } && {
6506 test -z "$ac_c_werror_flag" ||
6507 test ! -s conftest.err
6508 } && test -s conftest.
$ac_objext; then
6509 ac_cv_header_time
=yes
6511 echo "$as_me: failed program was:" >&5
6512 sed 's/^/| /' conftest.
$ac_ext >&5
6514 ac_cv_header_time
=no
6517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6519 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6520 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6521 if test $ac_cv_header_time = yes; then
6523 cat >>confdefs.h
<<\_ACEOF
6524 #define TIME_WITH_SYS_TIME 1
6529 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6530 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6531 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 cat >conftest.
$ac_ext <<_ACEOF
6537 cat confdefs.h
>>conftest.
$ac_ext
6538 cat >>conftest.
$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6540 $ac_includes_default
6544 static struct stat ac_aggr;
6545 if (ac_aggr.st_blksize)
6551 rm -f conftest.
$ac_objext
6552 if { (ac_try
="$ac_compile"
6554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6555 *) ac_try_echo=$ac_try;;
6557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6558 (eval "$ac_compile") 2>conftest.er1
6560 grep -v '^ *+' conftest.er1 >conftest.err
6562 cat conftest.err >&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } && {
6565 test -z "$ac_c_werror_flag" ||
6566 test ! -s conftest.err
6567 } && test -s conftest.$ac_objext; then
6568 ac_cv_member_struct_stat_st_blksize=yes
6570 echo "$as_me: failed program was:" >&5
6571 sed 's/^/| /' conftest.$ac_ext >&5
6573 cat >conftest.$ac_ext <<_ACEOF
6576 cat confdefs.h >>conftest.$ac_ext
6577 cat >>conftest.$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6579 $ac_includes_default
6583 static struct stat ac_aggr;
6584 if (sizeof ac_aggr.st_blksize)
6590 rm -f conftest.$ac_objext
6591 if { (ac_try="$ac_compile"
6593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6594 *) ac_try_echo
=$ac_try;;
6596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6597 (eval "$ac_compile") 2>conftest.er1
6599 grep -v '^ *+' conftest.er1
>conftest.err
6601 cat conftest.err
>&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); } && {
6604 test -z "$ac_c_werror_flag" ||
6605 test ! -s conftest.err
6606 } && test -s conftest.
$ac_objext; then
6607 ac_cv_member_struct_stat_st_blksize
=yes
6609 echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.
$ac_ext >&5
6612 ac_cv_member_struct_stat_st_blksize
=no
6615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6620 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6621 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6622 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6624 cat >>confdefs.h
<<_ACEOF
6625 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6629 cat >>confdefs.h
<<\_ACEOF
6630 #define HAVE_ST_BLKSIZE 1
6636 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6637 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6638 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6639 echo $ECHO_N "(cached) $ECHO_C" >&6
6641 cat >conftest.
$ac_ext <<_ACEOF
6644 cat confdefs.h
>>conftest.
$ac_ext
6645 cat >>conftest.
$ac_ext <<_ACEOF
6646 /* end confdefs.h. */
6647 $ac_includes_default
6651 static struct stat ac_aggr;
6652 if (ac_aggr.st_blocks)
6658 rm -f conftest.
$ac_objext
6659 if { (ac_try
="$ac_compile"
6661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6662 *) ac_try_echo=$ac_try;;
6664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6665 (eval "$ac_compile") 2>conftest.er1
6667 grep -v '^ *+' conftest.er1 >conftest.err
6669 cat conftest.err >&5
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); } && {
6672 test -z "$ac_c_werror_flag" ||
6673 test ! -s conftest.err
6674 } && test -s conftest.$ac_objext; then
6675 ac_cv_member_struct_stat_st_blocks=yes
6677 echo "$as_me: failed program was:" >&5
6678 sed 's/^/| /' conftest.$ac_ext >&5
6680 cat >conftest.$ac_ext <<_ACEOF
6683 cat confdefs.h >>conftest.$ac_ext
6684 cat >>conftest.$ac_ext <<_ACEOF
6685 /* end confdefs.h. */
6686 $ac_includes_default
6690 static struct stat ac_aggr;
6691 if (sizeof ac_aggr.st_blocks)
6697 rm -f conftest.$ac_objext
6698 if { (ac_try="$ac_compile"
6700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6701 *) ac_try_echo
=$ac_try;;
6703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6704 (eval "$ac_compile") 2>conftest.er1
6706 grep -v '^ *+' conftest.er1
>conftest.err
6708 cat conftest.err
>&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } && {
6711 test -z "$ac_c_werror_flag" ||
6712 test ! -s conftest.err
6713 } && test -s conftest.
$ac_objext; then
6714 ac_cv_member_struct_stat_st_blocks
=yes
6716 echo "$as_me: failed program was:" >&5
6717 sed 's/^/| /' conftest.
$ac_ext >&5
6719 ac_cv_member_struct_stat_st_blocks
=no
6722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6727 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6728 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6729 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6731 cat >>confdefs.h
<<_ACEOF
6732 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6736 cat >>confdefs.h
<<\_ACEOF
6737 #define HAVE_ST_BLOCKS 1
6741 case " $LIBOBJS " in
6742 *" fileblocks.$ac_objext "* ) ;;
6743 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6750 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6751 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6752 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6753 echo $ECHO_N "(cached) $ECHO_C" >&6
6755 cat >conftest.
$ac_ext <<_ACEOF
6758 cat confdefs.h
>>conftest.
$ac_ext
6759 cat >>conftest.
$ac_ext <<_ACEOF
6760 /* end confdefs.h. */
6761 $ac_includes_default
6765 static struct stat ac_aggr;
6766 if (ac_aggr.st_rdev)
6772 rm -f conftest.
$ac_objext
6773 if { (ac_try
="$ac_compile"
6775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6776 *) ac_try_echo=$ac_try;;
6778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6779 (eval "$ac_compile") 2>conftest.er1
6781 grep -v '^ *+' conftest.er1 >conftest.err
6783 cat conftest.err >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); } && {
6786 test -z "$ac_c_werror_flag" ||
6787 test ! -s conftest.err
6788 } && test -s conftest.$ac_objext; then
6789 ac_cv_member_struct_stat_st_rdev=yes
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.$ac_ext >&5
6794 cat >conftest.$ac_ext <<_ACEOF
6797 cat confdefs.h >>conftest.$ac_ext
6798 cat >>conftest.$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6800 $ac_includes_default
6804 static struct stat ac_aggr;
6805 if (sizeof ac_aggr.st_rdev)
6811 rm -f conftest.$ac_objext
6812 if { (ac_try="$ac_compile"
6814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6815 *) ac_try_echo
=$ac_try;;
6817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6818 (eval "$ac_compile") 2>conftest.er1
6820 grep -v '^ *+' conftest.er1
>conftest.err
6822 cat conftest.err
>&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); } && {
6825 test -z "$ac_c_werror_flag" ||
6826 test ! -s conftest.err
6827 } && test -s conftest.
$ac_objext; then
6828 ac_cv_member_struct_stat_st_rdev
=yes
6830 echo "$as_me: failed program was:" >&5
6831 sed 's/^/| /' conftest.
$ac_ext >&5
6833 ac_cv_member_struct_stat_st_rdev
=no
6836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6841 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6842 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6843 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6845 cat >>confdefs.h
<<_ACEOF
6846 #define HAVE_STRUCT_STAT_ST_RDEV 1
6850 cat >>confdefs.h
<<\_ACEOF
6851 #define HAVE_ST_RDEV 1
6857 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6858 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6859 if test "${ac_cv_struct_tm+set}" = set; then
6860 echo $ECHO_N "(cached) $ECHO_C" >&6
6862 cat >conftest.
$ac_ext <<_ACEOF
6865 cat confdefs.h
>>conftest.
$ac_ext
6866 cat >>conftest.
$ac_ext <<_ACEOF
6867 /* end confdefs.h. */
6868 #include <sys/types.h>
6875 int *p = &tm.tm_sec;
6881 rm -f conftest.
$ac_objext
6882 if { (ac_try
="$ac_compile"
6884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6885 *) ac_try_echo=$ac_try;;
6887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6888 (eval "$ac_compile") 2>conftest.er1
6890 grep -v '^ *+' conftest.er1 >conftest.err
6892 cat conftest.err >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); } && {
6895 test -z "$ac_c_werror_flag" ||
6896 test ! -s conftest.err
6897 } && test -s conftest.$ac_objext; then
6898 ac_cv_struct_tm=time.h
6900 echo "$as_me: failed program was:" >&5
6901 sed 's/^/| /' conftest.$ac_ext >&5
6903 ac_cv_struct_tm=sys/time.h
6906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6908 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6909 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6910 if test $ac_cv_struct_tm = sys/time.h; then
6912 cat >>confdefs.h <<\_ACEOF
6913 #define TM_IN_SYS_TIME 1
6918 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6919 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6920 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6921 echo $ECHO_N "(cached) $ECHO_C" >&6
6923 cat >conftest.$ac_ext <<_ACEOF
6926 cat confdefs.h >>conftest.$ac_ext
6927 cat >>conftest.$ac_ext <<_ACEOF
6928 /* end confdefs.h. */
6929 #include <sys/types.h>
6930 #include <$ac_cv_struct_tm>
6936 static struct tm ac_aggr;
6937 if (ac_aggr.tm_zone)
6943 rm -f conftest.$ac_objext
6944 if { (ac_try="$ac_compile"
6946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6947 *) ac_try_echo
=$ac_try;;
6949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6950 (eval "$ac_compile") 2>conftest.er1
6952 grep -v '^ *+' conftest.er1
>conftest.err
6954 cat conftest.err
>&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); } && {
6957 test -z "$ac_c_werror_flag" ||
6958 test ! -s conftest.err
6959 } && test -s conftest.
$ac_objext; then
6960 ac_cv_member_struct_tm_tm_zone
=yes
6962 echo "$as_me: failed program was:" >&5
6963 sed 's/^/| /' conftest.
$ac_ext >&5
6965 cat >conftest.
$ac_ext <<_ACEOF
6968 cat confdefs.h
>>conftest.
$ac_ext
6969 cat >>conftest.
$ac_ext <<_ACEOF
6970 /* end confdefs.h. */
6971 #include <sys/types.h>
6972 #include <$ac_cv_struct_tm>
6978 static struct tm ac_aggr;
6979 if (sizeof ac_aggr.tm_zone)
6985 rm -f conftest.
$ac_objext
6986 if { (ac_try
="$ac_compile"
6988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6989 *) ac_try_echo=$ac_try;;
6991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6992 (eval "$ac_compile") 2>conftest.er1
6994 grep -v '^ *+' conftest.er1 >conftest.err
6996 cat conftest.err >&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); } && {
6999 test -z "$ac_c_werror_flag" ||
7000 test ! -s conftest.err
7001 } && test -s conftest.$ac_objext; then
7002 ac_cv_member_struct_tm_tm_zone=yes
7004 echo "$as_me: failed program was:" >&5
7005 sed 's/^/| /' conftest.$ac_ext >&5
7007 ac_cv_member_struct_tm_tm_zone=no
7010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7015 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7016 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
7017 if test $ac_cv_member_struct_tm_tm_zone = yes; then
7019 cat >>confdefs.h <<_ACEOF
7020 #define HAVE_STRUCT_TM_TM_ZONE 1
7026 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7028 cat >>confdefs.h <<\_ACEOF
7029 #define HAVE_TM_ZONE 1
7033 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
7034 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
7035 if test "${ac_cv_have_decl_tzname+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 cat >conftest.$ac_ext <<_ACEOF
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7057 rm -f conftest.$ac_objext
7058 if { (ac_try="$ac_compile"
7060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7061 *) ac_try_echo
=$ac_try;;
7063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7064 (eval "$ac_compile") 2>conftest.er1
7066 grep -v '^ *+' conftest.er1
>conftest.err
7068 cat conftest.err
>&5
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); } && {
7071 test -z "$ac_c_werror_flag" ||
7072 test ! -s conftest.err
7073 } && test -s conftest.
$ac_objext; then
7074 ac_cv_have_decl_tzname
=yes
7076 echo "$as_me: failed program was:" >&5
7077 sed 's/^/| /' conftest.
$ac_ext >&5
7079 ac_cv_have_decl_tzname
=no
7082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7084 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
7085 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
7086 if test $ac_cv_have_decl_tzname = yes; then
7088 cat >>confdefs.h
<<_ACEOF
7089 #define HAVE_DECL_TZNAME 1
7094 cat >>confdefs.h
<<_ACEOF
7095 #define HAVE_DECL_TZNAME 0
7102 { echo "$as_me:$LINENO: checking for tzname" >&5
7103 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
7104 if test "${ac_cv_var_tzname+set}" = set; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 cat >conftest.
$ac_ext <<_ACEOF
7110 cat confdefs.h
>>conftest.
$ac_ext
7111 cat >>conftest.
$ac_ext <<_ACEOF
7112 /* end confdefs.h. */
7114 #if !HAVE_DECL_TZNAME
7115 extern char *tzname[];
7121 return tzname[0][0];
7126 rm -f conftest.
$ac_objext conftest
$ac_exeext
7127 if { (ac_try
="$ac_link"
7129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7130 *) ac_try_echo=$ac_try;;
7132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7133 (eval "$ac_link") 2>conftest.er1
7135 grep -v '^ *+' conftest.er1 >conftest.err
7137 cat conftest.err >&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); } && {
7140 test -z "$ac_c_werror_flag" ||
7141 test ! -s conftest.err
7142 } && test -s conftest$ac_exeext &&
7143 $as_test_x conftest$ac_exeext; then
7144 ac_cv_var_tzname=yes
7146 echo "$as_me: failed program was:" >&5
7147 sed 's/^/| /' conftest.$ac_ext >&5
7152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7153 conftest$ac_exeext conftest.$ac_ext
7155 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7156 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
7157 if test $ac_cv_var_tzname = yes; then
7159 cat >>confdefs.h <<\_ACEOF
7160 #define HAVE_TZNAME 1
7166 { echo "$as_me:$LINENO: checking for off_t" >&5
7167 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
7168 if test "${ac_cv_type_off_t+set}" = set; then
7169 echo $ECHO_N "(cached) $ECHO_C" >&6
7171 cat >conftest.$ac_ext <<_ACEOF
7174 cat confdefs.h >>conftest.$ac_ext
7175 cat >>conftest.$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7177 $ac_includes_default
7178 typedef off_t ac__type_new_;
7182 if ((ac__type_new_ *) 0)
7184 if (sizeof (ac__type_new_))
7190 rm -f conftest.$ac_objext
7191 if { (ac_try="$ac_compile"
7193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7194 *) ac_try_echo
=$ac_try;;
7196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7197 (eval "$ac_compile") 2>conftest.er1
7199 grep -v '^ *+' conftest.er1
>conftest.err
7201 cat conftest.err
>&5
7202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); } && {
7204 test -z "$ac_c_werror_flag" ||
7205 test ! -s conftest.err
7206 } && test -s conftest.
$ac_objext; then
7207 ac_cv_type_off_t
=yes
7209 echo "$as_me: failed program was:" >&5
7210 sed 's/^/| /' conftest.
$ac_ext >&5
7215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7217 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7218 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7219 if test $ac_cv_type_off_t = yes; then
7223 cat >>confdefs.h
<<_ACEOF
7224 #define off_t long int
7229 { echo "$as_me:$LINENO: checking for pid_t" >&5
7230 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7231 if test "${ac_cv_type_pid_t+set}" = set; then
7232 echo $ECHO_N "(cached) $ECHO_C" >&6
7234 cat >conftest.
$ac_ext <<_ACEOF
7237 cat confdefs.h
>>conftest.
$ac_ext
7238 cat >>conftest.
$ac_ext <<_ACEOF
7239 /* end confdefs.h. */
7240 $ac_includes_default
7241 typedef pid_t ac__type_new_;
7245 if ((ac__type_new_ *) 0)
7247 if (sizeof (ac__type_new_))
7253 rm -f conftest.
$ac_objext
7254 if { (ac_try
="$ac_compile"
7256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7257 *) ac_try_echo=$ac_try;;
7259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7260 (eval "$ac_compile") 2>conftest.er1
7262 grep -v '^ *+' conftest.er1 >conftest.err
7264 cat conftest.err >&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); } && {
7267 test -z "$ac_c_werror_flag" ||
7268 test ! -s conftest.err
7269 } && test -s conftest.$ac_objext; then
7270 ac_cv_type_pid_t=yes
7272 echo "$as_me: failed program was:" >&5
7273 sed 's/^/| /' conftest.$ac_ext >&5
7278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7280 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7281 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7282 if test $ac_cv_type_pid_t = yes; then
7286 cat >>confdefs.h <<_ACEOF
7292 { echo "$as_me:$LINENO: checking for size_t" >&5
7293 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7294 if test "${ac_cv_type_size_t+set}" = set; then
7295 echo $ECHO_N "(cached) $ECHO_C" >&6
7297 cat >conftest.$ac_ext <<_ACEOF
7300 cat confdefs.h >>conftest.$ac_ext
7301 cat >>conftest.$ac_ext <<_ACEOF
7302 /* end confdefs.h. */
7303 $ac_includes_default
7304 typedef size_t ac__type_new_;
7308 if ((ac__type_new_ *) 0)
7310 if (sizeof (ac__type_new_))
7316 rm -f conftest.$ac_objext
7317 if { (ac_try="$ac_compile"
7319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7320 *) ac_try_echo
=$ac_try;;
7322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7323 (eval "$ac_compile") 2>conftest.er1
7325 grep -v '^ *+' conftest.er1
>conftest.err
7327 cat conftest.err
>&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); } && {
7330 test -z "$ac_c_werror_flag" ||
7331 test ! -s conftest.err
7332 } && test -s conftest.
$ac_objext; then
7333 ac_cv_type_size_t
=yes
7335 echo "$as_me: failed program was:" >&5
7336 sed 's/^/| /' conftest.
$ac_ext >&5
7338 ac_cv_type_size_t
=no
7341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7343 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7344 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7345 if test $ac_cv_type_size_t = yes; then
7349 cat >>confdefs.h
<<_ACEOF
7350 #define size_t unsigned int
7355 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7356 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7357 if test "${ac_cv_type_uid_t+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7360 cat >conftest.
$ac_ext <<_ACEOF
7363 cat confdefs.h
>>conftest.
$ac_ext
7364 cat >>conftest.
$ac_ext <<_ACEOF
7365 /* end confdefs.h. */
7366 #include <sys/types.h>
7369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7370 $EGREP "uid_t" >/dev
/null
2>&1; then
7371 ac_cv_type_uid_t
=yes
7378 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7379 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7380 if test $ac_cv_type_uid_t = no
; then
7382 cat >>confdefs.h
<<\_ACEOF
7387 cat >>confdefs.h
<<\_ACEOF
7394 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7395 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7396 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7397 echo $ECHO_N "(cached) $ECHO_C" >&6
7399 cat >conftest.
$ac_ext <<_ACEOF
7402 cat confdefs.h
>>conftest.
$ac_ext
7403 cat >>conftest.
$ac_ext <<_ACEOF
7404 /* end confdefs.h. */
7405 $ac_includes_default
7409 static struct tm ac_aggr;
7410 if (ac_aggr.tm_gmtoff)
7416 rm -f conftest.
$ac_objext
7417 if { (ac_try
="$ac_compile"
7419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7420 *) ac_try_echo=$ac_try;;
7422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7423 (eval "$ac_compile") 2>conftest.er1
7425 grep -v '^ *+' conftest.er1 >conftest.err
7427 cat conftest.err >&5
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); } && {
7430 test -z "$ac_c_werror_flag" ||
7431 test ! -s conftest.err
7432 } && test -s conftest.$ac_objext; then
7433 ac_cv_member_struct_tm_tm_gmtoff=yes
7435 echo "$as_me: failed program was:" >&5
7436 sed 's/^/| /' conftest.$ac_ext >&5
7438 cat >conftest.$ac_ext <<_ACEOF
7441 cat confdefs.h >>conftest.$ac_ext
7442 cat >>conftest.$ac_ext <<_ACEOF
7443 /* end confdefs.h. */
7444 $ac_includes_default
7448 static struct tm ac_aggr;
7449 if (sizeof ac_aggr.tm_gmtoff)
7455 rm -f conftest.$ac_objext
7456 if { (ac_try="$ac_compile"
7458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7459 *) ac_try_echo
=$ac_try;;
7461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7462 (eval "$ac_compile") 2>conftest.er1
7464 grep -v '^ *+' conftest.er1
>conftest.err
7466 cat conftest.err
>&5
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); } && {
7469 test -z "$ac_c_werror_flag" ||
7470 test ! -s conftest.err
7471 } && test -s conftest.
$ac_objext; then
7472 ac_cv_member_struct_tm_tm_gmtoff
=yes
7474 echo "$as_me: failed program was:" >&5
7475 sed 's/^/| /' conftest.
$ac_ext >&5
7477 ac_cv_member_struct_tm_tm_gmtoff
=no
7480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7485 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7486 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7487 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7489 cat >>confdefs.h
<<_ACEOF
7490 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7497 # Look for some functions
7512 for ac_func
in getpagesize kqueue statfs statvfs \
7513 clone kse_create rfork_thread thr_create sa_register \
7514 getcontext makecontext setcontext sigaltstack swapcontext
7516 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7517 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7519 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7520 echo $ECHO_N "(cached) $ECHO_C" >&6
7522 cat >conftest.
$ac_ext <<_ACEOF
7525 cat confdefs.h
>>conftest.
$ac_ext
7526 cat >>conftest.
$ac_ext <<_ACEOF
7527 /* end confdefs.h. */
7528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7530 #define $ac_func innocuous_$ac_func
7532 /* System header to define __stub macros and hopefully few prototypes,
7533 which can conflict with char $ac_func (); below.
7534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7535 <limits.h> exists even on freestanding compilers. */
7538 # include <limits.h>
7540 # include <assert.h>
7545 /* Override any GCC internal prototype to avoid an error.
7546 Use char because int might match the return type of a GCC
7547 builtin and then its argument prototype would still apply. */
7552 /* The GNU C library defines this for functions which it implements
7553 to always fail with ENOSYS. Some functions are actually named
7554 something starting with __ and the normal name is an alias. */
7555 #if defined __stub_$ac_func || defined __stub___$ac_func
7567 rm -f conftest.
$ac_objext conftest
$ac_exeext
7568 if { (ac_try
="$ac_link"
7570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7571 *) ac_try_echo=$ac_try;;
7573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7574 (eval "$ac_link") 2>conftest.er1
7576 grep -v '^ *+' conftest.er1 >conftest.err
7578 cat conftest.err >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); } && {
7581 test -z "$ac_c_werror_flag" ||
7582 test ! -s conftest.err
7583 } && test -s conftest$ac_exeext &&
7584 $as_test_x conftest$ac_exeext; then
7585 eval "$as_ac_var=yes"
7587 echo "$as_me: failed program was:" >&5
7588 sed 's/^/| /' conftest.$ac_ext >&5
7590 eval "$as_ac_var=no"
7593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7594 conftest$ac_exeext conftest.$ac_ext
7596 ac_res=`eval echo '${'$as_ac_var'}'`
7597 { echo "$as_me:$LINENO: result: $ac_res" >&5
7598 echo "${ECHO_T}$ac_res" >&6; }
7599 if test `eval echo '${'$as_ac_var'}'` = yes; then
7600 cat >>confdefs.h <<_ACEOF
7601 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7610 for ac_header in stdlib.h unistd.h
7612 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7619 ac_res=`eval echo '${'$as_ac_Header'}'`
7620 { echo "$as_me:$LINENO: result: $ac_res" >&5
7621 echo "${ECHO_T}$ac_res" >&6; }
7623 # Is the header compilable?
7624 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7625 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7626 cat >conftest.$ac_ext <<_ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7632 $ac_includes_default
7633 #include <$ac_header>
7635 rm -f conftest.$ac_objext
7636 if { (ac_try="$ac_compile"
7638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7639 *) ac_try_echo
=$ac_try;;
7641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7642 (eval "$ac_compile") 2>conftest.er1
7644 grep -v '^ *+' conftest.er1
>conftest.err
7646 cat conftest.err
>&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); } && {
7649 test -z "$ac_c_werror_flag" ||
7650 test ! -s conftest.err
7651 } && test -s conftest.
$ac_objext; then
7652 ac_header_compiler
=yes
7654 echo "$as_me: failed program was:" >&5
7655 sed 's/^/| /' conftest.
$ac_ext >&5
7657 ac_header_compiler
=no
7660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7661 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7662 echo "${ECHO_T}$ac_header_compiler" >&6; }
7664 # Is the header present?
7665 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7666 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7667 cat >conftest.
$ac_ext <<_ACEOF
7670 cat confdefs.h
>>conftest.
$ac_ext
7671 cat >>conftest.
$ac_ext <<_ACEOF
7672 /* end confdefs.h. */
7673 #include <$ac_header>
7675 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7678 *) ac_try_echo=$ac_try;;
7680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7683 grep -v '^ *+' conftest.er1 >conftest.err
7685 cat conftest.err >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); } >/dev/null && {
7688 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7689 test ! -s conftest.err
7691 ac_header_preproc=yes
7693 echo "$as_me: failed program was:" >&5
7694 sed 's/^/| /' conftest.$ac_ext >&5
7696 ac_header_preproc=no
7699 rm -f conftest.err conftest.$ac_ext
7700 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7701 echo "${ECHO_T}$ac_header_preproc" >&6; }
7703 # So? What about this header?
7704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7709 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7710 ac_header_preproc=yes
7713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7717 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7718 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7719 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7720 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7723 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7724 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7731 echo $ECHO_N "(cached) $ECHO_C" >&6
7733 eval "$as_ac_Header=\$ac_header_preproc"
7735 ac_res=`eval echo '${'$as_ac_Header'}'`
7736 { echo "$as_me:$LINENO: result: $ac_res" >&5
7737 echo "${ECHO_T}$ac_res" >&6; }
7740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7741 cat >>confdefs.h <<_ACEOF
7742 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7750 for ac_func in getpagesize
7752 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7753 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7755 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7756 echo $ECHO_N "(cached) $ECHO_C" >&6
7758 cat >conftest.$ac_ext <<_ACEOF
7761 cat confdefs.h >>conftest.$ac_ext
7762 cat >>conftest.$ac_ext <<_ACEOF
7763 /* end confdefs.h. */
7764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7766 #define $ac_func innocuous_$ac_func
7768 /* System header to define __stub macros and hopefully few prototypes,
7769 which can conflict with char $ac_func (); below.
7770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7771 <limits.h> exists even on freestanding compilers. */
7774 # include <limits.h>
7776 # include <assert.h>
7781 /* Override any GCC internal prototype to avoid an error.
7782 Use char because int might match the return type of a GCC
7783 builtin and then its argument prototype would still apply. */
7788 /* The GNU C library defines this for functions which it implements
7789 to always fail with ENOSYS. Some functions are actually named
7790 something starting with __ and the normal name is an alias. */
7791 #if defined __stub_$ac_func || defined __stub___$ac_func
7803 rm -f conftest.$ac_objext conftest$ac_exeext
7804 if { (ac_try="$ac_link"
7806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7807 *) ac_try_echo
=$ac_try;;
7809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7810 (eval "$ac_link") 2>conftest.er1
7812 grep -v '^ *+' conftest.er1
>conftest.err
7814 cat conftest.err
>&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } && {
7817 test -z "$ac_c_werror_flag" ||
7818 test ! -s conftest.err
7819 } && test -s conftest
$ac_exeext &&
7820 $as_test_x conftest
$ac_exeext; then
7821 eval "$as_ac_var=yes"
7823 echo "$as_me: failed program was:" >&5
7824 sed 's/^/| /' conftest.
$ac_ext >&5
7826 eval "$as_ac_var=no"
7829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7830 conftest
$ac_exeext conftest.
$ac_ext
7832 ac_res
=`eval echo '${'$as_ac_var'}'`
7833 { echo "$as_me:$LINENO: result: $ac_res" >&5
7834 echo "${ECHO_T}$ac_res" >&6; }
7835 if test `eval echo '${'$as_ac_var'}'` = yes; then
7836 cat >>confdefs.h
<<_ACEOF
7837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7843 { echo "$as_me:$LINENO: checking for working mmap" >&5
7844 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7845 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7848 if test "$cross_compiling" = yes; then
7849 ac_cv_func_mmap_fixed_mapped
=no
7851 cat >conftest.
$ac_ext <<_ACEOF
7854 cat confdefs.h
>>conftest.
$ac_ext
7855 cat >>conftest.
$ac_ext <<_ACEOF
7856 /* end confdefs.h. */
7857 $ac_includes_default
7858 /* malloc might have been renamed as rpl_malloc. */
7861 /* Thanks to Mike Haertel and Jim Avera for this test.
7862 Here is a matrix of mmap possibilities:
7863 mmap private not fixed
7864 mmap private fixed at somewhere currently unmapped
7865 mmap private fixed at somewhere already mapped
7866 mmap shared not fixed
7867 mmap shared fixed at somewhere currently unmapped
7868 mmap shared fixed at somewhere already mapped
7869 For private mappings, we should verify that changes cannot be read()
7870 back from the file, nor mmap's back from the file at a different
7871 address. (There have been systems where private was not correctly
7872 implemented like the infamous i386 svr4.0, and systems where the
7873 VM page cache was not coherent with the file system buffer cache
7874 like early versions of FreeBSD and possibly contemporary NetBSD.)
7875 For shared mappings, we should conversely verify that changes get
7876 propagated back to all the places they're supposed to be.
7878 Grep wants private fixed already mapped.
7879 The main things grep needs to know about mmap are:
7880 * does it exist and is it safe to write into the mmap'd area
7881 * how to use it (BSD variants) */
7884 #include <sys/mman.h>
7886 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7890 /* This mess was copied from the GNU getpagesize.h. */
7891 #ifndef HAVE_GETPAGESIZE
7892 /* Assume that all systems that can run configure have sys/param.h. */
7893 # ifndef HAVE_SYS_PARAM_H
7894 # define HAVE_SYS_PARAM_H 1
7897 # ifdef _SC_PAGESIZE
7898 # define getpagesize() sysconf(_SC_PAGESIZE)
7899 # else /* no _SC_PAGESIZE */
7900 # ifdef HAVE_SYS_PARAM_H
7901 # include <sys/param.h>
7902 # ifdef EXEC_PAGESIZE
7903 # define getpagesize() EXEC_PAGESIZE
7904 # else /* no EXEC_PAGESIZE */
7906 # define getpagesize() NBPG * CLSIZE
7909 # endif /* no CLSIZE */
7910 # else /* no NBPG */
7912 # define getpagesize() NBPC
7913 # else /* no NBPC */
7915 # define getpagesize() PAGESIZE
7916 # endif /* PAGESIZE */
7917 # endif /* no NBPC */
7918 # endif /* no NBPG */
7919 # endif /* no EXEC_PAGESIZE */
7920 # else /* no HAVE_SYS_PARAM_H */
7921 # define getpagesize() 8192 /* punt totally */
7922 # endif /* no HAVE_SYS_PARAM_H */
7923 # endif /* no _SC_PAGESIZE */
7925 #endif /* no HAVE_GETPAGESIZE */
7930 char *data, *data2, *data3;
7934 pagesize = getpagesize ();
7936 /* First, make a file with some known garbage in it. */
7937 data = (char *) malloc (pagesize);
7940 for (i = 0; i < pagesize; ++i)
7941 *(data + i) = rand ();
7943 fd = creat ("conftest.mmap", 0600);
7946 if (write (fd, data, pagesize) != pagesize)
7950 /* Next, try to mmap the file at a fixed address which already has
7951 something else allocated at it. If we can, also make sure that
7952 we see the same garbage. */
7953 fd = open ("conftest.mmap", O_RDWR);
7956 data2 = (char *) malloc (2 * pagesize);
7959 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7960 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7961 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7963 for (i = 0; i < pagesize; ++i)
7964 if (*(data + i) != *(data2 + i))
7967 /* Finally, make sure that changes to the mapped area do not
7968 percolate back to the file as seen by read(). (This is a bug on
7969 some variants of i386 svr4.0.) */
7970 for (i = 0; i < pagesize; ++i)
7971 *(data2 + i) = *(data2 + i) + 1;
7972 data3 = (char *) malloc (pagesize);
7975 if (read (fd, data3, pagesize) != pagesize)
7977 for (i = 0; i < pagesize; ++i)
7978 if (*(data + i) != *(data3 + i))
7984 rm -f conftest
$ac_exeext
7985 if { (ac_try
="$ac_link"
7987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7988 *) ac_try_echo=$ac_try;;
7990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7991 (eval "$ac_link") 2>&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7995 { (case "(($ac_try" in
7996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7997 *) ac_try_echo
=$ac_try;;
7999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8000 (eval "$ac_try") 2>&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); }; }; then
8004 ac_cv_func_mmap_fixed_mapped
=yes
8006 echo "$as_me: program exited with status $ac_status" >&5
8007 echo "$as_me: failed program was:" >&5
8008 sed 's/^/| /' conftest.
$ac_ext >&5
8011 ac_cv_func_mmap_fixed_mapped
=no
8013 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8018 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8019 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
8020 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8022 cat >>confdefs.h
<<\_ACEOF
8032 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
8033 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
8034 aros_config_ldflags
=""
8036 aros_shared_default
=yes
8038 aros_shared_cflags
="-fPIC"
8039 aros_shared_aflags
=""
8040 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8041 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8043 aros_kernel_ar_flags
="cr"
8044 aros_target_ar_flags
="cr"
8045 aros_target_nm_flags
="-C -ul"
8046 aros_target_strip_flags
="--strip-unneeded -R.comment"
8051 aros_target_genmap
="-Wl,-Map -Xlinker"
8053 # Native flavour stuff
8054 aros_serial_debug
="0"
8056 # Palm native flavour stuff
8057 aros_palm_debug_hack
="0"
8059 # Unix flavour stuff
8060 aros_nesting_supervisor
="0"
8062 # Collect-aros stuff: "-ius" to ignore undefined symbols
8063 ignore_undefined_symbols
=""
8065 # Check for X11 by default
8068 #-----------------------------------------------------------------------------
8071 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
8072 # it switched on by default, and we use the host compiler, so it compiles AROS
8073 # code with this enabled resulting in link failures as we don't have support
8076 # We use two methods to disable it. For the host compiler (used to compile
8077 # some hosted modules), we test to see if the compiler supports stack
8078 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
8079 # work on all platforms.
8081 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
8082 # (this is done unconditionally, as it should have no effect on compilers
8083 # without the stack protection feature). This may be specific to the way that
8084 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
8085 # strong enough to disable it in a generic way though, so we'll live with it
8086 # until another vendor ships GCC with it enabled in a different way, and deal
8090 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
8091 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
8092 save_cflags
="$CFLAGS"
8093 CFLAGS
="$CFLAGS -fno-stack-protector"
8094 cat >conftest.
$ac_ext <<_ACEOF
8097 cat confdefs.h
>>conftest.
$ac_ext
8098 cat >>conftest.
$ac_ext <<_ACEOF
8099 /* end confdefs.h. */
8109 rm -f conftest.
$ac_objext
8110 if { (ac_try
="$ac_compile"
8112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8113 *) ac_try_echo=$ac_try;;
8115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8116 (eval "$ac_compile") 2>conftest.er1
8118 grep -v '^ *+' conftest.er1 >conftest.err
8120 cat conftest.err >&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); } && {
8123 test -z "$ac_c_werror_flag" ||
8124 test ! -s conftest.err
8125 } && test -s conftest.$ac_objext; then
8126 use_no_stack_protector="yes"
8128 echo "$as_me: failed program was:" >&5
8129 sed 's/^/| /' conftest.$ac_ext >&5
8131 use_no_stack_protector="no"
8134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8135 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8136 echo "${ECHO_T}$use_no_stack_protector" >&6; }
8137 if test "x-$use_no_stack_protector" = "x-yes" ; then
8138 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
8140 CFLAGS="$save_cflags"
8142 #-----------------------------------------------------------------------------
8144 # Disable pointer-signedness warnings if the compiler recognises the option
8145 # (this only works for the host compiler at the moment)
8147 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8148 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
8149 save_cflags="$CFLAGS"
8150 CFLAGS="$CFLAGS -Wno-pointer-sign"
8151 cat >conftest.$ac_ext <<_ACEOF
8154 cat confdefs.h >>conftest.$ac_ext
8155 cat >>conftest.$ac_ext <<_ACEOF
8156 /* end confdefs.h. */
8166 rm -f conftest.$ac_objext
8167 if { (ac_try="$ac_compile"
8169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8170 *) ac_try_echo
=$ac_try;;
8172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8173 (eval "$ac_compile") 2>conftest.er1
8175 grep -v '^ *+' conftest.er1
>conftest.err
8177 cat conftest.err
>&5
8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179 (exit $ac_status); } && {
8180 test -z "$ac_c_werror_flag" ||
8181 test ! -s conftest.err
8182 } && test -s conftest.
$ac_objext; then
8183 use_no_sign_warning
="yes"
8185 echo "$as_me: failed program was:" >&5
8186 sed 's/^/| /' conftest.
$ac_ext >&5
8188 use_no_sign_warning
="no"
8191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8192 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8193 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8194 if test "x-$use_no_sign_warning" = "x-yes" ; then
8195 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8197 CFLAGS
="$save_cflags"
8199 #-----------------------------------------------------------------------------
8201 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
8203 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fgnu89-inline" >&5
8204 echo $ECHO_N "checking whether ${CC} accepts -fgnu89-inline... $ECHO_C" >&6; }
8205 save_cflags
="$CFLAGS"
8206 CFLAGS
="$CFLAGS -fgnu89-inline"
8207 cat >conftest.
$ac_ext <<_ACEOF
8210 cat confdefs.h
>>conftest.
$ac_ext
8211 cat >>conftest.
$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8222 rm -f conftest.
$ac_objext
8223 if { (ac_try
="$ac_compile"
8225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8226 *) ac_try_echo=$ac_try;;
8228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8229 (eval "$ac_compile") 2>conftest.er1
8231 grep -v '^ *+' conftest.er1 >conftest.err
8233 cat conftest.err >&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } && {
8236 test -z "$ac_c_werror_flag" ||
8237 test ! -s conftest.err
8238 } && test -s conftest.$ac_objext; then
8239 use_gnu89_inline="yes"
8241 echo "$as_me: failed program was:" >&5
8242 sed 's/^/| /' conftest.$ac_ext >&5
8244 use_gnu89_inline="no"
8247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8248 { echo "$as_me:$LINENO: result: $use_gnu89_inline" >&5
8249 echo "${ECHO_T}$use_gnu89_inline" >&6; }
8250 if test "x-$use_gnu89_inline" = "x-yes" ; then
8251 gnu89_inline="-fgnu89-inline"
8253 CFLAGS="$save_cflags"
8255 #-----------------------------------------------------------------------------
8257 { echo "$as_me:$LINENO: checking for type of build" >&5
8258 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8259 # Check whether --enable-build_type was given.
8260 if test "${enable_build_type+set}" = set; then
8261 enableval=$enable_build_type; build_type=$enableval
8263 build_type="personal"
8267 if test "$build_type" = "nightly"; then
8268 build_type_string="NIGHTLY"
8269 elif test "$build_type" = "snapshot"; then
8270 build_type_string="SNAPSHOT"
8271 elif test "$build_type" = "milestone"; then
8272 build_type_string="MILESTONE"
8273 elif test "$build_type" = "release"; then
8274 build_type_string="RELEASE"
8276 build_type_string="PERSONAL"
8277 build_type="personal"
8280 aros_config_cflags="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8282 { echo "$as_me:$LINENO: result: $build_type" >&5
8283 echo "${ECHO_T}$build_type" >&6; }
8285 #-----------------------------------------------------------------------------
8286 all_debug_types="messages stack modules mungwall symbols"
8288 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8289 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8290 # Check whether --enable-debug was given.
8291 if test "${enable_debug+set}" = set; then
8292 enableval=$enable_debug; debug="$enableval"
8298 if test "$debug" = "" -o "$debug" = "no"; then
8300 elif test "$debug" = "yes"; then
8304 if test "$debug" = "all" ; then
8305 debug="messages stack modules symbols"
8306 for d in $all_debug_types; do
8307 export aros_${d}_debug="1"
8310 for d in $all_debug_types; do
8311 export aros_${d}_debug="0"
8315 if test "$debug" != "none"; then
8316 debug=`echo $debug |
sed s
/,/\
/g
`
8319 for d2 in $all_debug_types; do
8320 if test "$d2" = "$d"; then
8325 if test "$found" = "0"; then
8326 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8327 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8328 { (exit 1); exit 1; }; }
8330 export aros_${d}_debug="1"
8334 { echo "$as_me:$LINENO: result: $debug" >&5
8335 echo "${ECHO_T}$debug" >&6; }
8337 if test "$aros_messages_debug" = "1"; then
8338 aros_messages_debug="-DADEBUG=1 -DMDEBUG=1"
8340 aros_messages_debug=""
8342 if test "$aros_symbols_debug" = "1"; then
8343 aros_symbols_debug="-g"
8345 aros_symbols_debug=""
8348 # These are the flags to pass when compiling debugged programs
8349 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug"
8350 aros_debug_aflags=""
8351 aros_debug_ldflags="$aros_symbols_debug"
8353 #-----------------------------------------------------------------------------
8354 # Checking if we should build crosstools..
8355 { echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8356 echo $ECHO_N "checking whether to build crosstools... $ECHO_C" >&6; }
8357 # Check whether --enable-crosstools was given.
8358 if test "${enable_crosstools+set}" = set; then
8359 enableval=$enable_crosstools; crosstools="$enableval"
8364 { echo "$as_me:$LINENO: result: $crosstools" >&5
8365 echo "${ECHO_T}$crosstools" >&6; }
8367 #-----------------------------------------------------------------------------
8368 # Checking for distcc and ccache.
8370 # Always apply the transforms in this particular order. Basically you should
8371 # always run 'ccache distcc compiler' in that order for the best performance.
8373 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8374 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8375 # Check whether --enable-distcc was given.
8376 if test "${enable_distcc+set}" = set; then
8377 enableval=$enable_distcc; distcc="$enableval"
8382 if test "$distcc" != "" -a "$distcc" != "no"; then
8383 # AC_CHECK_PROG will print out the result in this case
8384 # Extract the first word of "distcc", so it can be a program name with args.
8385 set dummy distcc; ac_word=$2
8386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8388 if test "${ac_cv_path_DISTCC+set}" = set; then
8389 echo $ECHO_N "(cached) $ECHO_C" >&6
8393 ac_cv_path_DISTCC="$DISTCC" # 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_DISTCC="$as_dir/$ac_word$ac_exec_ext"
8404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8411 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC="distcc"
8415 DISTCC=$ac_cv_path_DISTCC
8416 if test -n "$DISTCC"; then
8417 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8418 echo "${ECHO_T}$DISTCC" >&6; }
8420 { echo "$as_me:$LINENO: result: no" >&5
8421 echo "${ECHO_T}no" >&6; }
8426 { echo "$as_me:$LINENO: result: no" >&5
8427 echo "${ECHO_T}no" >&6; }
8430 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8431 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8432 # Check whether --enable-ccache was given.
8433 if test "${enable_ccache+set}" = set; then
8434 enableval=$enable_ccache; ccache="$enableval"
8439 if test "$ccache" != "" -a "$ccache" != "no"; then
8440 # AC_CHECK_PROG will print out the result in this case
8441 # Extract the first word of "ccache", so it can be a program name with args.
8442 set dummy ccache; ac_word=$2
8443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8445 if test "${ac_cv_prog_CCACHE+set}" = set; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 if test -n "$CCACHE"; then
8449 ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
8451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8455 test -z "$as_dir" && as_dir=.
8456 for ac_exec_ext in '' $ac_executable_extensions; do
8457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8458 ac_cv_prog_CCACHE="ccache"
8459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8468 CCACHE=$ac_cv_prog_CCACHE
8469 if test -n "$CCACHE"; then
8470 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8471 echo "${ECHO_T}$CCACHE" >&6; }
8473 { echo "$as_me:$LINENO: result: no" >&5
8474 echo "${ECHO_T}no" >&6; }
8479 { echo "$as_me:$LINENO: result: no" >&5
8480 echo "${ECHO_T}no" >&6; }
8483 #-----------------------------------------------------------------------------
8484 { echo "$as_me:$LINENO: checking what specific host gcc version to use" >&5
8485 echo $ECHO_N "checking what specific host gcc version to use... $ECHO_C" >&6; }
8487 # Check whether --with-gcc-version was given.
8488 if test "${with_gcc_version+set}" = set; then
8489 withval=$with_gcc_version; target_tool_version="$withval"
8491 target_tool_version="default"
8494 { echo "$as_me:$LINENO: result: $target_tool_version" >&5
8495 echo "${ECHO_T}$target_tool_version" >&6; }
8497 #-----------------------------------------------------------------------------
8498 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8499 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8501 # Check whether --with-optimization was given.
8502 if test "${with_optimization+set}" = set; then
8503 withval=$with_optimization; optimization="$withval"
8505 optimization="unknown"
8508 if test "$optimization" = "unknown"; then
8509 if test "$debug" != "none"; then
8515 aros_config_cflags="$aros_config_cflags $optimization"
8516 { echo "$as_me:$LINENO: result: $optimization" >&5
8517 echo "${ECHO_T}$optimization" >&6; }
8519 #-----------------------------------------------------------------------------
8520 { echo "$as_me:$LINENO: checking what paranoia flags to use" >&5
8521 echo $ECHO_N "checking what paranoia flags to use... $ECHO_C" >&6; }
8523 # Check whether --with-paranoia was given.
8524 if test "${with_paranoia+set}" = set; then
8525 withval=$with_paranoia; paranoia_flags="$withval"
8527 paranoia_flags="default"
8530 if test "$paranoia_flags" = "default"; then
8532 else if test "$paranoia_flags" = "yes"; then
8533 paranoia_flags="-Wall -Werror"
8535 { echo "$as_me:$LINENO: result: $paranoia_flags" >&5
8536 echo "${ECHO_T}$paranoia_flags" >&6; }
8537 aros_config_cflags="$aros_config_cflags $paranoia_flags"
8539 #-----------------------------------------------------------------------------
8540 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8541 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8542 # Check whether --enable-target_variant was given.
8543 if test "${enable_target_variant+set}" = set; then
8544 enableval=$enable_target_variant; target_variant=$enableval
8549 if test "$target_variant" = ""; then
8550 aros_target_variant=""
8551 aros_target_suffix=""
8554 aros_target_variant="$target_variant"
8555 aros_target_suffix="-$target_variant"
8557 { echo "$as_me:$LINENO: result: $enableval" >&5
8558 echo "${ECHO_T}$enableval" >&6; }
8560 #-----------------------------------------------------------------------------
8561 # Target-specific defaults. You can override then on a per-target basis.
8563 # Bootloader name. Currently used by PC target.
8564 target_bootloader="none"
8566 # Prefix for toolchain used to build bootstrap. For hosted ports, this should be a toolchain for target host OS.
8567 # (i. e. when building mingw32-i386 port this should be set to "i386-mingw32-").
8568 # For native ports this toolchain is used to build a bootloader and second-level bootstrap (if present).
8569 if test "$crosstools" != "yes"; then
8570 target_tool_prefix=${target_cpu}-elf-
8572 target_tool_prefix=${target_cpu}-aros-
8575 #-----------------------------------------------------------------------------
8576 # Additional options for some specific targets
8578 case "$aros_target_variant" in
8580 { echo "$as_me:$LINENO: checking XCode path" >&5
8581 echo $ECHO_N "checking XCode path... $ECHO_C" >&6; }
8583 # Check whether --with-xcode was given.
8584 if test "${with_xcode+set}" = set; then
8585 withval=$with_xcode; aros_xcode_path="$withval"
8587 aros_xcode_path="/Developer"
8590 { echo "$as_me:$LINENO: result: $aros_xcode_path" >&5
8591 echo "${ECHO_T}$aros_xcode_path" >&6; }
8593 { echo "$as_me:$LINENO: checking for minimum supported iOS version" >&5
8594 echo $ECHO_N "checking for minimum supported iOS version... $ECHO_C" >&6; }
8596 # Check whether --with-ios-version was given.
8597 if test "${with_ios_version+set}" = set; then
8598 withval=$with_ios_version; aros_ios_version="$withval"
8600 aros_ios_version="3.0"
8603 { echo "$as_me:$LINENO: result: $aros_ios_version" >&5
8604 echo "${ECHO_T}$aros_ios_version" >&6; }
8606 { echo "$as_me:$LINENO: checking what iOS SDK version to use" >&5
8607 echo $ECHO_N "checking what iOS SDK version to use... $ECHO_C" >&6; }
8609 # Check whether --with-ios-sdk was given.
8610 if test "${with_ios_sdk+set}" = set; then
8611 withval=$with_ios_sdk; aros_ios_sdk="$withval"
8616 { echo "$as_me:$LINENO: result: $aros_ios_sdk" >&5
8617 echo "${ECHO_T}$aros_ios_sdk" >&6; }
8622 { echo "$as_me:$LINENO: checking Android SDK path" >&5
8623 echo $ECHO_N "checking Android SDK path... $ECHO_C" >&6; }
8625 # Check whether --with-sdk was given.
8626 if test "${with_sdk+set}" = set; then
8627 withval=$with_sdk; aros_android_sdk="$withval"
8629 aros_android_sdk=$default_android_sdk
8632 { echo "$as_me:$LINENO: result: $aros_android_sdk" >&5
8633 echo "${ECHO_T}$aros_android_sdk" >&6; }
8635 { echo "$as_me:$LINENO: checking Android NDK path" >&5
8636 echo $ECHO_N "checking Android NDK path... $ECHO_C" >&6; }
8638 # Check whether --with-ndk was given.
8639 if test "${with_ndk+set}" = set; then
8640 withval=$with_ndk; aros_android_ndk="$withval"
8642 aros_android_ndk="none"
8645 { echo "$as_me:$LINENO: result: $aros_android_ndk" >&5
8646 echo "${ECHO_T}$aros_android_ndk" >&6; }
8648 { echo "$as_me:$LINENO: checking what Android SDK version to use" >&5
8649 echo $ECHO_N "checking what Android SDK version to use... $ECHO_C" >&6; }
8651 # Check whether --with-sdk-version was given.
8652 if test "${with_sdk_version+set}" = set; then
8653 withval=$with_sdk_version; aros_sdk_version="$withval"
8655 aros_sdk_version="8"
8658 { echo "$as_me:$LINENO: result: $aros_sdk_version" >&5
8659 echo "${ECHO_T}$aros_sdk_version" >&6; }
8661 if test "$aros_android_ndk" != "none"; then
8662 { echo "$as_me:$LINENO: checking what Android NDK version to use" >&5
8663 echo $ECHO_N "checking what Android NDK version to use... $ECHO_C" >&6; }
8665 # Check whether --with-ndk-version was given.
8666 if test "${with_ndk_version+set}" = set; then
8667 withval=$with_ndk_version; aros_ndk_version="$withval"
8669 aros_ndk_version="9"
8672 { echo "$as_me:$LINENO: result: $aros_ndk_version" >&5
8673 echo "${ECHO_T}$aros_ndk_version" >&6; }
8676 export PATH="$aros_android_sdk/tools:$PATH"
8677 # Extract the first word of "$android_tool", so it can be a program name with args.
8678 set dummy $android_tool; ac_word=$2
8679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8681 if test "${ac_cv_path_android_tool+set}" = set; then
8682 echo $ECHO_N "(cached) $ECHO_C" >&6
8684 case $android_tool in
8686 ac_cv_path_android_tool="$android_tool" # Let the user override the test with a path.
8689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8693 test -z "$as_dir" && as_dir=.
8694 for ac_exec_ext in '' $ac_executable_extensions; do
8695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8696 ac_cv_path_android_tool="$as_dir/$ac_word$ac_exec_ext"
8697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8707 android_tool=$ac_cv_path_android_tool
8708 if test -n "$android_tool"; then
8709 { echo "$as_me:$LINENO: result: $android_tool" >&5
8710 echo "${ECHO_T}$android_tool" >&6; }
8712 { echo "$as_me:$LINENO: result: no" >&5
8713 echo "${ECHO_T}no" >&6; }
8717 if test "$android_tool" = ""; then
8718 { { echo "$as_me:$LINENO: error: android is required to build AROS. Please install and run configure again." >&5
8719 echo "$as_me: error: android is required to build AROS. Please install and run configure again." >&2;}
8720 { (exit 1); exit 1; }; }
8723 # Extract the first word of "ant", so it can be a program name with args.
8724 set dummy ant; ac_word=$2
8725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8727 if test "${ac_cv_path_ant+set}" = set; then
8728 echo $ECHO_N "(cached) $ECHO_C" >&6
8732 ac_cv_path_ant="$ant" # Let the user override the test with a path.
8735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8739 test -z "$as_dir" && as_dir=.
8740 for ac_exec_ext in '' $ac_executable_extensions; do
8741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8742 ac_cv_path_ant="$as_dir/$ac_word$ac_exec_ext"
8743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8754 if test -n "$ant"; then
8755 { echo "$as_me:$LINENO: result: $ant" >&5
8756 echo "${ECHO_T}$ant" >&6; }
8758 { echo "$as_me:$LINENO: result: no" >&5
8759 echo "${ECHO_T}no" >&6; }
8763 if test "$ant" = ""; then
8764 { echo "$as_me:$LINENO: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8765 echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8768 if test "$host_os" = "mingw32"; then
8769 android_tool="cmd //c $android_tool"
8775 #-----------------------------------------------------------------------------
8776 # This is the target configuration switch.
8777 case "$target_os" in
8779 aros_target_arch="linux"
8780 aros_target_family="unix"
8781 case "$target_cpu" in
8783 aros_target_cpu="m68k"
8784 aros_object_format="m68kelf"
8785 aros_flavour="emulcompat"
8786 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8787 aros_shared_ldflags="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8788 aros_kernel_ldflags="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8789 gcc_target_cpu="mc68000"
8792 aros_target_cpu="i386"
8793 aros_object_format="elf_i386"
8794 aros_flavour="emulation"
8795 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8796 aros_config_cflags="$aros_config_cflags -m32 -march=i486"
8797 aros_kernel_cflags="$aros_kernel_cflags -m32 -march=i486"
8798 aros_config_aflags="$aros_config_aflags -m32 -march=i486"
8799 aros_config_ldflags="-m32 -march=i486"
8800 aros_kernel_ldflags="-melf_i386"
8801 aros_default_wbdepth=8
8802 gcc_target_cpu="i386"
8803 pci_hidd_target="hidd-pci-linux"
8804 android_tool_dir_prefix="x86"
8805 android_tool_prefix="i686-android-linux"
8806 android_ndk_arch="x86"
8809 aros_target_cpu="x86_64"
8810 aros_object_format="elf_x86_64"
8811 aros_flavour="emulation"
8812 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8813 aros_config_cflags="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
8814 aros_default_wbdepth=8
8815 pci_hidd_target="hidd-pci-linux"
8818 aros_target_cpu="ppc"
8819 aros_object_format="elf32ppc"
8820 aros_flavour="emulation"
8821 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8822 aros_default_wbdepth=8
8823 gcc_target_cpu="ppc"
8826 # Same as powerpc, but I need this for the nightly build to work again.
8827 # Actually, the nightly should be made working with powerpc target.
8828 # That just was too much work for the moment, another week or two.
8830 aros_target_cpu="ppc"
8831 aros_object_format="elf32ppc"
8832 aros_flavour="emulation"
8833 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8834 aros_default_wbdepth=8
8835 gcc_target_cpu="ppc"
8838 aros_target_cpu="arm"
8839 aros_object_format="armelf_linux_eabi"
8840 aros_flavour="emulation"
8841 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8842 gcc_target_cpu="arm"
8843 aros_config_cflags="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -mthumb-interwork -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing -fno-omit-frame-pointer"
8844 aros_config_aflags="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -mthumb-interwork -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
8845 aros_arch_libs="-laeabi"
8846 android_tool_dir_prefix="arm-linux-androideabi"
8847 android_tool_prefix="arm-linux-androideabi"
8848 android_ndk_arch="arm"
8851 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8852 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8853 { (exit 1); exit 1; }; }
8856 case "$aros_target_variant" in
8859 if test "$android_ndk_arch" = ""; then
8860 { { echo "$as_me:$LINENO: error: \"Unsupported CPU for Android -- $target_cpu\"" >&5
8861 echo "$as_me: error: \"Unsupported CPU for Android -- $target_cpu\"" >&2;}
8862 { (exit 1); exit 1; }; }
8865 aros_android_level=android-$aros_sdk_version
8866 aros_default_wbwidth=320
8867 aros_default_wbheight=480
8868 if test "$aros_android_ndk" = "none"; then
8869 aros_kernel_cflags="-mandroid"
8870 aros_kernel_ldflags="-mandroid"
8873 export PATH="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
8874 aros_android_ndk="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8875 aros_kernel_cflags="--sysroot $aros_android_ndk -mandroid"
8876 aros_kernel_ldflags="--sysroot $aros_android_ndk -mandroid"
8877 CFLAGS="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8878 aros_kernel_includes="-isystem $aros_android_ndk/usr/include"
8881 x11_hidd_target=kernel-hidd-androidgfx-kobj
8882 target_tool_prefix="$android_tool_prefix-"
8888 aros_target_arch="pc"
8889 aros_shared_default="no"
8890 target_bootloader="grub2"
8891 case "$target_cpu" in
8893 aros_target_cpu="i386"
8896 if test "$aros_object_format" = "" ; then
8897 aros_object_format="elf_i386"
8899 aros_flavour="standalone"
8900 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8901 aros_config_cflags="$aros_config_cflags -m32 -march=i486"
8902 aros_kernel_cflags="$aros_kernel_cflags -m32 -march=i486"
8903 aros_config_aflags="$aros_config_aflags -m32 -march=i486"
8904 aros_config_ldflags="-m32 -march=i486"
8905 aros_kernel_ldflags="-melf_i386"
8906 aros_default_wbwidth=640
8907 aros_default_wbheight=480
8908 gcc_target_cpu="i386"
8911 aros_target_cpu="x86_64"
8913 if test "$aros_object_format" = "" ; then
8914 aros_object_format="elf_x86_64"
8916 aros_flavour="standalone"
8917 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8918 aros_config_cflags="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
8919 aros_kernel_ldflags=""
8920 aros_default_wbwidth=640
8921 aros_default_wbheight=480
8924 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8925 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8926 { (exit 1); exit 1; }; }
8932 aros_target_arch="prep"
8933 aros_shared_default="no"
8934 aros_target_cpu="ppc"
8935 aros_object_format="elf32ppc"
8936 aros_flavour="ppcnative"
8937 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8938 aros_kernel_ldflags=""
8939 aros_default_wbwidth=640
8940 aros_default_wbheight=480
8941 gcc_target_cpu="ppc"
8945 aros_target_arch="freebsd"
8946 aros_target_family="unix"
8947 aros_target_cpu="i386"
8948 aros_flavour="emulation"
8949 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8950 gcc_target_cpu="i386"
8952 aros_target_strip_flags="-x"
8956 aros_target_arch="darwin"
8957 aros_target_family="unix"
8958 aros_flavour="emulation"
8959 case "$target_cpu" in
8961 aros_ios_platform="iPhoneSimulator"
8962 aros_target_cpu="i386"
8963 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8964 aros_kernel_ldflags=""
8965 aros_macosx_version="10.4"
8966 aros_default_wbdepth=8
8967 gcc_target_cpu="i386"
8968 aros_object_format="elf_i386"
8969 aros_kernel_ar_flags="-cr"
8970 aros_target_strip_flags="-x"
8971 target_tool_prefix="i686-apple-darwin10-"
8972 target_tool_flags="-m32"
8975 aros_target_cpu="x86_64"
8976 aros_object_format="elf_x86_64"
8977 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8978 aros_macosx_version="10.6"
8979 aros_config_cflags="$aros_config_cflags -fno-omit-frame-pointer"
8980 aros_kernel_cflags="-m64"
8981 aros_kernel_ldflags="-m64"
8982 aros_target_cflags="-mcmodel=large"
8983 aros_default_wbdepth=8
8985 aros_kernel_ar_flags="-cr"
8987 aros_kernel_ranlib="ranlib"
8988 target_tool_prefix="i686-apple-darwin10-"
8991 aros_target_cpu="ppc"
8992 aros_object_format="elf32ppc"
8993 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8994 aros_kernel_ldflags=""
8995 aros_macosx_version="10.0"
8996 aros_default_wbdepth=8
8997 gcc_target_cpu="ppc"
8999 aros_kernel_ar_flags="-cr"
9000 aros_kernel_ld="ld -arch ppc"
9001 aros_kernel_ranlib="ranlib -arch ppc"
9002 target_tool_prefix="powerpc-apple-darwin10-"
9005 aros_ios_platform="iPhoneOS"
9006 aros_target_cpu="arm"
9007 aros_object_format="armelf_linux_eabi"
9008 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Darm"
9009 aros_config_cflags="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
9010 aros_config_aflags="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
9011 aros_arch_libs="-laeabi"
9012 aros_default_wbdepth=8
9013 gcc_target_cpu="arm"
9015 aros_kernel_ar_flags="-cr"
9016 aros_kernel_ld="ld -arch arm"
9017 aros_kernel_ranlib="ranlib -arch arm"
9018 target_tool_prefix="arm-apple-darwin10-"
9019 export PATH="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
9022 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
9023 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
9024 { (exit 1); exit 1; }; }
9027 case "$aros_target_variant" in
9029 aros_default_wbwidth=320
9030 aros_default_wbheight=480
9031 aros_ios_sdk="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
9032 target_tool_flags="$target_tool_flags -isysroot $aros_ios_sdk"
9033 aros_kernel_includes="-isystem $aros_ios_sdk/usr/include"
9035 # This is here because it may depend on iOS or SDK version
9036 aros_kernel_cflags="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
9037 aros_kernel_ldflags="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
9038 aros_kernel_objcflags="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
9041 aros_kernel_cflags="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
9042 aros_kernel_ldflags="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
9048 aros_target_arch="dragonfly"
9049 aros_target_family="unix"
9050 aros_flavour="emulation"
9051 case "$target_cpu" in
9053 aros_target_cpu="i386"
9054 aros_object_format="elf_i386"
9055 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
9058 aros_config_cflags="$aros_config_cflags -fno-omit-frame-pointer"
9059 aros_target_cpu="x86_64"
9060 aros_object_format="elf_x86_64"
9061 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
9064 { { echo "$as_me:$LINENO: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&5
9065 echo "$as_me: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&2;}
9066 { (exit 1); exit 1; }; }
9072 aros_target_arch="netbsd"
9073 aros_target_family="unix"
9074 case "$target_cpu" in
9076 aros_target_cpu="m68k"
9077 aros_object_format="m68kelf"
9078 aros_flavour="emulcompat"
9079 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
9080 gcc_target_cpu="mc68000"
9083 aros_target_cpu="i386"
9084 aros_object_format="elf_i386"
9085 aros_flavour="emulation"
9086 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
9087 aros_default_wbdepth=8
9088 gcc_target_cpu="i386"
9091 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
9092 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
9093 { (exit 1); exit 1; }; }
9096 aros_target_genmap="-Wl,-M -Xlinker >"
9097 aros_flavour="emulation"
9098 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
9102 aros_target_arch="openbsd"
9103 aros_target_family="unix"
9104 case "$target_cpu" in
9106 aros_target_cpu="i386"
9107 aros_object_format="elf_i386"
9108 aros_flavour="emulation"
9109 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
9110 gcc_target_cpu="i386"
9113 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
9114 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
9115 { (exit 1); exit 1; }; }
9118 aros_target_genmap="-Wl,-M -Xlinker >"
9119 aros_target_nm_flags="-u"
9120 aros_flavour="emulation"
9124 aros_target_arch="solaris"
9125 aros_target_family="unix"
9126 case "$target_cpu" in
9128 aros_target_cpu="i386"
9129 aros_object_format="elf_i386"
9130 aros_flavour="emulation"
9131 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
9132 aros_default_wbdepth=8
9133 gcc_target_cpu="i386"
9136 aros_target_cpu="sparc"
9137 aros_object_format="elf_sparc"
9138 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
9139 gcc_target_cpu="sparc"
9142 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
9143 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
9144 { (exit 1); exit 1; }; }
9147 aros_config_cflags="$aros_config_cflags -D$aros_target_cpu"
9148 aros_flavour="emulation"
9152 aros_target_arch="morphos"
9153 aros_shared_default="no"
9154 aros_target_cpu="ppc"
9155 aros_object_format="elf_ppc"
9156 aros_flavour="nativecompat"
9157 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
9158 gcc_target_cpu="ppc"
9162 aros_target_arch="sam440"
9163 aros_shared_default="no"
9164 aros_target_cpu="ppc"
9165 aros_object_format="elf32ppc"
9166 aros_flavour="ppcnative"
9167 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
9168 aros_kernel_ldflags=""
9169 aros_default_wbwidth=1024
9170 aros_default_wbheight=768
9171 aros_default_wbdepth=24
9172 aros_config_cflags="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
9173 gcc_target_cpu="powerpc"
9177 aros_target_arch="efika"
9178 aros_shared_default="no"
9179 aros_target_cpu="arm"
9180 aros_object_format="armelf_linux_eabi"
9181 aros_flavour="standalone"
9182 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Darm"
9183 aros_kernel_ldflags=""
9184 aros_default_wbwidth=1024
9185 aros_default_wbheight=600
9186 aros_arch_libs="-laeabi"
9187 aros_config_cflags="$aros_config_cflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
9188 aros_config_aflags="$aros_config_aflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
9192 aros_target_arch="chrp"
9193 aros_shared_default="no"
9194 aros_target_cpu="ppc"
9195 aros_object_format="elf32ppc"
9196 aros_flavour="ppcnative"
9197 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
9198 aros_kernel_ldflags=""
9199 aros_default_wbwidth=640
9200 aros_default_wbheight=480
9201 aros_config_cflags="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
9202 gcc_target_cpu="powerpc"
9203 case "$aros_target_variant" in
9205 aros_config_cflags="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
9211 aros_target_arch="amiga"
9212 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
9213 aros_shared_default="no"
9215 case "$target_cpu" in
9217 # Check whether --enable-amigaos_compliance was given.
9218 if test "${enable_amigaos_compliance+set}" = set; then
9219 enableval=$enable_amigaos_compliance; aros_amigaos_compliance="$enableval"
9223 aros_target_cpu="m68k"
9224 aros_object_format="m68kelf"
9225 aros_flavour="standcompat"
9226 gcc_target_cpu="m68000"
9227 aros_config_cflags="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
9228 aros_config_aflags="$aros_config_aflags -${gcc_target_cpu}"
9229 target_tool_prefix="m68k-elf-"
9230 # Needed to get the correct multilib
9231 aros_config_ldflags="-${gcc_target_cpu}"
9232 aros_shared_ldflags="-${gcc_target_cpu}"
9233 aros_kernel_ldflags="-${gcc_target_cpu}"
9234 aros_target_nostdlib_ldflags="-${gcc_target_cpu}"
9235 aros_target_strip_flags="-R.comment --strip-debug"
9236 aros_default_wbwidth=640
9237 aros_default_wbheight=256
9238 aros_default_wbdepth=2
9242 aros_flavour="native"
9243 gcc_target_cpu="ppc"
9246 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
9247 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
9248 { (exit 1); exit 1; }; }
9254 aros_target_arch="mingw32"
9255 aros_shared_default="no"
9256 aros_flavour="emulation"
9257 aros_shared_cflags=""
9260 case "$target_cpu" in
9262 aros_target_cpu="i386"
9263 aros_object_format="elf_i386"
9264 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
9265 aros_default_wbdepth=8
9266 gcc_target_cpu="i386"
9268 aros_target_as="i386-aros-as"
9269 aros_target_ar="i386-aros-ar"
9270 aros_target_ranlib="i386-aros-ranlib"
9271 aros_target_nm="i386-aros-nm"
9272 aros_target_strip="i386-aros-strip"
9273 aros_target_objcopy="i386-aros-objcopy"
9274 aros_target_objdump="i386-aros-objdump"
9276 target_tool_prefix="i386-mingw32-"
9279 aros_target_cpu="x86_64"
9280 aros_object_format="elf_x86_64"
9281 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
9282 aros_config_cflags="$aros_config_cflags -fno-omit-frame-pointer"
9283 aros_default_wbdepth=8
9284 target_tool_prefix="x86_64-w64-mingw32-"
9287 aros_target_cpu="arm"
9288 aros_object_format="armelf_linux_eabi"
9289 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Darm"
9290 aros_arch_libs="-laeabi"
9291 aros_default_wbdepth=8
9292 gcc_target_cpu="arm"
9293 target_tool_prefix="arm-mingw32ce-"
9294 aros_default_wbwidth=160
9295 aros_default_wbheight=160
9298 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
9299 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
9300 { (exit 1); exit 1; }; }
9303 if test $host_os = "cygwin"; then
9304 aros_kernel_cflags="-mno-cygwin"
9308 aros_target_arch="pp"
9309 aros_shared_default="no"
9310 case "$target_cpu" in
9312 aros_target_cpu="m68k"
9313 aros_object_format="m68kelf"
9314 aros_flavour="palmnative"
9315 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
9316 aros_default_wbwidth=160
9317 aros_default_wbheight=160
9318 aros_default_wbdepth=1
9319 aros_target_ar_flags="cru"
9320 aros_compiler_libs="-lgcc1"
9321 aros_shared_default=no
9322 aros_shared_cflags="-fpic"
9323 aros_shared_aflags=""
9324 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
9325 aros_kernel_ldflags="-Wl,-rpath,./lib"
9326 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
9327 aros_debug_aflags=""
9328 aros_debug_ldflags="$aros_symbols_debug"
9329 aros_mungwall_debug="0"
9330 aros_modules_debug="0"
9331 gcc_target_cpu="mc68000"
9332 ignore_undefined_symbols="-ius"
9335 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
9336 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
9337 { (exit 1); exit 1; }; }
9343 aros_target_arch="mac"
9344 aros_shared_default="no"
9345 case "$target_cpu" in
9347 aros_target_cpu="m68k"
9348 aros_object_format="m68kelf"
9349 aros_flavour="mac68knative"
9350 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
9351 aros_default_wbwidth=512
9352 aros_default_wbheight=384
9353 aros_default_wbdepth=8
9354 aros_target_ar_flags="cru"
9355 aros_compiler_libs="-lgcc1"
9356 aros_shared_default=no
9357 aros_shared_cflags="-fpic"
9358 aros_shared_aflags=""
9359 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
9360 aros_kernel_ldflags="-Wl,-rpath,./lib"
9361 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug -mc68000"
9362 aros_debug_aflags=""
9363 aros_debug_ldflags="$aros_symbols_debug"
9364 aros_mungwall_debug="0"
9365 aros_modules_debug="0"
9366 gcc_target_cpu="mc68000"
9367 ignore_undefined_symbols="-ius"
9370 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
9371 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
9372 { (exit 1); exit 1; }; }
9378 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
9379 echo "$as_me: error: Unsupported target architecture $target" >&2;}
9380 { (exit 1); exit 1; }; }
9384 # Some formats need custom ELF specs.
9385 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
9386 if test -f $SRCDIR/config/${aros_object_format}-specs.in; then
9387 elf_specs_in=config/${aros_object_format}-specs.in
9389 elf_specs_in=config/elf-specs.in
9392 #-----------------------------------------------------------------------------
9393 { echo "$as_me:$LINENO: checking where to install or search for cross tools binaries" >&5
9394 echo $ECHO_N "checking where to install or search for cross tools binaries... $ECHO_C" >&6; }
9396 # Check whether --with-crosstools was given.
9397 if test "${with_crosstools+set}" = set; then
9398 withval=$with_crosstools; with_crosstools=$withval
9400 with_crosstools="default"
9403 if test "$with_crosstools" = "default"; then
9404 AROS_CROSSTOOLSDIR="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
9406 AROS_CROSSTOOLSDIR="$with_crosstools"
9408 { echo "$as_me:$LINENO: result: $AROS_CROSSTOOLSDIR" >&5
9409 echo "${ECHO_T}$AROS_CROSSTOOLSDIR" >&6; }
9411 if test "$crosstools" != "no" -o "$with_crosstools" != "default"; then
9415 PATH=$AROS_CROSSTOOLSDIR:$PATH
9418 { echo "$as_me:$LINENO: checking what specific AROS gcc version to use" >&5
9419 echo $ECHO_N "checking what specific AROS gcc version to use... $ECHO_C" >&6; }
9421 # Check whether --with-aros-gcc was given.
9422 if test "${with_aros_gcc+set}" = set; then
9423 withval=$with_aros_gcc; aros_gcc_version="$withval"
9425 aros_gcc_version="$use_aros_gcc"
9428 case "$aros_gcc_version" in
9430 aros_gcc_version="default"
9433 aros_gcc_version="none"
9436 { echo "$as_me:$LINENO: result: $aros_gcc_version" >&5
9437 echo "${ECHO_T}$aros_gcc_version" >&6; }
9439 if test "$aros_gcc_version" != "none"; then
9442 if test "$aros_gcc_version" != "default"; then
9443 aros_target_cc="$aros_target_cpu-aros-gcc-$aros_gcc_version"
9444 aros_target_cxx="$aros_target_cpu-aros-g++-$aros_gcc_version"
9446 aros_target_cc="$aros_target_cpu-aros-gcc"
9447 aros_target_cxx="$aros_target_cpu-aros-g++"
9450 aros_target_ld="$aros_target_cpu-aros-ld"
9451 aros_target_as="$aros_target_cpu-aros-as"
9452 aros_target_ar="$aros_target_cpu-aros-ar"
9453 aros_target_ranlib="$aros_target_cpu-aros-ranlib"
9454 aros_target_nm="$aros_target_cpu-aros-nm"
9455 aros_target_strip="$aros_target_cpu-aros-strip"
9456 aros_target_objcopy="$aros_target_cpu-aros-objcopy"
9457 aros_target_objdump="$aros_target_cpu-aros-objdump"
9460 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9461 # Since we override specs, we may need to put these defines there
9462 if test "$gcc_target_cpu" != ""; then
9463 gcc_target_cpu="-D__${gcc_target_cpu}__"
9466 { echo "$as_me:$LINENO: checking where to download sourcecode for external ports" >&5
9467 echo $ECHO_N "checking where to download sourcecode for external ports... $ECHO_C" >&6; }
9469 # Check whether --with-portssources was given.
9470 if test "${with_portssources+set}" = set; then
9471 withval=$with_portssources; with_portssrcdir=$withval
9473 with_portssrcdir="default"
9476 if test "$with_portssrcdir" = "default"; then
9477 AROS_PORTSSRCDIR="$AROS_BUILDDIR_UNIX/bin/Sources"
9479 AROS_PORTSSRCDIR="$with_portssrcdir"
9481 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
9482 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
9484 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
9485 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
9487 # Check whether --with-bootloader was given.
9488 if test "${with_bootloader+set}" = set; then
9489 withval=$with_bootloader; target_bootloader=$withval
9491 target_bootloader=$target_bootloader
9494 if test "$target_bootloader" = "none"; then
9495 aros_target_bootloader=""
9497 aros_target_bootloader="$target_bootloader"
9499 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
9500 echo "${ECHO_T}$target_bootloader" >&6; }
9502 { echo "$as_me:$LINENO: checking which icon-set to use" >&5
9503 echo $ECHO_N "checking which icon-set to use... $ECHO_C" >&6; }
9505 # Check whether --with-iconset was given.
9506 if test "${with_iconset+set}" = set; then
9507 withval=$with_iconset; target_iconset=$withval
9509 target_iconset="default"
9512 if test "$target_iconset" = "default"; then
9513 aros_target_iconset="Gorilla"
9514 target_iconset="default (Gorilla)"
9516 aros_target_iconset="$target_iconset"
9518 { echo "$as_me:$LINENO: result: $target_iconset" >&5
9519 echo "${ECHO_T}$target_iconset" >&6; }
9521 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9522 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9524 # Check whether --with-theme was given.
9525 if test "${with_theme+set}" = set; then
9526 withval=$with_theme; target_guitheme=$withval
9528 target_guitheme="default"
9531 if test "$target_guitheme" = "default"; then
9532 aros_target_guitheme="Ice"
9534 aros_target_guitheme="$target_guitheme"
9536 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9537 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9539 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9542 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9546 if test "$aros_host_cpu" == "x86_64" ; then
9547 if test "$aros_target_cpu" == "i386" ; then
9548 if test "$aros_target_arch" != "mingw32"; then
9554 if test "$aros_host_arch" == "darwin" ; then
9555 if test "$aros_target_arch" != "darwin" ; then
9560 if test "$aros_host_arch" == "mingw32" ; then
9561 if test "$aros_target_arch" != "mingw32" ; then
9566 # I want to have this information in configure output, although it might be
9567 # misleading, e.g. for darwin hosted you cannot compile target code without a
9568 # cross compiler, but here it says no.
9570 # Note: it says 'yes' only if bootstrap ("kernel") is cross-compiled.
9571 # Target code is a little bit different thing.
9573 echo "checking wether we are (AROS style) cross compiling... $cross_compiling"
9575 # Set prefix for target compiler etc. if we're cross-compiling
9576 # (should possibly be earlier but needs to be after AC_PROG_CC)
9577 if test "$cross_compiling" = "yes" ; then
9579 if test "x-$aros_flavour" = "x-standalone" -o "x-$aros_flavour" = "x-standcompat" ; then
9580 if test "$aros_gcc_version" != "none"; then
9583 target_tool_prefix=${target_cpu}-aros-
9584 target_tool_version=$aros_gcc_version
9585 use_kernel_cc_wrapper=yes
9594 aros_target_objcopy=
9595 aros_target_objdump=
9599 CC=${target_tool_prefix}gcc
9600 CPP=${target_tool_prefix}cpp
9601 if test "$target_tool_version" != "default"; then
9602 CC="$CC-$target_tool_version"
9603 CPP="$CC-$target_tool_version"
9605 if test "$crosstools" != "yes" ; then
9606 # Extract the first word of "$CC", so it can be a program name with args.
9607 set dummy $CC; ac_word=$2
9608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9610 if test "${ac_cv_path_CC+set}" = set; then
9611 echo $ECHO_N "(cached) $ECHO_C" >&6
9615 ac_cv_path_CC="$CC" # Let the user override the test with a path.
9618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9622 test -z "$as_dir" && as_dir=.
9623 for ac_exec_ext in '' $ac_executable_extensions; do
9624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9625 ac_cv_path_CC="$as_dir/$ac_word$ac_exec_ext"
9626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9637 if test -n "$CC"; then
9638 { echo "$as_me:$LINENO: result: $CC" >&5
9639 echo "${ECHO_T}$CC" >&6; }
9641 { echo "$as_me:$LINENO: result: no" >&5
9642 echo "${ECHO_T}no" >&6; }
9646 if test "$CC" = ""; then
9647 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9648 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9649 { (exit 1); exit 1; }; }
9652 CC=$AROS_CROSSTOOLSDIR/$CC
9655 CC="$CC $target_tool_flags"
9657 #-----------------------------------------------------------------------------
9659 # Disable pointer-signedness warnings if the compiler recognises the option
9661 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9662 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
9663 save_cflags="$CFLAGS"
9664 if test "$crosstools" != "yes" ; then
9665 CFLAGS="$CFLAGS -Wno-pointer-sign"
9666 cat >conftest.$ac_ext <<_ACEOF
9669 cat confdefs.h >>conftest.$ac_ext
9670 cat >>conftest.$ac_ext <<_ACEOF
9671 /* end confdefs.h. */
9681 rm -f conftest.$ac_objext
9682 if { (ac_try="$ac_compile"
9684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9685 *) ac_try_echo
=$ac_try;;
9687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9688 (eval "$ac_compile") 2>conftest.er1
9690 grep -v '^ *+' conftest.er1
>conftest.err
9692 cat conftest.err
>&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); } && {
9695 test -z "$ac_c_werror_flag" ||
9696 test ! -s conftest.err
9697 } && test -s conftest.
$ac_objext; then
9698 use_no_sign_warning
="yes"
9700 echo "$as_me: failed program was:" >&5
9701 sed 's/^/| /' conftest.
$ac_ext >&5
9703 use_no_sign_warning
="no"
9706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9708 # we do know it is supported for the smallest version of gcc we are going to build
9709 # we assume it's also supported by later versions
9710 use_no_sign_warning
=yes
9712 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9713 echo "${ECHO_T}$use_no_sign_warning" >&6; }
9714 if test "x-$use_no_sign_warning" = "x-yes" ; then
9715 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
9717 CFLAGS
="$save_cflags"
9719 #-----------------------------------------------------------------------------
9721 # Find all the tools we need to compile. This could be cross-compiling
9722 # though! If that is the case we use the GNU form of the target and
9723 # simply add this to the front of the binary name. This is rather simple,
9724 # but it should work under most circumstances.
9726 # The default tools are to use the same as the host, but only if the
9727 # host and target CPU are the same. With GCC this is normally enough.
9731 aros_shared_ld
="$aros_host_ld"
9733 aros_target_mkdep
="$aros_host_mkdep"
9734 aros_target_incl_def
="$aros_host_incl"
9736 aros_kernel_cc
="$CC"
9738 # The default tools executables to be linked to.
9739 if test "$rescomp" != ""; then
9740 if test "$cross_compiling" = "yes" ; then
9741 rescomp
=${target_tool_prefix}${rescomp}
9743 # Extract the first word of "$rescomp", so it can be a program name with args.
9744 set dummy
$rescomp; ac_word
=$2
9745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9747 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
9748 echo $ECHO_N "(cached) $ECHO_C" >&6
9750 case $aros_kernel_rescomp in
9752 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
9755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9759 test -z "$as_dir" && as_dir
=.
9760 for ac_exec_ext
in '' $ac_executable_extensions; do
9761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9762 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
9763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9773 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
9774 if test -n "$aros_kernel_rescomp"; then
9775 { echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
9776 echo "${ECHO_T}$aros_kernel_rescomp" >&6; }
9778 { echo "$as_me:$LINENO: result: no" >&5
9779 echo "${ECHO_T}no" >&6; }
9783 if test "$aros_kernel_rescomp" = ""; then
9784 { { echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
9785 echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
9786 { (exit 1); exit 1; }; }
9790 if test "$crosstools" != "yes"; then
9792 if test "$aros_kernel_ld" = ""; then
9793 if test "$cross_compiling" = "yes" ; then
9794 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9795 set dummy
${target_tool_prefix}ld
; ac_word
=$2
9796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9798 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9799 echo $ECHO_N "(cached) $ECHO_C" >&6
9801 case $aros_kernel_ld in
9803 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9810 test -z "$as_dir" && as_dir
=.
9811 for ac_exec_ext
in '' $ac_executable_extensions; do
9812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9813 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9824 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9825 if test -n "$aros_kernel_ld"; then
9826 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9827 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9829 { echo "$as_me:$LINENO: result: no" >&5
9830 echo "${ECHO_T}no" >&6; }
9835 if test "$GCC" = "yes"; then
9836 aros_gcc_ld
=`$CC -print-prog-name=ld`
9837 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9838 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9841 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9842 echo $ECHO_N "(cached) $ECHO_C" >&6
9844 case $aros_kernel_ld in
9846 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9850 for as_dir
in `dirname $aros_gcc_ld`
9853 test -z "$as_dir" && as_dir
=.
9854 for ac_exec_ext
in '' $ac_executable_extensions; do
9855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9856 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9867 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9868 if test -n "$aros_kernel_ld"; then
9869 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9870 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9872 { echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6; }
9878 if test "$aros_kernel_ld" = ""; then
9879 # Extract the first word of "ld", so it can be a program name with args.
9880 set dummy ld
; ac_word
=$2
9881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9883 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9884 echo $ECHO_N "(cached) $ECHO_C" >&6
9886 case $aros_kernel_ld in
9888 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9895 test -z "$as_dir" && as_dir
=.
9896 for ac_exec_ext
in '' $ac_executable_extensions; do
9897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9898 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9909 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9910 if test -n "$aros_kernel_ld"; then
9911 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9912 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9914 { echo "$as_me:$LINENO: result: no" >&5
9915 echo "${ECHO_T}no" >&6; }
9922 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9923 set dummy
$aros_kernel_ld; ac_word
=$2
9924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9926 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9927 echo $ECHO_N "(cached) $ECHO_C" >&6
9929 case $aros_kernel_ld in
9931 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9938 test -z "$as_dir" && as_dir
=.
9939 for ac_exec_ext
in '' $ac_executable_extensions; do
9940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9941 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9952 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9953 if test -n "$aros_kernel_ld"; then
9954 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9955 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9957 { echo "$as_me:$LINENO: result: no" >&5
9958 echo "${ECHO_T}no" >&6; }
9964 if test "$aros_kernel_ld" = ""; then
9965 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9966 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9967 { (exit 1); exit 1; }; }
9970 if test "$aros_kernel_ar" = ""; then
9971 if test "$cross_compiling" = "yes" ; then
9972 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9973 set dummy
${target_tool_prefix}ar; ac_word
=$2
9974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9976 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 case $aros_kernel_ar in
9981 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir
=.
9989 for ac_exec_ext
in '' $ac_executable_extensions; do
9990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9991 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10002 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10003 if test -n "$aros_kernel_ar"; then
10004 { echo "$as_me:$LINENO: result: $aros_kernel_ar" >&5
10005 echo "${ECHO_T}$aros_kernel_ar" >&6; }
10007 { echo "$as_me:$LINENO: result: no" >&5
10008 echo "${ECHO_T}no" >&6; }
10013 if test "$GCC" = "yes"; then
10014 aros_gcc_ar
=`$CC -print-prog-name=ar`
10015 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10016 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10019 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then
10020 echo $ECHO_N "(cached) $ECHO_C" >&6
10022 case $aros_kernel_ar in
10024 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10028 for as_dir
in `dirname $aros_gcc_ar`
10031 test -z "$as_dir" && as_dir
=.
10032 for ac_exec_ext
in '' $ac_executable_extensions; do
10033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10034 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10045 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10046 if test -n "$aros_kernel_ar"; then
10047 { echo "$as_me:$LINENO: result: $aros_kernel_ar" >&5
10048 echo "${ECHO_T}$aros_kernel_ar" >&6; }
10050 { echo "$as_me:$LINENO: result: no" >&5
10051 echo "${ECHO_T}no" >&6; }
10056 if test "$aros_kernel_ar" = ""; then
10057 # Extract the first word of "ar", so it can be a program name with args.
10058 set dummy
ar; ac_word
=$2
10059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10061 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10064 case $aros_kernel_ar in
10066 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10070 for as_dir
in $PATH
10073 test -z "$as_dir" && as_dir
=.
10074 for ac_exec_ext
in '' $ac_executable_extensions; do
10075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10076 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10087 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10088 if test -n "$aros_kernel_ar"; then
10089 { echo "$as_me:$LINENO: result: $aros_kernel_ar" >&5
10090 echo "${ECHO_T}$aros_kernel_ar" >&6; }
10092 { echo "$as_me:$LINENO: result: no" >&5
10093 echo "${ECHO_T}no" >&6; }
10100 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10101 set dummy
$aros_kernel_ar; ac_word
=$2
10102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10104 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then
10105 echo $ECHO_N "(cached) $ECHO_C" >&6
10107 case $aros_kernel_ar in
10109 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10113 for as_dir
in $PATH
10116 test -z "$as_dir" && as_dir
=.
10117 for ac_exec_ext
in '' $ac_executable_extensions; do
10118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10119 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10130 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10131 if test -n "$aros_kernel_ar"; then
10132 { echo "$as_me:$LINENO: result: $aros_kernel_ar" >&5
10133 echo "${ECHO_T}$aros_kernel_ar" >&6; }
10135 { echo "$as_me:$LINENO: result: no" >&5
10136 echo "${ECHO_T}no" >&6; }
10142 if test "$aros_kernel_ar" = ""; then
10143 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
10144 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
10145 { (exit 1); exit 1; }; }
10148 if test "$aros_kernel_ranlib" = ""; then
10149 if test "$cross_compiling" = "yes" ; then
10150 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10151 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10154 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 case $aros_kernel_ranlib in
10159 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10163 for as_dir
in $PATH
10166 test -z "$as_dir" && as_dir
=.
10167 for ac_exec_ext
in '' $ac_executable_extensions; do
10168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10169 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10180 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10181 if test -n "$aros_kernel_ranlib"; then
10182 { echo "$as_me:$LINENO: result: $aros_kernel_ranlib" >&5
10183 echo "${ECHO_T}$aros_kernel_ranlib" >&6; }
10185 { echo "$as_me:$LINENO: result: no" >&5
10186 echo "${ECHO_T}no" >&6; }
10191 if test "$GCC" = "yes"; then
10192 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10193 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10194 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10197 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then
10198 echo $ECHO_N "(cached) $ECHO_C" >&6
10200 case $aros_kernel_ranlib in
10202 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10206 for as_dir
in `dirname $aros_gcc_ranlib`
10209 test -z "$as_dir" && as_dir
=.
10210 for ac_exec_ext
in '' $ac_executable_extensions; do
10211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10212 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10223 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10224 if test -n "$aros_kernel_ranlib"; then
10225 { echo "$as_me:$LINENO: result: $aros_kernel_ranlib" >&5
10226 echo "${ECHO_T}$aros_kernel_ranlib" >&6; }
10228 { echo "$as_me:$LINENO: result: no" >&5
10229 echo "${ECHO_T}no" >&6; }
10234 if test "$aros_kernel_ranlib" = ""; then
10235 # Extract the first word of "ranlib", so it can be a program name with args.
10236 set dummy ranlib
; ac_word
=$2
10237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10239 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then
10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10242 case $aros_kernel_ranlib in
10244 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10248 for as_dir
in $PATH
10251 test -z "$as_dir" && as_dir
=.
10252 for ac_exec_ext
in '' $ac_executable_extensions; do
10253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10254 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10265 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10266 if test -n "$aros_kernel_ranlib"; then
10267 { echo "$as_me:$LINENO: result: $aros_kernel_ranlib" >&5
10268 echo "${ECHO_T}$aros_kernel_ranlib" >&6; }
10270 { echo "$as_me:$LINENO: result: no" >&5
10271 echo "${ECHO_T}no" >&6; }
10278 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10279 set dummy
$aros_kernel_ranlib; ac_word
=$2
10280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10282 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then
10283 echo $ECHO_N "(cached) $ECHO_C" >&6
10285 case $aros_kernel_ranlib in
10287 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10291 for as_dir
in $PATH
10294 test -z "$as_dir" && as_dir
=.
10295 for ac_exec_ext
in '' $ac_executable_extensions; do
10296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10297 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10308 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10309 if test -n "$aros_kernel_ranlib"; then
10310 { echo "$as_me:$LINENO: result: $aros_kernel_ranlib" >&5
10311 echo "${ECHO_T}$aros_kernel_ranlib" >&6; }
10313 { echo "$as_me:$LINENO: result: no" >&5
10314 echo "${ECHO_T}no" >&6; }
10320 if test "$aros_kernel_ranlib" = ""; then
10321 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
10322 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
10323 { (exit 1); exit 1; }; }
10326 if test "$target_tool_prefix" != "${target_cpu}-elf-" -a "$target_tool_prefix" != "${target_cpu}-aros-" ; then
10327 target_tool_prefix
=${target_cpu}-elf-
10328 if test "$aros_target_cc" == ""; then
10329 aros_target_cc
="${target_tool_prefix}gcc"
10331 if test "$aros_target_ld" == ""; then
10332 aros_target_ld
="${target_tool_prefix}ld"
10336 if test "$aros_target_as" = ""; then
10337 if test "$cross_compiling" = "yes" ; then
10338 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
10339 set dummy
${target_tool_prefix}as
; ac_word
=$2
10340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10342 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
10343 echo $ECHO_N "(cached) $ECHO_C" >&6
10345 case $aros_target_as_ln in
10347 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
10350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10351 for as_dir
in $PATH
10354 test -z "$as_dir" && as_dir
=.
10355 for ac_exec_ext
in '' $ac_executable_extensions; do
10356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10357 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
10358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10368 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
10369 if test -n "$aros_target_as_ln"; then
10370 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
10371 echo "${ECHO_T}$aros_target_as_ln" >&6; }
10373 { echo "$as_me:$LINENO: result: no" >&5
10374 echo "${ECHO_T}no" >&6; }
10379 if test "$GCC" = "yes"; then
10380 aros_gcc_as
=`$CC -print-prog-name=as`
10381 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10382 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10385 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
10386 echo $ECHO_N "(cached) $ECHO_C" >&6
10388 case $aros_target_as_ln in
10390 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
10393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10394 for as_dir
in `dirname $aros_gcc_as`
10397 test -z "$as_dir" && as_dir
=.
10398 for ac_exec_ext
in '' $ac_executable_extensions; do
10399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10400 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
10401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10411 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
10412 if test -n "$aros_target_as_ln"; then
10413 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
10414 echo "${ECHO_T}$aros_target_as_ln" >&6; }
10416 { echo "$as_me:$LINENO: result: no" >&5
10417 echo "${ECHO_T}no" >&6; }
10422 if test "$aros_target_as_ln" = ""; then
10423 # Extract the first word of "as", so it can be a program name with args.
10424 set dummy as
; ac_word
=$2
10425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10427 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
10428 echo $ECHO_N "(cached) $ECHO_C" >&6
10430 case $aros_target_as_ln in
10432 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
10435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10436 for as_dir
in $PATH
10439 test -z "$as_dir" && as_dir
=.
10440 for ac_exec_ext
in '' $ac_executable_extensions; do
10441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10442 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
10443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10453 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
10454 if test -n "$aros_target_as_ln"; then
10455 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
10456 echo "${ECHO_T}$aros_target_as_ln" >&6; }
10458 { echo "$as_me:$LINENO: result: no" >&5
10459 echo "${ECHO_T}no" >&6; }
10466 # Extract the first word of "$aros_target_as", so it can be a program name with args.
10467 set dummy
$aros_target_as; ac_word
=$2
10468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10470 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10473 case $aros_target_as_ln in
10475 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
10478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10479 for as_dir
in $PATH
10482 test -z "$as_dir" && as_dir
=.
10483 for ac_exec_ext
in '' $ac_executable_extensions; do
10484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10485 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
10486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10496 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
10497 if test -n "$aros_target_as_ln"; then
10498 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
10499 echo "${ECHO_T}$aros_target_as_ln" >&6; }
10501 { echo "$as_me:$LINENO: result: no" >&5
10502 echo "${ECHO_T}no" >&6; }
10508 if test "$aros_target_as_ln" = ""; then
10509 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
10510 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
10511 { (exit 1); exit 1; }; }
10514 if test "$aros_target_ar" = ""; then
10515 if test "$cross_compiling" = "yes" ; then
10516 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
10517 set dummy
${target_tool_prefix}ar; ac_word
=$2
10518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10520 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10521 echo $ECHO_N "(cached) $ECHO_C" >&6
10523 case $aros_target_ar_ln in
10525 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10529 for as_dir
in $PATH
10532 test -z "$as_dir" && as_dir
=.
10533 for ac_exec_ext
in '' $ac_executable_extensions; do
10534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10535 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10546 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10547 if test -n "$aros_target_ar_ln"; then
10548 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10549 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
10551 { echo "$as_me:$LINENO: result: no" >&5
10552 echo "${ECHO_T}no" >&6; }
10557 if test "$GCC" = "yes"; then
10558 aros_gcc_ar
=`$CC -print-prog-name=ar`
10559 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10560 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10563 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10566 case $aros_target_ar_ln in
10568 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10572 for as_dir
in `dirname $aros_gcc_ar`
10575 test -z "$as_dir" && as_dir
=.
10576 for ac_exec_ext
in '' $ac_executable_extensions; do
10577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10578 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10589 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10590 if test -n "$aros_target_ar_ln"; then
10591 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10592 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
10594 { echo "$as_me:$LINENO: result: no" >&5
10595 echo "${ECHO_T}no" >&6; }
10600 if test "$aros_target_ar_ln" = ""; then
10601 # Extract the first word of "ar", so it can be a program name with args.
10602 set dummy
ar; ac_word
=$2
10603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10605 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10606 echo $ECHO_N "(cached) $ECHO_C" >&6
10608 case $aros_target_ar_ln in
10610 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10614 for as_dir
in $PATH
10617 test -z "$as_dir" && as_dir
=.
10618 for ac_exec_ext
in '' $ac_executable_extensions; do
10619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10620 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10631 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10632 if test -n "$aros_target_ar_ln"; then
10633 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10634 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
10636 { echo "$as_me:$LINENO: result: no" >&5
10637 echo "${ECHO_T}no" >&6; }
10644 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
10645 set dummy
$aros_target_ar; ac_word
=$2
10646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10648 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10649 echo $ECHO_N "(cached) $ECHO_C" >&6
10651 case $aros_target_ar_ln in
10653 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10657 for as_dir
in $PATH
10660 test -z "$as_dir" && as_dir
=.
10661 for ac_exec_ext
in '' $ac_executable_extensions; do
10662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10663 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10674 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10675 if test -n "$aros_target_ar_ln"; then
10676 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10677 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
10679 { echo "$as_me:$LINENO: result: no" >&5
10680 echo "${ECHO_T}no" >&6; }
10686 if test "$aros_target_ar_ln" = ""; then
10687 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
10688 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
10689 { (exit 1); exit 1; }; }
10692 if test "$aros_target_nm" = ""; then
10693 if test "$cross_compiling" = "yes" ; then
10694 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
10695 set dummy
${target_tool_prefix}nm
; ac_word
=$2
10696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10698 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 case $aros_target_nm_ln in
10703 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10707 for as_dir
in $PATH
10710 test -z "$as_dir" && as_dir
=.
10711 for ac_exec_ext
in '' $ac_executable_extensions; do
10712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10713 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10724 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10725 if test -n "$aros_target_nm_ln"; then
10726 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10727 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10729 { echo "$as_me:$LINENO: result: no" >&5
10730 echo "${ECHO_T}no" >&6; }
10735 if test "$GCC" = "yes"; then
10736 aros_gcc_nm
=`$CC -print-prog-name=nm`
10737 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10738 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10741 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 case $aros_target_nm_ln in
10746 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10750 for as_dir
in `dirname $aros_gcc_nm`
10753 test -z "$as_dir" && as_dir
=.
10754 for ac_exec_ext
in '' $ac_executable_extensions; do
10755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10756 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10767 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10768 if test -n "$aros_target_nm_ln"; then
10769 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10770 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10772 { echo "$as_me:$LINENO: result: no" >&5
10773 echo "${ECHO_T}no" >&6; }
10778 if test "$aros_target_nm_ln" = ""; then
10779 # Extract the first word of "nm", so it can be a program name with args.
10780 set dummy nm
; ac_word
=$2
10781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10783 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 case $aros_target_nm_ln in
10788 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10792 for as_dir
in $PATH
10795 test -z "$as_dir" && as_dir
=.
10796 for ac_exec_ext
in '' $ac_executable_extensions; do
10797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10798 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10809 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10810 if test -n "$aros_target_nm_ln"; then
10811 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10812 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10814 { echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6; }
10822 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10823 set dummy
$aros_target_nm; ac_word
=$2
10824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10826 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 case $aros_target_nm_ln in
10831 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10835 for as_dir
in $PATH
10838 test -z "$as_dir" && as_dir
=.
10839 for ac_exec_ext
in '' $ac_executable_extensions; do
10840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10841 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10852 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10853 if test -n "$aros_target_nm_ln"; then
10854 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10855 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10857 { echo "$as_me:$LINENO: result: no" >&5
10858 echo "${ECHO_T}no" >&6; }
10864 if test "$aros_target_nm_ln" = ""; then
10865 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10866 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10867 { (exit 1); exit 1; }; }
10870 if test "$aros_target_objcopy" = ""; then
10871 if test "$cross_compiling" = "yes" ; then
10872 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10873 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
10874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10876 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10877 echo $ECHO_N "(cached) $ECHO_C" >&6
10879 case $aros_target_objcopy_ln in
10881 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10885 for as_dir
in $PATH
10888 test -z "$as_dir" && as_dir
=.
10889 for ac_exec_ext
in '' $ac_executable_extensions; do
10890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10891 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10902 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10903 if test -n "$aros_target_objcopy_ln"; then
10904 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10905 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10907 { echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6; }
10913 if test "$GCC" = "yes"; then
10914 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10915 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10916 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10919 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
10922 case $aros_target_objcopy_ln in
10924 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10928 for as_dir
in `dirname $aros_gcc_objcopy`
10931 test -z "$as_dir" && as_dir
=.
10932 for ac_exec_ext
in '' $ac_executable_extensions; do
10933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10934 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10945 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10946 if test -n "$aros_target_objcopy_ln"; then
10947 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10948 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10950 { echo "$as_me:$LINENO: result: no" >&5
10951 echo "${ECHO_T}no" >&6; }
10956 if test "$aros_target_objcopy_ln" = ""; then
10957 # Extract the first word of "objcopy", so it can be a program name with args.
10958 set dummy objcopy
; ac_word
=$2
10959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10961 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10962 echo $ECHO_N "(cached) $ECHO_C" >&6
10964 case $aros_target_objcopy_ln in
10966 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10970 for as_dir
in $PATH
10973 test -z "$as_dir" && as_dir
=.
10974 for ac_exec_ext
in '' $ac_executable_extensions; do
10975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10976 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10987 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10988 if test -n "$aros_target_objcopy_ln"; then
10989 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10990 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10992 { echo "$as_me:$LINENO: result: no" >&5
10993 echo "${ECHO_T}no" >&6; }
11000 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
11001 set dummy
$aros_target_objcopy; ac_word
=$2
11002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11004 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
11005 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 case $aros_target_objcopy_ln in
11009 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
11012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11013 for as_dir
in $PATH
11016 test -z "$as_dir" && as_dir
=.
11017 for ac_exec_ext
in '' $ac_executable_extensions; do
11018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11019 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
11020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11030 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
11031 if test -n "$aros_target_objcopy_ln"; then
11032 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
11033 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
11035 { echo "$as_me:$LINENO: result: no" >&5
11036 echo "${ECHO_T}no" >&6; }
11042 if test "$aros_target_objcopy_ln" = ""; then
11043 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
11044 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
11045 { (exit 1); exit 1; }; }
11048 if test "$aros_target_objdump" = ""; then
11049 if test "$cross_compiling" = "yes" ; then
11050 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
11051 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
11052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11054 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
11055 echo $ECHO_N "(cached) $ECHO_C" >&6
11057 case $aros_target_objdump_ln in
11059 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
11062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11063 for as_dir
in $PATH
11066 test -z "$as_dir" && as_dir
=.
11067 for ac_exec_ext
in '' $ac_executable_extensions; do
11068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11069 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
11070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11080 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
11081 if test -n "$aros_target_objdump_ln"; then
11082 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
11083 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
11085 { echo "$as_me:$LINENO: result: no" >&5
11086 echo "${ECHO_T}no" >&6; }
11091 if test "$GCC" = "yes"; then
11092 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11093 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11094 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11097 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
11098 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 case $aros_target_objdump_ln in
11102 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
11105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11106 for as_dir
in `dirname $aros_gcc_objdump`
11109 test -z "$as_dir" && as_dir
=.
11110 for ac_exec_ext
in '' $ac_executable_extensions; do
11111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11112 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
11113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11123 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
11124 if test -n "$aros_target_objdump_ln"; then
11125 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
11126 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
11128 { echo "$as_me:$LINENO: result: no" >&5
11129 echo "${ECHO_T}no" >&6; }
11134 if test "$aros_target_objdump_ln" = ""; then
11135 # Extract the first word of "objdump", so it can be a program name with args.
11136 set dummy objdump
; ac_word
=$2
11137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11139 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
11140 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 case $aros_target_objdump_ln in
11144 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
11147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11148 for as_dir
in $PATH
11151 test -z "$as_dir" && as_dir
=.
11152 for ac_exec_ext
in '' $ac_executable_extensions; do
11153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11154 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
11155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11165 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
11166 if test -n "$aros_target_objdump_ln"; then
11167 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
11168 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
11170 { echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6; }
11178 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
11179 set dummy
$aros_target_objdump; ac_word
=$2
11180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11182 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
11183 echo $ECHO_N "(cached) $ECHO_C" >&6
11185 case $aros_target_objdump_ln in
11187 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
11190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11191 for as_dir
in $PATH
11194 test -z "$as_dir" && as_dir
=.
11195 for ac_exec_ext
in '' $ac_executable_extensions; do
11196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11197 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
11198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11208 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
11209 if test -n "$aros_target_objdump_ln"; then
11210 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
11211 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
11213 { echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6; }
11220 if test "$aros_target_objdump_ln" = ""; then
11221 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
11222 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
11223 { (exit 1); exit 1; }; }
11226 if test "$aros_target_ranlib" = ""; then
11227 if test "$cross_compiling" = "yes" ; then
11228 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
11229 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
11230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11232 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
11233 echo $ECHO_N "(cached) $ECHO_C" >&6
11235 case $aros_target_ranlib_ln in
11237 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
11240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11241 for as_dir
in $PATH
11244 test -z "$as_dir" && as_dir
=.
11245 for ac_exec_ext
in '' $ac_executable_extensions; do
11246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11247 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
11248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11258 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
11259 if test -n "$aros_target_ranlib_ln"; then
11260 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
11261 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
11263 { echo "$as_me:$LINENO: result: no" >&5
11264 echo "${ECHO_T}no" >&6; }
11269 if test "$GCC" = "yes"; then
11270 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
11271 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
11272 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
11273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11275 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 case $aros_target_ranlib_ln in
11280 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
11283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11284 for as_dir
in `dirname $aros_gcc_ranlib`
11287 test -z "$as_dir" && as_dir
=.
11288 for ac_exec_ext
in '' $ac_executable_extensions; do
11289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11290 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
11291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11301 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
11302 if test -n "$aros_target_ranlib_ln"; then
11303 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
11304 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
11306 { echo "$as_me:$LINENO: result: no" >&5
11307 echo "${ECHO_T}no" >&6; }
11312 if test "$aros_target_ranlib_ln" = ""; then
11313 # Extract the first word of "ranlib", so it can be a program name with args.
11314 set dummy ranlib
; ac_word
=$2
11315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11317 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11320 case $aros_target_ranlib_ln in
11322 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
11325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11326 for as_dir
in $PATH
11329 test -z "$as_dir" && as_dir
=.
11330 for ac_exec_ext
in '' $ac_executable_extensions; do
11331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11332 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
11333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11343 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
11344 if test -n "$aros_target_ranlib_ln"; then
11345 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
11346 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
11348 { echo "$as_me:$LINENO: result: no" >&5
11349 echo "${ECHO_T}no" >&6; }
11356 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
11357 set dummy
$aros_target_ranlib; ac_word
=$2
11358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11360 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
11361 echo $ECHO_N "(cached) $ECHO_C" >&6
11363 case $aros_target_ranlib_ln in
11365 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
11368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11369 for as_dir
in $PATH
11372 test -z "$as_dir" && as_dir
=.
11373 for ac_exec_ext
in '' $ac_executable_extensions; do
11374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11375 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
11376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11386 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
11387 if test -n "$aros_target_ranlib_ln"; then
11388 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
11389 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
11391 { echo "$as_me:$LINENO: result: no" >&5
11392 echo "${ECHO_T}no" >&6; }
11398 if test "$aros_target_ranlib_ln" = ""; then
11399 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
11400 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
11401 { (exit 1); exit 1; }; }
11404 if test "$aros_target_strip" = ""; then
11405 if test "$cross_compiling" = "yes" ; then
11406 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
11407 set dummy
${target_tool_prefix}strip
; ac_word
=$2
11408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11410 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11411 echo $ECHO_N "(cached) $ECHO_C" >&6
11413 case $aros_target_strip_ln in
11415 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11419 for as_dir
in $PATH
11422 test -z "$as_dir" && as_dir
=.
11423 for ac_exec_ext
in '' $ac_executable_extensions; do
11424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11425 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11436 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11437 if test -n "$aros_target_strip_ln"; then
11438 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11439 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
11441 { echo "$as_me:$LINENO: result: no" >&5
11442 echo "${ECHO_T}no" >&6; }
11447 if test "$GCC" = "yes"; then
11448 aros_gcc_strip
=`$CC -print-prog-name=strip`
11449 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11450 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11453 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11454 echo $ECHO_N "(cached) $ECHO_C" >&6
11456 case $aros_target_strip_ln in
11458 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11462 for as_dir
in `dirname $aros_gcc_strip`
11465 test -z "$as_dir" && as_dir
=.
11466 for ac_exec_ext
in '' $ac_executable_extensions; do
11467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11468 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11479 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11480 if test -n "$aros_target_strip_ln"; then
11481 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11482 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
11484 { echo "$as_me:$LINENO: result: no" >&5
11485 echo "${ECHO_T}no" >&6; }
11490 if test "$aros_target_strip_ln" = ""; then
11491 # Extract the first word of "strip", so it can be a program name with args.
11492 set dummy strip
; ac_word
=$2
11493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11495 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11496 echo $ECHO_N "(cached) $ECHO_C" >&6
11498 case $aros_target_strip_ln in
11500 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11504 for as_dir
in $PATH
11507 test -z "$as_dir" && as_dir
=.
11508 for ac_exec_ext
in '' $ac_executable_extensions; do
11509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11510 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11521 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11522 if test -n "$aros_target_strip_ln"; then
11523 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11524 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
11526 { echo "$as_me:$LINENO: result: no" >&5
11527 echo "${ECHO_T}no" >&6; }
11534 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
11535 set dummy
$aros_target_strip; ac_word
=$2
11536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11538 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 case $aros_target_strip_ln in
11543 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11547 for as_dir
in $PATH
11550 test -z "$as_dir" && as_dir
=.
11551 for ac_exec_ext
in '' $ac_executable_extensions; do
11552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11553 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11564 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11565 if test -n "$aros_target_strip_ln"; then
11566 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11567 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
11569 { echo "$as_me:$LINENO: result: no" >&5
11570 echo "${ECHO_T}no" >&6; }
11576 if test "$aros_target_strip_ln" = ""; then
11577 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
11578 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
11579 { (exit 1); exit 1; }; }
11581 if test "$aros_target_cxx" != ""; then
11582 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
11583 set dummy
$aros_target_cxx; ac_word
=$2
11584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11586 if test "${ac_cv_path_aros_target_cxx+set}" = set; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 case $aros_target_cxx in
11591 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
11594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11595 for as_dir
in $PATH
11598 test -z "$as_dir" && as_dir
=.
11599 for ac_exec_ext
in '' $ac_executable_extensions; do
11600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11601 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11612 aros_target_cxx
=$ac_cv_path_aros_target_cxx
11613 if test -n "$aros_target_cxx"; then
11614 { echo "$as_me:$LINENO: result: $aros_target_cxx" >&5
11615 echo "${ECHO_T}$aros_target_cxx" >&6; }
11617 { echo "$as_me:$LINENO: result: no" >&5
11618 echo "${ECHO_T}no" >&6; }
11622 if test "$aros_target_cxx" = ""; then
11623 { { echo "$as_me:$LINENO: error: c++ is required to build AROS. Please install and run configure again." >&5
11624 echo "$as_me: error: c++ is required to build AROS. Please install and run configure again." >&2;}
11625 { (exit 1); exit 1; }; }
11629 aros_target_cc
=$AROS_CROSSTOOLSDIR/$aros_target_cc
11630 aros_target_cxx
=$AROS_CROSSTOOLSDIR/$aros_target_cxx
11631 aros_target_as_ln
=$AROS_CROSSTOOLSDIR/$aros_target_as
11632 aros_target_ar_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ar
11633 aros_target_nm_ln
=$AROS_CROSSTOOLSDIR/$aros_target_nm
11634 aros_target_objcopy_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objcopy
11635 aros_target_objdump_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objdump
11636 aros_target_ranlib_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
11637 aros_target_strip_ln
=$AROS_CROSSTOOLSDIR/$aros_target_strip
11639 if test "$target_tool_prefix" != "${target_cpu}-elf-" ; then
11641 if test "$aros_kernel_ld" = ""; then
11642 if test "$cross_compiling" = "yes" ; then
11643 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
11644 set dummy
${target_tool_prefix}ld
; ac_word
=$2
11645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11647 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
11648 echo $ECHO_N "(cached) $ECHO_C" >&6
11650 case $aros_kernel_ld in
11652 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
11655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11656 for as_dir
in $PATH
11659 test -z "$as_dir" && as_dir
=.
11660 for ac_exec_ext
in '' $ac_executable_extensions; do
11661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11662 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
11663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11673 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
11674 if test -n "$aros_kernel_ld"; then
11675 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
11676 echo "${ECHO_T}$aros_kernel_ld" >&6; }
11678 { echo "$as_me:$LINENO: result: no" >&5
11679 echo "${ECHO_T}no" >&6; }
11684 if test "$GCC" = "yes"; then
11685 aros_gcc_ld
=`$CC -print-prog-name=ld`
11686 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
11687 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
11688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11690 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11693 case $aros_kernel_ld in
11695 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
11698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11699 for as_dir
in `dirname $aros_gcc_ld`
11702 test -z "$as_dir" && as_dir
=.
11703 for ac_exec_ext
in '' $ac_executable_extensions; do
11704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11705 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
11706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11716 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
11717 if test -n "$aros_kernel_ld"; then
11718 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
11719 echo "${ECHO_T}$aros_kernel_ld" >&6; }
11721 { echo "$as_me:$LINENO: result: no" >&5
11722 echo "${ECHO_T}no" >&6; }
11727 if test "$aros_kernel_ld" = ""; then
11728 # Extract the first word of "ld", so it can be a program name with args.
11729 set dummy ld
; ac_word
=$2
11730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11732 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 case $aros_kernel_ld in
11737 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
11740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11741 for as_dir
in $PATH
11744 test -z "$as_dir" && as_dir
=.
11745 for ac_exec_ext
in '' $ac_executable_extensions; do
11746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11747 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
11748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11758 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
11759 if test -n "$aros_kernel_ld"; then
11760 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
11761 echo "${ECHO_T}$aros_kernel_ld" >&6; }
11763 { echo "$as_me:$LINENO: result: no" >&5
11764 echo "${ECHO_T}no" >&6; }
11771 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
11772 set dummy
$aros_kernel_ld; ac_word
=$2
11773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11775 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
11776 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 case $aros_kernel_ld in
11780 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
11783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11784 for as_dir
in $PATH
11787 test -z "$as_dir" && as_dir
=.
11788 for ac_exec_ext
in '' $ac_executable_extensions; do
11789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11790 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
11791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11801 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
11802 if test -n "$aros_kernel_ld"; then
11803 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
11804 echo "${ECHO_T}$aros_kernel_ld" >&6; }
11806 { echo "$as_me:$LINENO: result: no" >&5
11807 echo "${ECHO_T}no" >&6; }
11813 if test "$aros_kernel_ld" = ""; then
11814 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
11815 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
11816 { (exit 1); exit 1; }; }
11819 if test "$aros_kernel_ar" = ""; then
11820 if test "$cross_compiling" = "yes" ; then
11821 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11822 set dummy
${target_tool_prefix}ar; ac_word
=$2
11823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11825 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then
11826 echo $ECHO_N "(cached) $ECHO_C" >&6
11828 case $aros_kernel_ar in
11830 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11834 for as_dir
in $PATH
11837 test -z "$as_dir" && as_dir
=.
11838 for ac_exec_ext
in '' $ac_executable_extensions; do
11839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11840 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11851 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11852 if test -n "$aros_kernel_ar"; then
11853 { echo "$as_me:$LINENO: result: $aros_kernel_ar" >&5
11854 echo "${ECHO_T}$aros_kernel_ar" >&6; }
11856 { echo "$as_me:$LINENO: result: no" >&5
11857 echo "${ECHO_T}no" >&6; }
11862 if test "$GCC" = "yes"; then
11863 aros_gcc_ar
=`$CC -print-prog-name=ar`
11864 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11865 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11868 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11871 case $aros_kernel_ar in
11873 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11877 for as_dir
in `dirname $aros_gcc_ar`
11880 test -z "$as_dir" && as_dir
=.
11881 for ac_exec_ext
in '' $ac_executable_extensions; do
11882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11883 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11894 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11895 if test -n "$aros_kernel_ar"; then
11896 { echo "$as_me:$LINENO: result: $aros_kernel_ar" >&5
11897 echo "${ECHO_T}$aros_kernel_ar" >&6; }
11899 { echo "$as_me:$LINENO: result: no" >&5
11900 echo "${ECHO_T}no" >&6; }
11905 if test "$aros_kernel_ar" = ""; then
11906 # Extract the first word of "ar", so it can be a program name with args.
11907 set dummy
ar; ac_word
=$2
11908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11910 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then
11911 echo $ECHO_N "(cached) $ECHO_C" >&6
11913 case $aros_kernel_ar in
11915 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11919 for as_dir
in $PATH
11922 test -z "$as_dir" && as_dir
=.
11923 for ac_exec_ext
in '' $ac_executable_extensions; do
11924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11925 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11936 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11937 if test -n "$aros_kernel_ar"; then
11938 { echo "$as_me:$LINENO: result: $aros_kernel_ar" >&5
11939 echo "${ECHO_T}$aros_kernel_ar" >&6; }
11941 { echo "$as_me:$LINENO: result: no" >&5
11942 echo "${ECHO_T}no" >&6; }
11949 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
11950 set dummy
$aros_kernel_ar; ac_word
=$2
11951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11953 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then
11954 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 case $aros_kernel_ar in
11958 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11962 for as_dir
in $PATH
11965 test -z "$as_dir" && as_dir
=.
11966 for ac_exec_ext
in '' $ac_executable_extensions; do
11967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11968 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11979 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11980 if test -n "$aros_kernel_ar"; then
11981 { echo "$as_me:$LINENO: result: $aros_kernel_ar" >&5
11982 echo "${ECHO_T}$aros_kernel_ar" >&6; }
11984 { echo "$as_me:$LINENO: result: no" >&5
11985 echo "${ECHO_T}no" >&6; }
11991 if test "$aros_kernel_ar" = ""; then
11992 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
11993 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
11994 { (exit 1); exit 1; }; }
11997 if test "$aros_kernel_ranlib" = ""; then
11998 if test "$cross_compiling" = "yes" ; then
11999 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
12000 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
12001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12003 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then
12004 echo $ECHO_N "(cached) $ECHO_C" >&6
12006 case $aros_kernel_ranlib in
12008 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
12011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12012 for as_dir
in $PATH
12015 test -z "$as_dir" && as_dir
=.
12016 for ac_exec_ext
in '' $ac_executable_extensions; do
12017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12018 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12029 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
12030 if test -n "$aros_kernel_ranlib"; then
12031 { echo "$as_me:$LINENO: result: $aros_kernel_ranlib" >&5
12032 echo "${ECHO_T}$aros_kernel_ranlib" >&6; }
12034 { echo "$as_me:$LINENO: result: no" >&5
12035 echo "${ECHO_T}no" >&6; }
12040 if test "$GCC" = "yes"; then
12041 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
12042 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
12043 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
12044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12046 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then
12047 echo $ECHO_N "(cached) $ECHO_C" >&6
12049 case $aros_kernel_ranlib in
12051 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
12054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12055 for as_dir
in `dirname $aros_gcc_ranlib`
12058 test -z "$as_dir" && as_dir
=.
12059 for ac_exec_ext
in '' $ac_executable_extensions; do
12060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12061 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
12073 if test -n "$aros_kernel_ranlib"; then
12074 { echo "$as_me:$LINENO: result: $aros_kernel_ranlib" >&5
12075 echo "${ECHO_T}$aros_kernel_ranlib" >&6; }
12077 { echo "$as_me:$LINENO: result: no" >&5
12078 echo "${ECHO_T}no" >&6; }
12083 if test "$aros_kernel_ranlib" = ""; then
12084 # Extract the first word of "ranlib", so it can be a program name with args.
12085 set dummy ranlib
; ac_word
=$2
12086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12088 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then
12089 echo $ECHO_N "(cached) $ECHO_C" >&6
12091 case $aros_kernel_ranlib in
12093 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
12096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12097 for as_dir
in $PATH
12100 test -z "$as_dir" && as_dir
=.
12101 for ac_exec_ext
in '' $ac_executable_extensions; do
12102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12103 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12114 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
12115 if test -n "$aros_kernel_ranlib"; then
12116 { echo "$as_me:$LINENO: result: $aros_kernel_ranlib" >&5
12117 echo "${ECHO_T}$aros_kernel_ranlib" >&6; }
12119 { echo "$as_me:$LINENO: result: no" >&5
12120 echo "${ECHO_T}no" >&6; }
12127 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
12128 set dummy
$aros_kernel_ranlib; ac_word
=$2
12129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12131 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then
12132 echo $ECHO_N "(cached) $ECHO_C" >&6
12134 case $aros_kernel_ranlib in
12136 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
12139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12140 for as_dir
in $PATH
12143 test -z "$as_dir" && as_dir
=.
12144 for ac_exec_ext
in '' $ac_executable_extensions; do
12145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12146 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
12158 if test -n "$aros_kernel_ranlib"; then
12159 { echo "$as_me:$LINENO: result: $aros_kernel_ranlib" >&5
12160 echo "${ECHO_T}$aros_kernel_ranlib" >&6; }
12162 { echo "$as_me:$LINENO: result: no" >&5
12163 echo "${ECHO_T}no" >&6; }
12169 if test "$aros_kernel_ranlib" = ""; then
12170 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
12171 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
12172 { (exit 1); exit 1; }; }
12175 aros_kernel_ar
=$AROS_CROSSTOOLSDIR/$aros_target_ar
12176 aros_kernel_ld
=$AROS_CROSSTOOLSDIR/$aros_target_ld
12177 aros_kernel_ranlib
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
12180 crosstools_target
=tools-crosstools
12183 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12185 orig_target_cc
=$aros_kernel_cc
12186 orig_target_ld
=$aros_kernel_ld
12188 if test "$crosstools" != "yes"; then
12189 if test "$aros_target_cc" != ""; then
12190 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
12191 set dummy
$aros_target_cc; ac_word
=$2
12192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12194 if test "${ac_cv_path_aros_target_cc+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12197 case $aros_target_cc in
12199 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
12202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12203 for as_dir
in $PATH
12206 test -z "$as_dir" && as_dir
=.
12207 for ac_exec_ext
in '' $ac_executable_extensions; do
12208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12209 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12220 aros_target_cc
=$ac_cv_path_aros_target_cc
12221 if test -n "$aros_target_cc"; then
12222 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
12223 echo "${ECHO_T}$aros_target_cc" >&6; }
12225 { echo "$as_me:$LINENO: result: no" >&5
12226 echo "${ECHO_T}no" >&6; }
12230 if test "$aros_target_cc" = ""; then
12231 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
12232 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
12233 { (exit 1); exit 1; }; }
12235 orig_target_cc
=$aros_target_cc
12237 if test "$aros_target_ld" != ""; then
12238 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
12239 set dummy
$aros_target_ld; ac_word
=$2
12240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12242 if test "${ac_cv_path_aros_target_ld+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12245 case $aros_target_ld in
12247 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
12250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12251 for as_dir
in $PATH
12254 test -z "$as_dir" && as_dir
=.
12255 for ac_exec_ext
in '' $ac_executable_extensions; do
12256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12257 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12268 aros_target_ld
=$ac_cv_path_aros_target_ld
12269 if test -n "$aros_target_ld"; then
12270 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
12271 echo "${ECHO_T}$aros_target_ld" >&6; }
12273 { echo "$as_me:$LINENO: result: no" >&5
12274 echo "${ECHO_T}no" >&6; }
12278 if test "$aros_target_ld" = ""; then
12279 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
12280 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
12281 { (exit 1); exit 1; }; }
12283 orig_target_ld
=$aros_target_ld
12286 orig_target_cc
=$aros_target_cc
12287 orig_target_ld
=$aros_target_ld
12290 # Build crosstools if we have no C++ - temporary thing
12291 if test "$aros_target_cxx" = "" -a "$crosstools" != "yes"; then
12292 crosstools_cxx_target
=tools-crosstools
12295 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
12296 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12297 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12298 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12299 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12300 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12301 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12303 # aros_cc_pre is a variable that is added to the front of the compiler name
12304 # in the generated aros-gcc shell script. We need this to enable the cache
12305 # to work across cleaned builds. Also, support DISTCC using the correct
12306 # environment variable.
12309 if test "x${DISTCC}" != "x" ; then
12310 if test "x${CCACHE}" != "x" ; then
12311 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12313 aros_cc_pre
="${DISTCC} "
12316 if test "x${CCACHE}" != "x" ; then
12317 aros_cc_pre
="${CCACHE} "
12321 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
12323 aros_target_nostdinc_cflags
=-nostdinc
12325 aros_target_nostartup_ldflags
=-nostartfiles
12327 aros_target_nix_ldflags
=-nix
12329 aros_target_detach_ldflags
=-detach
12331 aros_target_nostdlib_ldflags
=-nostdlib
12335 if test "$crosstools" != "yes"; then
12336 if test "$GCC" = "yes"; then
12337 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
12340 # We do not know which gcc version we are going to build and what we need to know
12341 # here is different for different versions so this will be set later during the
12342 # build of crosstools.
12343 aros_target_cc_path
=@aros_target_cc_path@
12345 aros_target_cc
="${prefix}-gcc"
12346 aros_target_as
="${prefix}-as"
12347 aros_target_ld
="${prefix}-ld"
12348 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
12349 aros_target_objcopy
=${prefix}-objcopy
12350 aros_target_objdump
=${prefix}-objdump
12351 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
12352 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
12353 aros_target_strip
=${prefix}-strip
12354 aros_plain_nm
="${prefix}-nm"
12355 aros_plain_ar
="${prefix}-ar"
12357 # Find the system include path. We can suggest that an alternative is
12358 # used if we don't get it correct. The default is to use /usr/include.
12359 # Which is set in the aros_target_incl_def variable.
12361 # Check whether --enable-includes was given.
12362 if test "${enable_includes+set}" = set; then
12363 enableval
=$enable_includes; aros_target_incl
=$enable_includes
12365 aros_target_incl
=$aros_target_incl_def
12369 if test "$aros_kernel_includes" = ""; then
12370 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12371 # FIXME: for cross-compiling this should point to another location
12372 aros_kernel_includes
="-isystem $aros_target_incl"
12376 if test "$aros_kernel_includes" != "" ; then
12377 { echo "$as_me:$LINENO: checking for the kernel compiler's include path" >&5
12378 echo $ECHO_N "checking for the kernel compiler's include path... $ECHO_C" >&6; }
12379 if test "$aros_kernel_cc_includes" = "" ; then
12380 # Try to guess where the directory is.
12381 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
12382 if test -d $aros_kernel_cc_includes; then
12383 # Check if there is also an include-fixed directory and add it
12384 # to kernel compiler's include path as it may contain some of
12385 # the headers we need.
12386 if test -d "$aros_kernel_cc_includes"-fixed; then
12387 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
12390 # The directory doesn't exist, we need to do some more work.
12391 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
12393 # These are the headers we're looking for.
12394 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12395 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12399 for h
in $headers; do
12400 # Which other headers are needed by each of the above?
12401 deps
=$
(echo "#include <$h>" | \
12402 $aros_kernel_cc -E -M - 2>/dev
/null | \
12403 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12405 # Copy all the needed headers to a directory beneath gendir.
12408 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
12409 sed -n "s,^.*/include\(/.*\),\1,p")
12410 ! test -d $dir && mkdir
-p $dir
12411 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12416 { echo "$as_me:$LINENO: result: $aros_kernel_cc_includes" >&5
12417 echo "${ECHO_T}$aros_kernel_cc_includes" >&6; }
12418 # Adding -nostdinc to kernel includes as they are always used together.
12419 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
12422 if test "$crosstools" != "yes"; then
12423 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
12424 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
12425 if test "$aros_target_cc_includes" = "" ; then
12426 #try to guess where the directory is
12427 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
12428 if ! test -d $aros_target_cc_includes; then
12429 #the directory doesn't exist, we need to do some more work
12430 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
12432 #these are the headers we're looking for
12433 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
12434 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
12438 for h
in $headers; do
12439 #which other headers each of the above headers needs?
12440 deps
=$
(echo "#include <$h>" | \
12441 $orig_target_cc -E -M - 2>/dev
/null | \
12442 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
12444 #copy all the needed headers to a directory beneath gendir
12447 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
12448 sed -n "s,^.*/include\(/.*\),\1,p")
12449 ! test -d $dir && mkdir
-p $dir
12450 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
12455 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
12456 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
12458 # We do not know which gcc version we are going to build and what we need to know
12459 # here is different for different versions so this will be set later during the
12460 # build of crosstools.
12461 aros_target_cc_includes
=@aros_target_cc_includes@
12465 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
12466 # On GCC >= 4.0 -iquote should be used
12470 save_cflags
="$CFLAGS"
12472 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
12473 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
12474 if test "x-$crosstools" != "x-yes"; then
12475 cat >conftest.
$ac_ext <<_ACEOF
12478 cat confdefs.h
>>conftest.
$ac_ext
12479 cat >>conftest.
$ac_ext <<_ACEOF
12480 /* end confdefs.h. */
12490 rm -f conftest.
$ac_objext
12491 if { (ac_try
="$ac_compile"
12492 case "(($ac_try" in
12493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12494 *) ac_try_echo=$ac_try;;
12496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12497 (eval "$ac_compile") 2>conftest.er1
12499 grep -v '^ *+' conftest.er1 >conftest.err
12501 cat conftest.err >&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); } && {
12504 test -z "$ac_c_werror_flag" ||
12505 test ! -s conftest.err
12506 } && test -s conftest.$ac_objext; then
12509 echo "$as_me: failed program was:" >&5
12510 sed 's/^/| /' conftest.$ac_ext >&5
12515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12517 # we do know it is supported for the smallest version of gcc we are going to build
12518 # we assume it's also supported by later versions
12521 { echo "$as_me:$LINENO: result: $has_iquote" >&5
12522 echo "${ECHO_T}$has_iquote" >&6; }
12523 if test "x-$has_iquote" = "x-yes" ; then
12524 host_cflags_iquote=-iquote
12525 host_cflags_iquote_end=
12527 host_cflags_iquote=-I
12528 host_cflags_iquote_end=-I-
12530 kernel_cflags_iquote=$host_cflags_iquote
12531 kernel_cflags_iquote_end=$host_cflags_iquote_end
12532 if test "x-$cross_compiling" = "x-yes"; then
12533 CC="$aros_kernel_cc"
12534 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
12535 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
12536 if test "x-$crosstools" != "x-yes"; then
12537 cat >conftest.$ac_ext <<_ACEOF
12540 cat confdefs.h >>conftest.$ac_ext
12541 cat >>conftest.$ac_ext <<_ACEOF
12542 /* end confdefs.h. */
12552 rm -f conftest.$ac_objext
12553 if { (ac_try="$ac_compile"
12554 case "(($ac_try" in
12555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12556 *) ac_try_echo
=$ac_try;;
12558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12559 (eval "$ac_compile") 2>conftest.er1
12561 grep -v '^ *+' conftest.er1
>conftest.err
12563 cat conftest.err
>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } && {
12566 test -z "$ac_c_werror_flag" ||
12567 test ! -s conftest.err
12568 } && test -s conftest.
$ac_objext; then
12569 use_no_stack_protector
="yes"
12571 echo "$as_me: failed program was:" >&5
12572 sed 's/^/| /' conftest.
$ac_ext >&5
12574 use_no_stack_protector
="no"
12577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12579 # we do know it is supported for the smallest version of gcc we are going to build
12580 # we assume it's also supported by later versions
12581 use_no_stack_protector
=yes
12583 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
12584 echo "${ECHO_T}$use_no_stack_protector" >&6; }
12585 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
12586 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
12587 if test "x-$crosstools" != "x-yes"; then
12588 cat >conftest.
$ac_ext <<_ACEOF
12591 cat confdefs.h
>>conftest.
$ac_ext
12592 cat >>conftest.
$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12603 rm -f conftest.
$ac_objext
12604 if { (ac_try
="$ac_compile"
12605 case "(($ac_try" in
12606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12607 *) ac_try_echo=$ac_try;;
12609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12610 (eval "$ac_compile") 2>conftest.er1
12612 grep -v '^ *+' conftest.er1 >conftest.err
12614 cat conftest.err >&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); } && {
12617 test -z "$ac_c_werror_flag" ||
12618 test ! -s conftest.err
12619 } && test -s conftest.$ac_objext; then
12622 echo "$as_me: failed program was:" >&5
12623 sed 's/^/| /' conftest.$ac_ext >&5
12628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12630 # we do know it is supported for the smallest version of gcc we are going to build
12631 # we assume it's also supported by later versions
12634 { echo "$as_me:$LINENO: result: $has_iquote" >&5
12635 echo "${ECHO_T}$has_iquote" >&6; }
12636 if test "x-$has_iquote" = "x-yes" ; then
12637 kernel_cflags_iquote=-iquote
12638 kernel_cflags_iquote_end=
12640 kernel_cflags_iquote=-I
12641 kernel_cflags_iquote_end=-I-
12644 aros_cflags_iquote=$kernel_cflags_iquote
12645 aros_cflags_iquote_end=$kernel_cflags_iquote_end
12646 if test "$orig_target_cc" != "$aros_kernel_cc"; then
12647 CC="$orig_target_cc"
12648 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
12649 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
12650 if test "x-$crosstools" != "x-yes"; then
12651 cat >conftest.$ac_ext <<_ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12666 rm -f conftest.$ac_objext
12667 if { (ac_try="$ac_compile"
12668 case "(($ac_try" in
12669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12670 *) ac_try_echo
=$ac_try;;
12672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12673 (eval "$ac_compile") 2>conftest.er1
12675 grep -v '^ *+' conftest.er1
>conftest.err
12677 cat conftest.err
>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } && {
12680 test -z "$ac_c_werror_flag" ||
12681 test ! -s conftest.err
12682 } && test -s conftest.
$ac_objext; then
12685 echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.
$ac_ext >&5
12691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12693 # we do know it is supported for the smallest version of gcc we are going to build
12694 # we assume it's also supported by later versions
12697 { echo "$as_me:$LINENO: result: $has_iquote" >&5
12698 echo "${ECHO_T}$has_iquote" >&6; }
12699 if test "x-$has_iquote" = "x-yes" ; then
12700 aros_cflags_iquote
=-iquote
12701 aros_cflags_iquote_end
=
12703 aros_cflags_iquote
=-I
12704 aros_cflags_iquote_end
=-I-
12707 if test "x-$use_no_stack_protector" = "x-yes" ; then
12708 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
12711 #-----------------------------------------------------------------------------
12713 # Check if we can explicitly choose older version of symbol hashing
12715 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
12716 CC
="$aros_kernel_cc"
12717 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
12718 echo $ECHO_N "checking whether ${CC} accepts -Wl,--hash-style=sysv... $ECHO_C" >&6; }
12719 cat >conftest.
$ac_ext <<_ACEOF
12722 cat confdefs.h
>>conftest.
$ac_ext
12723 cat >>conftest.
$ac_ext <<_ACEOF
12724 /* end confdefs.h. */
12734 rm -f conftest.
$ac_objext conftest
$ac_exeext
12735 if { (ac_try
="$ac_link"
12736 case "(($ac_try" in
12737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12738 *) ac_try_echo=$ac_try;;
12740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12741 (eval "$ac_link") 2>conftest.er1
12743 grep -v '^ *+' conftest.er1 >conftest.err
12745 cat conftest.err >&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } && {
12748 test -z "$ac_c_werror_flag" ||
12749 test ! -s conftest.err
12750 } && test -s conftest$ac_exeext &&
12751 $as_test_x conftest$ac_exeext; then
12752 use_hash_style="yes"
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.$ac_ext >&5
12757 use_hash_style="no"
12760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12761 conftest$ac_exeext conftest.$ac_ext
12762 { echo "$as_me:$LINENO: result: $use_hash_style" >&5
12763 echo "${ECHO_T}$use_hash_style" >&6; }
12764 if test "x-$use_hash_style" = "x-yes" ; then
12765 aros_kernel_cflags="$aros_kernel_cflags -Wl,--hash-style=sysv"
12768 CFLAGS="$save_cflags"
12778 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
12779 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
12781 # Check whether --with-resolution was given.
12782 if test "${with_resolution+set}" = set; then
12783 withval=$with_resolution; resolution=$withval
12788 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
12789 if test "$resolution" = "yes" ; then
12792 if test "$resolution" = "no" ; then
12795 if test "$resolution" != "none" ; then
12796 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
12797 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
12798 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
12800 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
12801 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
12802 aros_cv_default_wbwidth=$aros_default_wbwidth
12803 aros_cv_default_wbheight=$aros_default_wbheight
12804 aros_cv_default_wbdepth=$aros_default_wbdepth
12806 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
12807 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
12809 # Check whether --with-serial-debug was given.
12810 if test "${with_serial_debug+set}" = set; then
12811 withval=$with_serial_debug; serial_debug=$withval
12816 if test "$aros_serial_debug" = 0 ; then
12817 serial_debug_forced=""
12818 if test "$serial_debug" = "yes" ; then
12821 if test "$serial_debug" = "no" ; then
12822 serial_debug="none"
12825 serial_debug_forced="(forced)"
12826 serial_debug=$aros_serial_debug
12828 if test "$serial_debug" != "none" ; then
12829 aros_serial_debug=$serial_debug
12830 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
12831 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
12833 { echo "$as_me:$LINENO: result: no" >&5
12834 echo "${ECHO_T}no" >&6; }
12837 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
12838 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
12839 # Check whether --enable-palm_debug_hack was given.
12840 if test "${enable_palm_debug_hack+set}" = set; then
12841 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
12843 palm_debug_hack="no"
12846 if test "$palm_debug_hack" = "yes" ; then
12847 aros_palm_debug_hack="1"
12849 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
12850 echo "${ECHO_T}$palm_debug_hack" >&6; }
12852 { echo "$as_me:$LINENO: checking if usb3.0 code is enabled" >&5
12853 echo $ECHO_N "checking if usb3.0 code is enabled... $ECHO_C" >&6; }
12854 # Check whether --enable-usb30_code was given.
12855 if test "${enable_usb30_code+set}" = set; then
12856 enableval=$enable_usb30_code; usb30_code="yes"
12861 if test "$usb30_code" = "yes" ; then
12862 aros_usb30_code="1"
12864 aros_usb30_code="0"
12866 { echo "$as_me:$LINENO: result: $usb30_code" >&5
12867 echo "${ECHO_T}$usb30_code" >&6; }
12869 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
12870 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
12871 # Check whether --enable-nesting_supervisor was given.
12872 if test "${enable_nesting_supervisor+set}" = set; then
12873 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
12875 nesting_supervisor="no"
12878 if test "$nesting_supervisor" = "yes" ; then
12879 aros_nesting_supervisor="1"
12881 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
12882 echo "${ECHO_T}$nesting_supervisor" >&6; }
12884 if test "$aros_enable_mmu" = "" ; then
12885 { echo "$as_me:$LINENO: checking if MMU support is enabled" >&5
12886 echo $ECHO_N "checking if MMU support is enabled... $ECHO_C" >&6; }
12887 # Check whether --enable-mmu was given.
12888 if test "${enable_mmu+set}" = set; then
12889 enableval=$enable_mmu; aros_enable_mmu=$enableval
12891 aros_enable_mmu="yes"
12894 if test "$aros_enable_mmu" = "" ; then
12895 aros_enable_mmu="yes"
12897 { echo "$as_me:$LINENO: result: $aros_enable_mmu" >&5
12898 echo "${ECHO_T}$aros_enable_mmu" >&6; }
12900 if test "$aros_enable_mmu" = "no" ; then
12901 aros_enable_mmu="0"
12903 aros_enable_mmu="1"
12907 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
12909 if test "x-$need_dlopen" != "x-no" ; then
12910 { echo "$as_me:$LINENO: checking for dlopen" >&5
12911 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12912 if test "${ac_cv_func_dlopen+set}" = set; then
12913 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 cat >conftest.$ac_ext <<_ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12923 #define dlopen innocuous_dlopen
12925 /* System header to define __stub macros and hopefully few prototypes,
12926 which can conflict with char dlopen (); below.
12927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12928 <limits.h> exists even on freestanding compilers. */
12931 # include <limits.h>
12933 # include <assert.h>
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12945 /* The GNU C library defines this for functions which it implements
12946 to always fail with ENOSYS. Some functions are actually named
12947 something starting with __ and the normal name is an alias. */
12948 #if defined __stub_dlopen || defined __stub___dlopen
12960 rm -f conftest.$ac_objext conftest$ac_exeext
12961 if { (ac_try="$ac_link"
12962 case "(($ac_try" in
12963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12964 *) ac_try_echo
=$ac_try;;
12966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12967 (eval "$ac_link") 2>conftest.er1
12969 grep -v '^ *+' conftest.er1
>conftest.err
12971 cat conftest.err
>&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); } && {
12974 test -z "$ac_c_werror_flag" ||
12975 test ! -s conftest.err
12976 } && test -s conftest
$ac_exeext &&
12977 $as_test_x conftest
$ac_exeext; then
12978 ac_cv_func_dlopen
=yes
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.
$ac_ext >&5
12983 ac_cv_func_dlopen
=no
12986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12987 conftest
$ac_exeext conftest.
$ac_ext
12989 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12990 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12991 if test $ac_cv_func_dlopen = yes; then
12997 if test "x-$have_dl" = "x-no" ; then
12998 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12999 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
13000 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 ac_check_lib_save_LIBS
=$LIBS
13005 cat >conftest.
$ac_ext <<_ACEOF
13008 cat confdefs.h
>>conftest.
$ac_ext
13009 cat >>conftest.
$ac_ext <<_ACEOF
13010 /* end confdefs.h. */
13012 /* Override any GCC internal prototype to avoid an error.
13013 Use char because int might match the return type of a GCC
13014 builtin and then its argument prototype would still apply. */
13027 rm -f conftest.
$ac_objext conftest
$ac_exeext
13028 if { (ac_try
="$ac_link"
13029 case "(($ac_try" in
13030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13031 *) ac_try_echo=$ac_try;;
13033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13034 (eval "$ac_link") 2>conftest.er1
13036 grep -v '^ *+' conftest.er1 >conftest.err
13038 cat conftest.err >&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); } && {
13041 test -z "$ac_c_werror_flag" ||
13042 test ! -s conftest.err
13043 } && test -s conftest$ac_exeext &&
13044 $as_test_x conftest$ac_exeext; then
13045 ac_cv_lib_dl_dlopen=yes
13047 echo "$as_me: failed program was:" >&5
13048 sed 's/^/| /' conftest.$ac_ext >&5
13050 ac_cv_lib_dl_dlopen=no
13053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13054 conftest$ac_exeext conftest.$ac_ext
13055 LIBS=$ac_check_lib_save_LIBS
13057 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13058 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13059 if test $ac_cv_lib_dl_dlopen = yes; then
13061 aros_host_ldflags="$aros_host_ldflags -ldl"
13067 if test "x-$have_dl" = "x-no" ; then
13068 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
13069 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
13070 { (exit 1); exit 1; }; }
13075 # Check whether --enable-x11_hidd was given.
13076 if test "${enable_x11_hidd+set}" = set; then
13077 enableval=$enable_x11_hidd; x11_hidd="$enableval"
13079 x11_hidd="$need_x11"
13082 case "x-$x11_hidd" in
13083 x-yes|x-no|x-auto) ;;
13084 *) x11_hidd="$need_x11" ;;
13089 if test "x-$x11_hidd" != "x-no" ; then
13091 { echo "$as_me:$LINENO: checking for X" >&5
13092 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
13095 # Check whether --with-x was given.
13096 if test "${with_x+set}" = set; then
13100 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13101 if test "x$with_x" = xno; then
13102 # The user explicitly disabled X.
13105 case $x_includes,$x_libraries in #(
13106 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
13107 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
13108 { (exit 1); exit 1; }; };; #(
13109 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
13110 echo $ECHO_N "(cached) $ECHO_C" >&6
13112 # One or both of the vars are not set, and there is no cached value.
13113 ac_x_includes=no ac_x_libraries=no
13114 rm -f -r conftest.dir
13115 if mkdir conftest.dir; then
13117 cat >Imakefile <<'_ACEOF'
13119 @echo incroot='${INCROOT}'
13121 @echo usrlibdir='${USRLIBDIR}'
13123 @echo libdir='${LIBDIR}'
13125 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13126 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13127 for ac_var in incroot usrlibdir libdir; do
13128 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
13130 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13131 for ac_extension in a so sl; do
13132 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13133 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13134 ac_im_usrlibdir=$ac_im_libdir; break
13137 # Screen out bogus values from the imake configuration. They are
13138 # bogus both because they are the default anyway, and because
13139 # using them would break gcc on systems where it needs fixed includes.
13140 case $ac_im_incroot in
13141 /usr/include) ac_x_includes= ;;
13142 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13144 case $ac_im_usrlibdir in
13145 /usr/lib | /lib) ;;
13146 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13150 rm -f -r conftest.dir
13153 # Standard set of common directories for X headers.
13154 # Check X11 before X11Rn because it is often a symlink to the current release.
13166 /usr/local/X11/include
13167 /usr/local/X11R6/include
13168 /usr/local/X11R5/include
13169 /usr/local/X11R4/include
13171 /usr/local/include/X11
13172 /usr/local/include/X11R6
13173 /usr/local/include/X11R5
13174 /usr/local/include/X11R4
13178 /usr/XFree86/include/X11
13182 /usr/unsupported/include
13183 /usr/athena/include
13184 /usr/local/x11r5/include
13185 /usr/lpp/Xamples/include
13187 /usr/openwin/include
13188 /usr/openwin/share/include'
13190 if test "$ac_x_includes" = no; then
13191 # Guess where to find include files, by looking for Xlib.h.
13192 # First, try using that file with no special directory specified.
13193 cat >conftest.$ac_ext <<_ACEOF
13196 cat confdefs.h >>conftest.$ac_ext
13197 cat >>conftest.$ac_ext <<_ACEOF
13198 /* end confdefs.h. */
13199 #include <X11/Xlib.h>
13201 if { (ac_try="$ac_cpp conftest.$ac_ext"
13202 case "(($ac_try" in
13203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13204 *) ac_try_echo
=$ac_try;;
13206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13209 grep -v '^ *+' conftest.er1
>conftest.err
13211 cat conftest.err
>&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); } >/dev
/null
&& {
13214 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13215 test ! -s conftest.err
13217 # We can compile using X headers with no special include directory.
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.
$ac_ext >&5
13223 for ac_dir
in $ac_x_header_dirs; do
13224 if test -r "$ac_dir/X11/Xlib.h"; then
13225 ac_x_includes
=$ac_dir
13231 rm -f conftest.err conftest.
$ac_ext
13232 fi # $ac_x_includes = no
13234 if test "$ac_x_libraries" = no
; then
13235 # Check for the libraries.
13236 # See if we find them without any special options.
13237 # Don't add to $LIBS permanently.
13240 cat >conftest.
$ac_ext <<_ACEOF
13243 cat confdefs.h
>>conftest.
$ac_ext
13244 cat >>conftest.
$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13246 #include <X11/Xlib.h>
13255 rm -f conftest.
$ac_objext conftest
$ac_exeext
13256 if { (ac_try
="$ac_link"
13257 case "(($ac_try" in
13258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13259 *) ac_try_echo=$ac_try;;
13261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13262 (eval "$ac_link") 2>conftest.er1
13264 grep -v '^ *+' conftest.er1 >conftest.err
13266 cat conftest.err >&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); } && {
13269 test -z "$ac_c_werror_flag" ||
13270 test ! -s conftest.err
13271 } && test -s conftest$ac_exeext &&
13272 $as_test_x conftest$ac_exeext; then
13274 # We can link X programs with no special library path.
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.$ac_ext >&5
13281 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
13283 # Don't even attempt the hair of trying to link an X program!
13284 for ac_extension in a so sl; do
13285 if test -r "$ac_dir/libX11.$ac_extension"; then
13286 ac_x_libraries=$ac_dir
13293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13294 conftest$ac_exeext conftest.$ac_ext
13295 fi # $ac_x_libraries = no
13297 case $ac_x_includes,$ac_x_libraries in #(
13298 no,* | *,no | *\'*)
13299 # Didn't find X, or a directory has "'" in its name.
13300 ac_cv_have_x="have_x=no";; #(
13302 # Record where we found X for the cache.
13303 ac_cv_have_x="have_x=yes\
13304 ac_x_includes='$ac_x_includes'\
13305 ac_x_libraries='$ac_x_libraries'"
13311 eval "$ac_cv_have_x"
13314 if test "$have_x" != yes; then
13315 { echo "$as_me:$LINENO: result: $have_x" >&5
13316 echo "${ECHO_T}$have_x" >&6; }
13319 # If each of the values was on the command line, it overrides each guess.
13320 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13321 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13322 # Update the cache value to reflect the command line values.
13323 ac_cv_have_x="have_x=yes\
13324 ac_x_includes='$x_includes'\
13325 ac_x_libraries='$x_libraries'"
13326 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
13327 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
13332 for path in $x_libraries
13334 x_cflags="$x_cflags -L$path"
13337 for path in $x_includes
13339 x_cflags="$x_cflags -I$path"
13342 if test "x-$no_x" = "x-yes" ; then
13344 if test "x-$x11_hidd" != "x-auto" ; then
13345 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
13346 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
13347 { (exit 1); exit 1; }; }
13351 x11_hidd_target=kernel-x11gfx-kobj
13354 # Check whether --enable-x11_shm was given.
13355 if test "${enable_x11_shm+set}" = set; then
13356 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
13358 x11_hidd_shm="auto"
13361 case "x-$x11_hidd_shm" in
13362 x-yes|x-no|x-auto) ;;
13363 *) x11_hidd_shm="auto" ;;
13368 if test "x-$x11_hidd_shm" != "x-no" ; then
13371 for ac_header in sys/ipc.h
13373 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13375 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13380 ac_res=`eval echo '${'$as_ac_Header'}'`
13381 { echo "$as_me:$LINENO: result: $ac_res" >&5
13382 echo "${ECHO_T}$ac_res" >&6; }
13384 # Is the header compilable?
13385 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
13386 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
13387 cat >conftest.$ac_ext <<_ACEOF
13390 cat confdefs.h >>conftest.$ac_ext
13391 cat >>conftest.$ac_ext <<_ACEOF
13392 /* end confdefs.h. */
13393 $ac_includes_default
13394 #include <$ac_header>
13396 rm -f conftest.$ac_objext
13397 if { (ac_try="$ac_compile"
13398 case "(($ac_try" in
13399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13400 *) ac_try_echo
=$ac_try;;
13402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13403 (eval "$ac_compile") 2>conftest.er1
13405 grep -v '^ *+' conftest.er1
>conftest.err
13407 cat conftest.err
>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); } && {
13410 test -z "$ac_c_werror_flag" ||
13411 test ! -s conftest.err
13412 } && test -s conftest.
$ac_objext; then
13413 ac_header_compiler
=yes
13415 echo "$as_me: failed program was:" >&5
13416 sed 's/^/| /' conftest.
$ac_ext >&5
13418 ac_header_compiler
=no
13421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13422 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13423 echo "${ECHO_T}$ac_header_compiler" >&6; }
13425 # Is the header present?
13426 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
13427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13428 cat >conftest.
$ac_ext <<_ACEOF
13431 cat confdefs.h
>>conftest.
$ac_ext
13432 cat >>conftest.
$ac_ext <<_ACEOF
13433 /* end confdefs.h. */
13434 #include <$ac_header>
13436 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13437 case "(($ac_try" in
13438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13439 *) ac_try_echo=$ac_try;;
13441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13444 grep -v '^ *+' conftest.er1 >conftest.err
13446 cat conftest.err >&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } >/dev/null && {
13449 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13450 test ! -s conftest.err
13452 ac_header_preproc=yes
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13457 ac_header_preproc=no
13460 rm -f conftest.err conftest.$ac_ext
13461 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13462 echo "${ECHO_T}$ac_header_preproc" >&6; }
13464 # So? What about this header?
13465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13471 ac_header_preproc=yes
13474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13492 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 eval "$as_ac_Header=\$ac_header_preproc"
13496 ac_res=`eval echo '${'$as_ac_Header'}'`
13497 { echo "$as_me:$LINENO: result: $ac_res" >&5
13498 echo "${ECHO_T}$ac_res" >&6; }
13501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13502 cat >>confdefs.h <<_ACEOF
13503 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13511 for ac_header in sys/shm.h
13513 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13515 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13518 echo $ECHO_N "(cached) $ECHO_C" >&6
13520 ac_res=`eval echo '${'$as_ac_Header'}'`
13521 { echo "$as_me:$LINENO: result: $ac_res" >&5
13522 echo "${ECHO_T}$ac_res" >&6; }
13524 # Is the header compilable?
13525 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
13526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
13527 cat >conftest.$ac_ext <<_ACEOF
13530 cat confdefs.h >>conftest.$ac_ext
13531 cat >>conftest.$ac_ext <<_ACEOF
13532 /* end confdefs.h. */
13533 $ac_includes_default
13534 #include <$ac_header>
13536 rm -f conftest.$ac_objext
13537 if { (ac_try="$ac_compile"
13538 case "(($ac_try" in
13539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13540 *) ac_try_echo
=$ac_try;;
13542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13543 (eval "$ac_compile") 2>conftest.er1
13545 grep -v '^ *+' conftest.er1
>conftest.err
13547 cat conftest.err
>&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); } && {
13550 test -z "$ac_c_werror_flag" ||
13551 test ! -s conftest.err
13552 } && test -s conftest.
$ac_objext; then
13553 ac_header_compiler
=yes
13555 echo "$as_me: failed program was:" >&5
13556 sed 's/^/| /' conftest.
$ac_ext >&5
13558 ac_header_compiler
=no
13561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13562 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13563 echo "${ECHO_T}$ac_header_compiler" >&6; }
13565 # Is the header present?
13566 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
13567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13568 cat >conftest.
$ac_ext <<_ACEOF
13571 cat confdefs.h
>>conftest.
$ac_ext
13572 cat >>conftest.
$ac_ext <<_ACEOF
13573 /* end confdefs.h. */
13574 #include <$ac_header>
13576 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13577 case "(($ac_try" in
13578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13579 *) ac_try_echo=$ac_try;;
13581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13584 grep -v '^ *+' conftest.er1 >conftest.err
13586 cat conftest.err >&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); } >/dev/null && {
13589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13590 test ! -s conftest.err
13592 ac_header_preproc=yes
13594 echo "$as_me: failed program was:" >&5
13595 sed 's/^/| /' conftest.$ac_ext >&5
13597 ac_header_preproc=no
13600 rm -f conftest.err conftest.$ac_ext
13601 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13602 echo "${ECHO_T}$ac_header_preproc" >&6; }
13604 # So? What about this header?
13605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13610 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13611 ac_header_preproc=yes
13614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13617 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13619 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13621 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13625 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13629 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13634 eval "$as_ac_Header=\$ac_header_preproc"
13636 ac_res=`eval echo '${'$as_ac_Header'}'`
13637 { echo "$as_me:$LINENO: result: $ac_res" >&5
13638 echo "${ECHO_T}$ac_res" >&6; }
13641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13642 cat >>confdefs.h <<_ACEOF
13643 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13651 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13653 save_cflags="$CFLAGS"
13654 CFLAGS="$CFLAGS $x_cflags"
13655 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
13656 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
13657 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13660 ac_check_lib_save_LIBS=$LIBS
13661 LIBS="-lXext $LIBS"
13662 cat >conftest.$ac_ext <<_ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13669 /* Override any GCC internal prototype to avoid an error.
13670 Use char because int might match the return type of a GCC
13671 builtin and then its argument prototype would still apply. */
13675 char XShmQueryExtension ();
13679 return XShmQueryExtension ();
13684 rm -f conftest.$ac_objext conftest$ac_exeext
13685 if { (ac_try="$ac_link"
13686 case "(($ac_try" in
13687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13688 *) ac_try_echo
=$ac_try;;
13690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13691 (eval "$ac_link") 2>conftest.er1
13693 grep -v '^ *+' conftest.er1
>conftest.err
13695 cat conftest.err
>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); } && {
13698 test -z "$ac_c_werror_flag" ||
13699 test ! -s conftest.err
13700 } && test -s conftest
$ac_exeext &&
13701 $as_test_x conftest
$ac_exeext; then
13702 ac_cv_lib_Xext_XShmQueryExtension
=yes
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.
$ac_ext >&5
13707 ac_cv_lib_Xext_XShmQueryExtension
=no
13710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13711 conftest
$ac_exeext conftest.
$ac_ext
13712 LIBS
=$ac_check_lib_save_LIBS
13714 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13715 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13716 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
13720 CFLAGS
="$save_cflags"
13724 if test "x-$have_xshm" = "x-yes" ; then
13725 DO_XSHM_SUPPORT
="1"
13726 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13727 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
13728 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
13729 { (exit 1); exit 1; }; }
13731 DO_XSHM_SUPPORT
="0"
13735 # Check whether --enable-x11_vidmode was given.
13736 if test "${enable_x11_vidmode+set}" = set; then
13737 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13739 x11_hidd_vidmode
="auto"
13742 case "x-$x11_hidd_vidmode" in
13743 x-yes|x-no|x-auto
) ;;
13744 *) x11_hidd_vidmode
="auto" ;;
13749 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13751 save_cflags
="$CFLAGS"
13752 CFLAGS
="$CFLAGS $x_cflags"
13753 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13754 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
13755 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13758 ac_check_lib_save_LIBS
=$LIBS
13759 LIBS
="-lXxf86vm $LIBS"
13760 cat >conftest.
$ac_ext <<_ACEOF
13763 cat confdefs.h
>>conftest.
$ac_ext
13764 cat >>conftest.
$ac_ext <<_ACEOF
13765 /* end confdefs.h. */
13767 /* Override any GCC internal prototype to avoid an error.
13768 Use char because int might match the return type of a GCC
13769 builtin and then its argument prototype would still apply. */
13773 char XF86VidModeQueryExtension ();
13777 return XF86VidModeQueryExtension ();
13782 rm -f conftest.
$ac_objext conftest
$ac_exeext
13783 if { (ac_try
="$ac_link"
13784 case "(($ac_try" in
13785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13786 *) ac_try_echo=$ac_try;;
13788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13789 (eval "$ac_link") 2>conftest.er1
13791 grep -v '^ *+' conftest.er1 >conftest.err
13793 cat conftest.err >&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } && {
13796 test -z "$ac_c_werror_flag" ||
13797 test ! -s conftest.err
13798 } && test -s conftest$ac_exeext &&
13799 $as_test_x conftest$ac_exeext; then
13800 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
13802 echo "$as_me: failed program was:" >&5
13803 sed 's/^/| /' conftest.$ac_ext >&5
13805 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
13808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13809 conftest$ac_exeext conftest.$ac_ext
13810 LIBS=$ac_check_lib_save_LIBS
13812 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13813 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13814 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
13818 CFLAGS="$save_cflags"
13821 if test "x-$have_vidmode" = "x-yes" ; then
13822 DO_VIDMODE_SUPPORT="1"
13823 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13824 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
13825 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
13826 { (exit 1); exit 1; }; }
13828 DO_VIDMODE_SUPPORT="0"
13832 aros_host_x11_includes=$x_includes
13833 aros_host_x11_libdirs=$x_libraries
13837 # Check whether --enable-sdl_hidd was given.
13838 if test "${enable_sdl_hidd+set}" = set; then
13839 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
13844 case "x-$sdl_hidd" in
13845 x-yes|x-no|x-auto) ;;
13846 *) sdl_hidd="auto" ;;
13849 if test "x-$sdl_hidd" != "x-no" ; then
13852 # Check whether --with-sdl-prefix was given.
13853 if test "${with_sdl_prefix+set}" = set; then
13854 withval=$with_sdl_prefix; sdl_prefix="$withval"
13860 # Check whether --with-sdl-exec-prefix was given.
13861 if test "${with_sdl_exec_prefix+set}" = set; then
13862 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
13867 # Check whether --enable-sdltest was given.
13868 if test "${enable_sdltest+set}" = set; then
13869 enableval=$enable_sdltest;
13875 if test x$sdl_exec_prefix != x ; then
13876 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
13877 if test x${SDL_CONFIG+set} != xset ; then
13878 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
13881 if test x$sdl_prefix != x ; then
13882 sdl_args="$sdl_args --prefix=$sdl_prefix"
13883 if test x${SDL_CONFIG+set} != xset ; then
13884 SDL_CONFIG=$sdl_prefix/bin/sdl-config
13888 if test "x$prefix" != xNONE; then
13889 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
13891 # Extract the first word of "sdl-config", so it can be a program name with args.
13892 set dummy sdl-config; ac_word=$2
13893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13895 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
13896 echo $ECHO_N "(cached) $ECHO_C" >&6
13898 case $SDL_CONFIG in
13900 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
13903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13904 for as_dir in $PATH
13907 test -z "$as_dir" && as_dir=.
13908 for ac_exec_ext in '' $ac_executable_extensions; do
13909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13910 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13918 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
13922 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
13923 if test -n "$SDL_CONFIG"; then
13924 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
13925 echo "${ECHO_T}$SDL_CONFIG" >&6; }
13927 { echo "$as_me:$LINENO: result: no" >&5
13928 echo "${ECHO_T}no" >&6; }
13932 min_sdl_version=1.2.10
13933 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
13934 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
13936 if test "$SDL_CONFIG" = "no" ; then
13939 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
13940 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
13942 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
13943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13944 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
13945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13946 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
13947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13948 if test "x$enable_sdltest" = "xyes" ; then
13949 ac_save_CFLAGS="$CFLAGS"
13950 ac_save_CXXFLAGS="$CXXFLAGS"
13951 ac_save_LIBS="$LIBS"
13952 CFLAGS="$CFLAGS $SDL_CFLAGS"
13953 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
13954 LIBS="$LIBS $SDL_LIBS"
13956 if test "$cross_compiling" = yes; then
13957 echo $ac_n "cross compiling; assumed OK... $ac_c"
13959 cat >conftest.$ac_ext <<_ACEOF
13962 cat confdefs.h >>conftest.$ac_ext
13963 cat >>conftest.$ac_ext <<_ACEOF
13964 /* end confdefs.h. */
13967 #include <stdlib.h>
13968 #include <string.h>
13972 my_strdup (char *str)
13978 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
13979 strcpy (new_str, str);
13987 int main (int argc, char *argv[])
13989 int major, minor, micro;
13992 /* This hangs on some systems (?)
13993 system ("touch conf.sdltest");
13995 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
13997 /* HP/UX 9 (%@#!) writes to sscanf strings */
13998 tmp_version = my_strdup("$min_sdl_version");
13999 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14000 printf("%s, bad version string\n", "$min_sdl_version");
14004 if (($sdl_major_version > major) ||
14005 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14006 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14012 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14013 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14014 printf("*** best to upgrade to the required version.\n");
14015 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14016 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14017 printf("*** config.cache before re-running configure\n");
14024 rm -f conftest$ac_exeext
14025 if { (ac_try="$ac_link"
14026 case "(($ac_try" in
14027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14028 *) ac_try_echo
=$ac_try;;
14030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14031 (eval "$ac_link") 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14035 { (case "(($ac_try" in
14036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14037 *) ac_try_echo=$ac_try;;
14039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14040 (eval "$ac_try") 2>&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; }; then
14046 echo "$as_me: program exited with status $ac_status" >&5
14047 echo "$as_me: failed program was:" >&5
14048 sed 's/^/| /' conftest.$ac_ext >&5
14050 ( exit $ac_status )
14053 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14057 CFLAGS="$ac_save_CFLAGS"
14058 CXXFLAGS="$ac_save_CXXFLAGS"
14059 LIBS="$ac_save_LIBS"
14062 if test "x$no_sdl" = x ; then
14063 { echo "$as_me:$LINENO: result: yes" >&5
14064 echo "${ECHO_T}yes" >&6; }
14067 { echo "$as_me:$LINENO: result: no" >&5
14068 echo "${ECHO_T}no" >&6; }
14069 if test "$SDL_CONFIG" = "no" ; then
14070 echo "*** The sdl-config script installed by SDL could not be found"
14071 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14072 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14073 echo "*** full path to sdl-config."
14075 if test -f conf.sdltest ; then
14078 echo "*** Could not run SDL test program, checking why..."
14079 CFLAGS="$CFLAGS $SDL_CFLAGS"
14080 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
14081 LIBS="$LIBS $SDL_LIBS"
14082 cat >conftest.$ac_ext <<_ACEOF
14085 cat confdefs.h >>conftest.$ac_ext
14086 cat >>conftest.$ac_ext <<_ACEOF
14087 /* end confdefs.h. */
14092 int main(int argc, char *argv[])
14095 #define main K_and_R_C_main
14105 rm -f conftest.$ac_objext conftest$ac_exeext
14106 if { (ac_try="$ac_link"
14107 case "(($ac_try" in
14108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14109 *) ac_try_echo
=$ac_try;;
14111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14112 (eval "$ac_link") 2>conftest.er1
14114 grep -v '^ *+' conftest.er1
>conftest.err
14116 cat conftest.err
>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); } && {
14119 test -z "$ac_c_werror_flag" ||
14120 test ! -s conftest.err
14121 } && test -s conftest
$ac_exeext &&
14122 $as_test_x conftest
$ac_exeext; then
14123 echo "*** The test program compiled, but did not run. This usually means"
14124 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14125 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14126 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14127 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14128 echo "*** is required on your system"
14130 echo "*** If you have an old version installed, it is best to remove it, although"
14131 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.
$ac_ext >&5
14136 echo "*** The test program failed to compile or link. See the file config.log for the"
14137 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14138 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14139 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14142 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14143 conftest
$ac_exeext conftest.
$ac_ext
14144 CFLAGS
="$ac_save_CFLAGS"
14145 CXXFLAGS
="$ac_save_CXXFLAGS"
14146 LIBS
="$ac_save_LIBS"
14158 if test "x-$have_sdl" != "x-yes" ; then
14160 if test "x-$sdl_hidd" != "x-auto" ; then
14161 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
14162 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
14163 { (exit 1); exit 1; }; }
14167 sdl_hidd_target
=kernel-hidd-sdl
14168 aros_host_sdl_cflags
=SDL_CFLAGS
14169 aros_host_sdl_libs
=SDL_LIBS
14173 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
14174 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
14175 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
14176 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
14177 echo $ECHO_N "(cached) $ECHO_C" >&6
14179 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
14180 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
14182 # Is the header compilable?
14183 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
14184 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; }
14185 cat >conftest.
$ac_ext <<_ACEOF
14188 cat confdefs.h
>>conftest.
$ac_ext
14189 cat >>conftest.
$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 $ac_includes_default
14192 #include <sys/soundcard.h>
14194 rm -f conftest.
$ac_objext
14195 if { (ac_try
="$ac_compile"
14196 case "(($ac_try" in
14197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14198 *) ac_try_echo=$ac_try;;
14200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14201 (eval "$ac_compile") 2>conftest.er1
14203 grep -v '^ *+' conftest.er1 >conftest.err
14205 cat conftest.err >&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); } && {
14208 test -z "$ac_c_werror_flag" ||
14209 test ! -s conftest.err
14210 } && test -s conftest.$ac_objext; then
14211 ac_header_compiler=yes
14213 echo "$as_me: failed program was:" >&5
14214 sed 's/^/| /' conftest.$ac_ext >&5
14216 ac_header_compiler=no
14219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14220 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14221 echo "${ECHO_T}$ac_header_compiler" >&6; }
14223 # Is the header present?
14224 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
14225 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; }
14226 cat >conftest.$ac_ext <<_ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232 #include <sys/soundcard.h>
14234 if { (ac_try="$ac_cpp conftest.$ac_ext"
14235 case "(($ac_try" in
14236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14237 *) ac_try_echo
=$ac_try;;
14239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14242 grep -v '^ *+' conftest.er1
>conftest.err
14244 cat conftest.err
>&5
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); } >/dev
/null
&& {
14247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14248 test ! -s conftest.err
14250 ac_header_preproc
=yes
14252 echo "$as_me: failed program was:" >&5
14253 sed 's/^/| /' conftest.
$ac_ext >&5
14255 ac_header_preproc
=no
14258 rm -f conftest.err conftest.
$ac_ext
14259 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14260 echo "${ECHO_T}$ac_header_preproc" >&6; }
14262 # So? What about this header?
14263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14265 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
14266 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14267 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
14268 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
14269 ac_header_preproc
=yes
14272 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
14273 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
14274 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
14275 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
14276 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
14277 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
14278 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
14279 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
14280 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
14281 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
14282 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
14283 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
14287 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
14288 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
14289 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
14290 echo $ECHO_N "(cached) $ECHO_C" >&6
14292 ac_cv_header_sys_soundcard_h
=$ac_header_preproc
14294 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
14295 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
14300 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
14301 oss_library_target
=workbench-libs-oss-unix
14306 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
14307 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
14308 # Check whether --enable-dbus was given.
14309 if test "${enable_dbus+set}" = set; then
14310 enableval
=$enable_dbus; dbus
="yes"
14315 if test "$dbus" = "yes" ; then
14317 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14318 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14319 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14320 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14324 { echo "$as_me:$LINENO: result: $dbus" >&5
14325 echo "${ECHO_T}$dbus" >&6; }
14327 if test "$use_kernel_cc_wrapper" = "yes" ; then
14328 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
14343 # Compatability with other Amiga-like operation systems
14446 # Native version related
14449 # Palm native version related
14455 # Unix/Hosted version related
14461 # Apple iOS related
14486 # Collect-aros stuff: "-ius" to ignore undefined symbols
14489 # C compiler related
14492 case "$aros_flavour" in
14493 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14494 aros_flavour
="emulation" ;;
14495 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14496 aros_flavour
="emulation" ;;
14497 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14498 aros_flavour
="standalone";;
14499 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14500 aros_flavour
="standalone";;
14501 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14502 aros_flavour
="native" ;;
14503 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14504 aros_flavour
="native" ;;
14505 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14506 aros_flavour
="linklib" ;;
14507 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14508 aros_flavour
="palmnative" ;;
14509 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14510 aros_flavour
="mac68knative" ;;
14511 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14512 aros_flavour
="ppcnative" ;;
14515 if test ! -d ${aros_inc_dir} ; then
14516 ${MKDIR} ${aros_inc_dir}
14518 if test ! -d ${aros_geninc_dir} ; then
14519 ${MKDIR} ${aros_geninc_dir}
14521 if test ! -d ${aros_hostcfg_dir} ; then
14522 ${MKDIR} ${aros_hostcfg_dir}
14524 if test ! -d ${aros_targetcfg_dir} ; then
14525 ${MKDIR} ${aros_targetcfg_dir}
14527 if test ! -d ${aros_tools_dir} ; then
14528 ${MKDIR} ${aros_tools_dir}
14530 if test ! -d ${aros_scripts_dir} ; then
14531 ${MKDIR} ${aros_scripts_dir}
14534 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14537 ac_config_commands
="$ac_config_commands compiler_executable"
14539 ac_config_commands
="$ac_config_commands genmf_executable"
14542 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"
14545 cat >confcache
<<\_ACEOF
14546 # This file is a shell script that caches the results of configure
14547 # tests run on this system so they can be shared between configure
14548 # scripts and configure runs, see configure's option --config-cache.
14549 # It is not useful on other systems. If it contains results you don't
14550 # want to keep, you may remove or edit it.
14552 # config.status only pays attention to the cache file if you give it
14553 # the --recheck option to rerun configure.
14555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14557 # following values.
14561 # The following way of writing the cache mishandles newlines in values,
14562 # but we know of no workaround that is simple, portable, and efficient.
14563 # So, we kill variables containing newlines.
14564 # Ultrix sh set writes to stderr and can't be redirected directly,
14565 # and sets the high bit in the cache file unless we assign to the vars.
14567 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14568 eval ac_val
=\$
$ac_var
14572 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14573 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14576 _ | IFS | as_nl
) ;; #(
14577 *) $as_unset $ac_var ;;
14583 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14584 *${as_nl}ac_space
=\
*)
14585 # `set' does not quote correctly, so add quotes (double-quote
14586 # substitution turns \\\\ into \\, and sed turns \\ into \).
14589 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14592 # `set' quotes correctly as required by POSIX, so do not add quotes.
14593 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14602 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14604 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14606 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14607 if test -w "$cache_file"; then
14608 test "x$cache_file" != "x/dev/null" &&
14609 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14610 echo "$as_me: updating cache $cache_file" >&6;}
14611 cat confcache
>$cache_file
14613 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14614 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14619 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14620 # Let make expand exec_prefix.
14621 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14623 DEFS
=-DHAVE_CONFIG_H
14627 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14628 # 1. Remove the extension, and $U if already installed.
14629 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14630 ac_i
=`echo "$ac_i" | sed "$ac_script"`
14631 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14632 # will be set to the directory where LIBOBJS objects are built.
14633 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14634 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14636 LIBOBJS
=$ac_libobjs
14638 LTLIBOBJS
=$ac_ltlibobjs
14642 : ${CONFIG_STATUS=./config.status}
14643 ac_clean_files_save
=$ac_clean_files
14644 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14645 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14646 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14647 cat >$CONFIG_STATUS <<_ACEOF
14649 # Generated by $as_me.
14650 # Run this file to recreate the current configuration.
14651 # Compiler output produced by configure, useful for debugging
14652 # configure, is in config.log if it exists.
14655 ac_cs_recheck=false
14657 SHELL=\${CONFIG_SHELL-$SHELL}
14660 cat >>$CONFIG_STATUS <<\_ACEOF
14661 ## --------------------- ##
14662 ## M4sh Initialization. ##
14663 ## --------------------- ##
14665 # Be more Bourne compatible
14666 DUALCASE
=1; export DUALCASE
# for MKS sh
14667 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14670 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14671 # is contrary to our usage. Disable this feature.
14672 alias -g '${1+"$@"}'='"$@"'
14673 setopt NO_GLOB_SUBST
14675 case `(set -o) 2>/dev/null` in
14676 *posix
*) set -o posix
;;
14685 # Avoid depending upon Character Ranges.
14686 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14687 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14688 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14689 as_cr_digits
='0123456789'
14690 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14692 # The user is always right.
14693 if test "${PATH_SEPARATOR+set}" != set; then
14694 echo "#! /bin/sh" >conf$$.sh
14695 echo "exit 0" >>conf$$.sh
14697 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14705 # Support unset when possible.
14706 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
14714 # We need space, tab and new line, in precisely that order. Quoting is
14715 # there to prevent editors from complaining about space-tab.
14716 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14717 # splitting by setting IFS to empty value.)
14722 # Find who we are. Look in the path if we contain no directory separator.
14724 *[\\/]* ) as_myself
=$0 ;;
14725 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14726 for as_dir
in $PATH
14729 test -z "$as_dir" && as_dir
=.
14730 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14736 # We did not find ourselves, most probably we were run as `sh COMMAND'
14737 # in which case we are not to be found in the path.
14738 if test "x$as_myself" = x
; then
14741 if test ! -f "$as_myself"; then
14742 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14743 { (exit 1); exit 1; }
14746 # Work around bugs in pre-3.0 UWIN ksh.
14747 for as_var
in ENV MAIL MAILPATH
14748 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
14756 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14757 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14758 LC_TELEPHONE LC_TIME
14760 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14761 eval $as_var=C
; export $as_var
14763 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
14767 # Required to use basename.
14768 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14769 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14775 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14776 as_basename
=basename
14782 # Name of the executable.
14783 as_me
=`$as_basename -- "$0" ||
14784 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14785 X"$0" : 'X\(//\)$' \| \
14786 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14788 sed '/^.*\/\([^/][^/]*\)\/*$/{
14807 as_lineno_1
=$LINENO
14808 as_lineno_2
=$LINENO
14809 test "x$as_lineno_1" != "x$as_lineno_2" &&
14810 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
14812 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14813 # uniformly replaced by the line number. The first 'sed' inserts a
14814 # line-number line after each line using $LINENO; the second 'sed'
14815 # does the real work. The second script uses 'N' to pair each
14816 # line-number line with the line containing $LINENO, and appends
14817 # trailing '-' during substitution so that $LINENO is not a special
14818 # case at line end.
14819 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14820 # scripts with optimization help from Paolo Bonzini. Blame Lee
14821 # E. McMahon (1931-1989) for sed's syntax. :-)
14833 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14836 ' >$as_me.lineno
&&
14837 chmod +x
"$as_me.lineno" ||
14838 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14839 { (exit 1); exit 1; }; }
14841 # Don't try to exec as it changes $[0], causing all sort of problems
14842 # (the dirname of $[0] is not the place where we might find the
14843 # original and so on. Autoconf is especially sensitive to this).
14844 .
"./$as_me.lineno"
14845 # Exit status is that of the last command.
14850 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14856 ECHO_C
= ECHO_N
= ECHO_T
=
14857 case `echo -n x` in
14859 case `echo 'x\c'` in
14860 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14867 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14868 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14874 rm -f conf$$ conf$$.exe conf$$.
file
14875 if test -d conf$$.dir
; then
14876 rm -f conf$$.dir
/conf$$.
file
14882 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14884 # ... but there are two gotchas:
14885 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14886 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14887 # In both cases, we have to default to `cp -p'.
14888 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14890 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14895 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14896 rmdir conf$$.dir
2>/dev
/null
14898 if mkdir
-p .
2>/dev
/null
; then
14901 test -d .
/-p && rmdir .
/-p
14905 if test -x / >/dev
/null
2>&1; then
14906 as_test_x
='test -x'
14908 if ls -dL / >/dev
/null
2>&1; then
14915 if test -d "$1"; then
14921 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14922 ???[sx]*):;;*)false;;esac;fi
14926 as_executable_p
=$as_test_x
14928 # Sed expression to map a string onto a valid CPP name.
14929 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14931 # Sed expression to map a string onto a valid variable name.
14932 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14937 # Save the log message, to keep $[0] and so on meaningful, and to
14938 # report actual input values of CONFIG_FILES etc. instead of their
14939 # values after options handling.
14941 This file was extended by $as_me, which was
14942 generated by GNU Autoconf 2.61. Invocation command line was
14944 CONFIG_FILES = $CONFIG_FILES
14945 CONFIG_HEADERS = $CONFIG_HEADERS
14946 CONFIG_LINKS = $CONFIG_LINKS
14947 CONFIG_COMMANDS = $CONFIG_COMMANDS
14950 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14955 cat >>$CONFIG_STATUS <<_ACEOF
14956 # Files that config.status was made for.
14957 config_files="$ac_config_files"
14958 config_headers="$ac_config_headers"
14959 config_commands="$ac_config_commands"
14963 cat >>$CONFIG_STATUS <<\_ACEOF
14965 \`$as_me' instantiates files from templates according to the
14966 current configuration.
14968 Usage: $0 [OPTIONS] [FILE]...
14970 -h, --help print this help, then exit
14971 -V, --version print version number and configuration settings, then exit
14972 -q, --quiet do not print progress messages
14973 -d, --debug don't remove temporary files
14974 --recheck update $as_me by reconfiguring in the same conditions
14975 --file=FILE[:TEMPLATE]
14976 instantiate the configuration file FILE
14977 --header=FILE[:TEMPLATE]
14978 instantiate the configuration header FILE
14980 Configuration files:
14983 Configuration headers:
14986 Configuration commands:
14989 Report bugs to <bug-autoconf@gnu.org>."
14992 cat >>$CONFIG_STATUS <<_ACEOF
14995 configured by $0, generated by GNU Autoconf 2.61,
14996 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14998 Copyright (C) 2006 Free Software Foundation, Inc.
14999 This config.status script is free software; the Free Software Foundation
15000 gives unlimited permission to copy, distribute and modify it."
15006 cat >>$CONFIG_STATUS <<\_ACEOF
15007 # If no file are specified by the user, then we need to provide default
15008 # value. By we need to know if files were specified by the user.
15014 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15015 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15026 # Handling of the options.
15027 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15029 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15030 echo "$ac_cs_version"; exit ;;
15031 --debug |
--debu |
--deb |
--de |
--d |
-d )
15033 --file |
--fil |
--fi |
--f )
15035 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15036 ac_need_defaults
=false
;;
15037 --header |
--heade |
--head |
--hea )
15039 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15040 ac_need_defaults
=false
;;
15042 # Conflict between --help and --header
15043 { echo "$as_me: error: ambiguous option: $1
15044 Try \`$0 --help' for more information." >&2
15045 { (exit 1); exit 1; }; };;
15046 --help |
--hel |
-h )
15047 echo "$ac_cs_usage"; exit ;;
15048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15049 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15052 # This is an error.
15053 -*) { echo "$as_me: error: unrecognized option: $1
15054 Try \`$0 --help' for more information." >&2
15055 { (exit 1); exit 1; }; } ;;
15057 *) ac_config_targets
="$ac_config_targets $1"
15058 ac_need_defaults
=false
;;
15064 ac_configure_extra_args
=
15066 if $ac_cs_silent; then
15068 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15072 cat >>$CONFIG_STATUS <<_ACEOF
15073 if \$ac_cs_recheck; then
15074 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15075 CONFIG_SHELL=$SHELL
15076 export CONFIG_SHELL
15077 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15081 cat >>$CONFIG_STATUS <<\_ACEOF
15085 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15086 ## Running $as_me. ##
15092 cat >>$CONFIG_STATUS <<_ACEOF
15097 aros_host_exe_suffix=${aros_host_exe_suffix}
15098 aros_tools_dir=${aros_tools_dir}
15099 aros_target_cpu=${aros_target_cpu}
15100 aros_target_arch=${aros_target_arch}
15101 aros_target_suffix=${aros_target_suffix}
15102 aros_target_nm_ln=${aros_target_nm_ln}
15103 aros_target_as_ln=${aros_target_as_ln}
15104 aros_target_ar_ln=${aros_target_ar_ln}
15105 aros_target_ranlib_ln=${aros_target_ranlib_ln}
15106 aros_target_objdump_ln=${aros_target_objdump_ln}
15107 aros_target_objcopy_ln=${aros_target_objcopy_ln}
15108 aros_target_strip_ln=${aros_target_strip_ln}
15109 aros_kernel_ld=${aros_kernel_ld}
15112 aros_tools_dir=${aros_tools_dir}
15117 cat >>$CONFIG_STATUS <<\_ACEOF
15119 # Handling of arguments.
15120 for ac_config_target
in $ac_config_targets
15122 case $ac_config_target in
15123 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15124 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
15125 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
15126 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15127 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15128 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15129 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15130 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15131 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15132 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15133 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15134 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15135 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15136 "${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" ;;
15137 "${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" ;;
15138 "${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" ;;
15139 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15140 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15141 "${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" ;;
15143 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15144 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15145 { (exit 1); exit 1; }; };;
15150 # If the user did not use the arguments to specify the items to instantiate,
15151 # then the envvar interface is used. Set only those that are not.
15152 # We use the long form for the default assignment because of an extremely
15153 # bizarre bug on SunOS 4.1.3.
15154 if $ac_need_defaults; then
15155 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15156 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15157 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15160 # Have a temporary directory for convenience. Make it in the build tree
15161 # simply because there is no reason against having it here, and in addition,
15162 # creating and moving files from /tmp can sometimes cause problems.
15163 # Hook for its removal unless debugging.
15164 # Note that there is a small window in which the directory will not be cleaned:
15165 # after its creation but before its name has been assigned to `$tmp'.
15169 trap 'exit_status=$?
15170 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15172 trap '{ (exit 1); exit 1; }' 1 2 13 15
15174 # Create a (secure) tmp directory for tmp files.
15177 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15178 test -n "$tmp" && test -d "$tmp"
15181 tmp
=.
/conf$$
-$RANDOM
15182 (umask 077 && mkdir
"$tmp")
15185 echo "$me: cannot create a temporary directory in ." >&2
15186 { (exit 1); exit 1; }
15190 # Set up the sed scripts for CONFIG_FILES section.
15193 # No need to generate the scripts if there are no CONFIG_FILES.
15194 # This happens for instance when ./config.status config.h
15195 if test -n "$CONFIG_FILES"; then
15202 for ac_last_try
in false false false false false
:; do
15203 cat >conf$
$subs.
sed <<_ACEOF
15204 SHELL!$SHELL$ac_delim
15205 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15206 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15207 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15208 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15209 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15210 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15211 exec_prefix!$exec_prefix$ac_delim
15212 prefix!$prefix$ac_delim
15213 program_transform_name!$program_transform_name$ac_delim
15214 bindir!$bindir$ac_delim
15215 sbindir!$sbindir$ac_delim
15216 libexecdir!$libexecdir$ac_delim
15217 datarootdir!$datarootdir$ac_delim
15218 datadir!$datadir$ac_delim
15219 sysconfdir!$sysconfdir$ac_delim
15220 sharedstatedir!$sharedstatedir$ac_delim
15221 localstatedir!$localstatedir$ac_delim
15222 includedir!$includedir$ac_delim
15223 oldincludedir!$oldincludedir$ac_delim
15224 docdir!$docdir$ac_delim
15225 infodir!$infodir$ac_delim
15226 htmldir!$htmldir$ac_delim
15227 dvidir!$dvidir$ac_delim
15228 pdfdir!$pdfdir$ac_delim
15229 psdir!$psdir$ac_delim
15230 libdir!$libdir$ac_delim
15231 localedir!$localedir$ac_delim
15232 mandir!$mandir$ac_delim
15233 DEFS!$DEFS$ac_delim
15234 ECHO_C!$ECHO_C$ac_delim
15235 ECHO_N!$ECHO_N$ac_delim
15236 ECHO_T!$ECHO_T$ac_delim
15237 LIBS!$LIBS$ac_delim
15238 build_alias!$build_alias$ac_delim
15239 host_alias!$host_alias$ac_delim
15240 target_alias!$target_alias$ac_delim
15241 build!$build$ac_delim
15242 build_cpu!$build_cpu$ac_delim
15243 build_vendor!$build_vendor$ac_delim
15244 build_os!$build_os$ac_delim
15245 host!$host$ac_delim
15246 host_cpu!$host_cpu$ac_delim
15247 host_vendor!$host_vendor$ac_delim
15248 host_os!$host_os$ac_delim
15250 CFLAGS!$CFLAGS$ac_delim
15251 LDFLAGS!$LDFLAGS$ac_delim
15252 CPPFLAGS!$CPPFLAGS$ac_delim
15253 ac_ct_CC!$ac_ct_CC$ac_delim
15254 EXEEXT!$EXEEXT$ac_delim
15255 OBJEXT!$OBJEXT$ac_delim
15258 MMAKE!$MMAKE$ac_delim
15259 aros_host_ld!$aros_host_ld$ac_delim
15260 aros_host_aclocal!$aros_host_aclocal$ac_delim
15261 aros_host_autoconf!$aros_host_autoconf$ac_delim
15262 aros_host_autoheader!$aros_host_autoheader$ac_delim
15263 aros_host_automake!$aros_host_automake$ac_delim
15264 aros_host_ar!$aros_host_ar$ac_delim
15265 aros_host_ranlib!$aros_host_ranlib$ac_delim
15266 aros_host_strip!$aros_host_strip$ac_delim
15270 ECHO!$ECHO$ac_delim
15271 MKDIR!$MKDIR$ac_delim
15272 TOUCH!$TOUCH$ac_delim
15273 SORT!$SORT$ac_delim
15274 UNIQ!$UNIQ$ac_delim
15277 BISON!$BISON$ac_delim
15278 FLEX!$FLEX$ac_delim
15279 PNGTOPNM!$PNGTOPNM$ac_delim
15280 PPMTOILBM!$PPMTOILBM$ac_delim
15282 CHMOD!$CHMOD$ac_delim
15283 PATCH!$PATCH$ac_delim
15284 PYTHON!$PYTHON$ac_delim
15285 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
15286 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
15287 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
15288 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
15289 pythondir!$pythondir$ac_delim
15290 pkgpythondir!$pkgpythondir$ac_delim
15291 pyexecdir!$pyexecdir$ac_delim
15292 pkgpyexecdir!$pkgpyexecdir$ac_delim
15295 TEST!$TEST$ac_delim
15297 GREP!$GREP$ac_delim
15298 EGREP!$EGREP$ac_delim
15299 LIBOBJS!$LIBOBJS$ac_delim
15300 DISTCC!$DISTCC$ac_delim
15303 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
15305 elif $ac_last_try; then
15306 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15307 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15308 { (exit 1); exit 1; }; }
15310 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
15314 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15315 if test -n "$ac_eof"; then
15316 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
15317 ac_eof
=`expr $ac_eof + 1`
15320 cat >>$CONFIG_STATUS <<_ACEOF
15321 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15322 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15325 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15326 s/^/s,@/; s/!/@,|#_!!_#|/
15329 s/'"$ac_delim"'$/,g/; t
15331 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15332 ' >>$CONFIG_STATUS <conf$
$subs.
sed
15333 rm -f conf$
$subs.
sed
15334 cat >>$CONFIG_STATUS <<_ACEOF
15340 for ac_last_try
in false false false false false
:; do
15341 cat >conf$
$subs.
sed <<_ACEOF
15342 CCACHE!$CCACHE$ac_delim
15343 android_tool!$android_tool$ac_delim
15345 aros_kernel_rescomp!$aros_kernel_rescomp$ac_delim
15346 aros_kernel_ld!$aros_kernel_ld$ac_delim
15347 aros_kernel_ar!$aros_kernel_ar$ac_delim
15348 aros_kernel_ranlib!$aros_kernel_ranlib$ac_delim
15349 aros_target_as_ln!$aros_target_as_ln$ac_delim
15350 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
15351 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
15352 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
15353 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
15354 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
15355 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
15356 aros_target_cxx!$aros_target_cxx$ac_delim
15357 aros_target_cc!$aros_target_cc$ac_delim
15358 aros_target_ld!$aros_target_ld$ac_delim
15359 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
15360 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
15361 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
15362 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
15363 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
15364 host_cflags_iquote!$host_cflags_iquote$ac_delim
15365 host_cflags_iquote_end!$host_cflags_iquote_end$ac_delim
15366 kernel_cflags_iquote!$kernel_cflags_iquote$ac_delim
15367 kernel_cflags_iquote_end!$kernel_cflags_iquote_end$ac_delim
15368 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
15369 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
15370 XMKMF!$XMKMF$ac_delim
15371 SDL_CONFIG!$SDL_CONFIG$ac_delim
15372 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
15373 SDL_LIBS!$SDL_LIBS$ac_delim
15374 aros_arch!$aros_arch$ac_delim
15375 aros_cpu!$aros_cpu$ac_delim
15376 aros_flavour!$aros_flavour$ac_delim
15377 aros_flavour_uc!$aros_flavour_uc$ac_delim
15378 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
15379 AROS_BUILDDIR_UNIX!$AROS_BUILDDIR_UNIX$ac_delim
15380 SRCDIR!$SRCDIR$ac_delim
15381 AROS_CROSSTOOLSDIR!$AROS_CROSSTOOLSDIR$ac_delim
15382 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
15383 aros_amigaos_compliance!$aros_amigaos_compliance$ac_delim
15384 aros_cc_pre!$aros_cc_pre$ac_delim
15385 aros_host_arch!$aros_host_arch$ac_delim
15386 aros_host_cpu!$aros_host_cpu$ac_delim
15387 aros_host_cc!$aros_host_cc$ac_delim
15388 aros_host_make!$aros_host_make$ac_delim
15389 aros_host_cflags!$aros_host_cflags$ac_delim
15390 gnu89_inline!$gnu89_inline$ac_delim
15391 aros_host_ldflags!$aros_host_ldflags$ac_delim
15392 aros_host_debug!$aros_host_debug$ac_delim
15393 aros_host_mkdep!$aros_host_mkdep$ac_delim
15394 aros_host_mkargs!$aros_host_mkargs$ac_delim
15395 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
15396 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
15397 aros_tools_dir!$aros_tools_dir$ac_delim
15398 aros_target_guitheme!$aros_target_guitheme$ac_delim
15399 aros_target_iconset!$aros_target_iconset$ac_delim
15400 aros_target_bootloader!$aros_target_bootloader$ac_delim
15401 aros_target_arch!$aros_target_arch$ac_delim
15402 aros_target_family!$aros_target_family$ac_delim
15403 aros_target_cpu!$aros_target_cpu$ac_delim
15404 aros_target_variant!$aros_target_variant$ac_delim
15405 aros_target_suffix!$aros_target_suffix$ac_delim
15406 aros_target_incl!$aros_target_incl$ac_delim
15407 aros_target_ar!$aros_target_ar$ac_delim
15408 aros_target_ranlib!$aros_target_ranlib$ac_delim
15409 aros_plain_nm!$aros_plain_nm$ac_delim
15410 aros_plain_ar!$aros_plain_ar$ac_delim
15411 orig_target_cc!$orig_target_cc$ac_delim
15412 aros_kernel_cc!$aros_kernel_cc$ac_delim
15413 aros_target_as!$aros_target_as$ac_delim
15414 orig_target_ld!$orig_target_ld$ac_delim
15415 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
15416 aros_target_cc_path!$aros_target_cc_path$ac_delim
15417 aros_target_objdump!$aros_target_objdump$ac_delim
15418 aros_target_objcopy!$aros_target_objcopy$ac_delim
15419 aros_target_strip!$aros_target_strip$ac_delim
15420 aros_target_nm!$aros_target_nm$ac_delim
15421 aros_shared_default!$aros_shared_default$ac_delim
15422 aros_shared_ld!$aros_shared_ld$ac_delim
15423 aros_object_format!$aros_object_format$ac_delim
15424 aros_compiler_libs!$aros_compiler_libs$ac_delim
15425 aros_arch_libs!$aros_arch_libs$ac_delim
15426 aros_config_cflags!$aros_config_cflags$ac_delim
15427 aros_config_aflags!$aros_config_aflags$ac_delim
15428 aros_config_ldflags!$aros_config_ldflags$ac_delim
15429 aros_shared_cflags!$aros_shared_cflags$ac_delim
15430 aros_shared_aflags!$aros_shared_aflags$ac_delim
15431 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
15432 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
15433 aros_kernel_includes!$aros_kernel_includes$ac_delim
15434 aros_kernel_objcflags!$aros_kernel_objcflags$ac_delim
15435 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
15436 aros_target_cflags!$aros_target_cflags$ac_delim
15437 aros_debug_cflags!$aros_debug_cflags$ac_delim
15438 aros_debug_aflags!$aros_debug_aflags$ac_delim
15441 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
15443 elif $ac_last_try; then
15444 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15445 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15446 { (exit 1); exit 1; }; }
15448 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
15452 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15453 if test -n "$ac_eof"; then
15454 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
15455 ac_eof
=`expr $ac_eof + 1`
15458 cat >>$CONFIG_STATUS <<_ACEOF
15459 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
15460 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15463 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15464 s/^/s,@/; s/!/@,|#_!!_#|/
15467 s/'"$ac_delim"'$/,g/; t
15469 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15470 ' >>$CONFIG_STATUS <conf$
$subs.
sed
15471 rm -f conf$
$subs.
sed
15472 cat >>$CONFIG_STATUS <<_ACEOF
15478 for ac_last_try
in false false false false false
:; do
15479 cat >conf$
$subs.
sed <<_ACEOF
15480 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
15481 aros_target_genmap!$aros_target_genmap$ac_delim
15482 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
15483 crosstools_target!$crosstools_target$ac_delim
15484 crosstools_cxx_target!$crosstools_cxx_target$ac_delim
15485 x11_hidd_target!$x11_hidd_target$ac_delim
15486 sdl_hidd_target!$sdl_hidd_target$ac_delim
15487 pci_hidd_target!$pci_hidd_target$ac_delim
15488 oss_library_target!$oss_library_target$ac_delim
15489 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
15490 aros_default_wbheight!$aros_default_wbheight$ac_delim
15491 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
15492 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
15493 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
15494 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
15495 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
15496 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
15497 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
15498 aros_serial_debug!$aros_serial_debug$ac_delim
15499 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
15500 aros_usb30_code!$aros_usb30_code$ac_delim
15501 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
15502 aros_enable_mmu!$aros_enable_mmu$ac_delim
15503 aros_ios_platform!$aros_ios_platform$ac_delim
15504 aros_ios_version!$aros_ios_version$ac_delim
15505 aros_ios_sdk!$aros_ios_sdk$ac_delim
15506 aros_android_level!$aros_android_level$ac_delim
15507 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
15508 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
15509 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
15510 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
15511 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
15512 ENABLE_X11!$ENABLE_X11$ac_delim
15513 aros_debug!$aros_debug$ac_delim
15514 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
15515 aros_stack_debug!$aros_stack_debug$ac_delim
15516 aros_modules_debug!$aros_modules_debug$ac_delim
15517 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
15518 gcc_target_cpu!$gcc_target_cpu$ac_delim
15519 LTLIBOBJS!$LTLIBOBJS$ac_delim
15522 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
15524 elif $ac_last_try; then
15525 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15526 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15527 { (exit 1); exit 1; }; }
15529 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
15533 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15534 if test -n "$ac_eof"; then
15535 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
15536 ac_eof
=`expr $ac_eof + 1`
15539 cat >>$CONFIG_STATUS <<_ACEOF
15540 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
15541 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15544 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15545 s/^/s,@/; s/!/@,|#_!!_#|/
15548 s/'"$ac_delim"'$/,g/; t
15550 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15551 ' >>$CONFIG_STATUS <conf$
$subs.
sed
15552 rm -f conf$
$subs.
sed
15553 cat >>$CONFIG_STATUS <<_ACEOF
15560 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15561 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15562 # trailing colons and then remove the whole line if VPATH becomes empty
15563 # (actually we leave an empty line to preserve line numbers).
15564 if test "x$srcdir" = x.
; then
15565 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15566 s/:*\$(srcdir):*/:/
15567 s/:*\${srcdir}:*/:/
15569 s/^\([^=]*=[ ]*\):*/\1/
15575 cat >>$CONFIG_STATUS <<\_ACEOF
15576 fi # test -n "$CONFIG_FILES"
15579 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
15582 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15584 case $ac_mode$ac_tag in
15586 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15587 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15588 { (exit 1); exit 1; }; };;
15589 :[FH
]-) ac_tag
=-:-;;
15590 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15607 -) ac_f
="$tmp/stdin";;
15608 *) # Look for the file first in the build tree, then in the source tree
15609 # (if the path is not absolute). The absolute path cannot be DOS-style,
15610 # because $ac_f cannot contain `:'.
15614 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15616 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15617 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15618 { (exit 1); exit 1; }; };;
15620 ac_file_inputs
="$ac_file_inputs $ac_f"
15623 # Let's still pretend it is `configure' which instantiates (i.e., don't
15624 # use $as_me), people would be surprised to read:
15625 # /* config.h. Generated by config.status. */
15626 configure_input
="Generated from "`IFS=:
15627 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
15628 if test x
"$ac_file" != x-
; then
15629 configure_input
="$ac_file. $configure_input"
15630 { echo "$as_me:$LINENO: creating $ac_file" >&5
15631 echo "$as_me: creating $ac_file" >&6;}
15635 *:-:* |
*:-) cat >"$tmp/stdin";;
15640 ac_dir
=`$as_dirname -- "$ac_file" ||
15641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15642 X"$ac_file" : 'X\(//\)[^/]' \| \
15643 X"$ac_file" : 'X\(//\)$' \| \
15644 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15650 /^X\(\/\/\)[^/].*/{
15665 -*) as_dir
=.
/$as_dir;;
15667 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
15671 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
15672 *) as_qdir
=$as_dir;;
15674 as_dirs
="'$as_qdir' $as_dirs"
15675 as_dir
=`$as_dirname -- "$as_dir" ||
15676 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15677 X"$as_dir" : 'X\(//\)[^/]' \| \
15678 X"$as_dir" : 'X\(//\)$' \| \
15679 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15685 /^X\(\/\/\)[^/].*/{
15698 test -d "$as_dir" && break
15700 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15701 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15702 echo "$as_me: error: cannot create directory $as_dir" >&2;}
15703 { (exit 1); exit 1; }; }; }
15707 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15709 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15710 # A ".." for each directory in $ac_dir_suffix.
15711 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
15712 case $ac_top_builddir_sub in
15713 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15714 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15717 ac_abs_top_builddir
=$ac_pwd
15718 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15719 # for backward compatibility:
15720 ac_top_builddir
=$ac_top_build_prefix
15723 .
) # We are building in place.
15725 ac_top_srcdir
=$ac_top_builddir_sub
15726 ac_abs_top_srcdir
=$ac_pwd ;;
15727 [\\/]* | ?
:[\\/]* ) # Absolute name.
15728 ac_srcdir
=$srcdir$ac_dir_suffix;
15729 ac_top_srcdir
=$srcdir
15730 ac_abs_top_srcdir
=$srcdir ;;
15731 *) # Relative name.
15732 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15733 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15734 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15736 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15747 cat >>$CONFIG_STATUS <<\_ACEOF
15748 # If the template does not know about datarootdir, expand it.
15749 # FIXME: This hack should be removed a few years after 2.60.
15750 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15752 case `sed -n '/datarootdir/ {
15761 ' $ac_file_inputs` in
15762 *datarootdir
*) ac_datarootdir_seen
=yes;;
15763 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15764 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15765 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15767 cat >>$CONFIG_STATUS <<_ACEOF
15768 ac_datarootdir_hack='
15769 s&@datadir@&$datadir&g
15770 s&@docdir@&$docdir&g
15771 s&@infodir@&$infodir&g
15772 s&@localedir@&$localedir&g
15773 s&@mandir@&$mandir&g
15774 s&\\\${datarootdir}&$datarootdir&g' ;;
15778 # Neutralize VPATH when `$srcdir' = `.'.
15779 # Shell code in configure.ac might set extrasub.
15780 # FIXME: do we really want to maintain this feature?
15781 cat >>$CONFIG_STATUS <<_ACEOF
15785 cat >>$CONFIG_STATUS <<\_ACEOF
15787 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15788 s
&@configure_input@
&$configure_input&;t t
15789 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15790 s
&@srcdir@
&$ac_srcdir&;t t
15791 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15792 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15793 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15794 s
&@builddir@
&$ac_builddir&;t t
15795 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15796 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15797 $ac_datarootdir_hack
15798 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
15800 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15801 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15802 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15803 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15804 which seems to be undefined. Please make sure it is defined." >&5
15805 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15806 which seems to be undefined. Please make sure it is defined." >&2;}
15810 -) cat "$tmp/out"; rm -f "$tmp/out";;
15811 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15820 # Transform confdefs.h into a sed script `conftest.defines', that
15821 # substitutes the proper values into config.h.in to produce config.h.
15822 rm -f conftest.defines conftest.
tail
15823 # First, append a space to every undef/define line, to ease matching.
15824 echo 's/$/ /' >conftest.defines
15825 # Then, protect against being on the right side of a sed subst, or in
15826 # an unquoted here document, in config.status. If some macros were
15827 # called several times there might be several #defines for the same
15828 # symbol, which is useless. But do not sort them, since the last
15829 # AC_DEFINE must be honored.
15830 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
15831 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15832 # NAME is the cpp macro being defined, VALUE is the value it is being given.
15833 # PARAMS is the parameter list in the macro definition--in most cases, it's
15834 # just an empty string.
15835 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
15836 ac_dB
='\\)[ (].*,\\1define\\2'
15844 s/^[ ]*#[ ]*define[ ][ ]*//
15849 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15850 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15851 ' >>conftest.defines
15853 # Remove the space that was appended to ease matching.
15854 # Then replace #undef with comments. This is necessary, for
15855 # example, in the case of _POSIX_SOURCE, which is predefined and required
15856 # on some systems where configure will not decide to define it.
15857 # (The regexp can be short, since the line contains either #define or #undef.)
15859 s,^[ #]*u.*,/* & */,' >>conftest.defines
15861 # Break up conftest.defines:
15862 ac_max_sed_lines
=50
15864 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15865 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15866 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15868 ac_in
='$ac_file_inputs'
15869 ac_out
='"$tmp/out1"'
15870 ac_nxt
='"$tmp/out2"'
15874 # Write a here document:
15875 cat >>$CONFIG_STATUS <<_ACEOF
15876 # First, check the format of the line:
15877 cat >"\$tmp/defines.sed" <<\\CEOF
15878 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
15879 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
15883 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
15885 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15886 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
15887 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
15888 grep . conftest.
tail >/dev
/null ||
break
15889 rm -f conftest.defines
15890 mv conftest.
tail conftest.defines
15892 rm -f conftest.defines conftest.
tail
15894 echo "ac_result=$ac_in" >>$CONFIG_STATUS
15895 cat >>$CONFIG_STATUS <<\_ACEOF
15896 if test x
"$ac_file" != x-
; then
15897 echo "/* $configure_input */" >"$tmp/config.h"
15898 cat "$ac_result" >>"$tmp/config.h"
15899 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
15900 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15901 echo "$as_me: $ac_file is unchanged" >&6;}
15904 mv "$tmp/config.h" $ac_file
15907 echo "/* $configure_input */"
15913 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
15914 echo "$as_me: executing $ac_file commands" >&6;}
15919 case $ac_file$ac_mode in
15920 "compiler_executable":C
)
15921 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15923 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15924 prefix3
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15928 chmod a
+x
${prefix2}-gcc ${prefix2}-ld ${prefix3}-gcc
15930 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15931 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15932 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15933 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15934 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15935 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15936 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15938 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
15940 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
15946 { (exit 0); exit 0; }
15948 chmod +x
$CONFIG_STATUS
15949 ac_clean_files
=$ac_clean_files_save
15952 # configure is writing to config.log, and then calls config.status.
15953 # config.status does its own redirection, appending to config.log.
15954 # Unfortunately, on DOS this fails, as config.log is still kept open
15955 # by configure, so config.status won't be able to write to it; its
15956 # output is simply discarded. So we exec the FD to /dev/null,
15957 # effectively closing config.log, so it can be properly (re)opened and
15958 # appended to by config.status. When coming back to configure, we
15959 # need to make the FD available again.
15960 if test "$no_create" != yes; then
15962 ac_config_status_args
=
15963 test "$silent" = yes &&
15964 ac_config_status_args
="$ac_config_status_args --quiet"
15966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15969 # would make configure fail if this is the last instruction.
15970 $ac_cs_success ||
{ (exit 1); exit 1; }
15975 #XXX compatability...
15976 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15978 if test -n "$aros_shared_cflags" ; then
15979 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15980 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg